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

=== txwikinger2 is now known as txwikinger
=== wylde_ is now known as wylde
=== epikvision is now known as thinkndev
=== thinkndev is now known as epikvision
MahavirIs anyone online?12:30
MahavirIs anyone online?12:30
martin__What time will the classroom session start in CEST?12:35
coolbhavi17 CEST I believe12:36
* coolbhavi peeps around14:53
* epikvision checks his watch.14:56
coolbhavi3 mins to go :)14:57
jokerdinojust on time?14:58
coolbhaviyes just about to start14:59
coolbhavi:)14:59
jokerdinonice :D14:59
epikvisionX)14:59
coolbhaviAlrightie15:00
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: MOTU School - Current Session: Introduction to the Ubuntu Development World for Beginners - Instructors: coolbhavi
coolbhavilets get this kicking now15:00
coolbhavi:)15:00
coolbhaviI am bhavani contributing as a ubuntu member for past 5 years15:01
coolbhaviand today m going to introduce you to the ever exiting world of ubuntu development15:02
coolbhaviso lets get the basics of session first15:02
coolbhaviin #ubuntu-classroom the presenter will hold the session, explain and demo everything15:02
coolbhaviin #ubuntu-classroom-chat we all can chat and ask questions15:03
coolbhavi so if you haven't joined #ubuntu-classroom-chat yet, please do so15:03
coolbhavialso if you ask questions, please make sure you prefix them with QUESTION:15:03
coolbhavilike QUESTION: What is ubuntu15:04
coolbhaviso lets move on15:04
coolbhaviWhat is ubuntu basically? Ubuntu is made up of thousands of different components, written in many different programming languages. every component being available in source code15:05
=== mike is now known as Guest40172
coolbhavisource packages in the ubuntu world consists of 2 parts mainly the source code and metadata15:06
coolbhaviMetadata includes the dependencies of the package, copyright and licensing information, and instructions on how to build the package.15:06
coolbhaviOnce this source package is compiled, the build process provides binary packages, which are the .deb files users can install.15:07
=== thinkndev is now known as epikvision
coolbhavivery time a new version of an application is released, or when someone makes a change to the source code that goes into Ubuntu, the source package must be uploaded to Launchpad's build daemons to compile the package15:08
coolbhavis/very/every*15:08
coolbhaviThe resulting binary packages then are distributed to the archive and its mirrors in different countries. The URLs in /etc/apt/sources.list point to an archive or mirror.15:08
coolbhavi!q15:09
coolbhavioops15:09
coolbhavialright lets move on15:10
coolbhaviwe will talk a bit about release cycle in ubuntu now15:11
coolbhaviWe release a new version of Ubuntu every six months, which is only possible because we have established strict freeze dates.15:11
ClassBotepikvision asked: what's the difference between source and binary packages?15:13
coolbhaviepikvision, basically in simple terms a source package means a package which contains the source code and binary package is an executable file which gets generated after build of a source15:14
coolbhavifreeze date means nothing but we freeze on some point and move on to testing a particular feature in a more detailed fashion15:16
coolbhaviIf you have a look at https://wiki.ubuntu.com/QuantalQuetzal/ReleaseSchedule you can see the release schedule for the 12.10(quantal) cycle with defenition of various iterations and freezes in devel cycle15:19
coolbhaviok lets move on and let me show you what you need to kickstart ubuntu development15:20
coolbhavithe basic start goes on with installing packaging related software setting up your ssh and gpg keys for encryption and pbuilder15:22
coolbhavito build packages in a local pristine environment15:23
coolbhavitype this command if you are on a newer release of ubuntu:  sudo apt-get install packaging-dev15:24
coolbhavior if you are on a older release then sudo apt-get install gnupg pbuilder ubuntu-dev-tools bzr-builddeb apt-file15:24
coolbhaviso that should get in all packages needed to start off with ubuntu development15:25
ClassBotepikvision asked: Should prospective developers run the latest development release of Ubuntu?15:27
coolbhaviepikvision, generally recommended to run the latest development release in ubuntu so that you can get access to all the changes which are happening to the packages in the cycle15:28
ClassBotNiraj asked: How much internet bandwidth and disk space is needed for setting developer machine? given that both may be restricted for few of us.15:29
coolbhaviNiraj, I use a internet connection with 50 kbps download rate on average so its not a constraint I believe :)15:30
coolbhaviso moving on GNU Privacy Guard contains tools you will need to create a cryptographic key with which you will sign files you want to upload to Launchpad. pbuilder a tool to do a reproducible builds of a package in a clean and isolated environment.15:31
coolbhaviubuntu-dev-tools make the process of ubuntu development easier15:31
coolbhavithese are some of the packages which are present in packaging-dev package15:32
coolbhaviso moving on15:32
coolbhavito create a gpg key run gpg --gen-key in a terminal15:32
coolbhaviG will first ask you which kind of key you want to generate. Choosing the default (RSA and DSA) is fine. Next it will ask you about the keysize. The default (currently 2048) is fine, but 4096 is more secure.15:33
coolbhaviAfterward, it will ask you if you want it to expire the key at some stage its always safe to use default option15:34
coolbhaviie no expiry15:34
coolbhavi The last questions will be about your name and email address. Just pick the ones you are going to use for Ubuntu development here, you can add additional email addresses later on. Adding a comment is not necessary. Then you will have to set a passphrase, choose a safe one (a passphrase is just a password which is allowed to include spaces).15:34
coolbhavi Now GPG will create a key for you, which can take a little bit of time; it needs random bytes, so if you give the system some work to do it will be just fine. Move the cursor around, type some paragraphs of random text, load some web page.15:35
ClassBotborax12 asked: How do i check if i already have a gpg key generated or not ?15:35
coolbhaviborax12, gpg --list-keys will show the keys present on your system15:36
coolbhavialright moving on ssh key generation: if you have a SSH key already generated, skip these instructions. :)15:37
coolbhaviIf gpg is still sitting there creating your GPG key, just open another terminal window or tab. and type ssh-keygen -t rsa15:38
coolbhaviThe default file name usually makes sense, so you can just leave it as it is. For security purposes, it is recommended that you use a passphrase.15:38
coolbhavissh is for example used if you push branches to Launchpad15:39
coolbhaviok moving on15:40
coolbhavisetting up pbuilder now15:40
coolbhavipbuilder allows you to build packages locally on your machine. It serves a couple of purposes:  The build will be done in a minimal and clean environment. This helps you make sure your builds succeed in a reproducible way, but without modifying your local system and  There is no need to install all necessary build dependencies locally15:41
coolbhaviYou can set up multiple instances for various Ubuntu and Debian releases to create a pbuilder run pbuilder-dist quantal create if you are running quantal15:43
coolbhaviok getting to work with launchpad then:15:44
coolbhavionce your gpg is done you need to upload it to a keyserver:   gpg --send-keys --keyserver keyserver.ubuntu.com <KEY ID>15:45
coolbhaviThis will send your key to one keyserver, but a network of keyservers will automatically sync the key between themselves. Once this syncing is complete, your signed public key will be ready to verify your contributions around the world.15:45
coolbhavito upload your gpg and ssh keys to launchpad do:15:46
coolbhavihttps://launchpad.net/~myname/+editpgpkeys  and copy the generated fingerprint https://help.launchpad.net/YourAccount/ImportingYourPGPKey will help you on the same15:48
ClassBotThere are 10 minutes remaining in the current session.15:50
coolbhavito use bazaar with ubuntu and to upload ssh keys A forums post here will explain in detail http://ubuntuforums.org/showthread.php?t=91613215:51
coolbhavilast bit is editing your bashrc15:51
coolbhaviadd this: export DEBFULLNAME="Your name" export DEBEMAIL="yourname@example.com"15:53
coolbhaviNow save the file and either restart your terminal or run: source ~/.bashrc (If you do not use the default shell, which is bash, please edit the configuration file for that shell accordingly.)15:54
ClassBotThere are 5 minutes remaining in the current session.15:55
coolbhaviwith that dch will parse your name and email id while committing packages and you should be done15:55
coolbhavi:)15:55
coolbhaviwith setup of devel env15:55
coolbhaviborax12   QUESTION:is the ubuntu kernel team open to contributions ?15:57
coolbhaviyes please see: https://wiki.ubuntu.com/KernelTeam/15:58
coolbhaviok thats it from me for now15:58
coolbhavithanks for attending the session15:59
ClassBotepikvision asked: When's the next class?15:59
ClassBotLogs for this session will be available at http://irclogs.ubuntu.com/2012/07/11/%23ubuntu-classroom.html16:00
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat ||
coolbhaviepikvision, we plan to have it every month until end of this cycle16:00
=== fenris_ is now known as Guest10826
=== Guest10826 is now known as ejat
=== fenris is now known as Guest42115

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