Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-30373: Add butler collection-chain command line #533

Merged
merged 7 commits into from
Jun 12, 2021
Merged

Commits on Jun 12, 2021

  1. Return correct defaultdict on import failure

    Everything crashes in `butler --help` if one of the local
    commands fails to load but it's better to report everything whilst
    complaining rather than being impenetrable.
    timj committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    b7d6c03 View commit details
    Browse the repository at this point in the history
  2. Cache the click command module import

    Click will call _get_command multiple times for `butler --help`
    and if something is going wrong with the imports this will result
    in a cascade of import warnings. Work around that by caching the
    imports the first time around and only warning once.
    timj committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    8723457 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e3f7402 View commit details
    Browse the repository at this point in the history
  4. Add news fragment

    timj committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    e97eeb3 View commit details
    Browse the repository at this point in the history
  5. Add --mode and --pop option to collection-chain subcommand

    This allows chained collections to be modified.
    timj committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    8edc569 View commit details
    Browse the repository at this point in the history
  6. Expand the mode option and remove --pop

    Pop is now a mode that allows integer indices to specify the
    elements to pop.
    
    Add extend option.
    
    Also now prints the current contents of the chain on completion.
    timj committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    f7de7f3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    54d0c8f View commit details
    Browse the repository at this point in the history