Charlemagne Lasse writes ("Bug#1129577: git-debrebase: make-patches prevents CI
build"):
> There is no such option. Not in the manpage and not in the source
> code. The command you are proposing results in:
Where did you look? I RTFM again and in git-debrebase(1) I see this:
--noop-ok
Suppresses the error in some situations where git-debrebase does
nothing, because there is nothing to do.
The specific instances are discussed in the text for the relvant
operation.
This seems to be a global option, rather than an option to
make-patches. So
git-debrebase --noop-ok make-patches
rather than the rune I suggested off-the-cuff in my last mail. I just
tried this with the test package I used while writing the blog post
and
$ git-debrebase make-patches
HEAD is now at 892777f Commit patch queue (exported by git-debrebase)
$ git-debrebase make-patches
git-debrebase: error: No (more) patches to export.
$ echo $?
255
$ git-debrebase --noop-ok make-patches
$ echo $?
0
$
(This also shows that the recipe in my blog post wouldn't work in many
cases, even if not all the patches go upstream.)
The note about disucssing --noop-ok it in the docs for the specific
operation doesn't seem to be true, either, unfortunately.
I'm sorry that you're having a bad user experience here. This kind of
thing is unfortunately a hazard of ad-hoc recipes in blog posts,
rather than first-class support in the Salsa CI pipeline (where it
could be properly tested).
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.