Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-404

lsst/bin/rebuild does not accept parameters specifying the ordered list of branchs desired

    Details

    • Team:
      SQuaRE

      Description

      Although the underlying software of 'rebuild' allows specification of a sequence of '-refs <branch>' indicating the search order of alternate branches to use during git repo recovery, the forward facing 'rebuild' command does not include them.

      A trivial approach was taken in order to test feasibility of user specification using buildbot's interface. In the BB web interface, the user specifies both the parameter name (ref) and the parameter value (the blank separated strings of branches to use).
      For example:

               param[name] = ref
               param[value] = tickets/DM-271 tickets/DM-23 master

      This was then massaged by the buildbot interface to provide the following string to 'rebuild':

      "--ref tickets/DM-271 --ref tickets/DM-23 --ref master"

      During feasibility testing, 'rebuild' didn't accept any input parameters so a simple

      REF_LIST=$@

      sufficed to capture the refs and then use them via:

      lsst-build prepare $REF_LIST  --exclusion-map=.....

        Attachments

          Activity

          Hide
          robyn Robyn Allsman [X] (Inactive) added a comment -

          This issue was fixed the day before this Issue was posted! It will be closed.

          Although residual commented-out prints (lines 46-49) should be removed from lsstsw/bin/rebuild

          Show
          robyn Robyn Allsman [X] (Inactive) added a comment - This issue was fixed the day before this Issue was posted! It will be closed. Although residual commented-out prints (lines 46-49) should be removed from lsstsw/bin/rebuild

            People

            • Assignee:
              mjuric Mario Juric
              Reporter:
              robyn Robyn Allsman [X] (Inactive)
              Watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel