penguins-eggs 8.17.4 → 9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/README.md +235 -155
  2. package/addons/README.md +78 -84
  3. package/addons/{pve → blissos}/theme/applications/install-debian.desktop +0 -0
  4. package/addons/{pve → blissos}/theme/artwork/install-debian.png +0 -0
  5. package/addons/blissos/theme/calamares/branding/blissos-logo.png +0 -0
  6. package/addons/{pve → blissos}/theme/calamares/branding/branding.desc +0 -0
  7. package/addons/blissos/theme/calamares/branding/languages.png +0 -0
  8. package/addons/blissos/theme/calamares/branding/show.qml +75 -0
  9. package/addons/blissos/theme/calamares/branding/slide1.png +0 -0
  10. package/addons/blissos/theme/calamares/branding/slide2.png +0 -0
  11. package/addons/blissos/theme/calamares/branding/slide3.png +0 -0
  12. package/addons/blissos/theme/calamares/branding/welcome.png +0 -0
  13. package/addons/{pve → blissos}/theme/calamares/modules/partition.yml +2 -2
  14. package/addons/blissos/theme/livecd/README.md +23 -0
  15. package/addons/blissos/theme/livecd/grub.template.cfg +34 -0
  16. package/addons/blissos/theme/livecd/grub.theme.cfg +46 -0
  17. package/addons/blissos/theme/livecd/isolinux.template.cfg +29 -0
  18. package/addons/blissos/theme/livecd/isolinux.theme.cfg +45 -0
  19. package/addons/blissos/theme/livecd/splash.png +0 -0
  20. package/addons/debian/theme/README.md +23 -0
  21. package/addons/debian/theme/{branding → calamares/branding}/branding.desc +0 -0
  22. package/addons/debian/theme/{branding → calamares/branding}/debian-logo.png +0 -0
  23. package/addons/debian/theme/{branding → calamares/branding}/show.qml +0 -0
  24. package/addons/debian/theme/{branding → calamares/branding}/slide1.png +0 -0
  25. package/addons/debian/theme/{branding → calamares/branding}/welcome.png +0 -0
  26. package/addons/debian/theme/calamares/modules/partition.yml +233 -0
  27. package/addons/debian/theme/livecd/README.md +23 -0
  28. package/addons/debian/theme/livecd/grub.template.cfg +34 -0
  29. package/addons/{pve/theme/livecd/theme.cfg → debian/theme/livecd/grub.theme.cfg} +4 -0
  30. package/addons/debian/theme/livecd/isolinux.template.cfg +30 -0
  31. package/{conf/distros/buster/isolinux/stdmenu.template.cfg → addons/debian/theme/livecd/isolinux.theme.cfg} +4 -0
  32. package/addons/debian/theme/livecd/splash.png +0 -0
  33. package/addons/deblinux/theme/README.md +19 -12
  34. package/addons/eggs/adapt/applications/eggs-adapt.desktop +1 -1
  35. package/addons/eggs/theme/livecd/README.md +21 -6
  36. package/addons/eggs/theme/livecd/grub.template.cfg +11 -37
  37. package/addons/eggs/theme/livecd/{theme.cfg → grub.theme.cfg} +5 -1
  38. package/addons/eggs/theme/livecd/isolinux.template.cfg +29 -0
  39. package/addons/eggs/theme/livecd/isolinux.theme.cfg +46 -0
  40. package/addons/eggs/theme/livecd/splash.png +0 -0
  41. package/addons/guadalinex/theme/livecd/README.md +23 -0
  42. package/addons/guadalinex/theme/livecd/{menu.template.cfg → isolinux.template.cfg} +12 -3
  43. package/addons/guadalinex/theme/livecd/{theme.cfg → isolinux.theme.cfg} +0 -0
  44. package/addons/neon/theme/livecd/README.md +23 -0
  45. package/addons/neon/theme/livecd/grub.template.cfg +34 -0
  46. package/addons/{ufficiozero/theme/livecd/theme.cfg → neon/theme/livecd/grub.theme.cfg} +5 -1
  47. package/addons/neon/theme/livecd/isolinux.template.cfg +29 -0
  48. package/addons/neon/theme/livecd/isolinux.theme.cfg +46 -0
  49. package/addons/neon/theme/livecd/splash.pcx +0 -0
  50. package/addons/neon/theme/livecd/splash.png +0 -0
  51. package/addons/openos/theme/livecd/README.md +23 -0
  52. package/addons/openos/theme/livecd/{theme.cfg → grub.theme.cfg} +0 -0
  53. package/addons/openos/theme/livecd/{menu.template.cfg → isolinux.template.cfg} +11 -3
  54. package/addons/openos/theme/livecd/isolinux.theme.cfg +45 -0
  55. package/addons/ufficiozero/theme/applications/install-debian.desktop +17 -2
  56. package/bin/dev +17 -0
  57. package/bin/dev.cmd +3 -0
  58. package/bin/run +2 -4
  59. package/conf/distros/bionic/calamares/settings.yml +5 -5
  60. package/conf/distros/bookworm/README.md +9 -0
  61. package/conf/distros/bullseye/README.md +6 -8
  62. package/conf/distros/buster/calamares/modules/shellprocess_eggs-cleanup.yml +6 -0
  63. package/conf/distros/buster/calamares/settings.yml +14 -3
  64. package/conf/distros/chimaera/README.md +3 -0
  65. package/conf/distros/daedalus/README.md +3 -0
  66. package/conf/distros/focal/calamares/settings.yml +2 -2
  67. package/conf/distros/jammy/README.md +9 -0
  68. package/conf/distros/rolling/README.md +3 -0
  69. package/conf/distros/rolling/calamares/calamares-modules/remove-link/module.yml +9 -0
  70. package/conf/distros/rolling/calamares/calamares-modules/remove-link/remove-link.sh +3 -0
  71. package/conf/distros/rolling/calamares/modules/displaymanager.yml +22 -0
  72. package/conf/distros/rolling/calamares/modules/finished.yml +6 -0
  73. package/conf/distros/rolling/calamares/modules/fstab.yml +13 -0
  74. package/conf/distros/rolling/calamares/modules/locale.yml +97 -0
  75. package/conf/distros/rolling/calamares/modules/luksopenswaphookcfg.yml +6 -0
  76. package/conf/distros/rolling/calamares/modules/mount.yml +38 -0
  77. package/conf/distros/rolling/calamares/modules/packages.yml +8 -0
  78. package/conf/distros/rolling/calamares/modules/removeuser.yml +15 -0
  79. package/conf/distros/rolling/calamares/modules/unpackfs.yml +7 -0
  80. package/conf/distros/rolling/calamares/modules/users.yml +20 -0
  81. package/conf/distros/rolling/calamares/modules/welcome.yml +19 -0
  82. package/conf/distros/{bullseye → rolling}/calamares/settings.yml +17 -12
  83. package/conf/distros/thirtyfive/README.md +3 -0
  84. package/conf/distros/tumbleweed/README.md +3 -0
  85. package/conf/eggs.yaml +1 -1
  86. package/conf/exclude.list +2 -4
  87. package/conf/tools.yaml +1 -1
  88. package/lib/classes/basket.js +24 -28
  89. package/lib/classes/bleach.js +17 -17
  90. package/lib/classes/compressors.js +15 -14
  91. package/lib/classes/daddy.js +38 -31
  92. package/lib/classes/distro.d.ts +3 -2
  93. package/lib/classes/distro.js +288 -179
  94. package/lib/classes/family/archlinux.d.ts +69 -0
  95. package/lib/classes/family/archlinux.js +181 -0
  96. package/lib/classes/family/debian.d.ts +64 -0
  97. package/lib/classes/family/debian.js +227 -0
  98. package/lib/classes/family/fedora.d.ts +63 -0
  99. package/lib/classes/family/fedora.js +169 -0
  100. package/lib/classes/family/suse.d.ts +63 -0
  101. package/lib/classes/family/suse.js +169 -0
  102. package/lib/classes/i18n.js +16 -16
  103. package/lib/classes/incubation/branding.js +5 -4
  104. package/lib/classes/incubation/distros/bionic.js +1 -2
  105. package/lib/classes/incubation/distros/buster.js +2 -2
  106. package/lib/classes/incubation/distros/focal.js +3 -2
  107. package/lib/classes/incubation/distros/jessie.js +1 -25
  108. package/lib/classes/incubation/distros/{bullseye.d.ts → rolling.d.ts} +3 -3
  109. package/lib/classes/incubation/distros/{bullseye.js → rolling.js} +15 -16
  110. package/lib/classes/incubation/fisherman-helper/displaymanager.js +2 -7
  111. package/lib/classes/incubation/fisherman-helper/packages.js +31 -32
  112. package/lib/classes/incubation/fisherman.d.ts +17 -17
  113. package/lib/classes/incubation/fisherman.js +84 -71
  114. package/lib/classes/incubation/incubator.js +116 -78
  115. package/lib/classes/incubation/installer.d.ts +2 -2
  116. package/lib/classes/incubation/installer.js +6 -20
  117. package/lib/classes/initrd.d.ts +1 -1
  118. package/lib/classes/initrd.js +37 -30
  119. package/lib/classes/krill_install.js +135 -132
  120. package/lib/classes/krill_prepare.js +51 -51
  121. package/lib/classes/n8.js +6 -11
  122. package/lib/classes/ovary.d.ts +29 -11
  123. package/lib/classes/ovary.js +711 -605
  124. package/lib/classes/pacman.d.ts +53 -58
  125. package/lib/classes/pacman.js +512 -431
  126. package/lib/classes/pve-live.js +6 -6
  127. package/lib/classes/settings.js +46 -55
  128. package/lib/classes/systemctl.d.ts +6 -6
  129. package/lib/classes/systemctl.js +7 -7
  130. package/lib/classes/tools.d.ts +1 -1
  131. package/lib/classes/tools.js +10 -10
  132. package/lib/classes/utils.d.ts +9 -12
  133. package/lib/classes/utils.js +127 -106
  134. package/lib/classes/xdg.js +94 -90
  135. package/lib/classes/yolk.js +36 -29
  136. package/lib/commands/adapt.d.ts +3 -3
  137. package/lib/commands/adapt.js +12 -12
  138. package/lib/commands/bro.d.ts +14 -0
  139. package/lib/commands/bro.js +31 -0
  140. package/lib/commands/calamares.d.ts +7 -7
  141. package/lib/commands/calamares.js +21 -46
  142. package/lib/commands/config.d.ts +5 -5
  143. package/lib/commands/config.js +68 -75
  144. package/lib/commands/dad.d.ts +5 -5
  145. package/lib/commands/dad.js +11 -11
  146. package/lib/commands/export/deb.d.ts +8 -8
  147. package/lib/commands/export/deb.js +16 -16
  148. package/lib/commands/export/docs.d.ts +2 -2
  149. package/lib/commands/export/docs.js +9 -9
  150. package/lib/commands/export/iso.d.ts +4 -4
  151. package/lib/commands/export/iso.js +12 -17
  152. package/lib/commands/info.d.ts +9 -3
  153. package/lib/commands/info.js +14 -164
  154. package/lib/commands/install.d.ts +4 -4
  155. package/lib/commands/install.js +19 -14
  156. package/lib/commands/kill.d.ts +3 -3
  157. package/lib/commands/kill.js +11 -13
  158. package/lib/commands/mom.d.ts +2 -2
  159. package/lib/commands/mom.js +8 -8
  160. package/lib/commands/produce.d.ts +14 -14
  161. package/lib/commands/produce.js +42 -45
  162. package/lib/commands/remove.d.ts +5 -5
  163. package/lib/commands/remove.js +46 -57
  164. package/lib/commands/tools/clean.d.ts +3 -3
  165. package/lib/commands/tools/clean.js +10 -12
  166. package/lib/commands/tools/locales.d.ts +4 -4
  167. package/lib/commands/tools/locales.js +8 -8
  168. package/lib/commands/tools/skel.d.ts +4 -4
  169. package/lib/commands/tools/skel.js +10 -15
  170. package/lib/commands/tools/stat.d.ts +7 -4
  171. package/lib/commands/tools/stat.js +20 -13
  172. package/lib/commands/tools/yolk.d.ts +3 -3
  173. package/lib/commands/tools/yolk.js +12 -12
  174. package/lib/commands/update.d.ts +5 -10
  175. package/lib/commands/update.js +56 -72
  176. package/lib/components/elements/information.d.ts +4 -0
  177. package/lib/components/elements/information.js +166 -0
  178. package/lib/components/elements/steps.js +1 -1
  179. package/lib/components/elements/title.js +7 -10
  180. package/lib/components/finished.js +5 -5
  181. package/lib/components/install.js +5 -5
  182. package/lib/components/keyboard.js +5 -5
  183. package/lib/components/location.js +5 -5
  184. package/lib/components/network.js +5 -5
  185. package/lib/components/partitions.js +5 -5
  186. package/lib/components/summary.js +5 -5
  187. package/lib/components/users.js +6 -6
  188. package/lib/components/welcome.js +6 -6
  189. package/lib/index.d.ts +1 -1
  190. package/lib/index.js +2 -2
  191. package/lib/interfaces/i-distro.d.ts +3 -2
  192. package/lib/interfaces/i-settings.d.ts +2 -2
  193. package/lib/lib/cli-autologin.d.ts +19 -2
  194. package/lib/lib/cli-autologin.js +114 -39
  195. package/lib/lib/dependencies.d.ts +9 -6
  196. package/lib/lib/dependencies.js +22 -13
  197. package/lib/lib/get_address.js +2 -2
  198. package/lib/lib/get_dns.js +2 -2
  199. package/lib/lib/get_domain.js +2 -2
  200. package/lib/lib/get_gateway.js +2 -2
  201. package/lib/lib/get_hostname.js +2 -2
  202. package/lib/lib/get_netmask.js +2 -2
  203. package/lib/lib/get_password.js +2 -2
  204. package/lib/lib/get_root_password.js +2 -2
  205. package/lib/lib/get_userfullname.js +2 -2
  206. package/lib/lib/get_username.js +2 -2
  207. package/lib/lib/select_address_type.js +2 -5
  208. package/lib/lib/select_filesystem_type.js +5 -14
  209. package/lib/lib/select_installation_device.js +3 -3
  210. package/lib/lib/select_interface.js +1 -1
  211. package/lib/lib/select_keyboard_layout.js +2 -10
  212. package/lib/lib/select_languages.js +2 -2
  213. package/lib/lib/select_regions.js +1 -12
  214. package/lib/lib/select_user_swap_choice.js +4 -4
  215. package/lib/lib/select_zones.js +483 -62
  216. package/oclif.manifest.json +1 -1
  217. package/package.json +115 -107
  218. package/scripts/bros/waydroid-helper.sh +92 -0
  219. package/scripts/eggs.bash +65 -35
  220. package/scripts/not-used/eggs-cleanup.sh +7 -0
  221. package/scripts/{install-eggs-ppa.sh → not-used/install-eggs-ppa.sh} +0 -0
  222. package/scripts/{mkinitramfs → not-used/mkinitramfs} +0 -0
  223. package/scripts/{pve-live.sh → not-used/pve-live.sh} +0 -0
  224. package/addons/eggs/theme/livecd/menu.template.cfg +0 -54
  225. package/addons/pve/theme/applications/penguins-pve.desktop +0 -24
  226. package/addons/pve/theme/calamares/branding/pve-logo.png +0 -0
  227. package/addons/pve/theme/calamares/branding/show.qml +0 -227
  228. package/addons/pve/theme/calamares/branding/slide1.png +0 -0
  229. package/addons/pve/theme/calamares/branding/slide2.png +0 -0
  230. package/addons/pve/theme/calamares/branding/slide3.png +0 -0
  231. package/addons/pve/theme/calamares/branding/slide4.png +0 -0
  232. package/addons/pve/theme/calamares/branding/slide5.png +0 -0
  233. package/addons/pve/theme/calamares/branding/slide6.png +0 -0
  234. package/addons/pve/theme/calamares/branding/slide7.png +0 -0
  235. package/addons/pve/theme/calamares/branding/slide8.png +0 -0
  236. package/addons/pve/theme/calamares/branding/slide9.png +0 -0
  237. package/addons/pve/theme/calamares/branding/welcome.png +0 -0
  238. package/addons/pve/theme/livecd/README.md +0 -8
  239. package/addons/pve/theme/livecd/grub.template.cfg +0 -60
  240. package/addons/pve/theme/livecd/menu.template.cfg +0 -54
  241. package/addons/pve/theme/livecd/splash.png +0 -0
  242. package/addons/ufficiozero/theme/artwork/install-debian.png +0 -0
  243. package/addons/ufficiozero/theme/livecd/README.md +0 -8
  244. package/addons/ufficiozero/theme/livecd/grub.template.cfg +0 -60
  245. package/addons/ufficiozero/theme/livecd/menu.template.cfg +0 -54
  246. package/changelog.md +0 -154
  247. package/conf/distros/bullseye/calamares/calamares-modules/bootloader-config/bootloader-config.sh +0 -28
  248. package/conf/distros/bullseye/calamares/calamares-modules/bootloader-config/module.yml +0 -8
  249. package/conf/distros/buster/grub/grub.template.cfg +0 -58
  250. package/conf/distros/buster/grub/loopback.cfg +0 -1
  251. package/conf/distros/buster/grub/theme.cfg +0 -42
  252. package/conf/distros/buster/isolinux/isolinux.template.cfg +0 -8
  253. package/conf/distros/buster/isolinux/menu.template.cfg +0 -56
  254. package/conf/distros/focal/grub/grub.template.cfg +0 -67
  255. package/conf/distros/focal/isolinux/menu.template.cfg +0 -54
  256. package/lib/classes/incubation/distros/beowulf.d.ts +0 -30
  257. package/lib/classes/incubation/distros/beowulf.js +0 -69
  258. package/lib/classes/krill_install_compare.d.ts +0 -200
  259. package/lib/classes/krill_install_compare.js +0 -1110
  260. package/manpages/doc/man/eggs.1.gz +0 -0
  261. package/scripts/python-minimal-deb/anti-python-minimal +0 -7
  262. package/scripts/python-minimal-deb/python-minimal_99_all.deb +0 -0
  263. package/scripts/python-minimal-deb/python-minimal_99_amd64.buildinfo +0 -168
  264. package/scripts/python-minimal-deb/python-minimal_99_amd64.changes +0 -25
@@ -1 +1 @@
1
- {"version":"8.17.4","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","pluginName":"penguins-eggs","pluginType":"core","aliases":["adjust"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"calamares":{"id":"calamares","description":"calamares or install or configure it","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"final":{"name":"final","type":"boolean","char":"f","description":"final: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares"}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","pluginName":"penguins-eggs","pluginType":"core","aliases":["prerequisites"],"examples":["~$ sudo eggs config\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"info":{"id":"info","description":"thinking a different approach to CLI...","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","pluginName":"penguins-eggs","pluginType":"core","aliases":["hatch","krill"],"examples":["$ eggs install\nInstall the system using GUI or CLI installer\n"],"flags":{"cli":{"name":"cli","type":"boolean","char":"c","description":"force use CLI installer","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask for mommy - gui helper","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"the system produce an egg: iso image of your system","pluginName":"penguins-eggs","pluginType":"core","aliases":["spawn","lay"],"examples":["$ sudo eggs produce \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix"},"basename":{"name":"basename","type":"option","description":"basename"},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions"},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport"},"release":{"name":"release","type":"boolean","description":"release: configure GUI installer to remove eggs and calamares after installation","allowNo":false}},"args":[]},"remove":{"id":"remove","description":"remove eggs and others stuff","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs remove \nremove eggs\n","$ sudo eggs remove --purge \nremove eggs, eggs configurations, packages prerequisites\n"],"flags":{"purge":{"name":"purge","type":"boolean","char":"p","description":"remove eggs configurations files","allowNo":false},"autoremove":{"name":"autoremove","type":"boolean","char":"a","description":"remove eggs packages dependencies","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the penguin's eggs tool","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"apt":{"name":"apt","type":"boolean","char":"a","description":"if eggs package is .deb, update from distro repositories","allowNo":false},"basket":{"name":"basket","type":"boolean","char":"b","description":"if eggs package is .deb, update from eggs basket","allowNo":false},"npm":{"name":"npm","type":"boolean","char":"n","description":"if eggs package is .npm, update from npmjs.com","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"amd64":{"name":"amd64","type":"boolean","description":"export amd64 arch","allowNo":false},"i386":{"name":"i386","type":"boolean","description":"export i386 arch","allowNo":false},"armel":{"name":"armel","type":"boolean","description":"export armel arch","allowNo":false},"arm64":{"name":"arm64","type":"boolean","description":"export arm64 arch","allowNo":false},"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false}},"args":[]},"export:docs":{"id":"export:docs","description":"remove and export docType documentation of the sources in the destination host","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","pluginName":"penguins-eggs","pluginType":"core","aliases":["clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:locales":{"id":"tools:locales","description":"install/clean locales","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"reinstall":{"name":"reinstall","type":"boolean","char":"r","description":"reinstall locales","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","pluginName":"penguins-eggs","pluginType":"core","aliases":["skel"],"examples":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used"},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","pluginName":"penguins-eggs","pluginType":"core","aliases":["stat"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","pluginName":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs yolk -v"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]}}}
1
+ {"version":"9.0.2","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["adjust"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"bro":{"id":"bro","description":"bro: waydroid helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"calamares":{"id":"calamares","description":"calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"final":{"name":"final","type":"boolean","char":"f","description":"final: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["prerequisites"],"examples":["~$ sudo eggs config\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"info":{"id":"info","description":"re-thinking for a different approach to CLI","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["hatch","krill"],"examples":["$ eggs install\nInstall the system using GUI or CLI installer\n"],"flags":{"cli":{"name":"cli","type":"boolean","char":"c","description":"force use CLI installer","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask for mommy - gui helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"the system produce an egg: iso image of your system","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["spawn","lay"],"examples":["$ sudo eggs produce \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"release":{"name":"release","type":"boolean","description":"release: configure GUI installer to remove eggs and calamares after installation","allowNo":false}},"args":[]},"remove":{"id":"remove","description":"remove eggs and others stuff","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs remove \nremove eggs\n","$ sudo eggs remove --purge \nremove eggs, eggs configurations, configuration's files\n","$ sudo eggs remove --autoremove \nremove eggs, eggs configurations, packages dependencies\n"],"flags":{"purge":{"name":"purge","type":"boolean","char":"p","description":"remove eggs configurations files","allowNo":false},"autoremove":{"name":"autoremove","type":"boolean","char":"a","description":"remove eggs packages dependencies","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"apt":{"name":"apt","type":"boolean","char":"a","description":"if eggs package is .deb, update from distro repositories","allowNo":false},"basket":{"name":"basket","type":"boolean","char":"b","description":"if eggs package is .deb, update from eggs basket","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"amd64":{"name":"amd64","type":"boolean","description":"export amd64 arch","allowNo":false},"i386":{"name":"i386","type":"boolean","description":"export i386 arch","allowNo":false},"armel":{"name":"armel","type":"boolean","description":"export armel arch","allowNo":false},"arm64":{"name":"arm64","type":"boolean","description":"export arm64 arch","allowNo":false},"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false}},"args":[]},"export:docs":{"id":"export:docs","description":"remove and export docType documentation of the sources in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:locales":{"id":"tools:locales","description":"install/clean locales","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"reinstall":{"name":"reinstall","type":"boolean","char":"r","description":"reinstall locales","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["skel"],"examples":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":["stat"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs yolk -v"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"dir":"/usr/local/yolk"}}}
package/package.json CHANGED
@@ -1,109 +1,117 @@
1
1
  {
2
- "name": "penguins-eggs",
3
- "shortName": "eggs",
4
- "description": "Perri's Brewery edition: remaster your system and distribuite it",
5
- "version": "8.17.4",
6
- "author": "Piero Proietti @pieroproietti",
7
- "bin": {
8
- "eggs": "bin/run"
9
- },
10
- "homepage": "https://penguins-eggs.net/",
11
- "repository": "https://github.com/pieroproietti/penguins-eggs",
12
- "bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
13
- "dependencies": {
14
- "@getvim/execute": "^1.0.0",
15
- "@oclif/command": "^1.8.0",
16
- "@oclif/plugin-autocomplete": "0.1.0",
17
- "@oclif/plugin-help": "^3.2.2",
18
- "@oclif/plugin-not-found": "^1.2.4",
19
- "@oclif/plugin-warn-if-update-available": "^1.7.0",
20
- "axios": "^0.21.1",
21
- "cfonts": "^2.9.3",
22
- "chalk": "^4.1.0",
23
- "clear": "^0.1.0",
24
- "ink": "github:pieroproietti/ink",
25
- "ink-big-text": "^1.2.0",
26
- "ink-gradient": "^2.0.0",
27
- "inquirer": "^8.0.0",
28
- "js-yaml": "^4.0.0",
29
- "mustache": "^4.2.0",
30
- "pjson": "github:pieroproietti/pjson",
31
- "react": "^16.14.0",
32
- "shelljs": "^0.8.4"
33
- },
34
- "devDependencies": {
35
- "@oclif/dev-cli": "./vendors/dev-cli",
36
- "@oclif/test": "^1.2.8",
37
- "@types/axios": "^0.14.0",
38
- "@types/clear": "^0.1.1",
39
- "@types/figlet": "^1.5.0",
40
- "@types/ink-big-text": "^1.2.0",
41
- "@types/ink-gradient": "^2.0.1",
42
- "@types/inquirer": "^7.3.1",
43
- "@types/js-yaml": "^4.0.1",
44
- "@types/mocha": "^8.2.2",
45
- "@types/mustache": "^4.1.1",
46
- "@types/node": "^15.0.3",
47
- "@types/react": "^17.0.5",
48
- "@types/shelljs": "^0.8.8",
49
- "@typescript-eslint/eslint-plugin": "^4.23.0",
50
- "eslint": "^7.26.0",
51
- "globby": "^10.0.2",
52
- "mocha": "^8.4.0",
53
- "nyc": "^15.1.0",
54
- "perrisbrewery": "./vendors/perrisbrewery",
55
- "prettier": "^2.3.0",
56
- "ts-node": "^9.1.1",
57
- "typedoc": "^0.20.36",
58
- "typescript": "^4.2.4"
59
- },
60
- "warn-if-update-available": {
61
- "timeoutInDays": 7,
62
- "message": "<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest). use: sudo eggs update %>.",
63
- "registry": "https://registry.npmjs.org"
64
- },
65
- "engines": {
66
- "node": ">8.17.0"
67
- },
68
- "files": [
69
- "/assets",
70
- "/addons",
71
- "/assistant",
72
- "/bin",
73
- "/conf",
74
- "/lib",
75
- "/manpages",
76
- "/oclif.manifest.json",
77
- "/scripts",
78
- "/templates"
79
- ],
80
- "keywords": [
81
- "oclif"
82
- ],
83
- "license": "MIT",
84
- "main": "lib/index.js",
85
- "oclif": {
86
- "commands": "./lib/commands",
87
- "bin": "eggs",
88
- "plugins": [
89
- "@oclif/plugin-help",
90
- "@oclif/plugin-autocomplete",
91
- "@oclif/plugin-not-found",
92
- "@oclif/plugin-warn-if-update-available"
93
- ]
94
- },
95
- "scripts": {
96
- "docs": "rm docs -rf && npx typedoc src --out docs",
97
- "build": "tsc -p .",
98
- "deb": "oclif-dev pack:deb && npx pb -m",
99
- "postpack": "rm -f oclif.manifest.json",
100
- "posttest": "eslint . --ext .ts --config .eslintrc",
101
- "prepack": "rm lib -rf && tsc -b && oclif-dev manifest && oclif-dev readme",
102
- "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
103
- "version": "oclif-dev readme && git add README.md",
104
- "lint": "eslint . --ext .ts --config .eslintrc",
105
- "lint-and-fix": "eslint . --ext .ts --fix --config .eslintrc",
106
- "prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write"
107
- },
108
- "types": "lib/index.d.ts"
2
+ "name": "penguins-eggs",
3
+ "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
+ "version": "9.0.2",
5
+ "author": "Piero Proietti @pieroproietti",
6
+ "bin": {
7
+ "eggs": "bin/run"
8
+ },
9
+ "bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
10
+ "dependencies": {
11
+ "@oclif/core": "github:pieroproietti/core",
12
+ "@oclif/plugin-autocomplete": "1.0.0",
13
+ "@oclif/plugin-help": "^3.2.14",
14
+ "@oclif/plugin-not-found": "^2.2.3",
15
+ "@oclif/plugin-version": "^1.0.3",
16
+ "@oclif/plugin-warn-if-update-available": "^2.0.3",
17
+ "axios": "^0.24.0",
18
+ "chalk": "^4.1.0",
19
+ "ink": "^3.2.0",
20
+ "ink-big-text": "^1.2.0",
21
+ "ink-gradient": "^2.0.0",
22
+ "inquirer": "^8.2.0",
23
+ "js-yaml": "^4.1.0",
24
+ "mustache": "^4.2.0",
25
+ "pjson": "github:pieroproietti/pjson",
26
+ "react": "^17.0.2",
27
+ "shelljs": "github:shelljs/shelljs",
28
+ "tslib": "^2.3.1"
29
+ },
30
+ "devDependencies": {
31
+ "@oclif/test": "^2.0.3",
32
+ "@types/chai": "^4.3.0",
33
+ "@types/ink-big-text": "^1.2.1",
34
+ "@types/ink-gradient": "^2.0.1",
35
+ "@types/inquirer": "^8.1.3",
36
+ "@types/js-yaml": "^4.0.5",
37
+ "@types/mocha": "^9.0.0",
38
+ "@types/mustache": "^4.1.2",
39
+ "@types/node": "^16.11.13",
40
+ "@types/react": "^17.0.37",
41
+ "@types/shelljs": "^0.8.9",
42
+ "chai": "^4.3.4",
43
+ "eslint": "^7.3.2",
44
+ "eslint-config-oclif": "^4.0.0",
45
+ "eslint-config-oclif-typescript": "^1.0.2",
46
+ "globby": "^11.0.1",
47
+ "mocha": "^9.1.3",
48
+ "nyc": "^15.1.0",
49
+ "oclif": "github:pieroproietti/oclif",
50
+ "perrisbrewery": "github:pieroproietti/perrisbrewery",
51
+ "prettier": "^2.5.1",
52
+ "shx": "^0.3.3",
53
+ "ts-node": "^10.2.1",
54
+ "typedoc": "^0.22.10",
55
+ "typescript": "^4.5.0"
56
+ },
57
+ "dirname": "eggs",
58
+ "engines": {
59
+ "node": ">=12.0.0"
60
+ },
61
+ "files": [
62
+ "/assets",
63
+ "/addons",
64
+ "/assistant",
65
+ "/bin",
66
+ "/conf",
67
+ "/lib",
68
+ "/manpages",
69
+ "/oclif.manifest.json",
70
+ "/scripts",
71
+ "/templates"
72
+ ],
73
+ "homepage": "https://penguins-eggs.net/",
74
+ "keywords": [
75
+ "oclif",
76
+ "refracta",
77
+ "remastersys",
78
+ "systemback"
79
+ ],
80
+ "license": "MIT",
81
+ "main": "./lib/index.js",
82
+ "oclif": {
83
+ "bin": "eggs",
84
+ "commands": "./lib/commands",
85
+ "plugins": [
86
+ "@oclif/plugin-autocomplete",
87
+ "@oclif/plugin-help",
88
+ "@oclif/plugin-not-found",
89
+ "@oclif/plugin-warn-if-update-available",
90
+ "@oclif/plugin-version"
91
+ ],
92
+ "topicSeparator": " ",
93
+ "additionalHelpFlags": [
94
+ "-h"
95
+ ],
96
+ "additionalVersionFlags": [
97
+ "-v"
98
+ ]
99
+ },
100
+ "repository": "https://github.com/pieroproietti/penguins-eggs",
101
+ "scripts": {
102
+ "build": "tsc -p .",
103
+ "deb": "oclif pack:deb && pb deb ./",
104
+ "docs": "rm docs -rf && npx typedoc src --out docs",
105
+ "lint": "eslint . --ext .ts --config .eslintrc",
106
+ "lint-and-fix": "eslint . --ext .ts --fix --config .eslintrc",
107
+ "postpack": "rm -f oclif.manifest.json",
108
+ "posttest": "eslint . --ext .ts --config .eslintrc",
109
+ "prepack": "rm lib -rf && tsc -b && oclif manifest && oclif readme",
110
+ "prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
111
+ "tarballs": "oclif pack:tarballs --root=. --targets=linux-x64 --no-xz",
112
+ "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
113
+ "version": "oclif readme && git add README.md"
114
+ },
115
+ "shortName": "eggs",
116
+ "types": "lib/index.d.ts"
109
117
  }
@@ -0,0 +1,92 @@
1
+ #!/bin/bash
2
+
3
+ # Authors: Piero Proietti, Christopher Hopp
4
+
5
+ ##
6
+ # waydroid dialog cli
7
+ ##
8
+
9
+ function main {
10
+
11
+ while true; do
12
+ # 20 righe. 75 caratteri, 16 altezza menu list
13
+ answer=$(
14
+ whiptail --title "bro waydroid helper" --menu "Brothers in arms..." 22 75 16 \
15
+ "install" "install waydroid" \
16
+ "remove" "remove waydroid" \
17
+ "session" "start waydroid session" \
18
+ "quit" "exit" 3>&2 2>&1 1>&3
19
+ )
20
+
21
+ case "$answer" in
22
+ "quit")
23
+ theEnd ;;
24
+
25
+ "install")
26
+ install ;;
27
+
28
+ "init")
29
+ init ;;
30
+
31
+ "remove")
32
+ remove ;;
33
+
34
+ "session")
35
+ session ;;
36
+ esac
37
+
38
+ done
39
+ }
40
+ ################################
41
+ function install {
42
+ clear
43
+ sudo apt install waydroid
44
+ press_a_key_to_continue
45
+ }
46
+
47
+ ################################
48
+ function init {
49
+ clear
50
+ sudo waydroid init
51
+ echo "check in /var/lib/waydroid/waydroid_base.prop"
52
+ echo "For KVM sortware renderndi, edit:"
53
+ echo "ro.hardware.gralloc=default"
54
+ echo "ro.hardware.egl=swiftshader"
55
+ echo "sudo systemctl stop waydroid-container"
56
+ echo "sudo systemctl start waydroid-container"
57
+ echo "waydroid show-full-ui"
58
+ press_a_key_to_continue
59
+ }
60
+
61
+
62
+ ################################
63
+ function remove {
64
+ waydroid session stop
65
+ sudo waydroid container stop
66
+ sudo apt purge waydroid
67
+ rm -rf ~/waydroid ~/.share/waydroid ~/.local/share/applications/*aydroid* ~/.local/share/waydroid
68
+ sudo rm -rf /var/lib/waydroid
69
+ press_a_key_to_continue
70
+ }
71
+
72
+ ################################
73
+ function session {
74
+ XDG_SESSION_TYPE=wayland waydroid show-full-ui
75
+ press_a_key_to_continue
76
+ }
77
+
78
+ ################################
79
+ ################################
80
+ ################################
81
+ ################################
82
+ function press_a_key_to_continue {
83
+ read -p "Press enter to continue"
84
+ }
85
+
86
+ ################################
87
+ function theEnd {
88
+ #clear
89
+ exit 0
90
+ }
91
+
92
+ main
package/scripts/eggs.bash CHANGED
@@ -1,36 +1,18 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- if ! type __ltrim_colon_completions >/dev/null 2>&1; then
4
- # Copyright © 2006-2008, Ian Macdonald <ian@caliban.org>
5
- # © 2009-2017, Bash Completion Maintainers
6
- __ltrim_colon_completions() {
7
- # If word-to-complete contains a colon,
8
- # and bash-version < 4,
9
- # or bash-version >= 4 and COMP_WORDBREAKS contains a colon
10
- if [[
11
- "$1" == *:* && (
12
- ${BASH_VERSINFO[0]} -lt 4 ||
13
- (${BASH_VERSINFO[0]} -ge 4 && "$COMP_WORDBREAKS" == *:*)
14
- )
15
- ]]; then
16
- # Remove colon-word prefix from COMPREPLY items
17
- local colon_word=${1%${1##*:}}
18
- local i=${#COMPREPLY[*]}
19
- while [ $((--i)) -ge 0 ]; do
20
- COMPREPLY[$i]=${COMPREPLY[$i]#"$colon_word"}
21
- done
22
- fi
23
- }
24
- fi
3
+ # This function joins an array using a character passed in
4
+ # e.g. ARRAY=(one two three) -> join_by ":" ${ARRAY[@]} -> "one:two:three"
5
+ function join_by { local IFS="$1"; shift; echo "$*"; }
25
6
 
26
- _eggs()
7
+ _eggs_autocomplete()
27
8
  {
28
9
 
29
- local cur="${COMP_WORDS[COMP_CWORD]}" opts IFS=$' \t\n'
10
+ local cur="${COMP_WORDS[COMP_CWORD]}" opts normalizedCommand colonPrefix IFS=$' \t\n'
30
11
  COMPREPLY=()
31
12
 
32
13
  local commands="
33
14
  adapt --verbose --help
15
+ bro --help
34
16
  calamares --help --verbose --install --final --remove --theme
35
17
  config --nointeractive --clean --help --verbose
36
18
  dad --help --clean --default --verbose
@@ -48,22 +30,70 @@ tools:locales --help --reinstall --verbose
48
30
  tools:skel --help --user --verbose
49
31
  tools:stat --help --month --year
50
32
  tools:yolk --help --verbose
51
- update --help --apt --basket --npm --verbose
33
+ update --help --apt --basket --verbose
52
34
  autocomplete --refresh-cache
53
35
  help --all
36
+ version
54
37
  "
55
38
 
56
- if [[ "${COMP_CWORD}" -eq 1 ]] ; then
57
- opts=$(printf "$commands" | grep -Eo '^[a-zA-Z0-9:_-]+')
58
- COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
59
- __ltrim_colon_completions "$cur"
60
- else
61
- if [[ $cur == "-"* ]] ; then
62
- opts=$(printf "$commands" | grep "${COMP_WORDS[1]}" | sed -n "s/^${COMP_WORDS[1]} //p")
63
- COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
39
+ function __trim_colon_commands()
40
+ {
41
+ # Turn $commands into an array
42
+ commands=("${commands[@]}")
43
+
44
+ if [[ -z "$colonPrefix" ]]; then
45
+ colonPrefix="$normalizedCommand:"
46
+ fi
47
+
48
+ # Remove colon-word prefix from $commands
49
+ commands=( "${commands[@]/$colonPrefix}" )
50
+
51
+ for i in "${!commands[@]}"; do
52
+ if [[ "${commands[$i]}" == "$normalizedCommand" ]]; then
53
+ # If the currently typed in command is a topic command we need to remove it to avoid suggesting it again
54
+ unset "${commands[$i]}"
55
+ else
56
+ # Trim subcommands from each command
57
+ commands[$i]="${commands[$i]%%:*}"
64
58
  fi
59
+ done
60
+ }
61
+
62
+ if [[ "$cur" != "-"* ]]; then
63
+ # Command
64
+ __COMP_WORDS=( "${COMP_WORDS[@]:1}" )
65
+
66
+ # The command typed by the user but separated by colons (e.g. "mycli command subcom" -> "command:subcom")
67
+ normalizedCommand="$( printf "%s" "$(join_by ":" "${__COMP_WORDS[@]}")" )"
68
+
69
+ # The command hirarchy, with colons, leading up to the last subcommand entered (e.g. "mycli com subcommand subsubcom" -> "com:subcommand:")
70
+ colonPrefix="${normalizedCommand%"${normalizedCommand##*:}"}"
71
+
72
+ if [[ -z "$normalizedCommand" ]]; then
73
+ # If there is no normalizedCommand yet the user hasn't typed in a full command
74
+ # So we should trim all subcommands & flags from $commands so we can suggest all top level commands
75
+ opts=$(printf "%s " "${commands[@]}" | grep -Eo '^[a-zA-Z0-9_-]+')
76
+ else
77
+ # Filter $commands to just the ones that match the $normalizedCommand and turn into an array
78
+ commands=( $(compgen -W "$commands" -- "${normalizedCommand}") )
79
+ # Trim higher level and subcommands from the subcommands to suggest
80
+ __trim_colon_commands "$colonPrefix"
81
+
82
+ opts=$(printf "%s " "${commands[@]}") # | grep -Eo '^[a-zA-Z0-9_-]+'
83
+ fi
84
+ else
85
+ # Flag
86
+
87
+ # The full CLI command separated by colons (e.g. "mycli command subcommand --fl" -> "command:subcommand")
88
+ # This needs to be defined with $COMP_CWORD-1 as opposed to above because the current "word" on the command line is a flag and the command is everything before the flag
89
+ normalizedCommand="$( printf "%s" "$(join_by ":" "${COMP_WORDS[@]:1:($COMP_CWORD - 1)}")" )"
90
+
91
+ # The line below finds the command in $commands using grep
92
+ # Then, using sed, it removes everything from the found command before the --flags (e.g. "command:subcommand:subsubcom --flag1 --flag2" -> "--flag1 --flag2")
93
+ opts=$(printf "%s " "${commands[@]}" | grep "${normalizedCommand}" | sed -n "s/^${normalizedCommand} //p")
65
94
  fi
66
- return 0
95
+
96
+ COMPREPLY=($(compgen -W "$opts" -- "${cur}"))
67
97
  }
68
98
 
69
- complete -F _eggs eggs
99
+ complete -F _eggs_autocomplete eggs
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+
3
+ MOTD=/etc/motd
4
+ ISSUE=/etc/issue
5
+ /usr/bin/sed -i '/^eggs-start-message/,/^\eggs-end-message/{/^#/!{/^\$/!d;};}' ${MOTD}
6
+ /usr/bin/sed -i '/^eggs-start-message/,/^\eggs-end-message/{/^#/!{/^\$/!d;};}' ${ISSUE}
7
+ exit 0
File without changes
File without changes
@@ -1,54 +0,0 @@
1
- # UBUNTU
2
- # isolinux/menu.cfg
3
- INCLUDE stdmenu.cfg
4
-
5
- MENU TITLE Penguin\'s eggs - Perri\'s Brewery edition -
6
-
7
- LABEL {{{fullname}}} (kernel {{{kernel}}})
8
- SAY "Booting {{{customName}}} GNU/Linux Live (kernel {{{kernel}}})..."
9
- linux {{{vmlinuz}}}
10
- APPEND initrd={{{initrdImg}}} boot=live locales={{{locales}}} quiet splash
11
-
12
- MENU BEGIN languages
13
- MENU TITLE languages
14
- LABEL English (en)
15
- SAY "Booting English (en)..."
16
- linux {{{vmlinuz}}}
17
- APPEND initrd={{{initrdImg}}} boot=live lang=en_US.UTF-8 locales=en_US.UTF-8 quiet splash
18
- LABEL French (fr)
19
- SAY "Booting French (fr)..."
20
- linux {{{vmlinuz}}}
21
- APPEND initrd={{{initrdImg}}} boot=live lang=fr_FR.UTF-8 locales=fr_FR.UTF-8 quiet splash
22
- LABEL German (de)
23
- SAY "Booting German (de)..."
24
- linux {{{vmlinuz}}}
25
- APPEND initrd={{{initrdImg}}} boot=live lang=de_DE.UTF-8 locales=de_DE.UTF-8 quiet splash
26
- LABEL Italiano (it)
27
- SAY "Booting OpenOS-Neon_RLTS GNU/Linux Live (kernel 5.4.0-66-generic)..."
28
- linux {{{vmlinuz}}}
29
- APPEND initrd={{{initrdImg}}} boot=live lang=it_IT.UTF-8 locales=it_IT.UTF-8 quiet splash
30
- LABEL Portuguese (Brazil) (pt_BR)
31
- SAY "Booting Portuguese (Brazil) (pt_BR)..."
32
- linux {{{vmlinuz}}}
33
- APPEND initrd={{{initrdImg}}} boot=live lang=pt_BR.UTF-8 locales=pt_BR.UTF-8 quiet splash
34
- LABEL Spanish (es)
35
- SAY "Booting Spanish (es)..."
36
- linux {{{vmlinuz}}}
37
- APPEND initrd={{{initrdImg}}} boot=live lang=es_ES.UTF-8 locales=es_ES.UTF-8 quiet splash
38
- LABEL mainmenu
39
- MENU label Back
40
- MENU exit
41
- MENU end
42
-
43
- MENU BEGIN safe
44
- MENU TITLE safe
45
- DEFAULT English/safe
46
- LABEL English/safe
47
- SAY "Booting {{{fullname}}} GNU/Linux Live (kernel {{{kernel}}}) vga mode english..."
48
- linux {{{vmlinuz}}}
49
- APPEND initrd={{{vmlinuz}}} locales=en_US.UTF-8 quiet splash ramdisk_size=1048576 root=/dev/ram rw noapic noacpi nosplash irqpoll --
50
-
51
- LABEL mainmenu
52
- MENU label Back
53
- MENU exit
54
- MENU end