Skip to content

Commits on Source 3

  • Chandan Singh's avatar
    Introduce new "source" command group · 629a6e52
    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.
    629a6e52
  • Chandan Singh's avatar
    NEWS: Add entry for new source command group · f894c0a8
    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.
    f894c0a8
  • Chandan Singh's avatar
    Merge branch 'chandan/source-subgroup' into 'master' · b23bec55
    Chandan Singh authored
    Introduce new "source" command group
    
    Closes #814
    
    See merge request !1003
    b23bec55
Loading