/srv/irclogs.ubuntu.com/2012/07/31/#ubuntu-classroom.txt

blackshirthello, good morning00:17
Hayatehello,good morning00:21
Hayateis there class rom this morning?00:22
=== Hayate is now known as blackshirt
=== nigelbabu is now known as nigelb
=== muthusuba__ is now known as muthusuba
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: MOTU School - Current Session: RC Bug Fixing Workflow - Instructors: tumbleweed
ClassBotLogs for this session will be available at http://irclogs.ubuntu.com/2012/07/31/%23ubuntu-classroom.html following the conclusion of the session.14:01
tumbleweedHello everyone14:04
tumbleweedWelcome to our little Debian RC bug squashing party14:04
tumbleweedglad to see there's already an audience of 214:04
tumbleweedanyone else here? please say hi in the chat channel14:04
tumbleweedthat's #ubuntu-classroom-chat, which is also the place to ask questions14:04
tumbleweedso, I'm Stefano Rivera, a Debian & Ubuntu Developer14:05
tumbleweedand I'm here to guide you through working with Debian, today14:05
tumbleweedI assume you all know that Ubuntu is derived from Debian14:05
tumbleweedin fact, about 75% of packages in Universe are entirely unmodified from Debian14:05
tumbleweedand that's a good thing14:05
tumbleweedthere's no need for those packages to be modified in Ubuntu14:06
tumbleweedthe vast majority of bugs that we'd encounter in them are relevant to both Debian & Ubuntu14:06
tumbleweedand it makes sense to fix them as close to the source as possible14:06
tumbleweedthat means the least duplication of effort, and shares the benefit as widely as possible14:06
tumbleweedhttps://wiki.ubuntu.com/Debian/ForUbuntuDevelopers14:06
tumbleweedI hope at this point, you are aware of the advantages of working well with our upstream, Debian14:06
tumbleweed(and that I might have written up some of this beforehand, for pasting) :P14:06
tumbleweedso, what are we here to do today?14:07
tumbleweedDebain has frozen their next release, wheezy, and is now trying to fix all the remaining RC bugs in it14:07
tumbleweedwe're going to try and help with that14:07
tumbleweeda lot of these are also relevant to Ubuntu, and it's generally in our interest for Debian to release quickly14:07
tumbleweedwhat's an RC bug?14:07
tumbleweedthe Debian Release team has helpfully defined that for us14:07
tumbleweedhttp://release.debian.org/wheezy/rc_policy.txt14:07
tumbleweedhow many need to still be fixed?14:07
tumbleweedfar too many: http://bugs.debian.org/release-critical/14:07
tumbleweedwe need to get the green line down to zero14:07
tumbleweedeveryone still with me?14:08
tumbleweedwhat's the best way to find RC bugs?14:08
tumbleweedI suggest using this search: http://deb.li/fOvv14:09
tumbleweedthat should find issues that are blocking the release of wheezy, and nobody has looked at yet14:09
tumbleweedif anyone has any more questions about that search interface, please ask me14:09
tumbleweedhere's another query that may be interesting to us: http://deb.li/3Yc7n14:09
tumbleweedthat will list bugs that may have been fixed in Ubuntu, but the patch hasn't been forwarded to Debian14:09
tumbleweedmany of the bugs you'll see on these lists are not trivial to fix14:09
tumbleweedthere's a reason that they've been open for a long time, and nobody has fixed them14:09
tumbleweedso, if you want to find something easy to work on, it's often best to look at 10 of them, and pick the easiest one14:09
tumbleweedbut, of course, they all need to be fixed :)14:09
tumbleweed(or found to be not actually blocking bugs)14:10
tumbleweedhow do you go about fixing these issues?14:10
tumbleweedI'm afraid there are way too many types of RC bug for me to answer that14:10
tumbleweedbut we can take that on a case-by-case basis, if you point to a bug you aren't sure how to deal with, I'm sure someone can suggest the answer14:10
tumbleweedI can briefly explain the procedures14:11
tumbleweedwhen Debian is frozen, Debian package maintainers are strongly encouraged not to upload anything to unstable, that won't end up in the frozen release14:11
tumbleweedso, for most packages, the same version should be present in both unstable, and testing14:11
tumbleweed(if you don't know about debian testing, packages automatically migrate from unstable to testing after 10 days, if there are no issues that should stop the migration)14:12
tumbleweedbut during the freeze, this is disabled14:12
tumbleweedwe'll fix it in unstable, and then ask the release team to let it migrate through to testing14:12
tumbleweedthis means that the fix should be as minimal as possible, as the release team will have to review it14:12
tumbleweedit should also be minimal, if we intend to NMU (non-maintainer upload) it14:12
tumbleweedthe chat channel seems deathly silent, am I going way too fast?14:14
tumbleweedSo:14:15
tumbleweedverify that the bug exists in wheezy (testing), and that the version is the same as unstable14:15
tumbleweedit may be so trivially obvious that it doesn't need to be verifified14:15
tumbleweedor it has enough commenters / logs to be sure it's real14:15
tumbleweedif not, you can always fire up a chroot / vm (and people around here can help you set that all up)14:16
tumbleweedYou can see more information about the package at http://packages.qa.debian.org/$PACKAGENAME14:16
tumbleweed(when I say $packagename in this talk, I mean source package)14:16
tumbleweedor run rmadison -u debian $package14:16
tumbleweedpull-debian-source $package14:17
tumbleweedshould get you the current source14:17
tumbleweedthen you get to fix it (that's the easy bit, right? :)14:17
tumbleweedtest-build against sid (unstable)14:17
tumbleweedgenerate a debdiff, and attach it to the bug, tagging the bug +patch14:17
tumbleweedhas anyone here never used debian's bugtracker before?14:17
tumbleweed(it's probably very different to anything you are used to, so I can give you a crash course in it)14:18
tumbleweedit's worth noting that debbugs recently gained a new feature. You can now tag a bug +patch by making the first line of your e-mail14:20
tumbleweedTags: +patch14:20
tumbleweedand then a blank line14:20
tumbleweed(in other words, all e-mail to debbugs can now take pseudo-headers)14:21
tumbleweedno need no cc control@bugs.debian.org14:21
tumbleweedright. So. Once you've attached a patch to a bug and tagged it patch14:23
tumbleweedChances are a Debian Developer who's looking at RC bugs will notice it and sponsor it, fairly quickly.14:23
tumbleweedBut you can also ask for sponsorship. Usually, #debian-mentors on irc.debian.org is a good place.14:23
tumbleweed#ubuntu-motu / #ubuntu-devel would work too (be clear that it's a debian bug that you are looking for a sponsor for)14:23
tumbleweedand today, you can raise it in the classroom chat channel14:23
tumbleweedok, that's everything I intended to cover in classroom style14:24
tumbleweednow, I'm entirely open to questions14:24
ClassBotRcart asked: Fixed bugs are automatically removed from those lists?14:33
tumbleweedyes14:33
tumbleweedthe RC bug search like I gave you doesn't ignore bugs which arceh marked as done14:34
tumbleweed*are14:34
tumbleweed(which is the traditional way to mark a bug as fixed)14:34
tumbleweedbut instead relies on debbugs (the debian bugtracking system)'s version tracking feature14:34
tumbleweedit knows which version of a package a bug was found in, and wwhich in was fixed in14:35
tumbleweed(when people close bugs in the changelog, that is)14:35
tumbleweedyou asked about logkeys14:36
tumbleweed$ rmadison -u debian logkeys logkeys | 0.1.0-1  | squeeze | source, amd64, armel, i386, ia64, mips, mipsel, powerpc, sparc logkeys | 0.1.0-1  | wheezy  | source, amd64, armel, i386, ia64, mips, mipsel, powerpc, sparc logkeys | 0.1.0-1  | sid     | source, mips, mipsel logkeys | 0.1.1a-3 | sid     | source, amd64, armel, armhf, i386, ia64, powerpc, sparc14:36
tumbleweederk, that wasn't pretty14:36
tumbleweedhttp://packages.qa.debian.org/l/logkeys.html14:36
tumbleweedyou can see the fixed version hasn't entered testing yet14:37
tumbleweedbecause it didn't build on some architectures14:37
tumbleweedhttps://buildd.debian.org/status/logs.php?pkg=logkeys14:38
tumbleweedit successfully built on some architectures in the past, that it isn't building on now14:38
tumbleweedso those old versions are holding the new ones back14:38
ClassBotchilicuil asked: all the rc bugs must be corrected in debian?, what about unity or some projects specific to ubuntu, can they be defined as RC?, if so, how can I find them?14:43
tumbleweedchilicuil: to answer the example first: unity isn't in Debian14:43
tumbleweed(although hopefully it will be, at same point)14:44
tumbleweedUbuntu has its own definition of RC bugs14:44
tumbleweedbut Ubuntu doesn't require all RC bugs to be fixed before releasing14:44
tumbleweedwe do a time-based release, where we release on a particular day14:44
tumbleweedand do our best to fix all the show-stopper bugs before that date14:45
tumbleweedwe'd love to fix all our RC bugs, but one can't do that and regular, timely, releases14:45
tumbleweedhttps://wiki.ubuntu.com/Bugs/Importance describes Ubuntu's bug importance levels14:46
tumbleweedbut our RC bugs are usually bugs that are noticed during ISO testing. i.e. bugs that actually block releasing14:47
tumbleweedthat and bugs that are critical enough that the release team is informed of them14:47
ClassBotUndiFineD asked: looking at the number of rc-bugs, the number seems to decrease, how many are caused by kfreebsd and can i easily check that ?14:50
ClassBotThere are 10 minutes remaining in the current session.14:50
tumbleweedso, yes, Debian is releasing with kfreebsd as supported architectures, in wheezy14:52
tumbleweedhttp://release.debian.org/wheezy/arch_qualify.html14:52
tumbleweedthe number decreases, because people put attention into fixing them14:53
tumbleweed(although, it generally climbs a bit after the freeze, as people notice bugs in all the last-minute uploads)14:53
tumbleweedfreezing testing means developers aren't introducing new bugs (hopefully), and effort should mostly go into RC bug fixing14:54
tumbleweedas to bugs caused by kfreebsd. I see a bunch of usertags that may be helpful in finding them14:55
tumbleweedhttp://udd.debian.org/cgi-bin/bts-usertags.cgi?user=&tag=*kfreebsd*14:55
tumbleweedof course, not all of those will be RC14:55
ClassBotThere are 5 minutes remaining in the current session.14:55
tumbleweedand many architecture-specific RC bugs can be solved by removing the binary packages from that architecture14:56
tumbleweed(assuming they have no significant reverse dependencies)14:56
ClassBotRcart asked: can we use ubuntu's procedure to fix bugs in Debian? Like setting up an instance of Debian in pbuilder? I mean, fixing Debian bugs from Ubuntu?14:56
tumbleweedyes, you can easily set up a debian chroot in pbuilder14:57
tumbleweedpbuilder-dist create sid14:57
tumbleweedshould work14:57
tumbleweedDebian and Ubuntu are incredibly similar, under the hood14:58
ClassBotLogs for this session will be available at http://irclogs.ubuntu.com/2012/07/31/%23ubuntu-classroom.html15:00
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat ||
tumbleweedI guess that's it everyone. Thanks15:01
=== Guest41633 is now known as TheLordOfTime

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