Commit Graph

430 Commits

Author SHA1 Message Date
Martin Wimpress 6b86e81e72
macOS, Windows & Ubuntu do not use create_vm()
The get_() function for macOS, Windows and Ubuntu are more complete because they do not solely use wget/aria2.

Their get_() functions include the code to create VMs and therefore do not use the generic create_vm() helper.
2022-02-22 18:48:42 +00:00
Martin Wimpress d20ad7aa1c
Add create_vm()
create_vm() is a helper function that will make it possible to remove boiler plate from (most) get_() functions.
2022-02-22 18:44:02 +00:00
Martin Wimpress 29c2829534
Clean up variable assignment in get_windows() 2022-02-22 18:42:12 +00:00
Martin Wimpress 15ff54d208
releases_() generators are always ascending order 2022-02-22 18:40:42 +00:00
Martin Wimpress 45cdc5e217
Refactor get_popos() 2022-02-22 15:29:46 +00:00
Martin Wimpress ee0a25472f
Drop 21.04 (Hirsute) based releases. They are EOL. 2022-02-22 15:19:34 +00:00
Martin Wimpress 1dc780b9e2
Remove EDITION boiler plate from all get_() functions 2022-02-22 15:16:30 +00:00
Martin Wimpress 8050abc6f0
Refactor get_elementary() 2022-02-22 15:16:30 +00:00
Martin Wimpress 0fe5232a01
Refactor Android support and add editions 2022-02-22 15:16:30 +00:00
Alan Pope 3ef1bfa003
switch to version numbers fixes #376 (#377) 2022-02-22 12:53:05 +00:00
Martin Wimpress 5cf883a73a
Use consistent ISO derivation in get_tails() 2022-02-22 09:44:56 +00:00
Martin Wimpress df4442a638
White space clean up 2022-02-22 09:43:54 +00:00
Martin Wimpress 9443931dbb
Fix get_windows()
Use the passed LANG as LANG_EDITION. Simpler INDEX tweaking, make shellcheck happy.
2022-02-22 02:03:42 +00:00
Martin Wimpress 4ec224cde8
Tune KolibriOS 2022-02-22 00:53:36 +00:00
Martin Wimpress 310027f17d
Remove excessive disk_size requirement from various distros 2022-02-22 00:52:48 +00:00
Martin Wimpress 7ef1f5bc49
Fix get_garuda() 2022-02-22 00:51:54 +00:00
Martin Wimpress bd87f98224
Add NetBSD 2022-02-22 00:51:34 +00:00
Martin Wimpress 45eaaa08c2
Add GhostBSD
Includes MATE and XFCE editions.
2022-02-21 23:32:50 +00:00
Martin Wimpress 283927577e
Add more OpenBSD releases 2022-02-21 22:57:40 +00:00
Martin Wimpress 545b44763a
Refactor get_freebsd() 2022-02-21 22:56:58 +00:00
Martin Wimpress 36ea016fb3
Refactor Fedora support to add editions, including Fedora Spins
This also removes all hardcoding in ISO filenames.
2022-02-21 22:18:50 +00:00
Martin Wimpress dabdfa49cc
Refactor Arco Linux support releases and editions 2022-02-21 21:12:20 +00:00
Martin Wimpress 96287f369e
Refactor get_alpine() 2022-02-21 20:37:40 +00:00
Martin Wimpress 12d33eabcf
Refactor make_vm_config() to create distinctive VM config filenames 2022-02-21 20:29:22 +00:00
Martin Wimpress a939206288
Refactor Garuda support to properly implement releases and editions 2022-02-21 20:08:50 +00:00
Martin Wimpress 6b54c58173
Refactor Debian support to enable past releases 2022-02-21 20:07:58 +00:00
Martin Wimpress 614ea2f4c3
Improve the quickget quick 'n dirty dev guide 2022-02-21 18:02:24 +00:00
Martin Wimpress 9bf14c5bc0
Refactor Zorin support to add editions 2022-02-21 17:48:32 +00:00
Martin Wimpress 338a03c571
Refactor Haiku support to add editions 2022-02-21 17:40:50 +00:00
Martin Wimpress 4cee4d3d63
Make listing supported OSs consistent with releases and editions 2022-02-21 17:34:30 +00:00
Martin Wimpress e13b931538
Refactor Regolith support to add editions 2022-02-21 17:33:36 +00:00
Martin Wimpress 596ffa86a6
Add netboot.xyz. Closes #351 2022-02-21 16:41:26 +00:00
Martin Wimpress 35216cef15
Reorder get_() and releases_() functions 2022-02-21 16:29:42 +00:00
Martin Wimpress 3f72f79e59
Update adding a new OS to quickget guide 2022-02-21 15:58:12 +00:00
Martin Wimpress 46c7805ad1
Refactor OS tweaks in make_vm_config() 2022-02-21 15:57:32 +00:00
Martin Wimpress 5d7d9ec350
Display available editions alongside releases 2022-02-21 15:40:08 +00:00
Martin Wimpress 5ef7a85687
Fix validate_release() for Ubuntu flavours 2022-02-21 15:35:10 +00:00
Martin Wimpress 8924d5cac4
Refactor Void Linux support to add editions 2022-02-21 15:24:25 +00:00
Martin Wimpress 6e92a8e0d9
Minor clean up of various get_() functions 2022-02-21 15:08:09 +00:00
Martin Wimpress bbcc470751
Refactor Pop!_OS support to be consistent with other OSs with editions 2022-02-21 15:07:15 +00:00
Martin Wimpress 830c38818a
Refactor Rocky Linux support to add editions 2022-02-21 15:05:55 +00:00
Martin Wimpress a78ab882d3
Refactor Alma Linux support to add editions 2022-02-21 15:05:15 +00:00
Martin Wimpress 04e65d953a
Call validate_release() automatically
validate_release() is called automatically before get_(), this removes some bioler plate that every get_() function requires and makes quickget easier to maintain.
2022-02-21 15:04:03 +00:00
Martin Wimpress ba91b7965d
Refactor Solus support to add editions 2022-02-21 14:57:11 +00:00
Martin Wimpress a4080559d6
Cleanup get_zorin() 2022-02-21 10:13:11 +00:00
Martin Wimpress 344c7f93a5
Make Windows LANGS consistent with other OS EDITIONS 2022-02-21 10:11:25 +00:00
Martin Wimpress 6ddf92c772
Refactor get_zorin() 2022-02-21 09:47:47 +00:00
Martin Wimpress 93a5a49d52
Refactor OS and releases parser
Makes quickget much easier to maintain.

Add "editions" generators for those OSs that have editions, such as Linux Mint and MX Linux.

Use introspection to automatically parse editions and call the appropriate get_() and  releases_() functions.
2022-02-21 09:19:07 +00:00
Martin Wimpress 559e2ae886
Refactor aria2c and zsync support
If aria2 is installed, it will now be listed in the csv/json
2022-02-21 07:06:06 +00:00
Martin Wimpress 5f26733687
Update adding an OS to quickget guide 2022-02-21 07:03:53 +00:00
Martin Wimpress 5bfec8a9d3
Consolidate BSD, Haiku and Linux guests 2022-02-21 05:57:59 +00:00
Martin Wimpress 105aea46ef
Correct conditionals for Tails 2022-02-21 05:12:11 +00:00
Martin Wimpress f93a7249a8
Refactor Linux Mint support
Cinnamon is the default download. MATE and XFCE can be selected as editions.
2022-02-21 05:08:33 +00:00
Martin Wimpress 7e397ced4e
Clean up list_csv() 2022-02-21 05:02:21 +00:00
Martin Wimpress 28b48c7b8e
Refactor KDE Neon support
No longer uses zsync
2022-02-21 05:01:35 +00:00
Martin Wimpress 7d71a28547
Refactor NixOS support
GNOME is the default download, but Plasma5 and Minimal can be selected as editions.
2022-02-21 04:49:19 +00:00
Martin Wimpress d6c9d5d359
Fix Devuan csv/json 2022-02-21 04:37:37 +00:00
Martin Wimpress b5dc52265f
Refactor MX Linux support
MX Linux is listed once. XFCE is the default desktop, but KDE and FLuxbox can be selected as editions.
2022-02-21 04:35:33 +00:00
Martin Wimpress 21f7c0fa51
Refactor Manjaro support
Treat the desktop editions as release since Manjaro is rolling. Drop support for Minimal and Minimal LTS selection.
2022-02-21 04:23:29 +00:00
Martin Wimpress 2dbbe869d0
Refactor Rocky Linux support
Uses the minimal image only.
2022-02-21 04:01:47 +00:00
Martin Wimpress e0308b4957
Refactor Alma Linux support
Uses the minimal image only.
2022-02-21 04:01:03 +00:00
Martin Wimpress 67d07dfb89
White space clean up 2022-02-21 03:53:19 +00:00
Martin Wimpress 2d72601fbf
Refactor Debian support
Drop non-free support, that is irrelevant in a VM. releases_debian() lists actual releases and get_debian() support the different desktop edition, which are exposed in the csv/json lists.
2022-02-21 03:52:39 +00:00
Martin Wimpress da3fe3b8f3
Refactor gentoo and haiku in pretty_name()
The catch all works for Gentoo and Haiku.
2022-02-21 03:21:57 +00:00
Martin Wimpress af7ed8c2d6
Add Devuan. Closes #345 2022-02-21 03:20:13 +00:00
Martin Wimpress a4b7b33aaf
Refactor get_slackware() 2022-02-21 02:44:01 +00:00
Lanius be48d663bd
Add Slackware (#369)
* add Slackware as supported OS

* fix checksum check for Slackware

* add Slackware as supported OS

* fix checksum check for Slackware

* fix case with new format
2022-02-21 02:36:19 +00:00
Martin Wimpress 0073ba2880
Refactor get_cachyos() 2022-02-21 02:18:27 +00:00
Martin Wimpress 174600a615
Refactor get_haiku() 2022-02-21 02:12:35 +00:00
Martin Wimpress 8ad252295b
Refactor get_garuda() 2022-02-21 02:05:09 +00:00
Martin Wimpress 4bafb49e0a
Refactor get_tails() 2022-02-21 02:04:23 +00:00
Martin Wimpress ea509ac5e0
Refactor get_regolith() 2022-02-21 02:04:05 +00:00
Martin Wimpress 652eaba6b0
Refactor get_oraclelinux() 2022-02-21 02:03:21 +00:00
Martin Wimpress bed546556a
Refactor get_solus() 2022-02-21 02:02:51 +00:00
Martin Wimpress ddb1f30d4f
Refactor get_rocky() 2022-02-21 02:02:23 +00:00
Martin Wimpress ecb0afbcce
Refactor get_zorin() 2022-02-21 02:01:55 +00:00
Martin Wimpress 71c7542dcb
Refactor get_void() 2022-02-21 02:01:13 +00:00
Martin Wimpress bee4d52457
Refactor get_openbsd() 2022-02-21 02:00:45 +00:00
Martin Wimpress fb39f67a5b
Refactor get_nixos() 2022-02-21 02:00:17 +00:00
Martin Wimpress eb23f010aa
Refactor get_mxlinux() 2022-02-21 01:59:35 +00:00
Martin Wimpress 0e6ad3d1f7
Refactor get_manjaro() 2022-02-21 01:58:35 +00:00
Martin Wimpress b9eb58e95c
Refactor get_linuxmint() 2022-02-21 01:57:11 +00:00
Martin Wimpress 68fe9348ba
Refactor get_kolibrios() 2022-02-21 01:56:23 +00:00
Martin Wimpress 05d40e1170
Refactor get_kali() 2022-02-21 01:55:51 +00:00
Martin Wimpress 71d63d2ea2
Refactor get_gentoo() 2022-02-21 01:55:29 +00:00
Martin Wimpress 98fe5899d0
Refactor get_elementary() 2022-02-21 01:55:01 +00:00
Martin Wimpress dc5cc54af5
Refactor get_debian() 2022-02-21 01:54:39 +00:00
Martin Wimpress a1f02e6b3a
Refactor get_arcolinux() 2022-02-21 01:53:09 +00:00
Martin Wimpress 41afadd809
Refactor get_alpine() 2022-02-21 01:52:37 +00:00
Martin Wimpress bbdd66d7d1
Refactor get_alma() 2022-02-21 01:51:49 +00:00
Martin Wimpress 15bb82501c
Update web_get() errors with the downloader used 2022-02-21 01:51:15 +00:00
Martin Wimpress 3d0a1b5453
Revert localiso feature
Mixing an option parser with the existing argv/arvc style parser creates a confusing set of conditionals with large if/then inside a case statement.

On reflection, I don't think this feature has a place in quickget. For anyone with existing iso image, quickemu configurations can be hand crafted. Perhaps the additional of a "quickconf" would be a better way to quickly create VM configs from existing ISO images.
2022-02-21 01:50:37 +00:00
Martin Wimpress c74a8fd4d1
Update Zorin releases 2022-02-21 01:42:10 +00:00
Martin Wimpress fe5dfce322
White space clean up 2022-02-21 01:40:23 +00:00
Martin Wimpress d67f864957
Tidy unattended.xml 2022-02-20 09:38:03 +00:00
Martin Wimpress 0d6cd87494
Fix SkipAutoActivation for Windows 10/11 2022-02-20 09:37:09 +00:00
Martin Wimpress 2dc2fe271a
Add SkipAutoActivation true to unattened.xml for Windows 2022-02-19 15:24:21 +00:00
zenobit ee2cb19bbf
revert to default mirror (#350) 2022-02-19 12:03:47 +00:00
Phil Clifford 86068f039a
Fixes #250 (#362)
Quotes needed to  allow bracketed langs to match.
User still needs to wrap the LANG parameter in quotes.
2022-02-19 11:50:34 +00:00
Phil Clifford da8d0c7899
Use local isos fixed (#361)
* Start adding params for existing isos

* Merge parameter handling code

* initial testing seems reasonable

Note that if copying files in, "wget -c " will assume

smaller-than-remote files are parts and continue
so likely will cause hashing failures
or if no hash check then corrupt isos.

* Added usage for --help

* Usage enhanced and added to Readme

* spurios unused cruft removed

* Fixed race

adding belts and braces

* Removed debugging and cruft

* Not yet able to cache windows because windows

* Working for cached macos

with limitations
2022-02-19 11:49:09 +00:00
Phil Clifford 65b78eb8a4
Reduce future pain (#358)
* Removed big list of itemised defaults

There are list() functions and docs  - spelling out the list of
OS options here just adds work and maintenance overhead.

* Removed misleading chatter

Already took out the incorrect phrasing.  With most now
being default the output is over-noisy and probably unhelpful.
2022-02-19 11:47:10 +00:00
Phil Clifford 328b109cff
Use local isos (#314)
* Start adding params for existing isos

* Merge parameter handling code

* initial testing seems reasonable

Note that if copying files in, "wget -c " will assume

smaller-than-remote files are parts and continue
so likely will cause hashing failures
or if no hash check then corrupt isos.

* Added usage for --help

* Usage enhanced and added to Readme

* spurios unused cruft removed
2022-02-17 10:18:00 +00:00
Martin Wimpress 14ae0d53a2
White space cleanup 2022-02-17 10:14:17 +00:00
Martin Wimpress 83da5351d9
Fix guest config for Haiku Kolibrios 2022-02-17 10:14:03 +00:00
Jai A P 4c85cf5596
Add suport for aria2c for faster downloading if installed (#299)
* Add suport for aria2c for faster downloading if installed

* Fix newlines in aria2c output
2022-02-17 10:06:47 +00:00
Avri Chen-Roth bb6b4fe597
Replace multiple if statements with case and OR (#295)
* Replace multiple if statements with case and OR

* Fix case statement per review suggestion

* Added default fallback for undefined OSs

Co-authored-by: Martin Wimpress <304639+flexiondotorg@users.noreply.github.com>
2022-02-17 10:03:31 +00:00
Martin Wimpress b933bf77d5
Merge branch 'master' into merging-fixes 2022-02-17 09:49:19 +00:00
Phil 506ddff59b Moved MX-Linux source to official sourceforge
As requested by @SwampRabbit
2022-01-31 11:00:02 +00:00
Phil daa730a2d9 Merge branch 'void' into mud-plus-void 2022-01-31 02:19:19 +00:00
zenobit 6de821561c
Update quickget 2022-01-31 01:25:02 +01:00
zenobit 3d30f8b1d7
Update quickget 2022-01-31 01:15:53 +01:00
zenobit 18f92bc785
fix 2022-01-30 18:46:55 +01:00
Phil Clifford 5e8d6d97d3 fixed mxlinux list bug 2022-01-30 03:56:24 +00:00
Phil Clifford ee6daedb4e
Fixes #330 (#13)
erroneous and confusing release outputs fixed
2022-01-29 15:24:12 +00:00
Phil Clifford 1e98fa7a92
Fixes #330 (#12)
erroneous and confusing release outputs fixed
2022-01-29 15:10:57 +00:00
Phil 5e7dce6d82 Fixes to kolibrios
removed 7z dependency and corrected errors.
2022-01-17 05:38:57 +00:00
Phil 2dcc05abac Merge remote-tracking branch 'nqvrg/add-haiku'
into merging-updated-distros
2022-01-17 04:50:03 +00:00
Phil 641f6f8a7f Merge remote-tracking branch 'guyosi/master' into merging-updated-distros 2022-01-17 03:51:59 +00:00
Phil a8f9a8d703 Merge remote-tracking branch 'nvepogodin/master'
into merging-updated-distros

Also updated release and ISO name
as that had changed with an updated release
2022-01-17 03:43:53 +00:00
Phil 86a614cdea Merge remote-tracking branch 'FriDay/leap-fix' into merging-updated-distros 2022-01-17 02:18:50 +00:00
Phil a7de776741 Merge remote-tracking branch 'sebcode/task/add-tails-linux-support' into merging-updated-distros 2022-01-17 02:15:21 +00:00
Phil fbec9cf21c Merge remote-tracking branch 'vpnmahawar/mxlinux-support' into merging-updated-distros 2022-01-17 02:13:53 +00:00
Phil f232fdfb4e Merge remote-tracking branch 'jai-JAP/patch-1' into merging-updated-distros 2022-01-17 02:03:22 +00:00
Phil 5e58fd4e56 Merge remote-tracking branch 'jai-JAP/alpine' into merging-updated-distros 2022-01-17 01:58:29 +00:00
Phil f15f011ad1 Merge remote-tracking branch 'abe101/master' into merging-updated-distros 2022-01-17 01:47:40 +00:00
Phil 1d0312f430 Merge remote-tracking branch 'kolibri/master' into merging-updated-distros 2022-01-17 01:16:25 +00:00
Phil dc901fa932 Merge remote-tracking branch 'erikdubois/master' into merging-updated-distros 2022-01-17 01:13:10 +00:00
Phil 48fbbb584f Merge branch 'new-elementary-release' into merging-updated-distros 2022-01-17 01:12:34 +00:00
Phil 8adbae8e23 slight tweak after confirming only latest release is available 2022-01-17 01:03:43 +00:00
Phil d06681506f updated elementary to 6.1 2022-01-17 00:48:40 +00:00
Phil 7ecd33bf6d Merge new-elementary-release' into merging-updated-distros
attempting to pull all the new and updated distros into a single branch
with any conflicts resolved.
2022-01-17 00:29:38 +00:00
zenobit 3ef5ff47bc added initial support for void linux 2022-01-16 04:38:45 +01:00
Sebastian Volland ad3332ab37 Add support for Tails Linux 2022-01-07 10:25:45 +01:00
Ian2020 18278288d7 Fix #306 - supply dir to web_get when using wget 2022-01-06 11:09:25 +00:00
Jai A P 7c21235ce8
fix Manjaro unable to download iso 2022-01-01 11:58:38 +05:30
Jai A P e33900a81e
Auto Update Manjaro 2022-01-01 11:50:17 +05:30
Vipin Mahawar cff1c450b7 fix typo 2021-12-31 22:54:57 +05:30
Jai A P 3454f4fae0
Update quickget 2021-12-31 17:05:00 +05:30
Jai A P 82885ef8c4
Update quickget 2021-12-30 16:06:22 +05:30
Jai A P b4c940e789
Update quickget 2021-12-30 15:53:40 +05:30
Jai A P 435e427c9c
Add Alpine Linux support 2021-12-30 15:53:04 +05:30
Jai A P 599aa07696
Add manjaro support 2021-12-29 18:06:58 +05:30
Vipin Mahawar 4fc02da75e Added MX-Linux support 2021-12-27 12:36:28 +05:30
abe-101 c3b08411a9
Update Debian version to 11.2.0 2021-12-26 22:38:11 -05:00
nqvrg 935b83a490 Set an explicit disk size of 32G for Haiku 2021-12-26 19:22:14 +01:00
nqvrg 9f27cbffa2 Add Haiku R1 Beta 3 to quickget script 2021-12-26 19:22:14 +01:00
Vitaliy Krylov 82be8d324c Improved support of KolibriOS:
CD-ROM (iso), Disk, Internet and Audio are working now.
Also added forced LiveCD booting (because release named latest-iso, not latest-img).
Did some tweaks with '-machine' and '-cpu'. Now these VMs will run with 'qemu32' processor since KolibriOS throw an MTRR error (I didnt get how to fix it by any other way).
2021-12-23 20:36:34 +03:00
Vitaliy Krylov 310d2d3aa1 Adding KolibriOS support
It can download and boot this OS. There is one requirement: 7z.
Its not completed yet (at least internet and sound dont work)
2021-12-22 00:13:47 +03:00
arcolinuxz c1ded4df4d add arcolinux 2021-12-20 11:35:54 +01:00
Phil Clifford 4a048626ff New release of elementaryOS 6.0 2021-12-17 01:44:38 +00:00