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

Add command-line tool for Registry.associate

    XMLWordPrintable

Details

    • 4
    • DB_S21_12
    • Data Access and Database
    • 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

            jbosch 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?

            npease Nate Pease [X] (Inactive) added a comment - jbosch 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 ?
            jbosch Jim Bosch added a comment -

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

            jbosch Jim Bosch added a comment - Yes, exactly.  And the collection for the associate call will need to be a TAGGED-type collection.

            jbosch 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.

            npease Nate Pease [X] (Inactive) added a comment - jbosch 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.
            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.

             

            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

              npease Nate Pease [X] (Inactive)
              jbosch Jim Bosch
              Jim Bosch
              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.