Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1271406
| From | Arnaud Rebillout <arnaudr@kali.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1120385: uscan: v5: Git-Modules doesn't seem to work |
| Date | 2025-11-24 12:10 +0100 |
| Message-ID | <LUCCe-fnBA-3@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <LUyyB-fkKx-7@gated-at.bofh.it> <LUyyB-fkKx-5@gated-at.bofh.it> <LUCCe-fnBA-5@gated-at.bofh.it> <LOTmp-brdV-9@gated-at.bofh.it> <LUCCe-fnBA-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 24/11/2025 15:45, Hugh McMaster wrote: > On 24/11/2025 5:46 pm, Arnaud Rebillout wrote: >> [2] is not reachable, maybe it's private? > > Sorry, that should be fixed now. Thanks! So I `git clone` your repo, then I found out that... I need to pass --recurse-submodules, of course. So I `git clone --recurse-submodules` and all looks good. The `test-data` directory is populated, and I get some output with `git submodule status`, showing that the submodule was properly initialized. Now let's try an update this repo, we're going to update from git HEAD since there's no new upstream release: ``` # create upstream branch git branch upstream 8b6ffca # edit d/watch to track git head Mode: git Source: https://github.com/oschwald/maxminddb-golang.git Matching-Pattern: HEAD Git-Modules: all Git-Pretty: 2.1.0+git%cd.%h # commit git add debian git commit -m "Update watch file" ``` Then I run `uscan`, it gets me the right tarball, including the submodule. All good. Now, I want to import that in my git repo, and also track upstream git history: ``` # Add and fetch upstream remote git remote add upstreamvcs https://github.com/oschwald/maxminddb-golang.git git fetch upstreamvcs # Import gbp import-orig ../golang-github-oschwald-maxminddb-golang-v2_2.1.0+git20251120.4d0333b.orig.tar.xz --upstream-vcs-tag=4d0333b --debian-branch=debian/latest ``` And... Alas! gbp added the test-data directory to the "New upstream version" commit, and now the submodule is gone, `git submodule status` returns nothing. We're back to the beginning. Did I do something wrong? Off-Topic: I had to be careful to add the upstream vcs only AFTER running uscan, otherwise I hit #1120533 (uscan doesn't fetch the right git HEAD), which doesn't seem to be fixed in devscripts 2.25.27. Best, Arnaud
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1120385: uscan: v5: Git-Modules doesn't seem to work Arnaud Rebillout <arnaudr@kali.org> - 2025-11-20 11:10 +0100
Bug#1120385: uscan: v5: Git-Modules doesn't seem to work Arnaud Rebillout <arnaudr@kali.org> - 2025-11-21 09:40 +0100
Bug#1120385: uscan: v5: Git-Modules doesn't seem to work Arnaud Rebillout <arnaudr@kali.org> - 2025-11-24 07:50 +0100
Bug#1120385: uscan: v5: Git-Modules doesn't seem to work Arnaud Rebillout <arnaudr@kali.org> - 2025-11-24 12:10 +0100
csiph-web