Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
1e87f8a8
Commit
1e87f8a8
authored
Apr 09, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play common-jetbrains.sh: use get_json_value(), use download-cdn.j.c instead of download.j.c
parent
92b9be87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
common-jetbrains.sh
play.d/common-jetbrains.sh
+6
-4
No files found.
play.d/common-jetbrains.sh
View file @
1e87f8a8
...
@@ -6,8 +6,9 @@
...
@@ -6,8 +6,9 @@
# Returns URL like https://download.jetbrains.com/python/pycharm-professional-2022.2.1.tar.gz
# Returns URL like https://download.jetbrains.com/python/pycharm-professional-2022.2.1.tar.gz
get_jetbrains_url
()
get_jetbrains_url
()
{
{
CODE
=
"
$1
"
local
OS
arch
=
"
$(
epm print info
-a
)
"
local
CODE
=
"
$1
"
local arch
=
"
$(
epm print info
-a
)
"
case
$arch
in
case
$arch
in
aarch64
)
aarch64
)
OS
=
linuxARM64
OS
=
linuxARM64
...
@@ -17,8 +18,9 @@ get_jetbrains_url()
...
@@ -17,8 +18,9 @@ get_jetbrains_url()
;;
;;
esac
esac
eget
-O-
"https://data.services.jetbrains.com/products/releases?code=
$CODE
&latest=true&type=release"
| epm
--inscript
tool json
-b
|
\
# Note, replacing download with download-cdn due HTTP 451
grep
'"'
$CODE
'",0,"downloads","'
$OS
'","link"'
|
sed
-e
's|.*[[:space:]]||'
|
sed
-e
's|"||g'
get_json_value
"https://data.services.jetbrains.com/products/releases?code=
$CODE
&latest=true&type=release"
'["'
$CODE
'",0,"downloads","'
$OS
'","link"]'
|
\
sed
-e
"s|download.jetbrains.com|download-cdn.jetbrains.com|"
}
}
# PS python
# PS python
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment