Organizing my own external libraries in version control

I want to configure an SVN repository to audit my projects. Currently, my workspace looks like this, and I intend to save it like this:

\workspace
   \myPrj1
   \myPrj2
   \myLibBase 
   \myLibA
   \myLibB

myPrj1uses myLibBaseand myLibA. myPrj2uses myLibBaseand myLibB. I will have more projects that will use libraries. I wrote and am writing libraries myself. Although I work on any of the projects, I constantly tried to improve not only the project, but also the libraries: find errors, add functions, etc.

Now, how do I organize this in the repository?

This is my idea, but is this the best solution?

  • I will always use the workspace as the root of the project.
  • I will always include the libraries that the project uses in the snv project folder
  • snv

:

\repository    
   \myPrj1 
       \myPrj1
       \myLibBase
       \myLibA
    \myProj2
       \myProj2
       \myLibBase
       \myLibB
    \myLibBase
       \myLibBase
    \myLibA
       \myLibA
    \myLibB
       \myLibB

... :

, , , . , , ( ), .

... :

, svn , , . .

- , ? ? ? //.. ? ? ?

+3
2

, , : Externals

: " , . , , , , . , , svn checkout , . , , , ."

, . , , , .

+2

, (, myLibBase) - , . , ( ), myLibBase , , , :

  • , .

.

, , , ? , - .

+1

Source: https://habr.com/ru/post/1795727/


All Articles