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

Adding a -q option to conan upload would help #2445

Closed
3 tasks done
theodelrieu opened this issue Feb 8, 2018 · 2 comments · Fixed by #3377
Closed
3 tasks done

Adding a -q option to conan upload would help #2445

theodelrieu opened this issue Feb 8, 2018 · 2 comments · Fixed by #3377
Assignees
Milestone

Comments

@theodelrieu
Copy link
Contributor

theodelrieu commented Feb 8, 2018

Hello,

I'm using Conan 1.0.4

I use the conan remove -q option a lot, and I would like to have the same feature when uploading packages.

There is the -p option, but specifying every package ID is tedious, to say the least.

It there any blocking issue preventing the same option for conan upload?

To help us debug your issue please explain:

  • I've read the CONTRIBUTING guide.
  • I've specified the Conan version, operating system version and any tool that can be relevant.
  • I've explained the steps to reproduce the error or the motivation/use case of the question/suggestion.
@joechrisellis
Copy link
Contributor

Hey!

I'm currently working on this. Don't have an ETA, just thought I'd let you know there's progress. 👍

Cheers!

memsharded pushed a commit that referenced this issue Aug 22, 2018
* Implemented --query flag in `conan upload` (#2445)

You can now use the --query flag in the `conan upload` command like you
would in `conan remove`. In other words, you can use a query to specify
which packages will be uploaded to the server.

* Moved query to final argument to prevent breakage for API users

* Added tests for `conan upload --query`

* Made changes from code review.

* .format replaced with old-style Python 2 formatting for consistency.
* Removed extraneous print statement.
@jgsogo jgsogo added this to the 1.7 milestone Aug 27, 2018
@jgsogo jgsogo self-assigned this Aug 27, 2018
@jgsogo
Copy link
Contributor

jgsogo commented Aug 27, 2018

Ready to release: #3377.

@jgsogo jgsogo closed this as completed Aug 27, 2018
grisumbras pushed a commit to grisumbras/conan that referenced this issue Dec 27, 2018
…3377)

* Implemented --query flag in `conan upload` (conan-io#2445)

You can now use the --query flag in the `conan upload` command like you
would in `conan remove`. In other words, you can use a query to specify
which packages will be uploaded to the server.

* Moved query to final argument to prevent breakage for API users

* Added tests for `conan upload --query`

* Made changes from code review.

* .format replaced with old-style Python 2 formatting for consistency.
* Removed extraneous print statement.
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 a pull request may close this issue.

5 participants