Skip to content
Snippets Groups Projects

proper frontend option processing [dep #157]

Closed Lyndon Brown requested to merge jnqnfe/live-build:frontend_args into master

the primary commit here is "frontend: properly handle option processing"; please see the commit message for details. the other few commits are very tiny related changes.

this is built upon MR #156 due to a conflict.

edit: there was also a conflict actually with MR #157, so rebase on that (which itself is based on #156)

Edited by Lyndon Brown

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Lyndon Brown added 63 commits

    added 63 commits

    • fc1c2a91...f0588be1 - 3 commits from branch live-team:master
    • 993c0af6 - manpage: document that multiple archive areas should be space separated
    • c32252f0 - fix outdated grub-legacy bootloader name references
    • 38d8f1f5 - manpages: fix mistake
    • 07c9a9e6 - bootloaders: improve bootloader list handling
    • 4acf55c6 - manpages: indicate in usage that multiple bootloaders can be given
    • e2e5d999 - manpage: fix consistency issues
    • fada96a1 - manpage: document that multiple stages to cache should be space separated
    • b5061f42 - config: support both comma and space separated to-cache stages
    • 75ea78a9 - config: support comma or space separated archive area lists
    • 0ec9867f - manpages: document all values for --interactive
    • 501b8963 - manpages: document space separation for --keyring-packages
    • ecbca10d - manpages: fix typo
    • 3de9140b - manpages: document that --linux-flavours is space separated
    • 424105b5 - manpages: fixup documentation of --linux-packages
    • 9e4d3642 - manpages: document that multiple source image types can be requested
    • 23f0f593 - config: support comma and space separated list of source image types
    • ea2b84ce - manpages: fix mistake
    • 1568520f - manpages: fixup synopsis
    • 74d7a638 - fix incorrect handling of -c|--conffile
    • 78626a20 - manpages: remove unhelpful and largely obsolete fixme notices
    • 3d5ecac5 - manpages: fix typo
    • 2b2e311e - --binary-images can support only a single type
    • 817ab087 - config: move defaults set in wrong function
    • d3fc3685 - config: rename Check_config_defaults() to Validate_config()
    • 3eef0aa9 - config: rename Set_config_defaults() to Prepare_config()
    • 31f163fd - config: add --validate option
    • a84a48fe - config: remove spurious secondary validation check
    • 597603e3 - config: organise getopt longoption set
    • 75e157a7 - config: reorganise the option case block
    • ed41d099 - config: better handle error condition
    • fc4a0dd9 - config: merge defaults.sh and configuration.sh, part 1
    • 8a4d841e - config: merge defaults.sh and configuration.sh, part 2
    • 175645a4 - config: tidy validation
    • ec6a843c - tidy up grub bootloader compatibility checking
    • 41cbb2ec - config: reorganise validation checks
    • ff0da5c5 - config: expand validation coverage
    • 0b80178e - config: strip unhelpful comments
    • e6ea0127 - config: minor reorganisation
    • ef266e9a - config: add missing deprecation warning
    • 06fca3ca - installer: rework validation check for installer type
    • 20015fd4 - config: stop writing 'default: <foo>' lines to config files
    • 34886a66 - config: fix broken backwards compatibility hack
    • e0e50ab1 - config: apt-get should probably be an allowed and documented --apt value
    • af3d509d - config: obsolete unused --isohybrid-options option
    • b19019bb - config: obsolete unused --net-cow-* options
    • ddf9f513 - config: obsolete --net-root-* options (except one)
    • cae2a830 - manpage: fix typo and simplify --net-tarball option description
    • 16b52b50 - config: obsolete old --tasksel option
    • 1ce370bc - firmware: robustify and simplify archive area checking
    • 701ade04 - chroot: make var local
    • f6a63e24 - config: fix mistake in mirror url tidying
    • 6189955a - config: move control of apt colour
    • 22b4b82b - move script param capture to before arg processing
    • 75e4e4c6 - fix usage
    • 123cded0 - rename LB_ARCHITECTURES to LB_ARCHITECTURE
    • 6455c2ab - rename LB_BOOTSTRAP_QEMU_ARCHITECTURES to LB_BOOTSTRAP_QEMU_ARCHITECTURE
    • 89f3d3f9 - frontend: reorder checks
    • 3790bd07 - frontend: change "no such script" to "unknown command"
    • f199419c - frontend: properly handle option processing
    • 87fd0984 - usage: take exit code as param

    Compare with previous version

  • Lyndon Brown changed the description

    changed the description

  • Lyndon Brown added 47 commits

    added 47 commits

    • f0e72fa0 - manpages: revise documentation of --linux-packages
    • a1346347 - manpages: document that multiple source image types can be requested
    • 4196f431 - config: support comma and space separated list of source image types
    • 8b943b93 - manpages: fix mistake
    • 60de91e9 - manpages: fixup synopsis
    • 39b56777 - fix incorrect handling of -c|--conffile
    • 87fde5ca - manpages: remove unhelpful and largely obsolete fixme notices
    • 764e5f14 - manpages: fix typo
    • e231c3ad - --binary-images can support only a single type
    • f4bd3288 - config: move defaults set in wrong function
    • 389ef4ce - config: rename Check_config_defaults() to Validate_config()
    • e89d7772 - config: rename Set_config_defaults() to Prepare_config()
    • 6d598c96 - config: add --validate option
    • 75224522 - config: remove spurious secondary validation check
    • e26d7af7 - config: organise getopt longoption set
    • 52e77f7d - config: reorganise the option case block
    • 7faa32ef - config: better handle error condition
    • da4c2f84 - config: merge defaults.sh and configuration.sh, part 1
    • ea48e463 - config: merge defaults.sh and configuration.sh, part 2
    • e2afffb7 - config: tidy validation
    • c4712b24 - tidy up grub bootloader compatibility checking
    • 1872411d - config: reorganise validation checks
    • d793019f - config: expand validation coverage
    • b992e9f5 - config: strip unhelpful comments
    • fdf8f9d9 - config: minor reorganisation
    • a1cedaf5 - config: add missing deprecation warning
    • d337aa20 - installer: rework validation check for installer type
    • 108e89c7 - config: stop writing 'default: <foo>' lines to config files
    • c56be7af - config: fix broken backwards compatibility hack
    • d3d3fadc - config: apt-get should probably be an allowed and documented --apt value
    • 9bbfdad6 - config: obsolete unused --isohybrid-options option
    • 862bd44c - config: obsolete unused --net-cow-* options
    • 82f12c14 - config: obsolete --net-root-* options (except one)
    • bab8062a - manpage: fix typo and simplify --net-tarball option description
    • f91d01a8 - config: obsolete old --tasksel option
    • e6331451 - firmware: robustify and simplify archive area checking
    • 2ab4aaa7 - chroot: make var local
    • bc995181 - config: fix mistake in mirror url tidying
    • 8be1330f - config: move control of apt colour
    • f41ef8d5 - move script param capture to before arg processing
    • 96f9c798 - fix usage
    • bcc7c354 - rename LB_ARCHITECTURES to LB_ARCHITECTURE
    • 390101b4 - rename LB_BOOTSTRAP_QEMU_ARCHITECTURES to LB_BOOTSTRAP_QEMU_ARCHITECTURE
    • f4db29b7 - frontend: reorder checks
    • 5eee151d - frontend: change "no such script" to "unknown command"
    • ef122c6b - frontend: properly handle option processing
    • cc9e0935 - usage: take exit code as param

    Compare with previous version

  • Lyndon Brown changed title from proper frontend option processing to proper frontend option processing [dep #156, #157]

    changed title from proper frontend option processing to proper frontend option processing [dep #156, #157]

  • Lyndon Brown changed title from proper frontend option processing [dep #156, #157] to proper frontend option processing [dep #157]

    changed title from proper frontend option processing [dep #156, #157] to proper frontend option processing [dep #157]

  • Lyndon Brown added 62 commits

    added 62 commits

    • bbeed4cb - 1 commit from branch live-team:master
    • 6452e79c - manpage: document that multiple archive areas should be space separated
    • 6545a305 - fix outdated grub-legacy bootloader name references
    • 6ee3cc4c - manpages: fix mistake
    • b6f5616c - bootloaders: improve bootloader list handling
    • 216ad3c6 - manpages: indicate in usage that multiple bootloaders can be given
    • ed6f36af - manpage: fix consistency issues
    • f00286f1 - manpage: document that multiple stages to cache should be space separated
    • 5f5751f1 - config: support both comma and space separated to-cache stages
    • 184cbc0c - config: support comma or space separated archive area lists
    • ed4c7b44 - manpages: document all values for --interactive
    • 3bd0371c - manpages: document space separation for --keyring-packages
    • 376262cc - manpages: fix typo
    • 9b6da16f - manpages: document that --linux-flavours is space separated
    • f91612a6 - manpages: revise documentation of --linux-packages
    • 5861488b - manpages: document that multiple source image types can be requested
    • 7dc67679 - config: support comma and space separated list of source image types
    • fd2d8dbb - manpages: fix mistake
    • 5e1d5939 - manpages: fixup synopsis
    • 7310d626 - fix incorrect handling of -c|--conffile
    • e73c35fa - manpages: remove unhelpful and largely obsolete fixme notices
    • 12746c3c - manpages: fix typo
    • fa2045ff - manpages: fix typo
    • 95ab3d1d - --binary-images can support only a single type
    • 6b938154 - config: move defaults set in wrong function
    • 4405b765 - config: rename Check_config_defaults() to Validate_config()
    • 73c54a0f - config: rename Set_config_defaults() to Prepare_config()
    • 203d3b6f - config: add --validate option
    • 03aceff4 - config: remove spurious secondary validation check
    • b295a27c - config: organise getopt longoption set
    • b0c45713 - config: reorganise the option case block
    • 9db6cb44 - config: better handle error condition
    • ab7df361 - config: merge defaults.sh and configuration.sh, part 1
    • 41509e04 - config: merge defaults.sh and configuration.sh, part 2
    • 8469f860 - config: tidy validation
    • bd4d7d31 - tidy up grub bootloader compatibility checking
    • 4b97de6e - config: reorganise validation checks
    • d86bd32f - config: expand validation coverage
    • c4af851e - config: strip unhelpful comments
    • f80cbd31 - config: minor reorganisation
    • 0d021db9 - config: add missing deprecation warning
    • c008ce8b - installer: rework validation check for installer type
    • ff17a0cf - config: stop writing 'default: <foo>' lines to config files
    • 9fbcbe8a - config: fix broken backwards compatibility hack
    • 0cb5afed - config: apt-get should probably be an allowed and documented --apt value
    • f6da59f3 - config: obsolete unused --isohybrid-options option
    • 6c1febba - config: obsolete unused --net-cow-* options
    • bc049466 - config: obsolete --net-root-* options (except one)
    • ec215edb - manpage: fix typo and simplify --net-tarball option description
    • f8df1251 - config: obsolete old --tasksel option
    • 07af8051 - firmware: robustify and simplify archive area checking
    • e489c083 - chroot: make var local
    • c895b3e2 - config: fix mistake in mirror url tidying
    • fbc1bc5e - config: move control of apt colour
    • fc8e668d - move script param capture to before arg processing
    • 0027fc92 - fix usage
    • 9e5af478 - rename LB_ARCHITECTURES to LB_ARCHITECTURE
    • fa83092a - rename LB_BOOTSTRAP_QEMU_ARCHITECTURES to LB_BOOTSTRAP_QEMU_ARCHITECTURE
    • 4f6dcbfa - frontend: reorder checks
    • fc330250 - frontend: change "no such script" to "unknown command"
    • 9ae45345 - frontend: properly handle option processing
    • 50af9dd5 - usage: take exit code as param

    Compare with previous version

  • Lyndon Brown added 99 commits

    added 99 commits

    • 50af9dd5...91d446d9 - 38 commits from branch live-team:master
    • da57ad77 - manpage: document that multiple archive areas should be space separated
    • 286caf03 - fix outdated grub-legacy bootloader name references
    • ae914314 - manpages: fix mistake
    • f7379715 - bootloaders: improve bootloader list handling
    • b833eb36 - manpages: indicate in usage that multiple bootloaders can be given
    • 9b61541e - manpage: fix consistency issues
    • 9abdf31d - manpage: document that multiple stages to cache should be space separated
    • 673b8116 - config: support both comma and space separated to-cache stages
    • d38a0978 - config: support comma or space separated archive area lists
    • 997c978c - manpages: document all values for --interactive
    • fcdb3e8e - manpages: document space separation for --keyring-packages
    • b77c3f3b - manpages: fix typo
    • 233be38d - manpages: document that --linux-flavours is space separated
    • 3428cb36 - manpages: revise documentation of --linux-packages
    • 19eccf01 - manpages: document that multiple source image types can be requested
    • db5188aa - config: support comma and space separated list of source image types
    • 3547c666 - manpages: fix mistake
    • e4134e15 - manpages: fixup synopsis
    • 6b734df9 - fix incorrect handling of -c|--conffile
    • 4dc91c40 - manpages: remove unhelpful and largely obsolete fixme notices
    • 920ec160 - manpages: fix typo
    • cede584a - manpages: fix typo
    • b96847ba - --binary-images can support only a single type
    • c5a1f0a6 - config: move defaults set in wrong function
    • b1c82857 - config: rename Check_config_defaults() to Validate_config()
    • d802473a - config: rename Set_config_defaults() to Prepare_config()
    • 0c9a52c1 - config: add --validate option
    • 64046fa2 - config: remove spurious secondary validation check
    • cc6c778e - config: organise getopt longoption set
    • d6b3fa16 - config: reorganise the option case block
    • b9161927 - config: better handle error condition
    • 83a5a209 - config: merge defaults.sh and configuration.sh, part 1
    • dda99bce - config: merge defaults.sh and configuration.sh, part 2
    • 455f0c96 - config: tidy validation
    • 5b4eec04 - tidy up grub bootloader compatibility checking
    • 3ddd3253 - config: reorganise validation checks
    • a29ff8b3 - config: expand validation coverage
    • e1220a5b - config: strip unhelpful comments
    • 9d2654b4 - config: minor reorganisation
    • c2601c25 - config: add missing deprecation warning
    • 7c9ca232 - installer: rework validation check for installer type
    • 317df3dc - config: stop writing 'default: <foo>' lines to config files
    • 519270cb - config: fix broken backwards compatibility hack
    • c73ca035 - config: apt-get should probably be an allowed and documented --apt value
    • 17752a1a - config: obsolete unused --isohybrid-options option
    • 08f73d00 - config: obsolete unused --net-cow-* options
    • 16c4e3a8 - config: obsolete --net-root-* options (except one)
    • cdec5c5d - manpage: fix typo and simplify --net-tarball option description
    • 76bfdafc - config: obsolete old --tasksel option
    • 2d4c045a - firmware: robustify and simplify archive area checking
    • 2cbfdc00 - chroot: make var local
    • 6c46465e - config: fix mistake in mirror url tidying
    • e913bb3d - config: move control of apt colour
    • 0b2fb56b - move script param capture to before arg processing
    • bd0c9c6f - fix usage
    • 81456a6f - rename LB_ARCHITECTURES to LB_ARCHITECTURE
    • da4c98a0 - rename LB_BOOTSTRAP_QEMU_ARCHITECTURES to LB_BOOTSTRAP_QEMU_ARCHITECTURE
    • fea7b2df - frontend: reorder checks
    • f166db9f - frontend: change "no such script" to "unknown command"
    • 107decaa - frontend: properly handle option processing
    • a149428f - usage: take exit code as param

    Compare with previous version

  • Lyndon Brown added 41 commits

    added 41 commits

    • a149428f...8ffe48d8 - 37 commits from branch live-team:master
    • 1e9850f7 - frontend: reorder checks
    • 8b4327f6 - frontend: change "no such script" to "unknown command"
    • c66ab720 - frontend: properly handle option processing
    • a865ae96 - usage: take exit code as param

    Compare with previous version

  • Merged this manually.

Please register or sign in to reply
Loading