Uploaded image for project: 'integration-packaging'
  1. integration-packaging
  2. INTPAK-18

Allow manually setting package version

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Low
    • Resolution: Won't Do
    • None

    Description

      In the packaging scripts, pkg_version (x.x.x-pkg_version) is hardcoded to 1 for release packages. If we need to re-release the same ODL version with a packaging change, we need to be able to bump that version.

      The logic that extracts version info from URLs also assumes the tarball is hosted in one of a few locations. By enabling us to skip that logic and provide the version directly, we would be able to package tarballs hosted anywhere.

      Maybe it should be some sort of generic "version override", where the user can pass a version instead of the scripts trying to do the extract_version logic to find the version from the URL.

      This would also be helpful if we need to package a tarball that's at some unexpected URL, like a contributor has uploaded it to Google Drive or something in the build system changes URLs and we haven't adjusted the packaging logic to handle the change yet.

      We don't have to make this a very user-friendly param, like we had with each individual version component param. Can just be something like --version-override="

      {major: 6, minor: 2, patch:0, pkg: 1}

      " for Carbon SR2 for example.

      Imported from Trello

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dfarrell07 Daniel Farrell
            dfarrell07 Daniel Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: