/srv/irclogs.ubuntu.com/2024/07/04/#ubuntu-devel.txt

=== mfo_ is now known as mfo
kchsiehHello, I am seeking for sponsor for my SRU, https://bugs.launchpad.net/ubuntu/+source/libmbim/+bug/2071877. could someone help? thanks.06:14
-ubottu:#ubuntu-devel- Launchpad bug 2071877 in libmbim (Ubuntu) "Support sending AT commnad by mbim-cli for Compal WWAN module" [Undecided, New]06:14
rbasakbdrung: could you review https://code.launchpad.net/~racb/ubuntu-sponsoring/+git/ubuntu-sponsoring/+merge/468585 for me please? Or if not you, what should our review process be?08:39
=== pushkarnk1 is now known as pushkarnk
juliankrbasak: I think I need to write some magic wrapper around git-buildpackage that automatically adds $(git-ubuntu prepare-upload args) in there *if my current branch is a git-ubuntu one*16:22
juliankSo I can use the same command for uploading apt and friends and git-ubuntu Ubuntu packages16:23
juliankAlso would the bot get mad if I introduced a faux-sync in apt uploads that made it link the upstream commit as the RHS merge part16:24
juliankI suppose it would16:24
juliankBut that would be interesting to add these such that you have the upstream commits too16:25
juliankin git-ubuntu branch basically it does git merge --ours upstream16:25
rbasakjuliank: FWIW, I'd like there to be a "git ubuntu build -S" or similar command that does the right thing. There are some edge case lossy cases that need special handling.16:26
rbasakjuliank: you can do it but I think it's a really bad idea to pull in upstream commits in like that. You'll end up with a commit graph that has a commiti double for everything. It won't affect normal operation, but it'd be a complete mess to follow if you wanted to look at the history for any reason.16:27
rbasakAnd it'd be permanent.16:27
juliankrbasak: It is messy yeah16:28
juliankrbasak: git ubuntu build -S is ok as long as it exports cleanly into a directory from the commit, adjusting time stamps to the commit time stamp :)16:29
juliankThen you can build nice native packages16:29
rbasakFor an initial implementation I'd probably use a tmpdir and then run dpkg-buildpacakge16:30
rbasakNot sure how to implement the timestamp thing.16:30
julianki.e. basically do git export --prefix=<package name>-<upstream-version>/ | tar xf -C $tmpdir16:30
juliankand build in there16:30
rbasakI think I'd like it to work from a dirty working tree too, bumping the changelog version sensibly in that case.16:31
juliankI think just use debuild when building from dirty16:31
rbasakYou mean git archive? That'd work but would require different handling for a dirty tree build.16:31
juliankUm yes git archive16:32
juliankThat's what git-buildpackage does16:32
juliankI still believe integrating with git-buildpackage would be sweetest because that way I can add all my usual git-buildpackage pre-build hooks and any inherited from Debian also works16:32
rbasakThanks for the discussion. I hope to look at this fairly soon (in the next month or two). I might need to ping you then to make sure the behaviour is as expected!16:32
rbasakThere's nothing to stop you from using git-buildpackage yourself locally, with a wrapper if you want, and we might be able to put some functionality for that into git-ubuntu itself.16:33
juliankLike apt has prebuild and postbuild hooks in debian/gbp that do some verification16:33
rbasakHowever, in the general case it doesn't work, because git-ubuntu round trips correctly and gbp has no handling for that (it doesn't need to).16:33
rbasakFor example if the uploader left a .git directory in there.16:33
rbasakThe Debian uploader I mean.16:33
juliankindeed16:34
rbasakAnd in some cases it's needed! See old dotnet package for example. I don't recall if the final upload worked around it but it was an issue that had to be dealt with.16:34
juliankgit has file rewrite filters, but I guess no rename filters16:34
rbasakThere's also the issue of upstream leaving .gitignore and .gitattribute files around and that kind of thing.16:35
rbasakIf using gbp in Debian, then the git checkout is expected to work with gbp, with those things fixed.16:35
juliankYou say it's an issue, dgit people say it is a feature16:35
juliankThey actively want all the .git* files in there (not the dir) and override dpkg excludes!16:35
rbasakHowever in the general case it cannot influence the source build because we don't know whether the maintainer used them to generate the source package or not.16:36
rbasakThis is one step further from dgit, too. dgit-using package maintainers can adjust their tree to what dgit needs.16:36
juliank".gitignore is in the repository and the upload should match the repository" or something they say16:36
juliankAnd I did not keep up with the whole tag2upload thing, apparently they now stuff a shallow igt clone into a tarball and that will be all sorts of fun16:37
rbasakWe don't have that luxury and have to be functional with whatever Debian maintainers throw at us. So what's in the tree must not be able to influence the source package build itself, otherwise git-ubuntu won't round trip correctly.16:37
rbasakThis means ignoring the clean target too, probably.16:38
ahasenackbdrung: hi, when you have a moment, could you reply to #security's question on https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2055718/comments/29 ? Basically if ESM releases are also affected18:52
-ubottu:#ubuntu-devel- Launchpad bug 2055718 in tzdata (Ubuntu Mantic) "timezone changed unexpectedly from EST to America/Adak or America/Indiana/Indianapolis" [Undecided, Fix Committed]18:52
bdrungahasenack, answered in the bug report19:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!