From 00c76b26ed708d88f82514cb24d1c1d0b8edd2aa Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Wed, 22 Apr 2026 14:03:24 -0400 Subject: [PATCH] Update cluade.md with more improvements --- CLAUDE.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 7eaac8f5..efff96de 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -47,6 +47,14 @@ Use the `plugin-template` tool after any changes made to `template_config.yml`. ../plugin_template/plugin-template --github ``` +## Fixing failed backports + +When patchback fails to cherry-pick a PR into an older branch, you need to manually apply the equivalent change. Key things to know: + +- Older branches (e.g. 3.11, 3.12) may use `requirements.txt` for dependencies, while newer branches use `pyproject.toml`. Always check which file the target branch uses before applying changes. +- When creating a PR include `[]` in the PR title (e.g. `[3.12] Raise upperbound for pkginfo requirement`). +- Use `git cherry-pick -x`. + ## Contributing -When preparing to commit and create a PR you **must** follow our [PR checklist](https://pulpproject.org/pulpcore/docs/dev/guides/pull-request-walkthrough/) +When preparing to commit and create a PR you **must** follow our [PR checklist](https://pulpproject.org/pulpcore/docs/dev/guides/pull-request-walkthrough/) Important to note is the AI attribution requirement in our commit messages. Also, note that our changelog entries are markdown.