Noeud « Next »: , Noeud « Up »: Tarballs



3.1 Given Tarballs

The naming scheme for provided tarballs is different from the scheme you must follow (voir Delivery). Our naming scheme looks like 2004-tc-2.0.tar.bz2. If we update the tarballs, they will be named 2004-tc-2.x.tar.bz2. But your tarball must be named login-tc-2.tar.bz2, even if you send a second version of your project.


We also (try to) provide patches from one tarball to another. For instance 2005-tc-1.0-2.0.diff.bz2 is the difference from 2005-tc-1.0.tar.bz2 to 2005-tc-2.0.tar.bz2. You are encouraged to read this file as understanding a patch is expected from any Unix programmer. Just run bzless 2005-tc-1.0-2.0.diff.bz2.

To apply the patch:

  1. go into the top level of your current tarball
  2. remove any file which name might cause confusion afterward (find . -name '*.orig' -o -name '*.rej' | xargs rm)
  3. run bzcat 2005-tc-1.0-2.0.diff.bz2 | patch -p1
  4. look for all the failures (find . -name '*.rej) and fix them by hand once you understood why the patch did not apply

You might need to repeat the process to jump from a version x to x + 2 via version x + 1.