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

Allow file list for butler ingest-raws to come from standard input

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: obs_base
    • Labels:
    • Story Points:
      2
    • Team:
      Ops Middleware
    • Urgent?:
      No

      Description

      Fabio Hernandez reports that he really would like the return of the feature that allowed file lists to be specified from a text file. I think that we should probably do this by supporting standard input. Something like:

      $ cat myfiles.txt | butler ingest-raws myrepo
      

      rather than adding a --file option explicitly. This seems more unix-y. The text file can contain anything that would be valid for the "LOCATIONS" parameters: so directories, files, or URIs. We probably shouldn't worry about trying to expand wildcards (which would normally be done by the shell).

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tjenness Tim Jenness
            Watchers:
            Fabio Hernandez, Nate Pease [X] (Inactive), Tim Jenness
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Jenkins Builds

                No builds found.