Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jul 15, 2023

The recent "add-back-references" command was not added to group to nicely show it in release-management --help output. This PR fixes it, and at the same time it turned out that similarly as in subcommands fixed in #32523, hash of command did not include options, so when just options were changed, the images were not marked as needing regeneration.

Adding options to hash calculation solves the problem.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

The recent "add-back-references" command was not added to group
to nicely show it in `release-management --help` output. This
PR fixes it, and at the same time it turned out that similarly
as in subcommands fixed in apache#32523, hash of command did  not include
options, so when **just** options were changed, the images were not
marked as needing regeneration.

Adding options to hash calculation solves the problem.
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this. Looks good +1

@uranusjr uranusjr merged commit 8309209 into apache:main Jul 15, 2023
@potiuk potiuk deleted the add-image-generation-on-command-change branch November 17, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants