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

pkgdev commit: use bash brace expansion when title is too long #200

Open
thesamesam opened this issue Nov 19, 2024 · 1 comment
Open

pkgdev commit: use bash brace expansion when title is too long #200

thesamesam opened this issue Nov 19, 2024 · 1 comment

Comments

@thesamesam
Copy link
Member

At ::gentoo commit 5ff8c2478af6b564427e575dcc72fb198246cb80, I ran:

$ git rm -rf *1110* *117*r1*
rm 'sys-devel/gcc/gcc-15.0.0_pre20241110.ebuild'
rm 'sys-devel/gcc/gcc-15.0.0_pre20241117-r1.ebuild'
$ git rm -rf *15.0.0_pre20241117.ebuild
rm 'sys-devel/gcc/gcc-15.0.0_pre20241117.ebuild'
$ pkgdev commit
[master 44ebb36794662] sys-devel/gcc: drop versions
 4 files changed, 162 deletions(-)
 delete mode 100644 sys-devel/gcc/gcc-15.0.0_pre20241110.ebuild
 delete mode 100644 sys-devel/gcc/gcc-15.0.0_pre20241117-r1.ebuild
 delete mode 100644 sys-devel/gcc/gcc-15.0.0_pre20241117.ebuild

The commit message doesn't contain the versions because it would be too long. We could write the commit message as sys-devel/gcc: drop 15.0.0_pre20241110, 15.0.0_pre20241117{,-r1} which would fit.

@arthurzam
Copy link
Member

Do you know a lib / code that finds such common thing and suggest shorter variant?

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

2 participants