On Wed, Feb 28, 2024 at 3:26 PM Jeff Law <jeffreya...@gmail.com> wrote: > > > > On 2/28/24 15:57, Tom Tromey wrote: > >>>>>> "Jeff" == Jeff Law <jeffreya...@gmail.com> writes: > > > I could not push this because: > > > > remote: *** ChangeLog format failed: > > remote: *** ERR: invalid PR component in subject: "Fix PR libcc1/113977" > > > > I guess this script isn't in sync with the components in bugzilla. > > > > I don't know how to fix this. > Me neither, but I can suggest a hacky workaround. Change the component > in bugzilla to something the pre-commit hooks understand, push the fix, > then change the component back a little while later and adjust the > ChangeLog after it gets generated overnight. Ugly as sin.
I don't know how to update the script server side after it is committed in git. the checker script is located in git though: ``` [apinski@xeond2 contrib]$ git diff gcc-changelog/git_commit.py diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index 87bec4e00f5..4a3720de7fb 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -109,6 +109,7 @@ bug_components = { 'libffi', 'libfortran', 'libgcc', + 'libcc1', 'libgcj', 'libgomp', 'libitm', ``` Thanks, Andrew Pinski > > jeff