[Kde-scm-interest] Braindump: fixups
Thiago Macieira
thiago at kde.org
Sat Jul 19 04:07:15 CEST 2008
This is a braindump. I don't expect anyone to follow my train of thought.
I don't feel like making any changes to svn-all-fast-export any time
soon. But, if somehow motivation strikes me in the future, this is
information for me.
1) rename repositories to end in .git
-> would allow things like KDE/kdebase.git and
KDE/kdebase/workspace/libs/libplasma.git to exist at the same time
2) make svn-all-fast-export include some fixup information in the commit
message:
-> svn:externals detected (pathname found, path component, target, pegged
version)
-> if no pegged version, record the current revision
-> copy-with-history detected from outside the current module (source,
revision, target)
3) write a tool to create a revision map
4) modify svn-all-fast-export to detect when a subdirectory inside a
module is another repository (libplasma)
-> make it treat that like as if an svn:externals existed
- i.e., write the extra information like above
5) write a tool that parses all commit messages in all branches in each
repository, fixing svn:externals into git submodules
-> remove the fixup information from the log
- CHANGES ALL SHA-1 → requires recreating the revmap
-> find the matching SHA-1 of the target repository
-> add the tree entry for the submodule
6) write a tool that parses commit messages fixing the external
copy-with-history
-> extract the affected directory from the source repo
-> create renaming commit
-> add that commit as parent to the commit with the copy
-> must not let this tool execute on the CVS branches imported since
cvs2svn did a lousy job.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20080718/b7532af1/attachment.pgp
More information about the Kde-scm-interest
mailing list