Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
2de0af53
Commit
2de0af53
authored
Nov 04, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mv ARM64 and PPC64EL in 'add_archs' key in costants.json
parent
d0dd48b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
uitwww/src/download/assets/constants.json
uitwww/src/download/assets/constants.json
+5
-1
uitwww/src/download/compile_download.py
uitwww/src/download/compile_download.py
+7
-9
No files found.
uitwww/src/download/assets/constants.json
View file @
2de0af53
...
@@ -17,7 +17,11 @@
...
@@ -17,7 +17,11 @@
},
},
"live-server"
:
{
"live-server"
:
{
"name"
:
"Ubuntu Server"
,
"name"
:
"Ubuntu Server"
,
"description"
:
"Tutta la potenza di Ubuntu nel tuo server"
"description"
:
"Tutta la potenza di Ubuntu nel tuo server"
,
"add_archs"
:
[
"arm64"
,
"ppc64el"
]
},
},
"kubuntu"
:
{
"kubuntu"
:
{
"name"
:
"Kubuntu"
,
"name"
:
"Kubuntu"
,
...
...
uitwww/src/download/compile_download.py
View file @
2de0af53
...
@@ -80,8 +80,6 @@ class UbuntuRelease:
...
@@ -80,8 +80,6 @@ class UbuntuRelease:
class
CompileVersion
:
class
CompileVersion
:
"""
"""
:param ARM64: set distro with arm64 architecture
:param PPC64EL: set distro with ppc64el architecture
:param SUPPORT_5: set distro with 5 years support (else are 3 years)
:param SUPPORT_5: set distro with 5 years support (else are 3 years)
:param INVERT_RELEASES: set if you want invert releases in template render
:param INVERT_RELEASES: set if you want invert releases in template render
...
@@ -91,8 +89,6 @@ class CompileVersion:
...
@@ -91,8 +89,6 @@ class CompileVersion:
:param ignore_version: list of tags versions to be ignored
:param ignore_version: list of tags versions to be ignored
"""
"""
ARM64
=
[
"live-server"
]
PPC64EL
=
[
"live-server"
]
SUPPORT_5
=
[
"desktop"
,
"live-server"
]
SUPPORT_5
=
[
"desktop"
,
"live-server"
]
INVERT_RELEASES
=
[
"live-server"
]
INVERT_RELEASES
=
[
"live-server"
]
...
@@ -176,11 +172,13 @@ class CompileVersion:
...
@@ -176,11 +172,13 @@ class CompileVersion:
releases
=
{
releases
=
{
"amd64"
:
self
.
populate_archs_releases
(
key
,
"amd64"
)
"amd64"
:
self
.
populate_archs_releases
(
key
,
"amd64"
)
}
}
if
key
in
self
.
ARM64
:
# check and adding any other archs
releases
[
"arm64"
]
=
self
.
populate_archs_releases
(
key
,
"arm64"
)
add_archs
=
distro
.
get
(
"add_archs"
)
if
key
in
self
.
PPC64EL
:
if
add_archs
:
releases
[
"ppc64el"
]
=
self
.
populate_archs_releases
(
key
,
"ppc64el"
)
for
_arch
in
add_archs
:
data
[
"distros"
][
key
][
"archs"
]
=
releases
releases
[
_arch
]
=
self
.
populate_archs_releases
(
key
,
_arch
)
# put all releases in archs key
distro
[
"archs"
]
=
releases
# write sources
# write sources
data
[
"sources"
]
=
{}
data
[
"sources"
]
=
{}
...
...
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