Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • K kea-packaging
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • kea-packaging
  • Merge requests
  • !37

add arguments to build-pkgs.sh: -d|-h|-r|-s|-u|-uo|-v

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andrei Pavel requested to merge build-pkgs.sh into master Oct 11, 2022
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

I'd like to enrich the experience of ./build-pkgs.sh by:

  • adding these flags to it:
  [-d|--debug]                              enable debug mode, showing every executed command
  [-h|--help]                               print usage (this text)
  [-u|--upload ${WHERE}]                    upload packages to: nexus, cloudsmith, both?
  [-uo|--upload-only ${WHERE}]              skip build and upload packages that are already built to: nexus, cloudsmith, both
  • migrating these parameters from positional to double-dash notation:
  [-r|--reuse-pkg-version ${PKG_VERSION}]   version of package to reuse e.g. isc20220801123456
  [-s|--systems ${SYSTEMS}]                 list of distros e.g. "debian-11 fedora-36"
  [-v|--version ${KEA_VERSION}]             Kea version in format ${major}.${minor} e.g. 2.3
Edited Oct 12, 2022 by Andrei Pavel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: build-pkgs.sh