[Kde-scm-interest] Minutes from Today's KDE -> Git BoF

Simon Hausmann hausmann at kde.org
Fri Jul 17 10:02:15 CEST 2009


On Wednesday 08 July 2009 06:43:42 pm ext Ian Monroe wrote:
> This is the minutes Leo wrote while the meeting was going on, so its a
> bit stream-of-consciousness.
>
> Notes from KDE + Git BOF:
>
> Current situation: amarok goes first, gets basic infrastructure set
> up, scripty, etc.
>
> what do we need for the git transition?
[...]
>     snapshot to read-only svn? (it's work, but maybe some people would like
> it)
>
>         --> NEEDED for documentation, in order to get it back into SVN
> for the translators/scripty/?

I took a look at this item and I think the easiest way to implement this is by 
using git-svn like this:

1) Setup:

    git svn clone svn-url-where-to-put-the-snapshots snapshots
    cd snapshots
    git remote add -f source git://...repo-url

2) Periodically:

    cd snapshots
    git fetch source
    git read-tree source/git-branch
    git commit -m "snapshot from $url at $date"
    git checkout .
    git svn dcommit


With this mechanism (git read-tree) we could even provide snapshots from git 
to svn of just a single subdirectory from a git repository, such as the doc/ 
subdirectory.

Now I'd like to put this all together into a script, and I'm wondering what 
the best place would be to put it. Does anyone have any suggestions?

Also, does anyone know who exactly was looking for this "feature"?

Simon


More information about the Kde-scm-interest mailing list