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

cli: add provides command #2121

Conversation

kyrofa
Copy link
Contributor

@kyrofa kyrofa commented May 3, 2018

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on bug reports?
  • If this is a new feature. Have you discussed the design on the forum?
  • Have you successfully run ./runtests.sh static?
  • Have you successfully run ./runtests.sh unit?

Once the snapcraft CLI merges files from multiple parts into the staging and priming areas, it's easy to lose track of which part provided which file. This PR resolves LP: #1759700 by adding a new snapcraft provides command meant to serve exactly that purpose.

$ snapcraft provides <path>

<path> must be in either the staging or priming area, and can be a file or a directory.

Once the snapcraft CLI merges files from multiple parts into the staging
and priming areas, it's easy to lose track of which part provided which
file. Add a new `snapcraft provides` command meant to serve exactly that
purpose.

    $ snapcraft provides <path>

`<path>` must be in either the staging or priming area, and can be a
file or a directory.

LP: #1759700

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
@kyrofa
Copy link
Contributor Author

kyrofa commented Jul 30, 2018

Closing in favor of #2184.

@kyrofa kyrofa closed this Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant