Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1251082
| From | Xiyue Deng <manphiz@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1107766: devscripts: uscan: gitmodules doesn't seem to work |
| Date | 2025-06-26 00:20 +0200 |
| Message-ID | <L1GDf-dadk-1@gated-at.bofh.it> (permalink) |
| References | <KXmMN-aoht-13@gated-at.bofh.it> <L1GDf-dadk-3@gated-at.bofh.it> <KXmMN-aoht-13@gated-at.bofh.it> <L1GDf-dadk-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Hugh, Hugh McMaster <hmc@debian.org> writes: > Hello Xiyue, > > Thank you for the bug report and for testing uscan's gitmodules option. > > On 14/06/2025 10:16 am, Xiyue Deng wrote: >> I'm trying to use gitmodules in uscan which was introduced since >> 2.25.11[1], but it doesn't checkout the submodule when running uscan. > > [snip] > >> I have updated debian/watch to use submodule following the uscan >> manpage, which contains the following contents: >> >> ,---- >> | version=4 >> | opts="mode=git, gitmode=shallow, gitmodules, gitexport=all" \ >> | https://github.com/karthink/gptel \ >> | (?:.*?/)?@ANY_VERSION@ debian uupdate >> `---- >> >> (I have created a branch to demonstrate this issue, and you can find the >> debian/watch file at [2].) > > Your regex is failing because of the 'optional' question mark after the > non-capturing group. > Thanks! Removing the optional regex mark (the question mark) fixes this. I wonder why uscan behaves this way given that this regex works for other use cases. I'm asking as I'm using this regex in many packages and it would be great make it just work. > You'll probably find it easier to explicitly use 'refs/tags' as per the > man page: > > refs/tags/v@ANY_VERSION@ debian uupdate > QQ: I think @ANY_VERSION@ now detects the "v" prefix recently. Or is there a reason to still make it explicit? > Hope that helps. > > Hugh > -- Regards, Xiyue Deng
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1107766: devscripts: uscan: gitmodules doesn't seem to work Xiyue Deng <manphiz@gmail.com> - 2025-06-26 00:20 +0200
csiph-web