/srv/irclogs.ubuntu.com/2017/11/05/#ubuntu-devel.txt

=== Guest74140 is now known as Cyrus
tsimonq2doko: Mind if I steal your anthy merge?05:03
=== JanC_ is now known as JanC
andreaslet's say I have an ubuntu native package in the archive: package-2.017:17
andreasit has a bug I want to fix, but I can't commit to its upstream17:17
andreasI'm looking at the version table at https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation17:18
andreaslooks like my case is:17:18
andreas2.0                           2.0ubuntu0.117:18
andreasso it remains a native package in the update? How is the fix applied? I just re-tarball it after applying the fix manually? No patch file in d/patche?17:19
jbichaandreas: it's helpful if you tell us what package you are wanting to update17:22
andreasjbicha: ubuntu-advantage-tools17:23
andreasI need to update it to version 10, and backport some fixes from version 1317:23
andreasv13 is in bionic-proposed for a couple of days, looks like some big migration is going on and blocking everything17:23
andreasit being a native package is messing with my head17:24
jbichawell y'all should use a more sane versioning system, snapd's versioning is very non-standard but it manages to work17:26
andreashm?17:27
jbichaare you going to be sruing to artful at the same time?17:28
andreasjbicha: yes: t, x, z and aa. As soon as b has v1317:29
jbichaI suggest version numbers like: 10.17.10.1, 10.16.10.1, 10.16.04.1, etc.17:30
jbichaor 10+17.10.1 if you don't like that many ...'s17:31
jbichathe trailing .1 allows someone to easily do a bugfix .2 release17:31
andreasso it remains a native package?17:31
jbichayes, the native package is fine in this case17:32
andreashow do I apply the fix I want? Essentially making a new tarball, as if there had been a new upstream release?17:32
andreasI can't just use a new version number, there is no corresponding upstream release with that version17:32
jbichaI think 'debuild -S' should make the tarball for you?17:33
andreasit asks when it can't find an orig one17:33
andreasbut I have to apply my fixes directly, not via d/patches right17:33
jbichathere's so many different possible packaging workflows it's hard for me to give you specific advice17:33
jbichayes, you won't use debian/patches/ if it's native17:33
andreasok17:34
jbichadoesn't this work?17:34
jbichaapt source ubuntu-advantage-tools; cd ubuntu-advantage-tools;17:34
jbicha(make your changes and update debian/changelog)17:35
jbichadebuild -S17:35
andreasit's like I'm creating a new upstream version with my fixes, that's what is confusing me17:35
jbichathat's how native packaging works17:35
andreas2.0                           2.0ubuntu0.1 <-- like this example17:35
andreasfrom https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation17:35
andreasexcept I would use the release number in the suffix, because I'll do it for several releases17:36
andreasso I would have a tarball with version "2.0ubuntu0.14.04.1" in the example above17:36
jbichathe "ubuntu" in the version number is not necessary17:36
jbichaplease don't number the package as "2" if it is really "10"17:37
andreasI won't, I was just continuing with the example17:37
jbichawhy don't you want to use 13 as your base instead of 10?17:39
andreasit has other changes and the sru would have to start from scratch17:39
andreas10 as is was rejected and particular fixes from 13 were requested, then 10+fixes would be approved17:39
andreasin particular, v13 runs tests at package build time. That's what was requested for the sru17:40
jbichasru already is starting from scratch isn't it?17:40
andreasno, the sru reviewer said all that was required now was to bring those tests in to v1017:40
andreasif we bring v13 instead, then there is another change in there that he has to review, that wasn't there before17:40
jbichaare you sure y'all don't want the 'ua' symlink too?17:41
andreaswe do, and another sru will do that, but right now the pressing feature is fips support17:41
andreasI also suggested we start over with v13, but it took so long to get an sru team member to look at it that it was feared it would take weeks again17:42
jbichabut each SRU takes what ~2 weeks? I don't understand why you don't just do both issues at once17:42
jbichabut I think all these decisions are above my paygrade ;)17:42
andreaswe now have the attention of an sru team member, and he is just waiting for these tests-at-build-time. That was his review point17:43
andreasbut this native package business is ugly17:43
jbichathe native part itself is fine (with me), the tricky part is that you always need a newer version in newer supported releases17:44
jbichaso maybe even a 10~17.10.1, 10~17.04.1, etc. would work17:45
jbichawhen sorting Debian version numbers: 10~17.10 < 10 < 10+17.1017:46
andreasthat was my first attempt, when artful/bionic had 10, but now that 13 is in proposed I thought I could stick with 10ubuntu17:46
andreasI thought I had to signal somehow that it had ubuntu changes17:46
andreashence the "ubuntu" word in it17:46
andreasagain, following the security team wiki page17:46
jbichathat's how the snapd version manages to work although it's odd to have xenial as the focus instead of the dev branch of Ubuntu17:46
jbichayou don't need to signal that, it's an Ubuntu native package that didn't come from Debian17:47
=== Spydar is now known as Guest7945
=== teward_ is now known as teward
=== Noskcaj_ is now known as Noskcaj
=== underyx_ is now known as underyx
=== stgraber_ is now known as stgraber
=== Laney is now known as Guest86060

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