Question about svn:externals, submodules...

From: Michael Scholl <hidden>
Date: 2016-06-15 22:49:33

hi there, 

I try to change my svn setting to git and got the most things up running. But one thing I didnt understand how to handle with it, are my svn:external definitions. 

1. I used svn:externals to include other frameworks or libraries in a vendors folder. I got these cases covered with the git submodules, no problem so far.

2. But I used svn:externals to fill up a working copy with checkout specific files. Imagine a web project with public folder, and subfolders for css and js files. Inside these folders there was a "projects" folder with svn:externals for this specific project. All this project specific files are stored in a separate repository with complex structure for storing all the project related files, like:

project1
 - js
 - css
 - img
project2
 - js
 - css
 - img

So, while getting into git I didn't find any solution, that would help me to get my setting working nice with git. Submodules do not work for this case, it would need many different reps to build submodules from, because I cannot fetch any specific file path of some repository.

Any ideas, how to find a solution, for keeping main project AND project related files under version control with git? 
(I thought of symlinks and git ignore definitions, but perhaps there is a better way)?


Cheers

MS
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help