Thread (9 messages) flat view 9 messages, 2 authors, 2016-06-15

Re: [PATCH 0/3] git-svn-externals PoC (in a sh script)

From: Eddy Petrișor <hidden>
Date: 2016-06-15 22:45:15

Please CC me, I am not listed.

2008/8/29 Eddy Petrișor [off-list ref]:
Hello,

I have started a while back working on support for svn:externals
support for git-svn, but since I'm not that satisfied with the current
status of the patch, I haven't modified git-svn itself and just left
the sh script I made as a PoC as it was.

There's still work to be done to it, but I the current version is
functional enough to be probably found useful by more people than
myself.


Current status follows:

   Current functionality:
    - fetches all the externals of an already svn-fetched repo
    - support for svn:externals refresh
    - if the location of the external has changed, the current working
      copy will be placed aside and a new directory will be created
      instead
    - if the remote URI is the same (maybe a verison bump, there will
      be a 'git svn rebase'
    - remove support (useful for testing purposes or clean restarts)
    - avoid zombie externals at all costs - in some repos empty
      svn:externals might exist; svn ignores such externals, so git should
      do the same

   TODO:
    - take into account the revision of an external, if it exists
    - do not do deep svn cloning, to avoid legthy operations, just pull HEAD
      (this actually needs changes in git-svn itself)
    - use/create shallow copies to git svn repos (one revision should be enough
      for most externals)
    - use submodules for externals




Any comments are welcome.


--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein


-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help