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

Add command-line tool for Registry.associate

    XMLWordPrintable

    Details

    • Story Points:
      4
    • Sprint:
      DB_S21_12
    • Team:
      Data Access and Database
    • Urgent?:
      No

      Description

      Add a command-line interface for Registry.associate.

      The script for this will need to start with a call to Registry.queryDatasets, and I'll add DM-26685 as a blocker accordingly.

        Attachments

          Issue Links

            Activity

            Hide
            npease Nate Pease [X] (Inactive) added a comment -

            Jim Bosch does associate get used to associate datasets that are already in the repository with a collection?
            So, the way to get the datasets to associate is to create a butler, use it to queryDatasets, and pass the returned dataset refs to that same butler, via butler.registry.associate?

            Show
            npease Nate Pease [X] (Inactive) added a comment - Jim Bosch does associate get used to associate datasets that are already in the repository with a collection? So, the way to get the datasets to associate is to create a butler, use it to queryDatasets , and pass the returned dataset refs to that same butler, via butler.registry.associate ?
            Hide
            jbosch Jim Bosch added a comment -

            Yes, exactly.  And the collection for the associate call will need to be a TAGGED-type collection.

            Show
            jbosch Jim Bosch added a comment - Yes, exactly.  And the collection for the associate call will need to be a TAGGED-type collection.
            Hide
            npease Nate Pease [X] (Inactive) added a comment -

            Jim Bosch this one is also ready for use testing & review, can you please try it & have a look?
            It contains the changes that were made in DM-26689 as well, so if you sync this branch out you can try them both.

            Show
            npease Nate Pease [X] (Inactive) added a comment - Jim Bosch this one is also ready for use testing & review, can you please try it & have a look? It contains the changes that were made in DM-26689 as well, so if you sync this branch out you can try them both.
            Hide
            jbosch Jim Bosch added a comment -

            Looks good!  One comment on the PR definitely needs to be addressed, but should be easy.

            Other than that, just some reminders before you merge:

            • Don't merge the current PR, because it's against the other branch, not master.
            • Make sure that prune-datasets breakage with the butler arg to QueryDatasets is fixed.

             

            Show
            jbosch Jim Bosch added a comment - Looks good!  One comment on the PR definitely needs to be addressed, but should be easy. Other than that, just some reminders before you merge: Don't merge the current PR, because it's against the other branch, not master. Make sure that prune-datasets breakage with the butler arg to QueryDatasets is fixed.  

              People

              Assignee:
              npease Nate Pease [X] (Inactive)
              Reporter:
              jbosch Jim Bosch
              Reviewers:
              Jim Bosch
              Watchers:
              Jim Bosch, Nate Pease [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.