Skip to content
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

Merged
merged 3 commits into from
Nov 21, 2024
Merged

Cleanup #928

merged 3 commits into from
Nov 21, 2024

Conversation

mdellweg
Copy link
Member

No description provided.

@mdellweg mdellweg force-pushed the cleanup branch 3 times, most recently from a14bb21 to d3ef9b6 Compare November 19, 2024 18:25
@mdellweg mdellweg marked this pull request as ready for review November 20, 2024 11:12
# 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
Copy link
Member

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
Copy link
Member

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? 😅

Copy link
Member Author

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?

Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

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

🚀

Copy link
Member

Choose a reason for hiding this comment

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

The link doesnt exist.

Copy link
Member Author

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)."]
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

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

🤷

@pedro-psb pedro-psb merged commit 78ad960 into pulp:main Nov 21, 2024
11 checks passed
@mdellweg mdellweg deleted the cleanup branch November 21, 2024 17:14
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.

2 participants