| <bobby_123> i need helpp | |
| <bobby_123> i want to get started on this | |
| <bobby_123> sumbody help me | |
| <Fujitsu> Started on what, bobby_123? | |
| <bobby_123> on MOTU | |
| <Fujitsu> Ah. | |
| <bobby_123> let me introduce myself | |
| <bobby_123> im boby | |
| <bobby_123> doin my 3rd yr btech | |
| <bobby_123> so...any one willin to mentor me? | |
| <Fujitsu> I'm not a MOTU, but I've been doing various MOTU tasks for > 2 months, and have > 50 packages uploaded, so I can help you a bit :) | |
| <bobby_123> anyone?? pleasee | |
| <Fujitsu> What tasks were you wanting to help with? | |
| <bobby_123> wht does it take to start doin this? | |
| <Fujitsu> You just need to want to help, basically. | |
| <bobby_123> yeah..i want to do that | |
| <bobby_123> after all i got the cd's fr free....;) | |
| <bobby_123> so,, | |
| <bobby_123> ?? | |
| <bobby_123> Fujitsu, u there? | |
| <Fujitsu> The easiest thing to get started with is probably a merge... | |
| <Fujitsu> Yes, I'm here. | |
| <bobby_123> ok | |
| <bobby_123> wht package can i merge? | |
| * Fujitsu looks for a simplish merge. | |
| <bobby_123> ok | |
| <bobby_123> then | |
| <bobby_123> thr? | |
| <bobby_123> anyonehelp | |
| <bobby_123> anyone tell me wht to do basically | |
| <Fujitsu> bobby_123, there are a couple of tasks you can do. | |
| <Fujitsu> You can create entirely new packages of software that's not yet in Ubuntu, or you can help to merge new versions of packages into Ubuntu. | |
| <Fujitsu> The latter is probably simpler. | |
| <bobby_123> ok | |
| <bobby_123> ill start with the later then | |
| <bobby_123> so wht packages shud i merge? | |
| <Fujitsu> pydb looks like a good one. | |
| <Fujitsu> OK. | |
| <Fujitsu> So, go to merges.ubuntu.com | |
| <Fujitsu> And download the grab-merge.sh script. | |
| <bobby_123> ok | |
| <Fujitsu> Now, create a MOTU directory, or something like that, and put the script in there. | |
| <bobby_123> ok | |
| <bobby_123> did that | |
| <Fujitsu> Are you working in a terminal at the moment? | |
| <bobby_123> yeah | |
| <Fujitsu> Good :) | |
| <bobby_123> i think i need to make it an executable | |
| <Fujitsu> Now, make a pydb directory, and change into that. | |
| <Fujitsu> Ah yes, you do. | |
| <Fujitsu> so chmod +x grab-merge.sh | |
| <bobby_123> yeah | |
| <bobby_123> i did that | |
| <Fujitsu> Then, ensuring you're in the pydb directory, run: | |
| <Fujitsu> ../grab-merge.sh pydb | |
| <Fujitsu> That'll get all the necessary files for the merge. | |
| <bobby_123> ok | |
| <Fujitsu> Has that finished? | |
| <bobby_123> ok | |
| <bobby_123> yeah | |
| <bobby_123> thn | |
| <Fujitsu> Now, we need to work out what Ubuntu changes there are. | |
| <bobby_123> ok | |
| <Fujitsu> So, change into the directory containing the package (it'll be pydb-something) | |
| <Fujitsu> And open up the file debian/changelog | |
| <bobby_123> yeah pydb-1.17-1ubuntu1 | |
| <Fujitsu> Yep, that one. | |
| <Fujitsu> The changelog shows all the revisions of the package, with the changes that were made in each. | |
| <bobby_123> ok | |
| <bobby_123> should i read that? | |
| <Fujitsu> Open it up, yes... | |
| <Fujitsu> You'll see a lot of entries of the same format. | |
| <Fujitsu> One line with the name of the package, then the version. | |
| <bobby_123> yeah | |
| <Fujitsu> Versions with Ubuntu changes will have ubuntu in the version number. | |
| <bobby_123> yeah | |
| <bobby_123> latest is a merge from debian unstable | |
| <Fujitsu> Find the first entry in the changelog with ubuntu in the version number (other than the first one, which will be the version of your merge). | |
| <bobby_123> and it has ubuntu | |
| <Fujitsu> Yes, that's the one you'll modify if/when you create the new merged version. | |
| <bobby_123> ok | |
| <Fujitsu> You'll next find the huge change from Debian. | |
| <bobby_123> i have 1.01-1ubuntu1 | |
| <Fujitsu> -10ubuntu1, you mean? | |
| <bobby_123> ok | |
| <bobby_123> yeah 10ubuntu | |
| <Fujitsu> Note the change there. | |
| <Fujitsu> Changing to Python version 2.4 | |
| <bobby_123> yeah as default | |
| <Fujitsu> Because in Dapper, Ubuntu moved to Python 2.4, whereas the Debian version that the packages were retrieved from was defaulting to Python 2.3 | |
| <bobby_123> oh | |
| <Fujitsu> So it needed to be changed in Ubuntu. | |
| <bobby_123> ok | |
| <bobby_123> ok | |
| <Fujitsu> Now, it turns out that Debian switched to Python 2.4 in their new Python Policy. | |
| <bobby_123> hw to know that? | |
| <Fujitsu> It's just something you need to learn, the changes like this between versions... | |
| <bobby_123> ok | |
| <Fujitsu> If you look at the changelog entry for the new Debian version, you'll see references to the new python policy. | |
| <bobby_123> ok | |
| <Fujitsu> So, the Debian version has changed to Python 2.4 as well. | |
| <bobby_123> i dint find the entry whr its mentioned | |
| <bobby_123> :( | |
| <Fujitsu> 1.17-1, if you look down you'll see mentions of the new python-policy. | |
| <Fujitsu> Hm. | |
| <bobby_123> :( | |
| <Fujitsu> Actually, this isn't turning out to be as simple as I thought it would be. | |
| <bobby_123> tryin to find it | |
| <bobby_123> ok | |
| <bobby_123> lets continue | |
| <Fujitsu> OK. | |
| <bobby_123> wht next? | |
| <Fujitsu> Now we've seen that the new Debian version probably conforms to the new Python Policy, making the Ubuntu changes redundant, we need to check that the changes are indeed no longer necessary. | |
| <bobby_123> yeah | |
| <bobby_123> ok | |
| <Fujitsu> So, we look at the differences between the packages. | |
| <bobby_123> ok | |
| <Fujitsu> If you leave the pydb-1.17 directory, you'll see three .dsc files. | |
| <bobby_123> ok | |
| <bobby_123> 1.01-10.dsc | |
| <Fujitsu> Yes. | |
| <bobby_123> 1.17-1.dsc | |
| <bobby_123> 1.01-10ubuntu1.dsc | |
| <Fujitsu> That's the one from which the two new versions come from, 1.01-10. | |
| <Fujitsu> 1.01-10ubuntu1 is the version of 1.01-10 with Ubuntu changes. | |
| <Fujitsu> And 1.17-1 is the new Debian one. | |
| <bobby_123> ok | |
| <Fujitsu> We can use debdiff to see the differences between two packages. | |
| <bobby_123> ok | |
| <Fujitsu> So, run debdiff pydb_1.01-10.dsc pydb_1.01-10ubuntu1.dsc | |
| <bobby_123> ok | |
| <Fujitsu> You'll see a list of changes. | |
| <Fujitsu> Mainly to the changelog, but also modifications to two other lines. | |
| <Fujitsu> Which file are those changes in? | |
| <bobby_123> its saying debdiff not found | |
| <bobby_123> :( | |
| <Fujitsu> Ah. | |
| <Fujitsu> Install the `devscripts' package, then. | |
| <bobby_123> ok | |
| <bobby_123> done | |
| <Fujitsu> OK, so run the command above again. | |
| <Fujitsu> And examine the output. | |
| <bobby_123> ok | |
| <bobby_123> i got some thing | |
| <Fujitsu> You'll see a number of modifications to the changelog. | |
| <bobby_123> yea | |
| <Fujitsu> What other changes are there? | |
| <bobby_123> resynchronising with dapper | |
| <bobby_123> and hoary | |
| <Fujitsu> I mean, changes other than the changelog :) | |
| <bobby_123> resynchronising for* dapper | |
| <bobby_123> :( ?? | |
| <bobby_123> @@ -1,3 +1,10 @@ | |
| <bobby_123> +pydb (1.01-10ubuntu1) dapper; urgency=low | |
| <bobby_123> + | |
| <bobby_123> + * Resynchronise with Debian | |
| <bobby_123> + - Use python2.4 as default python version | |
| <bobby_123> + | |
| <bobby_123> + -- Andrew Mitchell <ajmitch@ubuntu.com> Fri, 13 Jan 2006 14:41:39 +1300 | |
| <bobby_123> + | |
| <bobby_123> pydb (1.01-10) unstable; urgency=low | |
| <bobby_123> * debian/compat: Changed compatibility level to 5, the latest. | |
| <Fujitsu> That's all modifications to the changelog. | |
| <bobby_123> @@ -26,6 +33,12 @@ | |
| <bobby_123> -- Oleksandr Moskalenko <malex@tagancha.org> Tue, 23 Aug 2005 23:00:43 -0600 | |
| <bobby_123> +pydb (1.01-8.3ubuntu1) dapper; urgency=low | |
| <bobby_123> + | |
| <bobby_123> + * Resynchronise with Debian. | |
| <bobby_123> + | |
| <bobby_123> + -- Andrew Mitchell <ajmitch@ubuntu.com> Tue, 20 Dec 2005 14:16:33 +1300 | |
| <bobby_123> + | |
| <bobby_123> pydb (1.01-8.3) unstable; urgency=low | |
| <bobby_123> * NMU (using the prepared package from Oleksandr Moskalenko). | |
| <Fujitsu> OK, please don't paste... | |
| <bobby_123> @@ -35,6 +48,14 @@ | |
| <bobby_123> -- Bastian Kleineidam <calvin@debian.org> Wed, 9 Mar 2005 17:56:58 +0100 | |
| <bobby_123> +pydb (1.01-8.2ubuntu1) hoary; urgency=low | |
| <bobby_123> + | |
| <bobby_123> + * Rebuild for python2.4 | |
| <bobby_123> + - debian/rules uses python2.4 | |
| <bobby_123> + * Standards Version 3.5.7 -> 3.6.1.1 | |
| <bobby_123> + | |
| <bobby_123> + -- Charles Majola <charles@ubuntu.com> Fri, 18 Mar 2005 11:54:58 +0200 | |
| <bobby_123> + | |
| <bobby_123> pydb (1.01-8.2) unstable; urgency=high | |
| <bobby_123> * NMU. | |
| <bobby_123> diff -Nru /tmp/8mc6pU3h5S/pydb-1.01/debian/rules /tmp/S2PCKpHOAL/pydb-1.01/debian/rules | |
| <Fujitsu> OK. | |
| <bobby_123> --- /tmp/8mc6pU3h5S/pydb-1.01/debian/rules 2006-09-10 16:45:32.000000000 +0530 | |
| <bobby_123> +++ /tmp/S2PCKpHOAL/pydb-1.01/debian/rules 2006-09-10 16:45:32.000000000 +0530 | |
| <bobby_123> @@ -22,10 +22,10 @@ | |
| <bobby_123> dh_testdir | |
| <bobby_123> dh_testroot | |
| <bobby_123> dh_clean -k | |
| <bobby_123> - dh_installdirs /usr/bin /usr/lib/python2.3/site-packages | |
| <bobby_123> + dh_installdirs /usr/bin /usr/lib/python2.4/site-packages | |
| <bobby_123> install pydb.py debian/pydb/usr/bin/pydb | |
| <bobby_123> - install -m644 pydbcmd.py pydbsupt.py debian/pydb/usr/lib/python2.3/site-packages | |
| <bobby_123> + install -m644 pydbcmd.py pydbsupt.py debian/pydb/usr/lib/python2.4/site-packages | |
| <bobby_123> touch install-stamp | |
| <bobby_123> this is what i got | |
| <bobby_123> oh sorry | |
| <bobby_123> so whch part is the modification to the changelog? | |
| <Fujitsu> Well, you'll see the lines starting with --- and +++. | |
| <Fujitsu> They indicate the start of a new file. | |
| <bobby_123> ok | |
| <Fujitsu> You'll see the filename there. | |
| <bobby_123> got it | |
| <Fujitsu> Lines starting with - are removed, lines starting with + are added. | |
| <Fujitsu> That's the universal diff format. | |
| <Fujitsu> So, other than the changes in debian/changelog, there were changes in debian/rules. | |
| <bobby_123> ok....a bit overwhelmed | |
| <bobby_123> :( | |
| <bobby_123> ok | |
| <bobby_123> then | |
| <Fujitsu> What in particular is overwhelming you? | |
| <Fujitsu> You'll see that just two lines have changed in debian/rules. | |
| <Fujitsu> Those two changes are just changing 2.3 to 2.4, the python version. | |
| <bobby_123> yeah | |
| <bobby_123> one is --- n other +++ | |
| <bobby_123> ok | |
| <bobby_123> got it | |
| <Fujitsu> --- and +++ are just at the start of lines indicating which files are being compared, - and + are used for all other lines. | |
| <Fujitsu> So... | |
| <bobby_123> ok | |
| <Fujitsu> 'cause that's the only change, have a look at that file in the pydb-1.17 directory, ie. pydb-1.17/debian/rules | |
| <bobby_123> ok, 1 min | |
| <Fujitsu> And just see what changes Debian has made. | |
| <Fujitsu> OK. | |
| <bobby_123> hmm | |
| <bobby_123> what do <<<< and >>>> indicate change in the rules here | |
| <Fujitsu> Ah. | |
| <bobby_123> what do <<<< and >>>> indicate in the rules here | |
| <Fujitsu> They are conflict markers. | |
| <bobby_123> oh | |
| <Fujitsu> They surround a conflict in the changes made by Debian and Ubuntu. | |
| <Fujitsu> You'll see that one has ubuntu, and the other has debian after it. | |
| <Fujitsu> Between them is ========= | |
| <bobby_123> yeah | |
| <bobby_123> so wht r the changes here? | |
| <Fujitsu> On top of the ==== is the ubuntu version, below is the debian one. | |
| <bobby_123> yeah | |
| <Fujitsu> This isn't turning out to be as simple as I'd hoped, but there aren't many simple ones left. | |
| <bobby_123> :( | |
| <bobby_123> please help me with this one... | |
| <Fujitsu> Yes, I shall... | |
| <bobby_123> itll really boost me | |
| <Fujitsu> Well, Debian appears to have completely rewritten this section. | |
| <bobby_123> ok | |
| <Fujitsu> It bears no resemblance at all to the ubuntu one, as you can see. | |
| <bobby_123> yeah | |
| <bobby_123> totally diff | |
| <Fujitsu> Let's see... | |
| <bobby_123> can i paste? | |
| <bobby_123> :) | |
| <Fujitsu> Not a good idea to ever past on IRC... | |
| <Fujitsu> And I can see it all here :) | |
| <bobby_123> ohh.... | |
| <bobby_123> ok | |
| <bobby_123> :) | |
| <Fujitsu> As you can see, Debian has eliminated any reference to the python version numbers. | |
| <bobby_123> yeah | |
| <bobby_123> no pythin2.4 etc., there | |
| <bobby_123> python2.4* | |
| <Fujitsu> So it'll just go with the default version, which should be fine. | |
| <bobby_123> ok | |
| <Fujitsu> Because that's the only Ubuntu change, and it's no longer necessary, we no longer need to keep any Ubuntu changes. | |
| <bobby_123> ok | |
| <bobby_123> since all that ubuntu did ws use python2.4 as default till now | |
| <Fujitsu> OK, I'm really sorry, but I've just been called away from the computer. | |
| <Fujitsu> I'll be back in 20 minutes or so. | |
| <bobby_123> we no longer need to do that | |
| <bobby_123> ok | |
| <bobby_123> no probs | |
| <bobby_123> ill wait | |
| <Fujitsu> I'm back! | |
| <bobby_123> hello | |
| <bobby_123> ok | |
| <bobby_123> lets continue | |
| <Fujitsu> Yes. | |
| <Fujitsu> Now we've deemed the Ubuntu changes to be redundant, we need to build-test the package. | |
| <bobby_123> ok | |
| <Fujitsu> You'd generally use a pbuilder of the development version (Edgy Eft, at the moment) to test (see https://wiki.ubuntu.com/PbuilderHowto). | |
| <bobby_123> how to do that? | |
| <Fujitsu> However, they take a little while to setup. | |
| <bobby_123> ok | |
| <Fujitsu> So I'll run the pbuilder test for now... | |
| <Fujitsu> But you can run: | |
| <Fujitsu> dpkg-buildpackage -rfakeroot | |
| <Fujitsu> In the pydb-1.17 directory. | |
| <bobby_123> ok | |
| <Fujitsu> That'll build it, so you can check if it works. | |
| <bobby_123> dependencies error | |
| <bobby_123> it saysunmet dependencies error | |
| <Fujitsu> Ah. | |
| <Fujitsu> Install the packages it mentions. | |
| <bobby_123> it says unmet dependencies error | |
| <bobby_123> ok | |
| <Fujitsu> Then run the command again... | |
| <bobby_123> :( | |
| <bobby_123> it says | |
| <bobby_123> dpkg-checkbuilddeps: Unmet build dependencies: python-support (>= 0.4) | |
| <bobby_123> but when i try to install | |
| <bobby_123> it says python-support is the latest | |
| <Fujitsu> Oh. | |
| <Fujitsu> Are you running Ubuntu 6.06? | |
| <Fujitsu> You probably are... | |
| <bobby_123> yeah | |
| <Fujitsu> Ok. | |
| <bobby_123> dapper drake | |
| <Fujitsu> That's why it's doing that. | |
| <Fujitsu> That's why a pbuilder is used... | |
| <bobby_123> how do i install pbuilder? | |
| <Fujitsu> I gave a link up there a bit. | |
| <Fujitsu> But for now, rest assured it builds fine in a pbuilder. | |
| <Fujitsu> (I've tested it here) | |
| <bobby_123> ok | |
| <bobby_123> ive installed pbulider | |
| <bobby_123> does it take long to check it? | |
| <Fujitsu> You need to set up a pbuilder first, which can mean a wait of 15 minutes or so, so don't bother with it yet. Follow the instructions at https://wiki.ubuntu.com/PbuilderHowto at your leisure. | |
| <bobby_123> ok | |
| <bobby_123> lets continue then | |
| <Fujitsu> Yep. | |
| <Fujitsu> (when you do get around to creating a pbuilder, ensure you follow the instructions lower down the page to create an edgy one) | |
| <Fujitsu> Because the package builds fine, we can sync it from Debian, which means all Ubuntu changes will be destroyed. | |
| <bobby_123> ok | |
| <Fujitsu> To request a sync, you need to file a bug. | |
| <bobby_123> hmm | |
| <bobby_123> ok | |
| <Fujitsu> The sync request needs to contain a number of things. | |
| <Fujitsu> See https://launchpad.net/distros/ubuntu/+source/python-gnome/+bug/59295 for one of mine. | |
| <Fujitsu> So, file a bug against the pydb package (https://launchpad.net/distros/ubuntu/+source/pydb/+filebug) | |
| <bobby_123> ok | |
| <Fujitsu> The request needs to conform to the new policy, which is noted in https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-August/000181.html. | |
| <Fujitsu> The bit after `The second is a change to the policy for requesting Debian package' is what you need to worry about. | |
| <Fujitsu> You need to include a copy of the changelog entries since the last Ubuntu version. | |
| <Fujitsu> (this will just be the 1.17-1 version's changelog) | |
| <bobby_123> hmm | |
| <bobby_123> ok | |
| <bobby_123> got it | |
| <Fujitsu> So, it'll go something like: | |
| <Fujitsu> Please sync pydb 1.17-1 from Debian Sid (main). Ubuntu changes were: | |
| <Fujitsu> * Build against python2.4. | |
| <Fujitsu> With the rest of the stuff... | |
| <bobby_123> ok | |
| <bobby_123> so the changes are listed there | |
| <bobby_123> then? | |
| <Fujitsu> You've filled out the bug report using mine as an example? | |
| <bobby_123> doin it | |
| <Fujitsu> OK. | |
| <Fujitsu> When you're finished filling it out, paste it into http://pastebin.ca/, so I can look over it before you file the bug. | |
| <bobby_123> ok | |
| <bobby_123> wht else do i need to mention in the bug report? | |
| <bobby_123> shud i mention jst the build one and leave? | |
| <Fujitsu> Build one? | |
| <bobby_123> after the build against | |
| <bobby_123> python2.4 | |
| <Fujitsu> After that, just put: | |
| <Fujitsu> Overwriting Ubuntu changes is OK, as they are now incorporated in the Debian package (and the package builds and installs fine in a clean Edgy pbuilder): | |
| <Fujitsu> Then paste the changelog entry. | |
| <bobby_123> ok | |
| <bobby_123> http://pastebin.ca/165986 | |
| <bobby123> http://pastebin.ca/165986 | |
| <bobby123> is that ok? | |
| <Fujitsu> I've made a couple of modifications. | |
| <bobby123> ok | |
| <Fujitsu> You should include the last Ubuntu change as well, but not the one mentioning the merge, as we're syncing, not merging. | |
| <Fujitsu> http://pastebin.ca/165989 | |
| <bobby123> ohh | |
| <bobby123> ok | |
| <bobby123> ok ive submitted the bug report | |
| <bobby123> https://launchpad.net/distros/ubuntu/+source/pydb/+bug/59768 | |
| <Fujitsu> Good... | |
| <Fujitsu> Now, since you're not a MOTU, you need to get a MOTU to say that the sync request is fine. | |
| <bobby123> ok | |
| <Fujitsu> To do so, use the `Subscribe someone else' link, and add ubuntu-universe-sponsors. | |
| <bobby123> ok | |
| <bobby123> did that | |
| <Fujitsu> OK, good. | |
| <Fujitsu> Somebody should acknowledge it shortly, and then it'll be synced. | |
| <Fujitsu> And that's it... | |
| <Fujitsu> A little more complex a package than I thought... Sorry. | |
| <bobby123> :) | |
| <bobby123> thnx fr this | |
| <bobby123> so i shud do this for other debian packages too | |
| <Fujitsu> You can look at the list at http://merges.ubuntu.com/universe.html | |
| <Fujitsu> And instructions for doing merges (if there are Ubuntu changes that need to be kept) are here: | |
| <Fujitsu> https://wiki.ubuntu.com/MOTU/School/Merging-and-Syncing | |
| <bobby123> ok | |
| <bobby123> shud all those packages be merged? | |
| <Fujitsu> Not necessarily. | |
| <Fujitsu> Although most of them will be. | |
| <Fujitsu> Some of them will need to be synced. | |
| <bobby123> ok | |
| <Fujitsu> There were over 1000 to start with. | |
| <bobby123> ohh | |
| <bobby123> they r less now | |
| <Fujitsu> Yup. | |
| <Fujitsu> Thanks to the work of a lot of people. | |
| <bobby123> yeah | |
| <bobby123> ok | |
| <bobby123> any advice on wht i can start on? | |
| <Fujitsu> No, unfortunately... | |
| <bobby123> :( | |
| <bobby123> ok | |
| <Fujitsu> By this time in the development cycle, most of the easy ones are gone. | |
| <bobby123> ok | |
| <bobby123> ok are the more complex packages goin to need lots of experience? | |
| <Fujitsu> Generally they do, unfortunately. | |
| <bobby123> ok | |
| <bobby123> thnx fr lettin me in on this | |
| <bobby123> ill try to read some other packages | |
| <bobby123> even if i cant help in syncing n mergin them | |
| <Fujitsu> No problem, the more people helping, the easier it is for everybody. | |
| <Fujitsu> You might want to look at https://wiki.ubuntu.com/MOTU, it's got some links about things new people can do. | |
| <Fujitsu> If you have any questions, most MOTUs will be happy to help. | |
| <bobby123> ok | |
| <bobby123> sure, i can already see that | |
| <bobby123> :) |