[Pkg-kde-talk] Branch pulls now that we have SVN: script!

Adeodato Simó asp16@alu.ua.es
Sun, 22 May 2005 12:16:32 +0200


Hi people,

  So now that KDE is on Subversion, I wanted to talk about how we make
  branch pulls and all that stuff. For example, I wanted to propose to
  name branch pulls after revision numbers instead of dates, and some
  other things (e.g., the importance of incremental pull patches).

  Initially, this mail was to contain instructions as to how I thought
  it was best to do things. However, when I had more or less written all
  the commands I thought about writing a script to make it all
  semi-automatic, and so I did.

  The script is named pull-kde-branch, it's in SVN now under the scripts
  directory [1] and this is a sample usage session:

    [1] http://svn.debian.org/wsvn/pkg-kde/scripts/pull-kde-branch?op=file&rev=0&sc=0

    % pull-kde-branch
    This is the first pull for kdenetwork 3.4.0.
    Getting diff file from server...
    Created patch debian/patches/01_kdenetwork_branch_r416643.diff.

    % pull-kde-branch
    Patch until revision 416643 exists.
    Getting diff file from server...
    Created patch debian/patches/01_kdenetwork_branch_r416694.diff.

    % pull-kde-branch
    Patch until revision 416694 exists.
    Getting diff file from server...
    Diff file was empty, no patch created.

  Basically, it figures it all much by itself. Now I'd ask that
  everybody reads it and understand what it does, because perhaps
  there's something that you think it'd be best to do differently, or
  whatever.

  Christopher, we still have to work out what to do with binary diffs.

  Cheers,

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
    Listening to: Vitalic - Mobile Square
 
Let us not be ashamed to speak what we shame not to think.
                -- Michel de Montaigne