Differences between revisions 99 and 102 (spanning 3 versions)
Revision 99 as of 2007-11-30 15:13:36
Size: 6826
Editor: OndrejCertik
Comment:
Revision 102 as of 2007-12-03 14:26:08
Size: 7288
Editor: OndrejCertik
Comment:
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:
 * http://svnbuildstat.debian.net/repositorys/list
  * get edu in there
  * why is olsrd and batmand broken there
Line 92: Line 95:
How to use it with svn-buildpackage:

 1. svn-s
 1. cd ../build-area/
 1. dpkg-source -x *.dsc
 1. work with patches as described above
 1. copy the debian/patches/<your new/edited patches + the series file> back into your svn repository by hand
Line 124: Line 135:
 *[http://sourceware.org/autobook/autobook/autobook_20.html Makefile syntax]  * [http://sourceware.org/autobook/autobook/autobook_20.html Makefile syntax]
 * [http://www.lolcatbible.com/index.php?title=How_to_speak_lolcat how to speak lolcat]

Enrico on [http://www.enricozini.org/talks/2004linuxtag/html/img14.html Happiness and World Domination]

stuff that I do

I also maintain some information on this page, as I really like the ease of use of wiki.debian.org:

todo

todo for debian-edu

no time for this:

adding patches with quilt to a package

  1. add quilt to build-depends
  2. create debian/patches/ and put the patches there
  3. cd debian/patches ; ls > series

  4. add "QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2" to the configure target in debian/rules

  5. add "QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2" to the clean target in debian/rules

  6. enjoy :)

Example for a python package "cython":

configure/cython::
    QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2

clean::
    QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2

adding more patches later

  1. export QUILT_PATCHES=debian/patches
  2. quilt new 200-etc-olsrd.patch
  3. quilt add Makefile.inc
  4. vi Makefile.inc
  5. quilt refresh

How to use it with svn-buildpackage:

  1. svn-s
  2. cd ../build-area/
  3. dpkg-source -x *.dsc
  4. work with patches as described above
  5. copy the debian/patches/<your new/edited patches + the series file> back into your svn repository by hand

svn, knowing the diff before updating

  1. svn diff --revision HEAD
  2. svn up

usertags

random stuff

  • :zi in vim: disable folding
  • ctrl-a esc: enter copy-mode in screen, useful to move around
  • dpkg --compare-versions 0.79-3.2~holger1 lt 0.79-3.2 ; echo $?
  • To put a package on hold: echo pkgname hold | dpkg --set-selections
  • To remove the hold: echo pkgname install | dpkg --set-selections
  • echo 'Acquire::PDiffs "false";' > /etc/apt/apt.conf.d/99pdiff

  • netcat for dummies:
    • on host1: cat file | nc $host2 6666
    • on host2: nc -l -p 6666 | cat > file # needs to be interrupted with ctrl-c

  • alioth: as admin edit roles to configure a project
  • ssh merkel.debian.org /org/qa.debian.org/mia/mia-query fubar@email
  • give a package back to rebuild it: <zobel> mail the buildd "retry" in body with the correct subject iin the mail, that usually means, just preply to the build log (and send the mail to buildd@foo)

  • svn propset svn:executable ON $file

old powerpc stuff

i lost interest in doing powerpc stuff in debian, so i moved this down, to at least keep this here.

todo for d-i powerpc

issues in d-i powerpc

ppc notes