Changes between Version 1 and Version 2 of CodeMaintenance


Ignore:
Timestamp:
Apr 8, 2010, 4:50:01 PM (14 years ago)
Author:
Herwig Bauernfeind
Comment:

Add update chapter

Legend:

Unmodified
Added
Removed
Modified
  • CodeMaintenance

    v1 v2  
     1== Tree structure ==
    12{{{
    23rem svn -m "Samba 3.5.x: Create root" mkdir http://svn.netlabs.org/repos/samba
     
    2829rem wenn das stimmt bringen wir das schön zu papier
    2930}}}
     31
     32== How to update source ==
     33
     34Samba updates kommen als unified diffs gz gepackt:
     35
     36 1. Auspacken im parent directory von \source (ab 3.4.0 \source3 und \source4)
     37{{{
     38gzip -d patch-3.5.0-3.5.1.diffs.gz
     39}}}
     40Das Ergebnis ist dann patch-3.5.0-3.5.1.diffs.
     41
     42 2. Einen --dry-run Durchgang machen, um zu sehen obs Probleme gibt:
     43{{{
     44patch -N -p 1 -i  patch-3.5.0-3.5.1.diffs --dry-run 2>&1 | tee patch.log
     45}}}
     46patch.log prüfen, eventuelle Fehler bereinigen (VERSION, version.h sind Kandidaten)
     47
     48 3. Patch einspielen
     49{{{
     50patch -N -p 1 -i  patch-3.5.0-3.5.1.diffs 2>&1 | tee patch.log
     51}}}
     52
     53 4. Compilieren, testen und svn updaten.