-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cleanup #928
Cleanup #928
Conversation
a14bb21
to
d3ef9b6
Compare
# Rename "ci_update_branches" to "supported_release_branches" | ||
if "ci_update_branches" in config: | ||
config["supported_release_branches"] = config.pop("ci_update_branches") | ||
write_new_config = True |
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.
This is one of these 'migrations' that happened long enough we can remove, right?
if "exclude releasing.md" not in manifest_text: | ||
manifest_file.write_text(manifest_text + "exclude releasing.md\n") | ||
def migrate_dummy(plugin_root_dir): | ||
pass |
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.
Is this a placeholder for when we have things to migrate?
A call for a migrations system, I hear? 😅
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.
exactly. We can also remove it and refer to the git history. What do you prefer?
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.
We can keep it IMO
echo ::endgroup:: | ||
- name: "Build package" | ||
run: | | ||
python3 setup.py sdist bdist_wheel --python-tag py3 | ||
python3 -m build |
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.
🚀
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 link doesnt exist.
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 took that file from Pulpcore.
return [] | ||
except Exception: | ||
# Gathering more details failed. | ||
return ["pyproject.toml changed somehow (PLEASE check if dependencies are affected)."] |
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.
Maybe adding some info about the exception could be useful to know why gathering info failed
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.
🤷
Also refactor it to not need templating.
No description provided.