Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10268

Fix and enhance package script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.12.0.0
    • Packaging
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      • new flag `-T, --use-timestamp` to use `timestamp` when POM version contains SNAPSHOT
        • in the final artifacts (jar) name
        • in the final package (rpm, deb) name
        • in `/etc/cloudstack-release` file of SystemVMs
        • in the Management Server > About dialog
      • if there's a "branding" string in the POM version (e.g. `x.y.z.a-NAME[-SNAPSHOT]`), the branding name will be used in the final generated pacakge name such as following:
        • `cloudstack-management-x.y.z.a-NAME.NUMBER.el7.centos.x86_64`
        • `cloudstack-management_x.y.z.a-NAME-NUMBER~xenial_all.deb`
      • branding string can be overriden with newly added `-b, --brand` flag
      • handle the new format version for VR version
      • fix long opts (they were broken)
      • tolerate and show a warning message for unrecognized flags
      • usage help reformat

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kmoossavi Khosrow Moossavi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: