-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
New doc explaining vcs_version. #16092
Conversation
It'll be an adventure to see if we can sync a new doc up to readme.com this way. From my perusal of the |
@kaos Can you think of a way to use this to generate docker image tags? I couldn't find a way to tag an image based on a string in a file, but you'll know better than I. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we would want a generic way to load target field values from files on disk in a generic way, akin to the http_source
object.
target(
tags=file_source("path/to/my-tags.yaml"),
description=file_source("path/to/description.txt"),
)
No, I think the better way would be the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
[ci skip-rust] [ci skip-build-wheels]
Trouble is, these aren't "files on disk" - these get generated long after BUILD files have been parsed. So it might not be that simple. |
[ci skip-rust] [ci skip-build-wheels]
[ci skip-rust] [ci skip-build-wheels]
How can I use the version produced by |
@da-tubi what is your current packaging/publishing process? Which language are we talking about? Currently this generates a file that other Pants rules can read and act on, but it really depends on the details. |
[ci skip-rust]
[ci skip-build-wheels]