/srv/irclogs.ubuntu.com/2008/04/29/#ubuntu-classroom.txt

=== stiffler is now known as Stiffler
=== shadowxp2 is now known as shadowxp
deathmaskez00:49
=== golddragon24_ is now known as golddragon24
=== Deiz_ is now known as Deiz
j-noisehi01:59
j-noiseany on can pls tell me where to start contributing to ubu01:59
j-noiseI m not an expert programmer .01:59
ecubuntuhi j-noise02:02
ecubuntuyou can start from here: https://bugs.launchpad.net02:03
MattJj-noise: http://www.ubuntu.com/community/participate02:05
=== adam__ is now known as compwiz18_
[Green]hi all06:10
nickishappyhello06:12
jaredbuckno more classes until tomorrow morning. i can't wait. LOL.06:13
=== Ziroday is now known as JFerret
MotorHello all07:08
=== Motor is now known as cojack
=== cojack is now known as kojocik
libregeekI am using Malayalam(Indian language) in ubuntu-8.04 desktop and noticed that the malayalam words are rendered incorrectly.07:39
Lynourelibregeek: you could report a bug on Launchpad, or ask for help on #ubuntu08:08
=== sfinlay__ is now known as sfinlay
[chronos]QUESTION: Can i play doom3 on ubuntu?10:02
[chronos]i have windows version10:02
karmelekwine?10:02
=== Amaranth changed the topic of #ubuntu-classroom to: Ubuntu Open Week info: Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | Current Session: None
[chronos]wine?/10:03
[chronos]what about it ?10:04
emu<[chronos]> this is not a support channel, may you could ask in #ubuntu10:28
afajoin #ubuntu-classroom-chat11:05
=== __Czessi is now known as Czessi
=== Age3 is now known as Waistless
suff0beastat what timezone is the class schedule?13:16
=== pregun is now known as ububtero
ubuntu_demonsuff0beast: UTC13:17
Waistlesshttp://www.worldtimeserver.com/current_time_in_UTC.aspx13:17
Waistlesslucky me, it starts at 2.00am in australia :(13:18
ububteroPackaging 101 starts in 2h and 40 minutes, correct?13:20
suff0beastok that would be 8pm in Baghdad13:22
suff0beastcool13:22
asfiuyerjjstill 2 hr to start ??14:03
asfiuyerjjwhat is the exact time .. ?14:03
SanjayB1:50 to start now, i believe, yes .14:10
soyyohi14:55
CLEARviewFhi14:55
CLEARviewFgood morning14:55
CLEARviewFfrom peru14:55
soyyogood afternoon14:55
soyyofrom spain xDD14:56
CLEARviewFjeje14:56
CLEARviewFEres tú?14:56
CLEARviewF:D14:56
soyyosi14:56
CLEARviewFjaja14:56
hax4 o'clock in germany14:56
CLEARviewF9am in Peru14:57
steplergood evening from russia )14:57
soyyohax germany = spain14:57
CLEARviewFTusday April 29th 9am Peru14:57
SilverOwl9:57 in USA14:57
CLEARviewFeast time SilverOwl14:58
CLEARviewFDC time14:58
soyyowow many countries14:58
lunitikAnyone know what that is UTC? First session in a couple mins right?14:58
valemongood afternoon from Greece14:59
CLEARviewFUniversal Time Coordinated, lunitik14:59
raven2223@lunitik http://www.worldtimeserver.com/current_time_in_UTC.aspx14:59
lunitikCLEARviewF: I know what it is... I was asking what time it is now in UTC15:00
lunitikraven2223: thank you15:00
soyyohttp://en.wikipedia.org/wiki/Coordinated_Universal_Time15:00
=== PriceChild changed the topic of #ubuntu-classroom to: Ubuntu Open Week info: Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | Current Session: Packaging 101 - Session 1 - Daniel Holbach
=== PriceChild changed the topic of #ubuntu-classroom to: Ubuntu Open Week info: Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | Current Session: Packaging 101 - Daniel Holbach
kainyou can do date -u in your terminal15:00
CLEARviewFlunitik: 2pm at UTC i think so15:00
soyyoat this moment is 15:00 UTC15:00
PriceChild@now15:00
lunitik+m ?15:00
LardarsePriceChild: the bots aren't running15:01
PriceChildit is 15 utc now right?15:01
PriceChildLardarse: i know, forgot :)15:01
Lardarseaand no, it's only 14:0015:01
CLEARviewF:D15:01
PriceChildwhoops15:01
* PriceChild thwacks tricksy BST15:01
Lardarsethe UK is at UTC +1 right now, which might be confusing you :-)15:01
doff6.01 pm in Moscow15:01
lunitikHow technical is the first packaging session going to be?15:02
=== PriceChild changed the topic of #ubuntu-classroom to: Ubuntu Open Week info: Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | First Session at 15:00 utc is Packaging 101 - Daniel Holbach
doffI think you should have such links with time of every event http://www.timeanddate.com/worldclock/fixedtime.html?day=29&month=04&year=2008&hour=14&min=00&sec=0&p1=17915:03
lunitikkain: btw, thank you for that command, I probably should have read date()'s man page  :P15:03
kainlunitik np15:04
Symbiosdevolopers speack russian?15:14
ScottKSymbios: Try #ubuntu-ru15:16
polyakstarЁ15:18
=== ||M is now known as ||MiGu3l||
=== pak33m|work is now known as wilford
CLEARviewF15 minutes left for the class to begin?15:42
dholbachyep :)15:43
CLEARviewFnice!15:43
CLEARviewFthank you, dholbach15:43
Pat_from_TLLTSpretty good crowd so far15:43
nandbtw, "Packaging 101", why "101"?15:43
Chrysaliswhat was the command to get rid of all join, parts etc15:44
itnet7introductory packaging ?15:44
toobuntusee https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn, it's /ignore #ubuntu-classroom CRAP NOTICES SNOTES CTCPS JOINS PARTS QUITS KICKS MODES WALLOPS NICKS DCC DCCMSGS CLIENTNOTICES CLIENTCRAP CLIENTERRORS HILIGHTS15:45
=== screech is now known as josc
=== wilford is now known as pak33m|work
Chrysalistoobuntu: thank you15:46
toobuntunp15:46
=== LjL changed the topic of #ubuntu-classroom to: Ubuntu Open Week | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | See https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn to filter out channel noise | Next session: 15:00 UTC - Packaging 101 - Daniel Holbach
lunitikChrysalis: You can also just right click the tab and uncheck 'Show Join/Parts'15:51
eragonHi15:58
Scrounch_Irc's students15:58
LjL!question-#ubuntu-classroom is <reply> Please ask your questions in #ubuntu-classroom-chat (type /join #ubuntu-classroom-chat).15:58
UbotwoBut question-#ubuntu-classroom already means something else!15:58
LjL!question-#ubuntu-classroom15:58
UbotwoPlease ask your questions here in #ubuntu-classroom-chat rather than #ubuntu-classroom (prefix them with "QUESTION: " or the instructor's nickname)15:58
=== Scrounch_ is now known as Scrounch
=== LjL changed the topic of #ubuntu-classroom to: Ubuntu Open Week | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | See https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn to filter out channel noise | Current session: Packaging 101 - Daniel Holbach
dholbachWelcome everybody to the first of today's Ubuntu Open Week Sessions!16:00
josc /ignore #ubuntu-classroom CRAP NOTICES SNOTES CTCPS JOINS PARTS QUITS KICKS MODES WALLOPS NICKS DCC DCCMSGS CLIENTNOTICES CLIENTCRAP CLIENTERRORS HILIGHTS16:00
LjLPlease ask your questions in #ubuntu-classroom-chat (type /join #ubuntu-classroom-chat), and prefix them with "QUESTION:"16:00
dholbachCan we make it so that you either reply to questions for feedback or ask your own questions in #ubuntu-classroom-chat?16:00
LjLIRC commands start with / without any leading space16:01
immesysPlease can we +m this room?16:01
SanjayB/ignore #ubuntu-classroom CRAP NOTICES SNOTES CTCPS JOINS PARTS QUITS KICKS MODES WALLOPS NICKS DCC DCCMSGS CLIENTNOTICES CLIENTCRAP CLIENTERRORS HILIGHTS16:01
SanjayBoops. sorry.16:01
dholbachWe're going to go through a few tutorials together and I'll check back on how things are going every now and then - please speak up in #ubuntu-classroom-chat if that's OK :)16:01
dholbachSo how are you all doing? How were yesterday's Ubuntu Open Week sessions?16:02
dholbachOK, let's get cracking16:02
dholbachin our first tutorial we're going to package a small piece of software - for that to work out we need to install a few tools first16:03
dholbachWhich version of Ubuntu are you running?16:03
dholbachAnybody running Intrepid already? ;-)16:03
dholbachlots of Hardy users - excellent16:04
dholbachthe tutorials should work on all the mentioned Ubuntu versions - if things should go wrong though, please speak up in #ubuntu-classroom-chat16:04
dholbachPlease install the following packages:16:04
dholbach  sudo apt-get install devscripts build-essential wget fakeroot dh-make16:04
dholbachSo we're going to package ed, the gnu line editor - first we'll download the tarball from the gnu ftp page16:05
dholbach wget ftp://ftp.gnu.org/pub/gnu/ed/ed-0.9.tar.bz216:06
dholbachThe Debian and Ubuntu build-system expects us to upload .tar.gz tarballs afterwards, but as the upstream authors don't offer tar.gz, we will have to repack the tarball16:06
dholbach tar xfj ed-0.9.tar.bz216:06
dholbach tar cfz ed_0.9.orig.tar.gz ed-0.916:06
dholbachit's also important to note that we have to stick to this kind of nomenclature: ed_0.9.orig.tar.gz16:07
dholbach<upstream software name>_<upstream version>.orig.tar.gz16:07
dholbachand the 'orig' in the name is there for a reason: we don't introduce any changes, we keep the source as it is16:08
dholbach(there are a very very few exceptions to that - for example cases where we can't ship certain parts of the source code due to licensing problems, etc)16:08
dholbachdid that work out for everybody up until now?16:09
dholbachexcellent16:09
dholbachnext we're going to use a utility called dh-make which will provide us with default values and default files for the packaging which will make our lives a lot easier16:10
dholbach cd ed-0.916:10
dholbach dh_make -s -c gpl16:10
dholbachwe told dh_make that we're packaging a single binary package (-s) and that the copyright is GPL16:11
dholbachSo what does single binary package mean?16:11
dholbachAs a package maintainer and developer you only work on the source of package, this involves the tarball (our .orig.tar.gz) plus some patches to make it build the debian/ubuntu way (we'll come to that in a bit)16:13
dholbachWe upload this "source package" to the build daemon which will then generate the .deb files (binary packages) that we, our friends and our mothers will download and install16:13
dholbachfrom one source package we can generate multiple binary packages (at least one though)16:14
dholbachthis is a simple example :)16:14
dholbachmono is a good example for how you can split up one source package into multiple binary packages:16:14
dholbach apt-cache showsrc mono | grep Binary16:14
dholbachthis lists some ~80 binary packages which are all built from one source package16:15
dholbachLjL: do we have questions already? :)16:15
LjLdholbach, i think the couple we had were answered already in the chat channel16:15
LjL[17:15:51] <czambran> QUESTIONS : Why would you break once source package into multiple binary packages?16:16
dholbachczambran: a very good question16:16
dholbachthere are multiple reasons16:16
dholbachthe most obvious one is: because some user groups have a different interest than others16:16
dholbachtake a library package for example16:16
dholbachmy mother will be only interested in the library runtime16:17
dholbachI might be interested in developing with the library, so I might need all the header files in /usr/include16:17
dholbachthe same goes for huge directories of documentation, etc16:17
dholbachit saves space on the disk (and CDs!), bandwidth, etc16:17
dholbachanother question I saw was this one:16:17
dholbach<RoAkSoAx> QUESTION: How to change e-mail showed after executing  dh_make -s -c gpl16:18
dholbachRoAkSoAx: thanks a lot for prodding me about it - it's something I forgot and should have said earlier16:18
dholbachdh_make (and other packaging tools) can use an environment variable we should probably set before to make things easier16:18
dholbachplease edit your   ~/.bashrc   file (or .zshrc if you use zsh) and add something along the lines of:16:19
dholbach export DEBFULLNAME='Daniel Holbach'16:19
dholbach export DEBEMAIL='daniel.holbach@ubuntu.com'16:19
dholbachthen save it and please run16:19
dholbach source .bashrc        (or restart your terminal)16:20
LjL[17:17:39] <Syntux> QUESTION: What if the source included the application dependent libraries; do we have to include them in the package ?16:20
dholbachSyntux: good question - in that case it's definitely worth to tallk to the upstream developers and ask them to ship just their own source in their tarballs16:21
dholbachunfortunately some (but not too many) upstream authors think that it would make their users live easier if they shipped all kinds of source code in their tarballs16:21
dholbachthe ubuntu archive admins can get a bit shirty with you because of that for a simple reason: duplicated code16:22
dholbachwe really like to have all code just in one place, so if there's a critical fix (like a security problem) we only need to fix it in one place16:22
LjLperhaps it's also worth pointing this one out although it was answered, as there could be some confusion due to most packages having source that needs to be compiled: <phil_> QUESTION:  What about programs that don't need compiling, like written python?16:22
dholbachdid everybody update their  ~/.bashrc ?16:22
dholbachphil_: we use one build process for all kinds of packages, so no matter if it's C, Mono, Java, Python, Perl or just a bunch of .png files you want to ship to your users: all use the same build process and all install the files that are shipped to the user during that build process16:24
dholbachafter the  ~/.bashrc  change, please run:16:24
dholbach rm -r debian; dh_make -s -c gpl16:24
dholbach<memnon> QUESTION: AFAIK, Debian and Ubuntu are not fully compatible anymore. Can I make sure a built package works on both?16:25
dholbachmemnon: you can have a debian chroot where you can test the build, if it works in debian (https://wiki.ubuntu.com/DebootstrapChroot) or use pbuilder (https://wiki.ubuntu.com/PbuilderHowto)16:25
dholbachalright.... let's crack on16:26
dholbachwe just generated the defaults again, after we set DEBFULLNAME and DEBEMAIL - things should look a bit better now :)16:26
dholbachlet's see what dh_make generated for us:16:26
dholbach cd debian/16:26
dholbach ls16:27
dholbachyou can see a lot of files, lots of them have a very special purpose only and it's just too much to cover in this session16:27
dholbachhttp://wiki.ubuntu.com/PackagingGuide has a lot of useful information and lots of links to docs you will need to make use of the advanced features16:27
dholbachour package is going to be very simple and very straightforward, that's why we're going to remove a lot of example files now16:28
dholbach rm *.ex *.EX dirs docs README.Debian16:28
dholbachchangelog  compat  control  copyright  info  rules          should be it now16:28
dholbachlet's edit the changelog first16:29
dholbachevery change in Ubuntu and Debian has to be properly documented16:29
dholbachif you want to figure out why something broke or behaves differently you usually check the changelog first16:29
dholbachand because people are going to use your package and you collaborate with a lot of people on it you do them a favor and let them know very explicitly what you do :)16:30
dholbachthe first changelog entry is not very exciting though: something like "Initial release" should be enough16:30
dholbachit might also be worth pointing out that we re-packed the tarball (without changes)16:30
dholbach<Zelut> QUESTION: Does this chagelog just contain package-related changes or source code related changes?16:31
dholbachZelut: good question16:31
dholbachZelut: some maintainers like to point out major changes that a new upstream version introduced, but there's no strict must16:31
dholbachif you'Re on hardy, check out:16:32
dholbach zless /usr/share/doc/gedit/changelog.Debian.gz16:32
dholbachyou can see that seb128 explained what the new upstream version gained us16:32
dholbachbut let's crack on - let's make the changelog ubuntu compliant :)16:32
dholbachour changelog.... :)16:32
dholbachfirst we'll change the version number to 0.9-0ubuntu116:33
dholbachthe version number has the following format:16:33
dholbach - packages that have no ubuntu changes:    <upstream version>-<debian revision>16:33
dholbach - packages that HAVE   ubuntu changes:    <upstream version>-<debian revision>ubuntu<ubuntu revision>16:34
dholbachas our own package never was in debian, <debian revision> will be "0" in our case16:34
dholbachhence 0.9-0ubuntu116:34
dholbachwe'll also change 'unstable' (the debian default) to 'intrepid'16:35
dholbachwhy?16:35
dholbachbecause intrepid is the current development release and we can only upload to the current development release16:35
dholbach(hardy-updates, hardy-security, hardy-backports, etc are exceptions)16:35
dholbachwe'll not change the urgency as it has no effect in the ubuntu build system16:35
dholbachthe "changelog part" of the entry should be something like16:36
dholbach  * Initial release.16:36
dholbach  * Re-packed from .tar.bz2 (no changes).16:36
dholbachcan you post your changelog entry to http://paste.ubuntu.com/ and post the link in #ubuntu-classroom-chat if you made it?16:37
dholbachmfm: good work16:38
dholbachlmontrie: that looks good16:38
dholbach<Syntux> QUESTION: Do we have to stick to certain text format in changelog? tabs/spaces ?16:39
dholbachSyntux: if you use an editor like 'vi' it will let you know about syntax problems in debian/changelog - also the packaging tools we're going to use to build the packages will complain16:39
dholbach<RoAkSoAx> QUESTION: when packaging or merging for the current development release... in this case, should be do it using Intrepid or we can do it on hardy. How, using a pbuilder16:39
dholbachRoAkSoAx: https://wiki.ubuntu.com/UbuntuDevelopment/UsingDevelopmentReleases is the answer16:40
dholbachthere are lots of ways in which you can use the development release - it's important that you're able to16:40
dholbach - test build your package16:40
dholbach - test your package16:40
dholbachin the release that you're going to upload to16:40
LjL<immesys> QUESTION: Should we package restricted content such as graphics drivers too? Or should we stick to Debian packages?16:41
dholbachSyntux: yours looks good too, although I'd personally add a newline below the last bullet point (but yours is OK)16:41
dholbachimmesys: there are restrictions on what we're allowed to ship in Ubuntu - it has to be redistributable - there's a wiki page which explains that but I don't have the URL handy right now - can somebody give it to immesys?16:42
dholbachso we have the changelog sorted out, let's crack on16:42
dholbachwe'll skip the files compat (defines debhelper compatibility level - check out debhelper(7) for more info) and info (info page for the ed package) as they should be OK as they are16:44
LjLdholbach: it might be http://www.ubuntu.com/community/ubuntustory/licensing that you wanted to point immesys to16:44
dholbachLjL: thanks - that looks like a good start16:44
dholbacha lot of important information is available from http://wiki.ubuntu.com/UbuntuDevelopment too (how the archive works, ubuntu policies, etc)16:45
dholbachlet's edit the  control  file now16:45
dholbachit carries the important information about binary and source packages I talked about earlier16:45
dholbachit consists of a source stanza (always the first in the file) and one or multiple binary stanzas16:46
dholbachwe'll only make minimal changes to it right now16:46
dholbach Section: editors              should be fine16:47
dholbachone important field in the source section is "Build-Depends"16:47
LjL<Zelut> QUESTION: Is there a list of possible 'section's that can be referred to?16:48
dholbachit means: installing these packages into a minimal system will suffice to make it built16:48
dholbachZelut: http://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections16:48
dholbachwhat happens if we upload our source package to a build machine is: use a fresh minimal environment, then install the build-depends16:50
dholbachin our case we'll stick to the defaults as ed doesn't need a lot of build-dependencies (just libc6-dev, which is always installed by means of 'build-essential')16:51
dholbachif you package a C or C++ piece of software it's usually worth reading configure.ac or configure.in to find out what the build-dependencies are16:51
dholbachalso the README file is a good source for that16:51
dholbachthe pbuilder tool I referred to earlier does the same as the build machines in the data centre: it uses a fresh minimal environment, then installs the build-depends, then build your package16:52
dholbachhttp://wiki.ubuntu.com/PbuilderHowto if you want to try it out16:52
dholbach<mfm> QUESTION: So do I have to add libc6-dev to my Build-Depends?16:52
dholbachmfm: no, build-essential is always installed and get libc6-dev for you16:53
dholbachother than that the source stanza is looking quite good now16:53
dholbachthe second stanza is about the binary package we install16:54
dholbachof couse we want a nice description, so adept and synaptic users know what "ed" is all about16:54
dholbachso let's get the description from the README file:16:54
dholbachDescription: standard Unix line editor16:55
dholbach GNU ed is an 8-bit clean, more or less POSIX-compliant implementation16:55
dholbach of the standard Unix line editor. These days, full-screen editors have16:55
dholbach rendered `ed' mostly of historical interest. Nonetheless, it appeals16:55
dholbach to a handful of aging programmers who still believe that "Small is16:55
dholbach Beautiful".16:55
dholbachis what I put in there16:55
Mez<lmontrie> QUESTION: What does the 'Standards-Version' field means ?16:55
dholbachthe first line is the "short description", the subsequent lines (all indented by one space) are the long description16:56
dholbachlmontrie: good question - I omitted that16:56
dholbachStandards-Version refers to the version of the debian policy your package complies with16:56
dholbachif you type:16:56
dholbach apt-cache show debian-policy | grep ^Version16:56
dholbachif will show which version of the debian policy is available on your system16:56
dholbachit's an important document that will in most of the cases have the answer to your question :)16:57
dholbach    Architecture: any     is important too16:57
dholbachit means that our package will be built on any of the architectures in the data centre16:57
dholbachwhich means: i386, amd64, powerpc, sparc, hppa, lpia, ia64, etc16:58
dholbachwe compile C code in this package which is going to be architecture specific16:58
dholbachif you just happen to ship some perl scripts, you can change the field to16:58
dholbach    Architecture: all16:58
dholbach   Depends: ${shlibs:Depends}, ${misc:Depends}16:59
dholbachis the most daunting looking line - what is it about?16:59
dholbach${shlibs:Depends} is a variable that will be substituted after the build16:59
dholbachit will contain all the library packages that contain libraries that the binaries in the ed package are linked to17:00
dholbachdoes that make sense? :)17:00
MezMixed opinion it seems dholbach.. An example maybe?17:01
dholbachOK, I just installed the existing ed package of the archive, if I run ldd on the /bin/ed binary, it gives me:17:02
dholbachdaniel@lovegood:~/1$ ldd /bin/ed17:02
dholbachlinux-gate.so.1 =>  (0xb7f9e000)17:02
dholbachlibc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e3e000)17:02
dholbach/lib/ld-linux.so.2 (0xb7f9f000)17:02
dholbachdaniel@lovegood:~/1$17:02
dholbachwhat it spits out is the libraries /bin/ed is linked against17:03
dholbachthe build process will translate library file names into library packages and note them in the Depends: field afterwards17:03
dholbachnever specify explicit library dependencies by hand17:04
dholbachthis process is really elegant17:04
dholbach${misc:Depends} is another substitution variable which is used in special cases like gnome (it will for example contain gconf if one of the packaging tools identifies gconf schemas are installed, etc)(17:05
dholbach${misc:Depends} is empty most of the time17:05
dholbachdebian/control should be all set now17:05
dholbachcan you post your debian/control file to http://pastebin.com/ (or any other pastebin site that works) and post the link  in  #ubuntu-classroom-questions ?17:06
dholbachMattJ: looks good, PartyBoi2: could do with a bit of editing in the description - other than that good17:08
Mezdholbach, I think you mean #ubuntu-classroom-chat ?17:08
dholbachZelut: good17:08
dholbachMez: yes, sorry17:08
dholbachlmontrie: great17:08
dholbachkef_kf: looking good17:09
dholbachSyntux: one newline too much in the description - you'd at least need a " ." to split the text up a bit17:09
dholbachmfm: good17:10
dholbachczambran: make it one space instead of a tab - other than that good17:10
dholbachwow.... good work everybody :)17:10
dholbachthe next file we're going to look at is really really important17:11
dholbachcopyright17:11
dholbachit contains information about the authors, the copyright holder and license of each file that you're shipping17:11
dholbachthe archive admins will make sure that debian/copyright is in tip-top state and that you've not left anything out and that all source is perfectly redistributable17:12
dholbachthe more careful you are in making sure that it's alright, the happier they'll be with you - and you want them happy :)17:12
dholbachcan you open another terminal, cd into the ed-0.9 directory and run:17:13
dholbach  find . -name '*.c' | xargs head | less17:13
dholbachthis will display you the top lines of each .c file in the source17:14
dholbachplease note that that's not enough to ensure that everything you ship is alright, but just illustrates what you look at and what you look for17:14
dholbachfor now we'll just refer to:17:15
dholbach    Copyright (C) 1993, 1994 Andrew Moore, Talke Studio17:15
dholbach    Copyright (C) 2006, 2007, 2008 Antonio Diaz Diaz.17:15
dholbachas the copyright holders17:15
dholbachalso please see the AUTHORS file17:15
dholbachwe'll copy the authors from there into the   Upstream authors:   section in debian/copyright17:15
dholbachalso you need to point out where you obtained the tarball from - pointing to    ftp://ftp.gnu.org/pub/gnu/ed/     should be good enough17:16
dholbachhttps://wiki.ubuntu.com/PackagingGuide/Howtos/DebianCopyright explains a bit more about it17:17
dholbachnext let's take a quick look at debian/rules17:18
dholbachit's a Makefile which contains standard targets the debian/ubuntu build process expects17:19
dholbachit usually contains: build, binary, binary-arch, binary-indep, clean - if it confuses you right now, that's OK17:21
dholbachwe'll leave debian/rules as it is for our example and I usually recommend to work on existing packages and modify existing bits to get a better feeling for the build process and which bits are called when17:22
dholbachwhat we'll do now is generate the source package from the changes we just did17:22
dholbachplease run17:22
dholbach  debuild -S17:22
dholbachand see:17:23
dholbach ls ../..17:23
dholbachyou should have a .diff.gz and a .dsc file in addition to the .orig.tar.gz we created initially17:23
dholbach<mfm> QUESTION: run dbuild from debian or ed-0.9?17:24
dholbachmfm: both should work17:24
dholbach.orig.tar.gz is the unmodified tarball17:25
dholbach.diff.gz is the compressed changes we had to make to make it build the ubuntu/debian way :)17:25
dholbachsome of you got a GPG warning17:26
dholbachthat does not indicate a failed build, but that you might need to set up GPG properly17:26
dholbachI didn't make this part of this tutorial to safe us a bit of time: https://help.ubuntu.com/community/GnuPrivacyGuardHowto is a very good guide to get you up and running17:26
dholbachthe .dsc file is a description file that contains md5sums of .orig.tar.gz, the .diff.gz and the like - together they are what we call a source package17:27
dholbachok... now that we have our source package all set - let's get us a binary package17:28
dholbachcd back into the ed-0.9 tree17:28
dholbachand run       debuild -us -uc            (this will run the build and omit the final step of signing the package)17:28
dholbach<Zelut> QUESTION: Is there a way to export GPG settings in a similar way we exported EMAIL and NAME?17:28
dholbachZelut: the packaging tools will make use of the gpg key that has the key id that matches your DEBEMAIL17:29
dholbachat the end of our build lintian might emit a few warnings and errors: this is kind of things you will need to work out if you work on a real package and not a silly example as we do over here :)17:29
dholbachfor now we can ignore them17:30
dholbacha    ls ../*.deb    should mention a package we just build17:30
dholbach less ../ed_0.9-0ubuntu1_*.deb    should give you information about the package we just built17:30
dholbach - contents17:30
dholbach - package description17:31
dholbach - version17:31
dholbachand note:17:31
dholbach Depends: libc6 (>= 2.4)17:31
dholbachdid that work out for everybody?17:31
dholbachexcellent - a whole lot of succesfully built packages - congratulations everybody  :)17:33
dholbachdo we have some questions? :)17:33
dholbach<mfm> QUESTION: It shows "libc6 (>= 2.6-1)" for me - depends on the Release which it has been buid?17:33
dholbachmfm: yes, that depends on which release you built the package17:34
dholbach<Syntux> Okie, we got the package, whats the root pass to upload it :p17:34
dholbachSyntux: you need to have signed it with a gpg key that is registered on Launchpad for a user that is in the ~ubuntu-dev team17:34
dholbachthe rest is here:   https://wiki.ubuntu.com/UbuntuDevelopment/PackageArchive#Uploading17:35
dholbachthat's why following   https://help.ubuntu.com/community/GnuPrivacyGuardHowto   and reading it thoroughly is important :)17:35
dholbachother than that I recommend #ubuntu-motu on irc.freenode.net as a means of getting in touch with developers and asking questions regarding packages17:36
dholbachand ubuntu-motu-mentors@lists.ubuntu.com17:36
dholbachhttp://wiki.ubuntu.com/MOTU/GettingStarted is a good guide and links to all the important information17:37
dholbach<Zelut> QUESTION: If we've built a package that we want reviewed do we just annoy -motu or are there mentors we can ask?17:37
dholbachZelut: https://wiki.ubuntu.com/MOTU/Packages/REVU explains how you can upload a package for review17:37
dholbachif you have specific questions you can always ask in #ubuntu-motu17:38
dholbachany more questions?17:38
dholbachwho enjoyed their first ride through packaging? who wants more of it? :)17:39
dholbachhttps://wiki.ubuntu.com/PackagingGuide/HandsOn has some more tutorials you can go through on your own later17:40
dholbach<maco> QUESTION: this is PPA-related.  ive tried to upload the same .orig.gz before but with a different .diff.gz and a lower version number to upload for a different version (wanted to compile for gutsy and hardy), but it said the orig didn't match. What'd i do wrong there?17:40
dholbachfor everybody who's not familiar with PPAs: please see http://help.launchpad.net/PPAQuickStart17:40
dholbachit's basically a build service for testing and sharing packages17:40
dholbachmaco: a lower version number does not work out if it accepted a higher version number before - but that should have been explicit in the rejection mail17:41
dholbachbest to ask in #launchpad or ask in the session later on at 19:00 UTC17:42
dholbach<Syntux> QUESTION: When a MOTU wannabe should apply to become part of the official team? do s/he have to be seriously fluent in packaging or there are another way of defining the expertise level.17:42
dholbachexcellent question17:42
dholbachhttp://wiki.ubuntu.com/UbuntuDevelopers explains more about the actual process of applying17:42
dholbachso how does one become a MOTU?17:42
dholbachbasically it boils down to: contribute, get good quality packages and patches uploaded by people who are in the ubuntu-dev team already (http://wiki.ubuntu.com/SponsorshipProcess)17:43
dholbachuntil they tell you: "hey you're doing great - why don't you apply for MOTU?"17:43
dholbachthen you apply with a brief explanation of what you've done, what you want to do and your sponsors' feedback at the MOTU Council17:44
dholbachI generally recommend to work on existing packages and fix a few 'bitesize' bugs before starting to package random software17:44
dholbachit's better to start off small and get a feeling for the build process, for how packages work and so on17:44
dholbachhttps://wiki.ubuntu.com/MOTU/TODO should list a lot of tasks you can get cracking on17:45
dholbach<Zelut> QUESTION: Do you have an example copyright for ed you can show us?  We kinda breezed through that one quickly.17:45
dholbachZelut: no, but I'll post one later17:45
dholbach<Syntux> QUESTION: What's the best way to find unpackaged applications that people need especially with the large repository of debian and Ubuntu it's really hard to find the kick start package.17:45
dholbachSyntux: as I said above: I *REALLY* recommend working on existing packages - in Ubuntu we maintain all the packages as a team17:46
dholbachof couse some people have more expertise with certain packages than others, but there's no "big maintainer lock" which prevents others from working on the same package or as a maintenance team17:46
dholbachso I'd rather start off with picking a bug, and getting a small piece of the puzzle to work again17:47
dholbachyou can even do it as your http://wiki.ubuntu.com/5-A-Day :)17:47
dholbachbut if you really want to package a piece of software that somebody else has good use for, try: https://bugs.launchpad.net/ubuntu/+bugs?field.tag=needs-packaging17:48
dholbachfor that it's important to point out a few things:17:48
dholbach - putting your name in the maintainer field means: you're going to take good care of it (read bug reports, talk to the upstream developers, take care of making it work as good as you can etc)17:49
dholbach - that works best if you take care of a piece of software that you yourself have a good use for17:49
dholbach>RoAkSoAx> QUESTION: regarding to copyright question of Zelut , would it be like this?: http://pastebin.com/m6a7116d417:49
dholbachthe upper part looks quite OK already17:50
dholbachwhat's missing is the GPL3 text17:50
dholbachif you check out the top lines of the .c files you will notice that it mentions GPL3, not GPL217:50
dholbachthis makes a big difference and will be something the archive admins will complain about17:51
dholbachalso we would have to make sure that17:51
dholbach#17:51
dholbach    Copyright (C) 1993, 1994 Andrew Moore, Talke Studio17:51
dholbach#17:51
dholbach    Copyright (C) 2006, 2007, 2008 Antonio Diaz Diaz.17:51
dholbachare the only copyright holders17:51
dholbachit'd require some more love17:51
dholbach<Zelut> QUESTION: If we write a peice of software that we want to submit for inclusion is it still the same REVU process?17:51
dholbachZelut: yes, you will submit your new package to REVU, will let it get 2 ACKs, then it can be uploaded to the archive17:52
dholbachhttps://wiki.ubuntu.com/UbuntuDevelopment/NewPackages has more to say about that17:52
dholbachyou'll get extra points for having a "good contact to the upstream author" though :)17:53
dholbachmore questions?17:53
dholbach<Syntux> So it seems a MOTU works as a middle man between the upstream developers and Ubuntu repository, the scenario should be something like, picking a package (new or existing), follow up on bugs, patches, releases and put the result in a package17:53
dholbachSyntux: exactly17:53
dholbachand that's what makes it fun - you deal with a lot of people: your users, the debian maintainers, maintainers of other distributions, upstream developers etc17:54
dholbachand by making things work you'll make a lot of people very happy :)17:54
dholbachSo who of you can we expect in #ubuntu-motu for making intrepid ROCK?17:55
dholbachexcelltn :)17:56
dholbach<maco> QUESTION: how does making a debdiff differ from making a normal source deb?17:56
dholbachmaco: if you post a source package for REVU you upload the full .orig.tar.gz .diff.gz and .dsc files somewhere17:56
dholbachin the case of a debdiff it's just a diff file with the changes you did in a fix upload for example17:57
dholbachCheck out https://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff for an example17:57
dholbachanother important part of developing Ubuntu:17:57
dholbachHugging!17:57
* dholbach hugs y'all :)17:58
dholbachYou all ROCK and I hope you had big fun in the session - because I did17:58
dholbachThe next session is "Ubuntu Mobile Edition - An introduction and Q+A - Adilson Oliveira"17:58
dholbachplease do send me a mail on how your doing regarding packaging and doing development17:59
dholbachyou all rock!17:59
dholbachLjL, Mez: can you give agoliveira the power to speak? :)18:00
* agoliveira waves all18:00
dholbachgracias18:00
agoliveiraThanks. Hello all, thanks for attending and for having me.18:00
=== Mez changed the topic of #ubuntu-classroom to: Ubuntu Open Week | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | See https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn to filter out channel noise | Current session: "Ubuntu Mobile Edition - An introduction and Q+A - Adilson Oliveira
agoliveiraMy name is Adilson Oliveira and I'm part of the core team developing UME.18:01
agoliveiraMy objective here is to explain a bit about the project and try to clear the doubts you may have.18:01
agoliveiraI ask you to be forgiven as English is not my first language, it's my first time in this spot and I must say I'm kind of nervous right now :)18:01
agoliveiraOk, let's start with: what is UME?18:01
agoliveira- The Ubuntu Mobile and Embedded project aims to derive an operating system for mobile internet devices using Ubuntu as a base and the Moblin project from Intel as upstream to parts of the project, mostly hardware support.18:02
agoliveira- It's sponsored by Canonical and Intel.18:02
agoliveira- It's extending Ubuntu by providing infrastructure for mobile development.18:03
agoliveiraAll of the necessary components are being integrated into the Ubuntu package archive, ready to install and run, or to tailor for custom mobile applications.18:03
agoliveira- The project is focused on x86 processors, using architectures created by Intel's LPIA platform. http://www.intel.com/technology/systems/lpia/. In the future, different processors may be supported. ARM is one we have in mind.18:03
agoliveiraand what isn't? (for those who never cared to look at the FAQ) :)18:03
agoliveira- A ready to run, consumer-type platform. UME is more a technology base than a product on itself. It's aimed to help developers and manufacturers to create a product.18:04
agoliveira- It is not for cellphones or PDAs. UME is created with MID and UMPC platforms. These are about communications (audio, video, IM), rich web experience, full-blown applications. They have more like a very small PC with touchscreen.18:05
agoliveiraSo far so good?18:05
agoliveiraGreat18:05
agoliveiraAre we there yet?18:06
agoliveira- We are in the process to deliver the first release in the next few weeks. This is the engineering point of view and there's a lot other considerations so watch for the release announcement! :)18:06
agoliveiraOk, now that we have the basic bits, let's start the fun part: How can I try/test it?18:07
agoliveiraFirst, bare in mind that there's very little hardware available that can run UME right now.18:07
agoliveiraThe only piece of commercial hardware easily found that you can run UME out of the box is the Samsung Q1 Ultra but as this is a matter of hardware support,18:07
agoliveirait's not hard to add other platforms.18:07
agoliveiraIf you have any questions, dont' for get to ask then in #ubuntu-classroom-chat making as QUESTIONS:18:08
agoliveiraMeanwhile I'll keep bombarding you :)18:09
agoliveiraTalking about testing:18:09
agoliveiraThere's basically 2 ways to test it: using a supported hardware (which is kind of hard to find as I said) and simulating it.18:09
agoliveiraUsing the hardware is a no-brainer, just create the image (we're going to talk about this in a minute) and transfer for it.18:10
agoliveiraTo simulate, you can use Xephyr on your desktop. Very pratical but... there's aways a "but":18:10
agoliveiraThe advantage of simulation is that you can run tests more quickly and can easily test things like different resolutions but you loose hardware support like touchscreen and some things like DPI can change a lot from one device to another so text appearance, for instance, may not be accurate.18:10
agoliveirabugslayr: QUESTION: is it theoretically possible to build UME for a low end intel PC?18:11
agoliveirabugslayr: Yes, it is. I'll talk about this a bit later18:11
agoliveiragnomonic: QUESTION: Other platforms? Such as the Nokia N810?18:11
agoliveiragnomonic: As I said, the project aims x86/UMPCs only for now. Things like ARM support is possible but Nokia devices carry some aditional problems:18:12
agoliveiraParts of the hardtawre are proprietary so no open support for them.18:12
agoliveira F30: QUESTION: Why not building a ready-t-run platform such as Ubuntu Desktop or Server edition? Do you think that companies like a technology base more? As Microsoft currently doesn't have a MID OS in my opinion it could be a great chance for Ubutu if users see that "Ubuntu" works fine on their MID they may also give it a chance for their PC too - but that could only work with ONE UME version.18:13
agoliveiraF30: This project is about buildoing a platform, not a ready to run system. As for the reason to do it, I'll have to ask someone upper the food chain, I'm just a humble enginner ;)18:14
agoliveiraFlyser__: QUESTION: So UME will not run (well) on full blown notebooks?18:14
agoliveiraFlyser__: It can but it's aim is for devices with touchscreen, not very common on notebooks.18:15
agoliveiraOk, going on...18:15
agoliveiraHow to install UME?18:15
agoliveiraThere's basically 2 ways:18:15
agoliveiraYou can download a ready to run image from here http://cdimage.ubuntu.com/moblin/hardy/ or you can build your own image.18:16
agoliveiraAgain: the hardware support for now, specially in those images, is very restricted. I only recommend to try on a Samsung Q1 using the images found in the links with "samsung" on it.18:16
agoliveiraThe others are designed to run on development boards but, again, it's more a matter of kernel changes so it's quite hackable.18:16
agoliveiraThe preferend method it to use the image creator (more about in a minute) to generate your own image and test it on your desktop or put it into a device. I recommend this method as it's easier to test and hack to adapt to a different platform.18:17
agoliveiraAny questions up to this point?18:17
agoliveiraWell, or I'm doing very well or I'm boring as hell :)18:18
agoliveiraQUESTION : Could directly take an image from the given link and test it using Xephyr ?18:18
agoliveiraRaseel: No. The image is designed to run directly from the device. In theory one could hack it to do it but it's not pratical.18:19
agoliveiraleftyfb: QUESTION: What other devices are next on the list for compatibility going forward? I'm personally concerned about the EEEpc18:19
agoliveiraleftyfb: There's nothing defined yet but we are sure aware of this kind of device (I have one myself) and as it's easy to hack UME to work on it, I guess you can expect news on this field, from us or from the communit18:20
agoliveiraOk, so let's talk a bit about how to build an image. The only problem in doing this right now is that due the time it takes, specially the first time, we won't be able to do it in real time but feel free to contact the gang later.18:22
agoliveiraThere's this tool used to create the images, the moblin-image-creator. Install it the usual way, sudo apt-get install moblin-image-creator18:23
agoliveiraRun it: sudo image-creator (yes, it has to run sudoed)18:23
agoliveiraYou will see a simple interface with 3 basic parts: the platform projects, targets and target images.18:24
agoliveiraThere's some (old) visual here: https://wiki.ubuntu.com/MobileAndEmbedded/CreatingAnImageForUMEDevice18:24
agoliveira bugslayr: QUESTION: does "apt-get install moblin-image-creator" install all required packages or is there something else I have to take care of?18:25
agoliveirabugslayr: the iamge creator will download and install all the necessary packages into a chroot.18:25
agoliveiraimage18:26
agoliveiraFirst, let's create a platform project. Click on Add and you will see a dialog asking for some data, all self-explanatory but the platform selection.18:26
agoliveiraThe platform indicates to what hardware the image will be created (currently mccaslin and menlow only) and from where the packages will be retrieved.18:26
agoliveiraLet me explain that the project is the base from your targets will be created (more on this in a minute)18:27
agoliveiraMccaslin is the platform of the Samsung Q1 and others around and menlow is the current platform provided by intel for the new generation devices.18:27
agoliveiraI'm not aware of any commercial solution using it right now. Let's select as if it would be created for a Q1 so, let's use mccaslin-lpia-ubuntu-hardy-ppa which will assure you get the latest packages.18:27
agoliveiraBe aware that the project is running very fast so things tend to break at this moment so don't be alarmed or frunstrated if your image don't work pronto :)18:28
agoliveiraAfter you select you platform, press add target and your base system will be created. It can take a long time.18:29
agoliveiraI mean, even hours deppending on your link.18:29
* agoliveira simulates having a coffee...18:29
agoliveiraAfter it's done, you will now create a target which is what's actually going into the device.18:29
agoliveiraAgain, more waiting...18:30
agoliveiraAt first, just the bare minimal will be installed and now you can add a bunch of packages called fsets.18:30
agoliveiraClick in Add Funcional Sets and you will see a list of groups you can add to your basic image.18:30
agoliveiraThose fsets are basically a group of packages and dependencies to give you something functional in the end.18:31
agoliveiraTry samsung-full-mobile-stack-with-proprietary for a very complete one. Note that by selecting it several other ones are selected automatically.18:31
agoliveiraAfter that, wait until the packages are downloaded and installed.18:31
agoliveiraBTW, if you're planing working on this in a regular basis, I strongly recommend to add a squid cache in your network.18:31
agoliveiraEven without it, after the initial setup things tend to go faster.18:32
agoliveiraAfter that you can create a several different kinds of images that can be transfered to a USB stick and installed on your device or you can test it live using Xephyr.18:32
agoliveiraFor testing on the device I recomend the install USB one which will prepare the image to automatically install in your device.18:33
agoliveiraBIG FAT WARNING: this will wipeout your device storage!18:33
agoliveiraRaseel: QUESTION: How much time would it take , approx, for the base system to be created ?18:33
agoliveiraRaseel: As I said, deppends on how fast you can downlaod stuff. For the first time it can take hours.18:34
agoliveiraDon't tell that I didn't warn you all :)18:34
Amaranthjcastro: I did it for you this time. :)18:55
jcastroOk, Nicolas is next with Merging Packages 10118:57
jcastroagoliveira had connection problems, so please drop by #ubuntu-mobile if you want to continue the discussion there18:57
jcastronxvl: your turn!19:00
nxvl\o/19:00
nxvlwooohooo19:01
nxvlit's merging time!!19:01
nxvlHi!19:01
nxvlWe are going to learn how to merge packages19:01
nxvlBut, first of all we need to understand what this merging thing is.19:01
nxvlOn the first stage of our development circle we import packages from debian unstable (sid)19:01
nxvland then we start working on them19:01
nxvlfixing bugs and adding features19:02
nxvlbut if we import all the packages from debian, the work done before will be missing?19:02
nxvlWell, that's not entirely true.19:02
nxvlWe have 2 ways to import packages from debian: sync and merge19:02
nxvlTo sync a package is to import it from debian as it is, without furter changes.19:02
nxvlOn the other hand we have merging.19:02
nxvlTo merge a package is to take the debian package, and include on it the ubuntu changes19:03
nxvlbut, not all changes, we need to check if the ubuntu changes hasn't been already included on debian.19:03
nxvlThat happends often since in ubuntu we are thankfull with debian and send the patches back to them19:04
nxvlso they can also take approach of our work.19:04
nxvl< Raseel> QUESTION: So syncing is usually done for new packages taken       from Debian ?19:04
nxvlRaseel: good one19:04
nxvlRaseel: yes, it is19:04
nxvlRaseel: but not only on this cases19:04
nxvlRaseel: also we do sync when we haven't change the package in ubuntu19:04
nxvlRaseel: and when all the ubuntu work has been already included on debian19:05
nxvl < rlaager> QUESTION: If I'm interested in getting a new package into19:05
nxvl                 Ubuntu (by way of Debian), when is the cut-off?19:05
nxvlrlaager: the Debian import Freeze is the time we don't import anything19:05
nxvlrlaager: after the DIF we only include special packages19:06
nxvlrlaager: so you need to ask for an exception to it19:06
nxvlfor Ibex the DIF is going to be on Jube 2619:07
nxvlJune*19:07
nxvlyou can see more of it on https://wiki.ubuntu.com/IntrepidReleaseSchedule19:07
nxvlOk have we understand what a merge is?19:07
nxvlwell19:07
nxvlit seems se did19:07
nxvlSo, now that we have clear the concept of merging i will explain how a merge is done19:07
nxvland do a merge with you, so this will be a hands on talk.19:08
nxvlFirst of all we need to check what packages need to be merged, since sync is done automatically.19:08
nxvland that where MoM goes in.19:08
nxvlWe call MoM our merging tool, which is an acronym of Merge-o-Matic - MoM19:08
nxvlIt can be found on http://merges.ubuntu.com19:09
nxvlWe are going on how to use it later, first we need some tools.19:09
nxvlFirst of all we need to create a work directory, i use to use ubuntu/src, but you could use whatever you want to19:09
nxvlFrom now on we are calling this $WORK_DIR, so please create a working directory for your own.19:09
nxvlnow store the path on the $WORK_DIR variable writting "export $WORK_DIR=/path/to/work/directory"19:10
nxvlwhich in my case will be "export WORK_DIR=~/ubuntu/src"19:10
nxvlok, now that we have it we need to download the grab-merge script19:10
nxvlyou can find it in MoM, there is a link on the header text which point to it.19:11
nxvlFor making it easier just download it from here: http://merges.ubuntu.com/grab-merge.sh19:11
nxvland save it on $WORK_DIR, just write on your terminal:19:11
nxvlcd $WORK_DIR ; wget -c http://merges.ubuntu.com/grab-merge.sh; chmod +x grab-merge.sh19:11
nxvlok, now we will need some packages, we need devscripts, which are packages for doing our packaging work19:12
nxvland most important for merging patchutils, so please run:19:12
nxvlsudo apt-get install devscripts patchutils19:12
nxvli will wait a little so you all can download and install them19:12
nxvloh! i have a question in here19:13
nxvl13:09 <progfou> QUESTION: so, except during the DIF time, any Debian package will be sync'd ?19:13
nxvlprogfou: yes, all the packages that doesn't need to be merged are automatically synced19:13
nxvlafter DIF we need special cases to sync and merge packages19:14
nxvlok!19:14
nxvlso all of you must have the tools installed19:14
nxvl< Raseel> QUESTION: Which package are we planning to merge ?19:14
nxvlRaseel: beagle19:14
nxvlok, i think we have all what we need now, so let's start19:14
nxvli will do a complete, so a "complex" merge, so you understand everything you can see on a merge19:15
nxvland later i will do a simple and easy merge if we have time.19:15
nxvlWhat we need?19:15
nxvljust to pick a package and make an empty directory.19:15
nxvlto pick a package you need to browse the list of packages on MoM19:15
nxvlas we are new contributor our main focus will be on universe, so go into the universe list:19:16
nxvlhttp://merges.ubuntu.com/universe.html19:16
nxvlThere we find a large list of packages, with their ubuntu, debian and base version19:16
nxvlalso we see the last uploader, which is the last person who work on the package, and in some cases the uploader19:16
nxvlQUESTION: as a debian maintainer, is it safe to wait that the  package to merge is in testing ?19:17
nxvlrZr: nop19:17
nxvlrZr: we merge from debian sid, not from testing19:17
nxvlwhy isn't the person who work on a package the one who upload it? well, as contributor we don't have access to the servers19:17
nxvl< arhimodeg> QUESTION: on apt-get is always the last revision of a  program?19:17
nxvlarhimodeg: yes19:17
nxvl< rZr> even when there are know RC bugs ?19:18
nxvlrZr: yes19:18
nxvlrZr: we fix them after DIF19:18
nxvlok19:18
nxvlwhy isn't the person who work on a package the one who upload it? well, as contributor we don't have access to the servers19:18
nxvlso we need a sponsor who will check our work, send us some feedback if something is wrong and/or upload it when they are happy with our work19:18
nxvlbut more on this later.19:19
nxvlWe are going to work on beagle19:19
nxvlso we are going to create an empty directory to work on it and get into it:19:19
nxvlmkdir $WORK_DIR/beagle ; cd $WORK_DIR/beagle19:19
nxvlnow we need to download the packages to work on them, that's easily done with the script we download earlier:19:19
nxvl../grab-merge.sh beagle19:19
nxvli will give you some minutes so we all have the files we need19:20
nxvlnow we wait until it downloads the debian package and the ubuntu one.19:20
nxvlmost of the work have been already done by MoM, we only need to work on some tunning and the tasks which need human intervension19:21
nxvlrZr: thnx :D19:21
nxvlok, if everything is already downloaded we can see a file called REPORT, this is the first thing we need to look at19:21
nxvlin this case we see a CONFLICTS title on it where we can find a line saying:19:22
nxvl  C  debian/patches/00list19:22
nxvlThat means that on this file we have a conflict and we need to decide what to include and what to remove19:22
nxvlso, open it with your prefered text editor, i prefer vim, so i will use it for the example, feel free to use the one you are more comfortable with19:23
nxvlcd beagle-0.3.4-1ubuntu1/ ; vim debian/patches/00list19:23
nxvlthere we see:19:23
nxvl<<<<<<< beagle-0.3.3-2ubuntu1 (ubuntu)19:23
nxvlglib-sharp-2.0-support.dpatch19:23
nxvl=======19:23
nxvlfix_system-scripts.dpatch19:23
nxvl>>>>>>> beagle-0.3.4-1 (debian)19:23
nxvlnow we need to check what this patches are and what to keep19:23
nxvldoing 'ls debian/patches/' we find that we have the 2 patches in there19:24
nxvlwe need to check at the changelog to decide if we want to delete one of them, we can use dch command for this:19:24
nxvldch -e19:24
nxvlthere we see that Luca Falavigna added glib-sharp-2.0-support.dpatch on 0.3.3-2ubuntu119:24
nxvl(if you are using vim put the cursor on 0.3.3-2ubuntu1 and press space bar19:25
nxvlbut we alse see that Jose Carlos Garcia Sogo disable it on 0.3.4-1:19:25
nxvl    + glib-sharp-2.0-support: disabled. Included upstream.19:25
nxvlbut there is no explicit change adding glib-sharp-2.0-support.dpatch to debian, but we can assume that he include it on 0.3.3-319:25
nxvlsince the patch has been included to fix FTBFS as well as the change on 0.3.3-3, se we need to check what Debian bug #470328 is19:25
nxvlwe can check it on BTS, the debian bug tacker, at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=47032819:25
nxvlas we see on the report Luca send his patch back to debian, and they include it, so now we are sure that the patch was included on 0.3.3-3 and it's save to remove it19:26
nxvlso we need to remove:19:26
nxvl<<<<<<< beagle-0.3.3-2ubuntu1 (ubuntu)19:26
nxvlglib-sharp-2.0-support.dpatch19:26
nxvl=======19:26
nxvland19:26
nxvl>>>>>>> beagle-0.3.4-1 (debian)19:26
nxvlfrom debian/patches/00list and also is a good idea to remove debian/patches/glib-sharp-2.0-support.dpatch since we don't need it anymore19:26
nxvlThen we just need to edit the changelog adding the changes we are keeping, so the changelog entry needs to be:19:27
nxvlbeagle (0.3.4-1ubuntu1) hardy; urgency=low19:27
nxvl  * Merge from debian unstable, remaining changes:19:27
nxvl    - debian/control:19:27
nxvl      + Rename ice{weasel,dove}-beagle to {mozilla,thunderbird}-beagle and19:27
nxvl        and update the dependencies accordingly.19:27
nxvl      + Change Maintainer to Ubuntu Mono Team.19:27
nxvl    - debian/rules:19:27
nxvl      + Install the mozilla-beagle and thunderbird-beagle extensions.19:27
nxvl    - ice{dove,weasel}.dirs:19:27
nxvl      + Renamed to {mozilla,thunderbird}-beagle.dirs.19:27
nxvl      + Fixed paths to point to usr/lib/{firefox,thunderbird}19:27
nxvl -- Nicolas Valcárcel <nvalcarcel@ubuntu.com>  Tue, 29 Apr 2008 00:33:30 -050019:28
nxvl13:28 < ScottK> lintian will also kvetch at you if you have a patch system, but  no patches.19:28
* nxvl HUGS ScottK 19:28
nxvlok19:28
nxvli will slow a little19:28
nxvli will wait a bit until everyone is with me again19:28
nxvl:D19:28
nxvlif you have questions ask them now19:28
nxvli have uploaded my changelog to pastebin19:29
nxvlhttp://pastebin.ca/100198919:29
nxvlso you can check it clearly19:29
nxvlare you already with me?19:30
nxvlraise your hands if you have you changelog already edited: o/19:31
nxvl< Syntux> QUESTION: do we have to delete the patches files or remove them  from certain file that list all patches?19:31
nxvlSyntux: both19:31
nxvlSyntux: we need to remove the line containing "glib-sharp-2.0-support.dpatch" from 00list19:32
nxvland remove the patch file from debian/patches19:32
nxvlno one raise his hand :(19:32
nxvlok19:33
nxvlit seems that everyone is still downloading the packages19:33
nxvlSyntux: yes, sorry about that :(19:34
nxvlSyntux: i was expeting better broadband from the audience than mine19:35
nxvlok19:37
nxvli will continue for now19:37
nxvlif you have still problems downloading you can check at the logs after the session and ping me, i'm always online19:37
nxvl:D19:37
nxvlok19:38
nxvlso, why we have this o the changelog?19:38
nxvlwe have included this things19:38
nxvlsince the only changes we are keeping are the ones from the last merge.19:38
nxvlThen is just a matter of generating the debdiff, reporting the bug asking for merge, upload the debdiff and ask for sponsorship.19:38
nxvlSometimes we are not keeping any ubuntu changes since all of them have been already included in debian, then we need to ask for a sync.19:39
nxvli have already report the bug and upload the debdiff19:39
nxvlon Bug #22431819:39
nxvlhttps://bugs.edge.launchpad.net/ubuntu/+source/beagle/+bug/22431819:40
nxvlScottK: i will apreciate if you sponsor it :D19:40
nxvlso i was thinking on do another merge19:40
nxvlbut as everyone is still stuck on the first one19:41
nxvli will only answer questions19:41
nxvl:D19:41
nxvlso, please try to finish the merge19:41
nxvland ask questions if you have some19:41
nxvl< RoAkSoAx> QUESTION: do we have to be on Intrepid Ibex to do the merging?19:42
nxvlRoAkSoAx: nop19:43
nxvlRoAkSoAx: but it is helpfull to have a chroot environment19:43
nxvlRoAkSoAx: i use pbuilder, but you can use whatever you want19:43
nxvl< Gilou> QUESTION: what is the relationship between ubuntu & deb  developpers? What would happen if debian would take too long to  take your patch into account, would you just roll out your own,  and deal with a merge (or non merge) later once the patch is  committed (or not) in debian?19:44
nxvlGilou: we send our packages back to debian, to contribute to them19:44
nxvlGilou: also, not all our patches are used by DD, because the bug is only present on ubuntu, or they don't want that feature19:45
nxvlGilou: so, if the patch is not included on debian you just need to merge it on the next development circle19:45
=== nxvl changed the topic of #ubuntu-classroom to: Ubuntu Open Week | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | See https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn to filter out channel noise | Current session: "Merging 101" - Nicolas ValcÃarcel
=== nxvl changed the topic of #ubuntu-classroom to: Ubuntu Open Week | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | See https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn to filter out channel noise | Current session: "Merging 101" - Nicolas Valcarcel
nxvlstani: done :D19:47
nxvlGilou: does that answers your question?19:47
nxvl< Monika|K> Question: You write Change Maintainer to Ubuntu Mono Team ...  should that be MOTU Team?19:47
nxvlMonika|K: not in this case, the maintainers of beagle are Mono Team19:48
nxvlMonika|K: since they are the ones in charge of Mono packages19:48
nxvlMonika|K: but in most cases it will we MOTU or Core Developers19:48
nxvlMonika|K: but there are also specific cases in which a person is listed as Maintainer19:49
nxvl< Monika|K> Question: What is beagle and what does it have to do with  Firefox?19:49
nxvlMonika|K: beagle is a search engine19:49
nxvlMonika|K: it an app that do files search on our system, it also finds firefox bookmarks19:50
nxvlMonika|K: but that's a little OT19:50
nxvlrZr: i have see those logs before, i'm not sure where they keep them19:50
nxvl< Monika|K> Question: In what cases would a person be listed as  maintainer?19:52
nxvlon ubuntu we don't use it19:52
nxvlbut there are cases in which the Debian Maintainer is also an Ubuntu Developer and he want's to still be the Maintainer of the package in ubuntu19:52
nxvlor when the package are just synced19:52
nxvls/are/is19:53
nxvlScottK: isn't it?19:53
nxvldid you have any last questions?19:55
nxvlhave you all merge the package?19:55
nxvlif you merge the package raise your hands: o/19:56
nxvlok19:56
nxvlso as i'm getting out of time19:57
nxvljust a few last words19:57
nxvlplease if you want to be involved on ubuntu, keep in mind that we depend on debian's work19:57
nxvland we need to be thankfull with DD19:57
nxvlso if you have corrected a bug, try to check if it is also present in debian and send them the patch19:58
nxvlalso19:58
nxvlyou need to keep in mind that if someone helps you19:58
nxvlyou need to make 2 things:19:58
nxvl1) say thanks19:58
nxvl2) hug hime like this:19:58
* nxvl HUGS ScottK 19:58
nxvl:D19:58
nxvlthanks to all for comming here19:59
nxvlif you have problems you can ask in #ubuntu-motu19:59
nxvlthere is always good people around helping new contributors19:59
nxvland i hope to see you around20:00
nxvl14:01 < rZr> QUESTION: i would appreciate that LP can list rc  bugs thats are  in ubuntu and debian , is that planned ?20:00
nxvlrZr: take a look at ubuntuwire20:00
nxvlhttp://www.ubuntuwire.com20:01
nxvlrZr: on qa you can find such things20:01
nxvlis Celso already around?20:02
nxvlcprov: it's moderated20:03
nxvlAmaranth: can you give cprov voice20:03
nxvljcastro: or you20:03
nxvlcprov: try now20:03
cprovhey20:03
nxvlok20:03
nxvlnow here is Celso20:03
cprovthere we go20:03
cprovnxvl: thanks, very nice session.20:04
cprovHi, welcome to the another UbuntuOpenWeek session, during the next hour we will talk about Launchpad PPAs.20:04
=== nxvl changed the topic of #ubuntu-classroom to: Ubuntu Open Week | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" | See https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn to filter out channel noise | Current session: "Using Launchpad PPAs" - Celso Providelo
cprovI will paste the initial agenda for this session, feel free to suggest new topics in the -chat channel20:05
cprovThe initial agenda is:20:05
cprov * Roll call20:05
cprov * Documentation: https://wiki.ubuntu.com/CelsoProvidelo/PPASystemOverview20:05
cprov * Q & A : use #ubuntu-classroom-chat20:05
cprov * Top 5 bug nomination: https://bugs.edge.launchpad.net/soyuz/+bugs?field.tag=ppa20:05
cprovso, let's start with the call:  who is here for the PPA session ?20:06
cproverr, I guess you will have to answer in #$this-chat20:06
cprov12 and growing ...20:07
cprovDocumentation we already have is summarised in  https://wiki.ubuntu.com/CelsoProvidelo/PPASystemOverview20:08
cprovEveryone should go there and have a quick look, I've added new sections about Delete/Copy packages20:09
cprovalso about PPA dependencies.20:09
cprovI will update that again after the session, if you have any contribution, please add it there.20:09
cprovOnce you've read that document you can star making question.20:10
cprovAlso, anyone interested in starting a PPA right now, be my guest. The publisher will run on :20 and :40 and the builders as faster than ever :)20:11
cprovMonika|K: Yeah, can you start with, like, what is it and what is it for?20:12
cprovof course.20:12
cprovPPA stads for Personal Package Archives20:12
cprovAfter designing Soyuz to manage ubuntu archive (some could say it was dak reverse engineering)20:13
cprovwe decided to encapsulate all the services involved in it, in a way it could be useful for other individual or groups20:14
cprovphoenix24: How can I start my PPA ?20:14
cprovPPA is one of the features provided for Launchpad users, any Launchpad user can activate a PPA for his account or team20:15
cprovQUESTION:  I'm not sure if I should use my name, or a project name for a PPA account, advice on selecting?20:15
cprovit's really up to you, PPA will be attached to a launchpad user or team. You can have both.20:16
cprovprogfou: I have one: how to build the packages for two distributions (say Gutsy and Hardy) from the same source ? or is-it just not the "Right Way"™ ?20:16
cprovright, we have recently released Copy-packages feature for beta-testers (edge) it will be available for everyone thursday.20:17
cprovit allows you to *copy* a source from one series to another (for a rebuild) and if you think the binaries will fit you can copy them too.20:18
cprovsee more information in the wiki page I mentioned above.20:18
cprovQUESTION: Do we have PPA for LoCal teams?20:19
cprovnot by default, activating a PPA requires a team admin to accept the PPA Terms of Service, available in http://help.launchpad.net/PPAQuickStart if you wonna check20:20
cprovpwnguin: QUESTION: will people ever be able to report bugs against an individual's ppa?20:20
cprovpwnguin: not until July, this aspect is under discussion right now, many people think that filing bugs on PPA is misleading since the efforts done in PPA are intended to reach ubuntu.20:21
cprovclaydoh: QUESTION: is it possible to have packages created for more than one distribution without needing to re-upload the same source package?20:21
cprovclaydoh: that is one of the use-cases for copy-ui feature that I've mentioned above.20:22
cprovMonika|K: Question: I still don't understand what it is and what it does.20:22
cprovMonika|K: right, developers create source packages (in debian format)20:23
cprovMonika|K: PPA (as Soyuz itself) process/verify the sources, publish then in a archive (archive.ubuntu.com), build publish its binaries  also in a.u.c so they can be mirrored and installed by users like us.20:24
cprovQUESTION: The Link to the Packaging Guide does not work: http://doc.ubuntu.com/ubuntu/packagingguide/C/20:25
cprovthat's bad ... I will fix it later, sorry.20:25
cprovUESTION: Do packages need to be of sufficient quality for potential inclusion in Ubuntu, or could local builds be hosted on a PPA for, say, a corporate rollout?20:25
cprovtoobuntu: I'm not sure I understood your question.20:26
cprovtoobuntu: anyway, the general answer is yes, ubuntu inclusion will be judge by MOTU. OTOH, you don't necessary have to aim ubuntu you can have your packages hosted in PPA as long as they are GPL (-like)20:27
cprovmfm: QUESTIOn Do I have to provide the Source in a special way for my PPA?20:28
cprovmfm: no, nothing is special about PPA, it works exactly and Soyuz works for ubuntu PRIMARY archive. upload a proper debian source package via ftp using the well known debian/ubuntu dev-tools20:29
cprovrZr: QUESTION: when intrepid target will unfreeze, when the toolchains ready I expect ?20:29
cprovrZr: it's not related to PPAs :)20:30
cprovprogfou: QUESTION: is there a way to let PPA automaticaly get it's sources from a Launchpad project (say code.launchpad.net) ?20:30
cprovprogfou: there is a feature coming after July that will allow you to build source package straight from bzr branches hosted in Launchpad.20:31
cprovrZr: oh, I see what you mean, but ubuntu release cycle is tied to PPA and vice versa, you can upload to intrepid PPA right now if want.20:33
cprovScottK: QUESTION: Since Ubuntu derives from Debian Sid, it is often good to know how something works on Sid to enhance inter-distro collaboration.  Are there any plans to support PPA for Debian Unstable or Testing?20:34
cprovScottK: yes, there are plans in this area, importing debian archive frequently and maintaining up to date chroots for debian will be great, sync would be done entire inside Soyuz/Launchpad20:35
cprovwe will have news in this area soon.20:35
cprovScottK: QUESTION: Currently it seems that the only place links to build logs can be found is in PPA failed to build mails.  Are there plans to expose build logs in the UI?20:35
cprovScottK: they are very well exposed in launchpad.net/people/+me/+archive/+builds20:36
cprovScottK: and each build their own page with more details.20:37
cprovrZr: QUESTION: I would appreciate that email alerts on failure can be disable ? is this planned too ?20:40
cprovrZr: there is not bug filed for this, I thought it was fine. Feel free to add one (product soyuz, tag ppa)20:40
cprovthat's important to note, bugs about PPA feature requests, etc always use product 'soyuz' and the tag 'ppa'20:41
cprovmorten: QUESTION: so after uploading the source, how can people access my package? they have to add a deb entry for it i guess? (in /etc/apt/sources.list)20:41
cprovmorten: sorry for ignoring your question.20:42
cprovmorten: well, 'access' is a very broad term, once it's uploaded the source can be viewed and downloaded from your PPA page.20:42
cprovmorten: in order to install the binaries built from your source they will have to include the deb entries for your PPA20:43
cprovrulus: QUESTION: Are there plans on 'merging' PPA and REVU services? I feel like these are kind of similar. One could subscribe in a 'REVU' team and upload a source package to it's PPA to get it reviewed. This would, among others, bring the advantage that PPA/Soyuz checks if the package builds first before valuable MOTU time is used.20:46
cprovrulus: in the next month we will start storing debdiffs for all uploads, PPAs and primary archive and that will be another large step towards REVU features20:48
cprovrulus: I'm not sure if PPA will replace REVU, since it has it's own context and have been used successfully for a long time20:48
cprovsurely PPA will incorporate REVU nice aspects and be used by MOTU to review packages in getting in ubuntu20:49
cprovprogfou: QUESTION: once we have successfully build our packages with PPA, what's the next step to let them enter Universe (or is it just not the right course to ask for this?)20:49
cprovprogfou: entering in the MOTU review procedure, PPA doesn't replace it, just make it easier for all people involved.20:50
cprovso, last 7 minutes, let's move on.20:53
cprovPlease add other questions at the end of https://wiki.ubuntu.com/CelsoProvidelo/PPASystemOverview20:53
cprovFinally, Top 5 bug nomination: https://bugs.edge.launchpad.net/soyuz/+bugs?field.tag=ppa20:54
cprovThere you will be able to find all bugs in the PPA system, check them before filling new ones20:55
cprovBe sure the features you want are listed there20:56
cprovAnd if you want and have time, blog about the top 5 features you would like to see released for PPAs, or the top 5 annoying bugs you would like to see fixed ASAP20:57
cprovrZr: about debian build ; this is filed  : https://bugs.edge.launchpad.net/soyuz/+bug/18856420:58
cprovright, that's in my list too, I'd love to see debian PPAs running20:58
cprovit would enforce the ubuntu/debian collaboration relationship mentioned in the last session.20:59
cprovAnyway, push your ideas, blog about them, file bugs, come and talk on #launchpad. I will be more than happy to discuss them with you.21:01
* mathiaz waves at cprov 21:01
cprovmathiaz: hey21:02
cprovI'm late, sorry.21:02
mathiazcprov: np ;)21:02
cprovthank you, guys21:03
mathiazso after the last two rather technical sessions about packaging, we'll step back a little bit and I'll take some time to introduce the Ubuntu Server Team.21:03
cprovvery good set of question :) you are all stars.21:03
* cprov stops stealing mathiaz time :)21:04
mathiazso that you can use all your knowledge about merging and PPA to improve server software in Ubuntu :)21:04
mathiazI'll talk about who we are, what we're doing, and how you can get involved with the Server Team.21:05
mathiazAsk your question in u-c-c and I'll answer them at the end of the session21:06
mathiazso who is the Ubuntu Server Team ?21:06
=== cprov is now known as cprov-afk
mathiazyou can find most of the information on our wiki pages : https://wiki.ubuntu.com/ServerTeam21:07
mathiazMost of the people involved in the server team share a common interest in server related software, such as http servers, mail servers or other services21:08
=== jcastro changed the topic of #ubuntu-classroom to: Ubuntu Open Week | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" |See https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn to filter out channel noise | Current session: "Intro to the Ubuntu Server Team" - Mathias Gug
mathiazAs an extension we tend also to deal with setups found in corporate environments, such as directtory services (ldap, AD), web services or network authentication21:09
mathiazSome of us are working for Canonical in the Server team, lead by Rick Clark21:10
mathiaz(dendrobates on IRC). Others have services running on Ubuntu and are interested21:10
mathiazin fixing bugs.21:10
mathiazRegular contributors takes on important tasks and lead them to completion - som of them include (listed in alphabetical order):21:10
mathiazAdam Sommer - sommer - our documentation guru. He's taken the task to review and update the Server Guide. Thus he is in contact with the Documentation team.21:11
mathiazAnte Karamatić - ivoks - another long time contributor to the Server Team. Also a member of MOTU, he has looked over the apache package, improved the bacula package and worked on SASL integration during the Hardy release Cycle.21:11
mathiazNeal McBurnett - nealmcb - he has multiple interest: documentation, virtualization. He started to contribute to the Ubuntu JeOS project and ubuntu-vm-builder project.21:11
mathiazNicolas Valcárcel - nxvl - lots of work in bug triagging and packaging. He is also involved in the Security team.21:12
mathiazScott Kitterman - ScottK - main interest in mail services - if you're interested in postfix or clamav he is the man to talk to. He is also involved in the MOTU team.21:12
mathiazSo you can see that we  are a diverse group that have different interests.21:12
mathiazWe're also involved in other teams from the Ubuntu project. This is one of the caracteristic of the Server team:21:12
mathiazwe all share a common interest in server technologies, but have differents skills. Thus being part of the team often means representing the Server Team in other areas of the Ubuntu project.21:13
mathiazBeing a contributor to the server team can be taken under different roles:21:13
mathiazThe helper answers questions on the ubuntu-server mailing list and the #ubuntu-server irc channel.21:13
mathiazTriagers dig into bugs the ubuntu-server LP team is subscribed to.  Our LP team is a bug contact for a list packages, such as samba, openldap, mysql or apache2.21:14
mathiazThe current list of packages can be found here: https://bugs.launchpad.net/~ubuntu-server/+packagebugs21:14
mathiaz A mailing list has been created to gather all the bugs related to the ubuntu-server team: ubuntu-server-bugs@lists.ubuntu.com21:15
mathiazhttps://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs21:15
mathiazUsually we decide to target our efforts for bug triagging to one or two package for a week and discuss the outcome of our triagging effort during our weekly meeting.21:15
mathiazThis is a great way to start with the LP bug tracker and doesn't require any knowledge of programming languages.21:16
mathiazWe're working closely with the BugSquad team - triaggers participate on the bugsquad mailint lists.21:16
mathiazAnd once in a while with have the honor of having our own HugDay where the whole bug triagger community helps us!21:16
mathiazThe BugSquad Team has its own wiki page: https://wiki.ubuntu.com/BugSquad/21:17
mathiazOnce bugs have been triagged, it's time to fix them. This is when the packagers come into the game. This role requires an interest in packaging.21:17
mathiaz We maintain a list of bugs that are easy too fix:21:17
mathiazhttps://bugs.launchpad.net/~ubuntu-server/+mentoring21:17
mathiazThese fixes can make their way easily into the ubuntu repositories via the sponsorship process21:18
mathiazhttps://wiki.ubuntu.com/SponsorshipProcess21:18
mathiazAs we're at the beginning of a release cycle, we're focusing on Merging packages from Debian unstable into ubuntu intrepid repositories.21:19
mathiazhttps://wiki.ubuntu.com/UbuntuDevelopment/Merging for an overview21:19
mathiazI think that nxvl covered this process in-depth two sessions ago21:19
mathiazNow is probably to best time to get started in packaging.21:20
mathiazDoing work on the packaging front leads to a close a collaboration with the MOTU team and is a great way to gain experience to become a MOTU.21:20
mathiazhttps://wiki.ubuntu.com/MOTU21:20
mathiazAnother role that kicks in on a regular schedule are the testers.21:21
mathiazThis is what we've been doing most of the last weeks, preparing for the release21:21
mathiazNew features and new packages needs to be tested before released for wide spread consumption.21:21
mathiazSo we organize test plans.21:21
mathiazFor example likewise-open is available in hardy to help AD integration.21:22
mathiazhowever there are multiple AD setups out there. So we'll setup a test plan to keep track of the results.21:23
mathiazIf you have access to an AD domain, installing ubuntu and testing you can join the domain with likewise-open is an easy way to contribute to the Server Team right now.21:23
mathiazAll of this work is coordinated with the Ubuntu QA Team - https://wiki.ubuntu.com/QATeam21:23
mathiazTesters are taking an important role when we're about to ship a new milestone or release.21:24
mathiaz We're responsible for ensuring that the ubuntu-server isos are working correctly, which involves performing a dozen of tests for two isos.21:24
mathiazWe use the isotesting tracker from the QA team to track the results. The more testers we have, the less tests each of us has to do and results are posted faster.21:25
mathiazServer hardware support is another area where testing is welcome.21:25
mathiazWe're trying to make sure that ubuntu can used on the main server hardware, so if you have access to such hardware, popping a cd into the machine, installing a standard ubuntu server and reporting that whether it has successfully installed or failed is an easy way to contribute to the server team.21:25
mathiazBeside testing a new feature, documenting it is also needed.21:26
mathiazThat's the role of the Documentors.21:26
mathiazBrowsing the ubuntu-server mailing list archive, lurking in the #ubuntu-server irc channel or going through the forum posts shows patterns in user's questions.21:27
mathiazRecurring themes are identified and turned into documentation.21:27
mathiazA wiki page in the community section of help.ubuntu.com is first created.21:27
mathiaz Once the quality has improved, a new section is added to the server guide.21:28
mathiazAll this work is undertaken by the Documentors of the Server Team.21:28
mathiaz Collaboration with the Documentation team is done on a daily basis to achieve consistency with other help resources.21:28
mathiazAdam Sommer leads the update and review of the Ubuntu Server guide.21:28
mathiazAll of the documentation is maintained in a bzr tree - helping Adam will introduce you to docbook and distributed versioning with bazaar.21:29
mathiazThere is also the option to go over server related wiki pages on the community help pages. A good starting point is the Server page that has pointers to lots of howtos.21:29
mathiazhttps://help.ubuntu.com/community/Servers21:29
mathiazThe last role in the Server Team as the Developpers21:30
mathiazthey develop new features, usually specified during the Ubuntu Developer Summit that takes place at the begining of each release cycle.21:30
mathiazTracked by a blueprint we have around 3 months to get a new feature into Ubuntu.21:30
mathiazFor hardy, virtualization, iscsi and windows integration have been some of the features integrated.21:31
mathiazNow that the release cycle for Intrepid is opened, we've started to gather requirements to develop new features for the next version of Ubuntu released in October this year.21:31
mathiazSo if you want something integrated or improved in Ubuntu, now is the best time to make your voice heard.21:31
mathiazThe ServerTeam idea pool is a wiki page where we track what we could work on.21:32
mathiazhttps://wiki.ubuntu.com/ServerTeam/IdeaPool21:33
mathiazAs you can see, contributing to the Server Team can be undertaken in more than one way. It usually involves a lot of interaction with other teams from the Ubuntu project.21:33
mathiazIt's also a good way to show your contribution to Ubuntu and helps in getting Ubuntu membership.21:33
mathiazThe GettingInvolved page gives an overview of the roles I've talked about above21:34
mathiazhttps://wiki.ubuntu.com/ServerTeam/GettingInvolved21:34
mathiazSo - how do we work ?21:34
mathiazWe track our progress on the Roadmap and meet once a week to discuss outstanding issues.21:34
mathiazhttps://wiki.ubuntu.com/ServerTeam/Roadmap21:35
mathiazWe use the ubuntu-server mailing and #ubuntu-server to coordinate our activities, discuss policy change in the team.21:35
mathiazHow to join the Server Team and start contributing ?21:35
mathiazJoining the ubuntu-server team on LP is simple as subscribing to the ubuntu-server mailing list and applying for membership on LP.21:36
mathiazThe ubuntu-server team is one of the easiest way to start getting involved in Ubuntu development.21:36
mathiazIf you already know which role you'd like to contribute as, you can find a list of tasks in the Roadmap. Don't hesitate to ask one of the team members involved in your area of interest.21:36
mathiazMost of the information related to the ServerTeam can be found in the ServerTeam wiki pages - https://wiki.ubuntu.com/ServerTeam21:37
mathiazIf you're overwhelmed by all the available information and you're lost, come talk to me. I'll help get out of the mist and we'll find a way you can get involved in the Server Team.21:37
mathiazI'll answer the questions from u-c-c now21:38
mathiaz16:09 < rZr> QUESTION: can all server's packages be installed on desktop and vice versa ? (i am thinking about virtualisation ones)21:39
mathiazYes - server is a sub set of the desktop packages21:40
mathiazthe difference between server and desktop is one the isos mainly21:40
mathiazthe packages are coming from the same archive21:40
mathiaz-server isos install the ubuntu-standard preseed, and -desktop isos install the ubuntu-desktop preseed21:40
mathiaz16:15 < melter> QUESTION: when i'm configuring the network during installation, what hostname do i enter if it's dynamically assigned by the dhcp server?21:41
mathiazyou can choose whatever you want - it should be overriden at boot time.21:42
mathiazI'd add that #ubuntu-server is a great place to ask these kind of questions - you can find valuable people in there.21:42
mathiaz16:35 < maanskyn> QUESTION: Do you see certification (of ISV offerings and by ISVs) as critical to enterprise adoption? Red Hat and Novell seem to focus on this a lot/21:43
mathiazCanonical offers ways for ISV to certify their application on Ubuntu21:43
mathiazCanonical also has a hardware certification program for OEMs.21:44
mathiazThere is also the Ubuntu Certified Engineer available from LPI.21:44
mathiazSo certifications are available in a number of forms and are important for businesses.21:45
mathiaz16:35 < rlaager> QUESTION: Why is the at package deprecated? Does the cron package provide an at command?21:45
mathiazI'm not sure that the at package is deprecated - it may have been replaced by another package.21:46
mathiazcron doesn't provide an at command though - these two programs have different purposes.21:47
mathiaz16:37 < Syntux> QUESTION: Any plans for Ubuntu Server Admin Cert? something like the UCP21:47
mathiazI'm not sure what you refer to Ubuntu Server Admin Cert - if it's a web interface to remotely administer a server, e-box is available in universe21:48
mathiaz16:38 < furicle> QUESTION:  Any plans for a 'sucess stories' page - real people showing off real server installs?21:48
mathiazthe server edition section of ubuntu.com has been revamped during the hardy release cycle - there may be use cases there now.21:49
mathiaz16:39 < King_Creole> QUESTION: Any chance we will see Oracle (DB, App server) running on Ubuntu in the near future with official certification from Oracle?21:51
mathiazThat would be great - but it's more up to Oracle to do it.21:51
mathiaz16:40 < KevinS> QUESTION: Any suggested guides on how to best make use of the new install options (Mail, DNS etc.)?21:52
mathiazI'd point out the Ubuntu Server Guide21:52
mathiazhttps://help.ubuntu.com/8.04/serverguide/C/index.html21:52
mathiaz16:40 < rZr> QUESTION: Any idea on how to get support from software vendors (openor closedsource) who only support one version of linux distro (let say deadrat)21:53
mathiazBug them - and ask them to support ubuntu21:53
mathiaz16:40 < rlaager> QUESTION: Regarding RubyOnRails, is there a plan to deal with packaging things that are currently distributed as gems?21:54
mathiazThere was some discussion during last UDS about ruby and rails - however there wasn't enough knowledge about this area with the attendees21:54
mathiazA spec was written up - but it didn't make it in time for hardy21:54
mathiazany help in that area is welcome !21:54
mathiazA link to case studies: http://www.ubuntu.com/products/casestudies/21:56
mathiazthe Ruby on Rails specification: https://wiki.ubuntu.com/RubyOnRailsStack21:57
mathiaz16:54 < RoAkSoAx> QUESTION: Is there going to be a Ubuntu Server Course (Like the recently launched Desktop course on shop.canonical.com)21:58
mathiazNot that I know of. May be worth mentionning on the ubuntu-training mailing list.21:59
mathiazSo I think I'm running out of time21:59
mathiazI haven't answered all the questions posted in u-c-c21:59
mathiazStop by #ubuntu-server and I'm glad to give you answers there21:59
jcastrothanks mathiaz!21:59
=== jcastro changed the topic of #ubuntu-classroom to: Ubuntu Open Week | Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | How to ask questions: https://wiki.ubuntu.com/UbuntuOpenWeek/Rules | Ask questions in #ubuntu-classroom-chat, prefaced with "QUESTION:" |See https://wiki.ubuntu.com/UbuntuOpenWeek/JoiningIn to filter out channel noise | Current session: "Ubuntu Security Team" - Kees Cook
* mathiaz waves at kees 22:00
jcastroyou're up kees!22:00
keesthanks jcastro :)22:00
keesWelcome everyone!  This is going to be a quick intro to how the Security Team operates within Ubuntu22:00
keesthe main entry-point for information about the team is here: https://wiki.ubuntu.com/SecurityTeam22:01
keesour wiki page is still a big young, so pardon the lack of details in the FAQ and KnowledgeBase areas.22:01
keesI'm hoping we might be able to populate some of the FAQ with today's intro's questions.  :)22:02
keesThe most active subteams within the Security Team is "ubuntu-security" and "motu-swat"22:02
keeswhen there are updates that need to happen, these two teams are the ones handling it usually.22:03
keesin general, our "update procedure" is here: https://wiki.ubuntu.com/SecurityUpdateProcedures22:03
keeswe focus on fixing "CVE"s in published ubuntu releases22:03
keesa CVE is basically a number identifying a flaw in software that has security implications22:04
keesthe central collection of CVEs here: http://cve.mitre.org/22:04
keessince CVEs are global identifiers, they cover software (and hardware) from any vendor in the world -- only some CVEs apply to Ubuntu software.22:05
kees(CVE stands for Common Vulnerabilities and Exposures)22:05
keesthe first step to fixing security problems in Ubuntu is keeping up to date with new CVEs, and checking to see in Ubuntu is affected.22:06
keesto help coordinate between teams and people, we have an ubuntu-specific reponsitory for tracking CVEs: https://code.launchpad.net/~ubuntu-security/ubuntu-cve-tracker/master22:06
keesthis is a bzr branch, with details about every CVE that has been issued (most are flagged "ignore" since they apply to unpackaged software, different vendors like Apple or Microsoft, etc)22:07
kees21:06 < firefly2442> QUESTION: On average, how long does it take from a vulnerability being discovered to an updated DEB file being available?  Does22:07
kees                     this change much if the issue is upstream?22:07
keesthe speed of update depends greatly on the severity of the issue.22:08
keesonce CVEs have been identified, the team will prioritize them, and start either tracking down patches or making our own.22:08
keessome CVEs are private for a while while upstream (and the vendors) try to figure out solutions.  This is called an "embargoed" issue.22:09
keesthe ubuntu tracker only shows public CVEs, since none of the vendors are allowed to discuss embargoed issues until they reach their "coordinated release date"22:09
keesbut, to answer firefly2442's question, I would say roughly under a few days for high-priority issues (these issues tend to start embargoed, so there is plenty of time to fix them before they're public)22:11
keesunder a month for medium issues, and "low" issues can be pretty different.22:11
keessome of the URLs for more information that I'm listing here can also be found in our KnowledgeBase: https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase22:12
keesonce the teams get issues fixed, then they test them, and finally publish the fixes.22:13
keespresently, security updates for main/restricted packages (mostly handled by "ubuntu-security") get "Ubuntu Security Notices" (USNs) published22:13
keeshttp://www.ubuntu.com/usn/  there is a mailing list for this as well: http://lists.ubuntu.com/archives/ubuntu-security-announce/22:14
keesbesides the two teams handling security updates, we also have a team dedicated to providing better security globally to Ubuntu.  this is the "ubuntu-hardened" team.  It started very SELinux-centric, but has grown to include people interested in AppArmor and other hardening techniques22:15
keeswe also have a "white hat" team ("ubuntu-whitehat") that is dedicated to hunting down new security issues.  it is young, but growing up nicely.22:16
keessince all of the teams are rather small, we still use a single IRC channel (#ubuntu-hardened) and a single mailing list (ubuntu-hardened)22:16
kees21:15 < pschulz01> QUESTION: What proportion of CVE's get fixed prior to the embargo date?22:17
keesI don't have specific numbers, but in general, if a CVE is embargoed, and high priority, it is fixed before the embargo.  The embargo dates are chosen to help all the vendors get their fixes ready.22:17
keesso, I would say it is close to 100%.22:18
kees21:13 < ubuntu_demon> Question : Is Ubuntu using salted md5 passwords or something else ?22:18
keesyes, the current default for /etc/shadow is salted md5.  (see "man shadow")22:19
keesShould sha-512 be used or something stronger ?22:19
keesI wouldn't be against it, but it would take a certain amount of coordination.22:19
keessalted md5 is still out of reach for even well organized collaborative cracking efforts.22:20
kees21:13 < RzR> QUESTION: what kind of tools do you recommend to developpers to achieve better quality ? i am think about valgrind etc22:20
keesvalgrind is an excellent tool for locating memory corruption.22:20
keesfor compiled programs, I tend to believe in: -Wall -Werror -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O222:21
keeshm, and -Wl,-z,relro22:21
keesthese kinds of hardening details can be found here: https://wiki.ubuntu.com/Security/HardeningWrapper22:21
keesbeyond that, avoiding common pit-falls (named files in /tmp, etc) is a good idea.  I will add a "best practices" checklist to the KnowledgeBase22:22
kees21:19 < ubuntu_demon> Question : Are you aware of https://help.ubuntu.com/community/UnsafeDefaults ? Should any of these things be changed by22:23
kees                      default ?22:23
keesI wasn't personally aware of that page, but I was hoping to review a bunch of the defaults in Ubuntu now that the LTS is out the door.22:23
keescan someone link to that page from the roadmap: https://wiki.ubuntu.com/SecurityTeam/Roadmap ?22:24
kees21:20 < ubuntu_demon> Question : What kind of coordination would be needed to use SHA-512 ?22:24
keesI'm not 100% sure, but generally making sure there is clean backward compatibility when moving to it, discussing it with upstream glibc, etc.22:25
kees21:20 < ubuntu_demon> Question : What about cold boot attacks against Ubuntu's disk encryption ? Can they be prevented somehow ?22:25
keesThe cold-boot stuff is pretty extreme.  Since there tend to be more pressing matters to investigate, this hasn't really been addressed very much yet.22:26
kees21:21 < ubuntu_demon> Question : What about memory protection ? Are ASLR and similar techniques completely implemented or are there still some parts22:26
kees                      missing ?22:26
kees8.04 has full memory protection available in the kernel (\o/).22:26
keesthe "last piece" of ASLR is to get programs compiled to take advantage of the executable-image-ASLR22:27
keesstack and libs (and mmap) happen automatically.22:27
kees8.10 will have heap (brk) ASLR separate from the exec ASLR, which will be nice too.22:28
kees21:21 < ubuntu_demon> Question : What about wrapping web-browsers in apparmor ?22:28
keesI think this is a good idea, but it's not very trivial.22:28
keesI am (and the rest of the ubuntu-hardened team is) very interested in getting more AppArmor profiles (and SELinux policies) written to cover more of our common use-cases22:29
keeswe've been slowly adding them, and there was a strong push to get "by-default" profiles active for a number of common server services, done by the server team.  We're hoping to help the desktop team do the same for various network-facing tools like the browsers.22:30
kees21:27 < toobuntu> QUESTION: SAK implementation currently closes everything that has /dev/console open, including entire tty7 (X), while Windows has22:31
kees                  the option to require Ctrl-Alt-Del prior to entering a log on password.  What would be involved to implement something like this22:31
kees                  for Ubuntu?22:31
keesThis is a good idea -- adding it to the Roadmap would be appreciated.22:32
keesSAK: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=blob;f=Documentation/SAK.txt;hb=HEAD22:33
keesas a quick aside to the "best practices" question earlier, Debian and Ubuntu have been coordinating to create a "hardening-wrapper" tool that is used as a Build-Dep for packages.22:34
kees(full disclosure: I wrote it)22:34
keessome details are here: http://wiki.debian.org/Hardening and http://lists.debian.org/debian-devel-announce/2008/01/msg00006.html22:34
kees(both related to the earlier URL https://wiki.ubuntu.com/Security/HardeningWrapper)22:35
keesso that's the quick over-view -- I've clearly started answering questions already.  :)22:35
keesfor people interested in getting involved, please see https://wiki.ubuntu.com/SecurityTeam/GettingInvolved22:35
keesthat covers the various subteams, and what each does.  We're low on people, so we'd love to have people join to help get things fixed and help test.  :)22:36
kees21:36 < Azag> I am saying that, why a encrypted password can't be stolen22:36
keespresently, encrypted passwords are handled by specially-privileges processes.  As such, regular users do not have access to the process or the files they interact with22:37
keesfor example /etc/shadow is not world-readable, and the various PAM helpers need to be run with elevated privileges to read it22:38
keeswe've got a lot of time left, but I appear to be the last session for today.  :)22:39
keesIf anyone has other questions, please feel free to join #ubuntu-hardened or to ask on the ubuntu-hardened mailing list.22:39
kees21:40 < nealmcb> QUESTION: What good options are there (now or planned) for better authentication and authorization in Ubuntu?22:41
kees21:40 < nealmcb> (than passwords)22:41
keesthere have been discussions about fingerprint readers, and other "something you have" style authentications.  at present, passwords seem to remain the standard22:42
kees21:41 < Rudd-O> QUESTION: addressing rootkits and the like, what kinds of tools are there available to aid in detection and cleanup, and how are22:42
kees                they being integrated into ubuntu?22:42
keeskernel-level things have been added in 8.04 to make rootkits harder to get installed (kernel memory protections)22:43
keesas for detection and cleanup, most of the tools I know of are in the universe repository (chkrootkit, rkhunter, unhide)22:44
keesluckily, rootkits are becoming more and more rare.22:44
kees21:48 < ubuntu_demon> QUESTION : You are saying that md5 salted passwords are adequate for now but do you think this will stay be the case for the next five years ? (because Hardy will be supported for five years)22:49
keesbarring extreme breaks in the hashing function, md5 will probably be okay.  it tends to be less of an issue since only root has access to the file to begin with.  leaving salted md5 in the clear certainly makes me nervous.22:50
keesbut, since we will likely have experience converting to the next cool hashing function, we'll be able to apply that to LTS as well, if it's needed.22:51
keesany missed questions?22:53
kees21:53 < ZehRique> QUESTION: Concerning the nealmcb question, what about creating an authentication process like Brazilian banks, where the password is typed with mouse clicks on a java applet which shows the numbers and letters randomly positioned on the screen, to difficult some kind of password steal?22:54
keesthere is no reason it can't be done for the gdm/kdm login screen -- it just requires someone to write it.  :)22:54
keesokay, thanks for listening to the session!  feel free to catch me on IRC if you think of anything else to ask.  :)  thanks!22:55
jcastrook22:55
jcastrothanks everyone for coming!22:55
jcastroThe sessions begin again at 1500UTC tomorrow22:55

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