Bug squashing party in New York City, January 2010

A bug squashing party is a time to gather and work together on fixing bugs. This bug squashing party is designed to help with the release of Squeeze (next Debian stable release) sometime early in 2010.

General Information

Schedule

This is a tentative schedule.

Registration

Please add your name below if you'd like to attend. (If you don't have and don't want a wiki account, please tell someone and they can add you)

Name (irc nick)

Email

Dates

Accomodation needed/provided

Notes. What can you learn/teach?

1

1

Richard Darst (MrBeige)

(rkd zgib.net)

Fri,Sat,Sun

No

Organizer, Python Power!

2

2

keith obrien

(fugit13 gmail)

Fri,Sat,Sun

No

3

3

Michael Schultheiss (schultmc)

(schultmc debian.org)

Fri,Sat,Sun

No

Need to catch an 1815 flight out of LGA on Sunday. I can teach packaging

π

12

Daniel Kahn Gillmor

dkg fifthhorseman.net

Fri, Sat, (Sun?)

Can provide couch space, loaner bike for nice visitors

Can talk about packaging, library versioning, boot processes, crypto, among other things.

i

4

Forest Mars

forestmars gmail

Fri,Sat,Sun

Have

Pizza sends me into a rage

5

5

Pablo Duboue

(pablo.duboue gmail)

Fri,Sat (Sun?)

Have

Debian-java needs help!

6

6

Clint

Fri,Sat,Sun

No

stuff

7

7

Hans-Christoph Steiner

hans at eds dot org

Fri,Sun

No

learn: in-depth packaging, teach: C build processes

8

8

Simon Fondrie-Teitler

simonft at riseup dot net

Fri,Sat,(?Sun)

No

9

9

Brian Gupta

brian dot gupta at brandorr dot com

No

learn: packaging teach:

10

10

Jimmy Kaplowitz (Hydroxide)

(jimmy debian.org)

Fri,Sat,Sun

No

teach: packaging, debian infrastructure/tools

11

11

David Moreno

david arroba axiombox punto com

Fri, Sat

No

Full-time lurker

12

13

Lee Azzarello

lee at rockingtiger dot com

ALL

Huh?

sound and video hacker

13

14

Ethan Glasser-Camp

ethan.glasser.camp at gmail

Fri,Sat

No

no special skills

15

15

Kevin Mark (kevix)

kevin.mark-at-verizon.net

Fri,Sat

No

copious note taker on packaging and BTS useage

16

17

Andrew Starr-Bochicchio

a.starr.b at gmail dot com

Fri?,Sat

No

packaging

17

19

Jean-Baptiste Wons

wonsjb at gmail

Fri,Sat (Sun?)

No

no special skills

10000

16

Jamie Rollins

jrollins finestructure.net

?

no

65534

18

Micah Anderson

micah at debian

dunno

no

its bug squashin time

n

20

Matt Goins

mjgoins at openflows dot com

all I hope

no

I'm good at computer

φ

21

George Shammas

georgyo at gmail

*

No

Null

√-1

22

Eric Dantan Rzewnicki

eric at zhevny dot com

*

looking at hostels ...

most interested in caring for audio/video packages

n

23

David Rocamora

david dot rocamora at controlgroup dot com

Fri, some Sat

No

Not much

443

24

brandonwallace

brandonwallace inbox com

Fri,Sat

no

I can draw good.

25

Greg Lyle

greg at stealthisemail zom rom com

Fri,Sat

Can provide couch space

I can teach how not to do things by example

n

26

Kwai Liu

kwai dot liu gmail

Sat

no

instant gratification

27

27

Mike T

miket mixhaus com

Fri, part of Sat

no

learn: packaging and C builds teach: how to spell D-e-b-i-a-n

x

28

Morten Juhl-Johansen Zölde-Fejér

morten chez writtenandread.net

Bit of all three

No

Learn: More about packaging and bug squashing,do: Hopefully something useful for the event and Debian.

29

29

Ryan lee

sakarii dot ryan at gmail dot com

Fri,Sat,Sun

no

learn: packaging and sound/video packages and debian infrastructure/tools

30

30

Setchell Will (llenner)

?

?

?

31

31

Dennis Sheil

dennis > /var/tmp/.com

Fri

no

learn: packaging

32

32

Jeremy Baron

?

?

new packager

33

33

Kevin Coyner

kevin at rustybear dot com

Sat only

no

Internet-based attendees: raphael_ (Raphael Geissert), kmap (Kumar Appaiah) (Python related packages, misc. RC bugs and I can offer sponsorship of packages, if needed)

Work Goals

Squashed Bugs!!

Sponsors

We would like to thank our current sponsors:

Please contact Richard Darst (rkd zgib.net) if you are interested in sponsoring this BSP.

Planning

Notes from tutorials

Switch to local debian mirror:
------------------------------
sudo vim /etc/apt/sources.list
Change
deb http://ftp.us.debian.org/debian/ sid main
deb-src http://ftp.us.debian.org/debian/ sid main

to

deb http://192.168.1.2/debian/ sid main
deb-src http://192.168.1.2/debian/ sid main

Debian releases:
----------------
Etch - old stable (v4)
Lenny - current stable (v5)
Squeeze - testing (will be stable)
Sid - Unstable

Update package list:
--------------------
sudo aptitude update (newer - will be using aptitude in all further examples)
or
sudo apt-get update (if you've been using apt-get on your machine so far)

Install units:
--------------
sudo aptitude install units

run units:
----------
units

Find bugs:
----------
Goto http://bugs.debian.org/
enter "units" in "Select Bugs" "In package" 

There is a bug #520428: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520428

note diff (There is a submitted bugfix)

Copying a patch to test it:
---------------------------
Cut and paste patch from bts and put it in a file (if the patch was uploaded as an attachment, download it by clicking on the link from the bts)

ensure your system is set up to do debian development
-----------------------------------------------------

sudo aptitude install build-essential devscripts fakeroot


now we fetch the source code for the package:
---------------------------------------------

apt-get source units

debian source files:
--------------------

.orig.tar.gz -- upstream tarball
.diff.gz -- debian changes
.dsc -- description of debian package, meta-information

ls units-1.87
cd units-1.87

building the package
--------------------
debuild -us -uc

unmet build dependencies?!
--------------------------
error:
dpkg-checkbuilddeps: Unmet build dependencies: libreadline-dev | libreadline6-dev | libreadline5-dev texi2html

this is a hint that these need to be installed in order to build the package.

the | means "or"

easy to fix:

sudo apt-get build-dep units

try building again:

debuild -us -uc

successful build!  This creates a new version of the diff.gz and .dsc, and places them one level higher than the source code.
It also creates a .deb file above the source directory too.


patching
--------

## from the source directory:

patch --dry-run < ../twip.patch

if that looks ok, run it without --dry-run:

patch < ../twip.patch

(if the dry-run doesn't work well, you might try it with -p1 or -p2, which sometimes helps the patch apply)


modify debian/changelog
-----------------------

dch -l rkd --closes 520428

this drops you in an editor for you to update the changelog.  make sure your name and e-mail address are right, and the name/address/date are all on one line.

version numbers:
----------------

1.87-1
^^^^ ^
 |   \- debian revision number
 \----- upstream version number


now rebuild again:
------------------

debuild -uc -us

Success!  we have new version of .deb package in the directory above.


installation
------------

## see what's present on the system now:
dpkg -l units

## install directly with the lower-level package manager:
dpkg --install ../units_1.87-1rkd1_i386.deb

## see what's present on the system after the update
dpkg -l units


## you can also read the changelog later (this works for any package):
zless /usr/share/doc/units/changelog.Debian.gz

followup
--------

compare changes between the two versions to make sure your changes were good:

## look at summaries of unified diffs
sudo aptitude install diffstat patchutils

diffstat ../units_1.87-1.diff.gz
diffstat ../units_1.87-1rkd1.diff.gz

## what changed *between* the two changesets?
interdiff ../units_1.87-1.diff.gz ../units_1.87-1rkd1.diff.gz

## what changed between the two versions of the debian packages?
debdiff ../units_1.87-1.dsc ../units_1.87-1rkd1.dsc



Now running lintian...
W: units source: changelog-should-mention-nmu
W: units source: source-nmu-has-incorrect-version-number 1.87-2bgupta1
W: units source: debian-rules-ignores-make-clean-error line 39
Finished running lintian.

$ lintian-info --tags changelog-should-mention-nmu
N: changelog-should-mention-nmu
N:
N:   When you NMU a package, that fact should be mentioned on the first
N:   line in the changelog entry. Use the words "NMU" or "Non-maintainer
N:   upload" (case insensitive).
N:
N:   Maybe you didn't intend this upload to be a NMU, in that case, please
N:   doublecheck that the most recent entry in the changelog is
N:   byte-for-byte identical to the maintainer or one of the uploaders. If
N:   this is a local package (not intended for Debian), you can suppress
N:   this warning by putting "local" in the version number or "local
N:   package" on the first line of the changelog entry.
N:
N:   Refer to Debian Developer's Reference section 5.11.3 (Using the
N:   DELAYED/ queue) for details.
N:
N:   Severity: normal, Certainty: certain
N:

---
http://wiki.debian.org/MaintainerScripts


CategoryBsp