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

[TOOLS] Patch rename request (minor) #1752

Open
uazo opened this issue Jan 21, 2025 · 1 comment
Open

[TOOLS] Patch rename request (minor) #1752

uazo opened this issue Jan 21, 2025 · 1 comment

Comments

@uazo
Copy link
Owner

uazo commented Jan 21, 2025

Discussed in #1742

Originally posted by t-m-w January 17, 2025
Hi @uazo,

Would you be willing to rename of a couple of patches (or I could upload a PR) so that their names are closer to expectations when exported with git format-patch?

There may be others, too, but specifically these:

  • Disable-ranker-url-fetcher.patch to Disable-ranker_url_fetcher.patch
  • Revert-remove-allowscript-content-setting-secondary-url.patch to Revert-remove-AllowScript-content-settings-per-secondary-url.patch

I use git format-patch --full-index -N -k -P --zero-commit -1 --no-numbered --filename-max-length=128 (sadly --no-numbered sadly doesn't remove the numbers in the filename, but those are easy to remove automatically).

My dream (and task) is to add more automation to my process downstream. I know you already have tools for this; the scripts I've been working on have some similarities but also some differences. I see for example that Cromite's patch application and export scripts keep track of the original filename already, but I would prefer to skip that if possible, to simplify a bit.

What do you think?

Thanks as always!

@uazo uazo changed the title Patch rename request (minor) [TOOLS] Patch rename request (minor) Jan 21, 2025
@uazo
Copy link
Owner Author

uazo commented Jan 21, 2025

can you pass me a script that acts on all the patches and tells me which ones to rename?
or if you make me a list I will do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant