Commit Graph

388 Commits

Author SHA1 Message Date
Martin Wimpress
7dc6572bdf
Refactor get_alma() to add create_vm() compatibility 2022-02-23 10:02:25 +00:00
Martin Wimpress
30ebabab04
Enable create_vm() for most OSs 2022-02-23 09:59:27 +00:00
Martin Wimpress
d1a984ff12
Minor code cleanup 2022-02-23 09:53:27 +00:00
Martin Wimpress
958ef84931
White space cleanup 2022-02-23 03:37:28 +00:00
Martin Wimpress
921d06e025
Minor code clean up 2022-02-23 03:33:32 +00:00
Martin Wimpress
85cb9251a0
Collapse releases_() and editions_() where reasonable to do so 2022-02-23 03:33:00 +00:00
Martin Wimpress
368b24936e
Refactor Ubuntu support
Use release and project labels found on cdimage.
2022-02-23 03:31:04 +00:00
Martin Wimpress
eaae0f72e8
Fiz get_zsync() so it correctly falls back to web_get() 2022-02-23 03:24:56 +00:00
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