Ok, I've configured CI/CD in salsa to use debian/salsa-ci.yml,
and then I've made a commit which removes gitlab-ci.yml, as
it was not working.
Now the pipeline is all green.
I don't see the need to change gbp.conf. The repo is configured to
contain debian/* files only, and whoever created it clearly
does not want to use pristine-tar,
and Salsa CI seems to be smart enough that it can build the package now.
Dmitry: I'm therefore closing this bug. If you still want to use
the old test-the-archive, please reopen and make sure that it works.
That is subjective.
If a new maintainer is to check out that
repository and build it, I suspect they will struggle.
Also as soon as
you run into upstream bugs and either fix them in Debian and want to
submit it upstream, or find that they are already fixed in upstream
main branch or a pending PR/MR and you want to cherry-pick them, you
can't use any git commands but need to do manual patch management.
That structure will also fail to build with the Go team CI. If you
look at https://salsa.debian.org/go-team/packages/gocryptfs/-/pipelines
you see that the CI actually *never passed*.
The structure you now have *does cause overhead* - it is just that
you don't bear it yourself.
Only time the CI passed was when Felix Lechner fixed the repo on
branch https://salsa.debian.org/go-team/packages/gocryptfs/-/tree/debian,
but seems that was then abandoned and now you have two 'head' branches
on the repo.
Anyway I assume you have your locally optimal workflow that you once
learnt, and are probably new keen to learn a new workflow,
so I won't spend more time on it nor on cleaning up of fixing your repo.
I don't want to own the "overhead" - you should as the repo layout
owner take care of maintaining it yourself so it is clean and aligned
with what you want.
IMHO "origtargz" utility makes "pristine-tar" obsolete.
It downloads the tarball purely based on URL, without using any
verification / security features. As this is a security tool and the maintainer understands supply-chain security, they over signed
tarballs at https://github.com/rfjakob/gocryptfs/releases/tag/v2.5.4.
If I were to maintain this package in Debian, I would definitely use
both pristine-tar and upstream signature verification. Your comment
assuming that origtargz, that has no security features whatsoever,
somehow obsoletes a tool specifically designed for supply-chain
security, makes it seem that the gap between your and my expectations
is wide, so I probably should just look away and not try to care about
this package.
While I disagree on what is an optimal workflow, I appreciate that you
have documented at https://salsa.debian.org/onlyjob/notes/-/wikis/home
your workflow, and what your experience was with the other tools and
the issues you ran into. A lot of people just state their opinions
without detailing what problem they exactly ran into, nor presenting
what their alternative solution is.
Perhaps one day I will do a writeup that explains how to efficiently
use `git reset --hard` in the gbp context, how to use `git difftool`
to view differences between upstream/Debian or various Debian releases
in Meld, and in general how to use gbp now in 2025. I think that one
of the biggest shortcomings in git-buildpackage has been that the documentation historically has only listed options on what is
possible, without actually listing the exact commands Debian
maintainers should be repeatedly using in dally work to review package history, prepare new upstream imports, submit Merge Requests,
efficiently git amend and rebase, force push new versions for
re-review, how to efficiently prepare stable and oldstable updates in parallel without duplicating work etc.
We have ventured quite clearly outside a regular bug report
discussion, so I will end here. Just to clarify: I am not doing any
changes to the gocryptfs package or repository, and nobody is planning
to remove the origtargz fallback in Salsa CI. I am just saying that
this repo layout is not ideal in my view, and I would feel severely
limited if I had to maintain a package without access to upstream
source in-place or upstream git history.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 480 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:22:28 |
Calls: | 9,535 |
Calls today: | 3 |
Files: | 13,653 |
Messages: | 6,138,711 |
Posted today: | 1 |