-
-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added automatic version fetching for ubuntu #821
Conversation
Jai-JAP
commented
Oct 24, 2023
- Fetch ubuntu versions directly from https://api.launchpad.net/devel/ubuntu/series (desktop flavors) and http://releases.ubuntu.com/streams/v1/com.ubuntu.releases:ubuntu-server.json (Server)
- Remove obsolete releases {daily-canary, jammy-daily}
- Format documents with shfmt
Excellent! One tweak though - jammy-daily is not quite obsolete : https://cdimage.ubuntu.com/jammy/daily-live/current/ |
I'll fix that soon. |
jammy-daily should be back working now |
Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can not accept pull requests that change the indentation project wide.
I will fix that soon. Will reverting to |
716c252
to
99e7677
Compare
23236f8
to
5a18c07
Compare
@flexiondotorg ig the changes you requested are resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The purely-whitespace changes would be better dealt with in another (possibly existing) PR. (But at least now they are restricted to a couple of functions. - this is not a show-stopper for me but ...)
The results do not correctly align with the available releases so there is either a flaw in the logic or in what the api presents.
Some examples below (./quickget
is the PR version) showing missing 23.10 interims , missing jammy-daily
options and non-existent early releases.
$
$quickget ubuntu-unity
ERROR! You must specify a release.
- Releases: 23.04 23.10 daily-live daily-canary
$./quickget ubuntu-unity
ERROR! You must specify a release.
- Releases: 23.04 daily-live
$quickget xubuntu
ERROR! You must specify a release.
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
$./quickget xubuntu
ERROR! You must specify a release.
- Releases: 14.04 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily
$quickget ubuntucinnamon
ERROR! You must specify a release.
- Releases: 23.04 23.10 daily-live daily-canary
$./quickget ubuntucinnamon
ERROR! You must specify a release.
- Releases: 23.04 daily-live
$quickget ubuntu-server
ERROR! You must specify a release.
- Releases: 18.04 20.04 22.04 23.04 23.10 daily-live
$./quickget ubuntu-server
ERROR! You must specify a release.
- Releases: 18.04 20.04 22.04 23.04 23.10 daily-live
$quickget ubuntu
ERROR! You must specify a release.
- Releases: 14.04 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
$./quickget ubuntu
ERROR! You must specify a release.
- Releases: 14.04 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy
$quickget ubuntu-mate
ERROR! You must specify a release.
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
$./quickget ubuntu-mate
ERROR! You must specify a release.
- Releases: 14.04 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily
quickget
Outdated
@@ -1659,13 +1638,13 @@ function get_manjaro() { | |||
[[ ${RELEASE} != "sway" ]] && MANIFEST="$(wget -qO- https://gitlab.manjaro.org/web/iso-info/-/raw/master/file-info.json)" | |||
|
|||
[[ ${EDITION} == "minimal" && ${TYPE} != "sway" ]] && EDITION=".minimal" || EDITION="" | |||
|
|||
if [[ ${RELEASE} != "sway" ]]; then | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be changing vanillaos or other non-ubuntu functions in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be changing vanillaos or other non-ubuntu functions in this PR
I didn't make any manual changes here. Maybe editorconfig automatically removing trailing whitespaces.
I'll fix that soon. Caught the cause of it. |
@philclifford Everything should be working fine now. Can you test again? |
Looks to be sorted, thanks @Jai-JAP. My local version of your PR may be missing full for os in edubuntu kubuntu lubuntu ubuntu ubuntu-budgie ubuntucinnamon ubuntukylin ubuntu-mate ubuntu-server ubuntustudio ubuntu-unity xubuntu; do echo $os ; echo Upstream ;quickget $os;echo PR; ./quickget $os; done |grep -v ERROR
edubuntu
Upstream
- Releases: 23.04 23.10 daily-live daily-canary
PR
[ Error: not a supported os ... probably missing #819 ]
kubuntu
Upstream
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
PR
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily
lubuntu
Upstream
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
PR
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily
ubuntu
Upstream
- Releases: 14.04 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
PR
- Releases: 14.04 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy
ubuntu-budgie
Upstream
- Releases: 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
PR
- Releases: 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily
ubuntucinnamon
Upstream
- Releases: 23.04 23.10 daily-live daily-canary
PR
- Releases: 23.04 23.10 daily-live
ubuntukylin
Upstream
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
PR
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily
ubuntu-mate
Upstream
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
PR
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily
ubuntu-server
Upstream
- Releases: 18.04 20.04 22.04 23.04 23.10 daily-live
PR
- Releases: 18.04 20.04 22.04 23.04 23.10 daily-live
ubuntustudio
Upstream
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
PR
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily
ubuntu-unity
Upstream
- Releases: 23.04 23.10 daily-live daily-canary
PR
- Releases: 23.04 23.10 daily-live
xubuntu
Upstream
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 jammy-daily daily-live daily-canary daily-legacy
PR
- Releases: 16.04 18.04 20.04 22.04 23.04 23.10 daily-live daily-legacy jammy-daily |
@philclifford Edubuntu is fixed now. |
- Remove obsolete daily-legacy - Add error if desktop amd64 build do not exist as in current status
* Automatic fetching of ubuntu versions * Fix displaying ubuntu versions * Update quickget * Updated quickget - Remove obsolete daily-legacy - Add error if desktop amd64 build do not exist as in current status * Allow 'daily' as a valid release for ubuntu family * Better logic to fetch Ubuntu-server & failsafe