I'm not sure if uscan can do it, but for meshlab, as they don't tag the submodule when they release the main project, I have a script that updates
the submodule commit using the github API. It's more clunky than I'd like,
but I am not sure exactly how to fix this. It parses the version out of debian/changelog to find the main repo revision.
https://salsa.debian.org/science-team/meshlab/-/blob/master/debian/get-orig-source.sh
Ryan
On Tue, Jun 13, 2023 at 10:45 AM Daniel Gröber <
[email protected]> wrote:
Hi Mentors,
I'm working on packaging prjtrellis[1] which has a git submodule that is required for building. My plan is to use dpkg-source's multi upstream
tarball support to do this.
[1]: https://github.com/YosysHQ/prjtrellis
I'm wondering if a) this is a good idea and 2) how to get uscan to download the precise commit referenced in the main package instead of the "latest" version. Is this even possible?
I have a similar situation in my yosys package already (it has a
berkeley-abc submodule) but since berkeley-abc is just a seperate package I just package the latest berkeley-abc commit and pray it doesn't diverge
from what upstream's release uses too much. This is less than ideal obviously.
Any input would be appreciated,
--Daniel
<div dir="ltr"><div>I'm not sure if uscan can do it, but for meshlab, as they don't tag the submodule when they release the main project, I have a script that updates the submodule commit using the github API. It's more clunky than I'd
like, but I am not sure exactly how to fix this. It parses the version out of debian/changelog to find the main repo revision. <a href="
https://salsa.debian.org/science-team/meshlab/-/blob/master/debian/get-orig-source.sh">https://salsa.debian.org/
science-team/meshlab/-/blob/master/debian/get-orig-source.sh</a></div><div><br></div><div>Ryan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 13, 2023 at 10:45 AM Daniel Gröber <<a href="mailto:dxld@
darkboxed.org">
[email protected]</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Mentors,<br>
I'm working on packaging prjtrellis[1] which has a git submodule that is<br>
required for building. My plan is to use dpkg-source's multi upstream<br> tarball support to do this.<br>
[1]: <a href="
https://github.com/YosysHQ/prjtrellis" rel="noreferrer" target="_blank">
https://github.com/YosysHQ/prjtrellis</a><br>
I'm wondering if a) this is a good idea and 2) how to get uscan to download<br>
the precise commit referenced in the main package instead of the "latest"<br>
version. Is this even possible?<br>
I have a similar situation in my yosys package already (it has a<br> berkeley-abc submodule) but since berkeley-abc is just a seperate package I<br> just package the latest berkeley-abc commit and pray it doesn't diverge<br> from what upstream's release uses too much. This is less than ideal<br> obviously.<br>
Any input would be appreciated,<br>
--Daniel<br>
</blockquote></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)