-
Notifications
You must be signed in to change notification settings - Fork 141
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
Move transform version numbers out of .make.versions to transform-specific file #657
Conversation
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
…nd fdedup Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
Signed-off-by: David Wood <[email protected]>
# | ||
# If you change the versions numbers, be sure to run "make set-versions" to | ||
# update version numbers across the transform (e.g., pyproject.toml). | ||
CODE2PARQUET_PYTHON_VERSION=$(DPK_VERSION) |
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.
@daw3rd How are we getting DPK_VERSION if we are not including .make.versions ?
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.
The transformer Makefiles include $(REPOROOT)/transforms/.make.transforms
it includes $(REPOROOT)/.make.defaults
and the last one includes $(REPOROOT)/.make.versions
@daw3rd scripts/transforms/update_workflow_tags.sh needs to be update to take the versions from the config files. |
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.
LGTM
# | ||
# If you change the versions numbers, be sure to run "make set-versions" to | ||
# update version numbers across the transform (e.g., pyproject.toml). | ||
CODE2PARQUET_PYTHON_VERSION=$(DPK_VERSION) |
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.
The transformer Makefiles include $(REPOROOT)/transforms/.make.transforms
it includes $(REPOROOT)/.make.defaults
and the last one includes $(REPOROOT)/.make.versions
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.
Million thanks
Summary of changes
Why are these changes needed?
Per issue #639 we would like to allow transforms to update their own version numbers.
However we don't want such a change to trigger ci/cd on all other transforms.
As such we need to move the version number out of .make.versions to a file that is more local to the transform.
Note that this is only the first of the TODOs listed in issue #639, but can be done independent of the others.
Related issue number (if any).
#639