Lucas Nussbaum <lu...@debian.org> writes: >> > > If you know you are doing a minor typofix, removing a trailing space >> > > etc and don't need CI at all, please pass the git option `-o ci.skip` >> > > when pushing. >> > > >> > > Example: >> > > git push -o ci.skip >> > >> > I'm using the GitLab REST API through python-gitlab to automate those >> > commits. Do you know if there's a way to do the same thing in that case, >> > other that using "[skip ci]" in the commit message, which pollutes the >> > git history? >> >> Indeed, it seems to be the case that the API does not offer to pass >> git options. I added my vote in >> https://gitlab.com/gitlab-org/gitlab/-/issues/26422 now. Maybe if you >> add your "user story" they might have more interest in implementing >> it. > > Note that it my case, some pipelines were triggered by adding/changing > debian/gbp.conf, but others were triggered by branch renames. So even > using a custom commit message would not work.
Are your scripts to do these mass-commits available somewhere? I've often wanted to apply the same kind of fix to many packages at the same time, but I mentally queue them and apply them when updating a particular package once it is time to work on that package. This can take months to complete, and probably leads to mistakes. /Simon
signature.asc
Description: PGP signature