Skip to content

Commits on Source 2

  • Chandan Singh's avatar
    Introduce new "source" command group · 72e3b5c9
    Chandan Singh authored
    Following the message thread
    https://mail.gnome.org/archives/buildstream-list/2018-November/msg00106.html,
    implement a new command group called `source`. Move existing `track`,
    `fetch`, and the recently added `source-checkout` commands under this
    group.
    
    For `track` and `fetch`, this is a BREAKING change, as the old commands
    have been marked as obsolete. Using them will result in an error message
    that refers people to use the new versions, like `bst source fetch`
    instead of old `bst fetch`. `source-checkout` will now become
    `source checkout` (the dash has turned into a space), and is not a
    breaking change as it was added in the current development cycle.
    
    Note that the functionality to hide commands from help output was added
    only recently in Click, so the minimum version of Click that we now
    require is 7.0.
    
    Summary of changes:
    
    * _frontend/cli.py: Add `source` command group, mark previous versions
      as obsolete and hide them from the help output.
    * _frontend/complete.py: Fix completion for hidden commands.
    * setup.py: Bump Click minimum version to 7.0.
    * tests: Update to cope with the new command names.
    
    Fixes #814.
    72e3b5c9
  • Chandan Singh's avatar
    NEWS: Add entry for new source command group · 672504b7
    Chandan Singh authored
    Also, change the existing entry about `source-checkout` to be
    `source checkout` instead. And, while we are there, move it near the
    other announcements about the source command group.
    672504b7
Loading