Le jeu. 3 avr. 2025 à 11:44, Pirate Praveen <prav...@onenetbeyond.org> a
écrit :

> On 4/3/25 2:07 PM, Jérémy Lal wrote:
> > It's as simple as declaring in d/watch and d/copyright and then uscan/
> > gbp import-orig.
> > Lacking a nicer way, I patched go.mod to append:
> >
> > +replace github.com/prep/socketpair <http://github.com/prep/socketpair>
> > => ./golang-github-prep-socketpair
> > +replace github.com/jupp0r/go-priority-queue <http://github.com/jupp0r/
> > go-priority-queue> => ./golang-github-jupp0r-go-priority-queue
> >
> > Does dh-golang allow that configuration without the need for a patch ?
>
> You can create them as vendor in package directory. See
>
> https://salsa.debian.org/ruby-team/gitlab/-/blob/master/debian/rules?ref_type=heads#L22
>
> I don't use uscan/watch, but manually maintain a single vendor tarball.
> If you want to use uscan/watch - you will need to recreate the vendor
> directory structure. May be patching go.mod is simpler?
>

Good to know, so there might be a way ;)

Reply via email to