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

Butler ingest-raws config parameters not accessible from command-line

    XMLWordPrintable

    Details

    • Team:
      Data Access and Database
    • Urgent?:
      No

      Description

      I’m getting no files ingested when I run butler ingest-raws, and lots of warnings. It is not obvious, short of reading the code, that adding -c failFast=True allows me to find where the problem is occurring. There is no equivalent of the old --show config mentioned in the --help.

      Tim Jenness suggests (and I agree) that something like butler ingest-raws --fail-fast would be a better interface for this particular case, but I'm also concerned about the general problem of the user needing to know about any configuration parameters for the other butler sub-commands.

        Attachments

          Activity

          Hide
          tjenness Tim Jenness added a comment -

          It's always a bit tricky to work out how much should come from configuration and how much should come from command line. When we are only talking about a handful of config parameters then a command line equivalent seems like the best approach. Command line supports the -@ option as well. I would guess that a config user is someone who is running the task itself.

          Show
          tjenness Tim Jenness added a comment - It's always a bit tricky to work out how much should come from configuration and how much should come from command line. When we are only talking about a handful of config parameters then a command line equivalent seems like the best approach. Command line supports the -@ option as well. I would guess that a config user is someone who is running the task itself.
          Hide
          tjenness Tim Jenness added a comment -

          Thanks. Looks okay.

          Show
          tjenness Tim Jenness added a comment - Thanks. Looks okay.

            People

            Assignee:
            npease Nate Pease [X] (Inactive)
            Reporter:
            price Paul Price
            Reviewers:
            Tim Jenness
            Watchers:
            Paul Price, Tim Jenness
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins Builds

                No builds found.