You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current documentation about metadata feature says:
By default, conan upload will upload recipes and packages metadata when a recipe or a package is uploaded to the server.
....
If the metadata has been locally modified or added new files, we can force the upload explicitly with ... The --metadata argument allows to specify the metadata files that we are uploading.
It's quite clear that metadata folder is uploaded when I have a content stored in my metadata folder.
However, let's say I have to use a recipe that packages metadata, but I don't want to upload it. (e.g the company has a common recipe, and I have a my own repository in the company's Artifactory).
The documentation is not clear about this case, but I have 2 options:
Delete the metadata folder in my disk, before executing conan upload command.
Pass a fake folder name to the metadata argument, like conan upload --metadata=None
It would be great if Conan could provide an official way to do that:
conan upload --metadata=""
Where the empty string "" indicates: Do not upload metadata, even if I have it cached in my machine.
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
What is your suggestion?
The current documentation about metadata feature says:
It's quite clear that metadata folder is uploaded when I have a content stored in my metadata folder.
However, let's say I have to use a recipe that packages metadata, but I don't want to upload it. (e.g the company has a common recipe, and I have a my own repository in the company's Artifactory).
The documentation is not clear about this case, but I have 2 options:
conan upload
command.conan upload --metadata=None
It would be great if Conan could provide an official way to do that:
Where the empty string
""
indicates: Do not upload metadata, even if I have it cached in my machine.Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: