Skip to content

Do not allow wildcards in 'conan download' command - #3843

Merged
danimtb merged 3 commits into
conan-io:developfrom
jgsogo:issue/3699-download-pattern
Oct 24, 2018
Merged

danimtb merged 3 commits into
conan-io:developfrom
jgsogo:issue/3699-download-pattern

Conversation

@jgsogo

@jgsogo jgsogo commented Oct 24, 2018

Copy link
Copy Markdown
Contributor

Changelog: Fix: do not allow wildcards in command conan download <ref-without-wildcards>

@jgsogo jgsogo added this to the 1.9 milestone Oct 24, 2018
@jgsogo
jgsogo requested a review from memsharded October 24, 2018 13:49
@ghost ghost assigned jgsogo Oct 24, 2018
@ghost ghost added the stage: review label Oct 24, 2018

@memsharded memsharded left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good! See the comment, change if you feel to, or leave it as-is, both good, and merge.

Comment thread conans/model/ref.py Outdated
from conans.model.version import Version


def check_valid_ref(ref, allow_pattern=False):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allow_pattern is always False, then so far it is a bit speculative, isn't it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it is better not to provide a default, I'll change it.

@danimtb
danimtb merged commit b621944 into conan-io:develop Oct 24, 2018
@ghost ghost removed the stage: review label Oct 24, 2018
@jgsogo
jgsogo deleted the issue/3699-download-pattern branch October 25, 2018 08:10
grisumbras pushed a commit to grisumbras/conan that referenced this pull request Dec 27, 2018
* do not allow wildcards in download

* remove default variable value
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.

Conan fails download

3 participants