It would be possible to add this as an optional check box item, but I wouldn't do it automatically for the same reasons that Subversion doesn't automatically create the directories.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have no problem with setting a checkbox, or some other technique.
I would assume there would be a configuration parameter in the properties file that defined if the checkbox would be checked by default.
Also you might want to configure what directories get created (in case someone did not like the term "trunk" and instead liked the term "main" for instance)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is becoming one of the major blocking issues for my team using this tool...
We create lots of repositories and it is very tedious to have to manually create the 3 folders every time we make a new repository.
As we have code in multiple languages and also store hardware schematics and modeling diagrams etc, for every new project we start, we have a repository for java code, one for c/c++, one for dxp, one for dsolidworks, etc.
We are way over 50 repositories at the moment and I could see this doubling or tripling easily.
How do others handle this? or am I the only one who has lots of repositories?
Would this be an easy thing to accomplish? I would be glad to assist in the process of adding this functionality if others want to help, but I do not know svnMgr's code enough to make the change myself.
Thoughts?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If your willing to use code from the trunk, in April of 2006, I committed a version to the trunk that:
* Added an optional variable $post_create_script. If this variable is defined in the config.php file, then SVNManager will execute the command when a new repository is created, passing the newly created repository's location as the one and only parameter. This can be used to copy default hook scripts svnserve.conf files, etc. to the newly created repository.
I did this for the purpose mentioned (copying the hook scripts) but you could just as easily write a script that creates the directories for you.
The script gets passed the newly created repositories path as its only parameter.
Hope this helps.
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when creating repositories, it is a pain to have to manually add the trunk, tags and branches directories.
It would be great if svnManager did that automatically when creating a new repository
It would be possible to add this as an optional check box item, but I wouldn't do it automatically for the same reasons that Subversion doesn't automatically create the directories.
I have no problem with setting a checkbox, or some other technique.
I would assume there would be a configuration parameter in the properties file that defined if the checkbox would be checked by default.
Also you might want to configure what directories get created (in case someone did not like the term "trunk" and instead liked the term "main" for instance)
This is becoming one of the major blocking issues for my team using this tool...
We create lots of repositories and it is very tedious to have to manually create the 3 folders every time we make a new repository.
As we have code in multiple languages and also store hardware schematics and modeling diagrams etc, for every new project we start, we have a repository for java code, one for c/c++, one for dxp, one for dsolidworks, etc.
We are way over 50 repositories at the moment and I could see this doubling or tripling easily.
How do others handle this? or am I the only one who has lots of repositories?
Would this be an easy thing to accomplish? I would be glad to assist in the process of adding this functionality if others want to help, but I do not know svnMgr's code enough to make the change myself.
Thoughts?
If your willing to use code from the trunk, in April of 2006, I committed a version to the trunk that:
* Added an optional variable $post_create_script. If this variable is defined in the config.php file, then SVNManager will execute the command when a new repository is created, passing the newly created repository's location as the one and only parameter. This can be used to copy default hook scripts svnserve.conf files, etc. to the newly created repository.
I did this for the purpose mentioned (copying the hook scripts) but you could just as easily write a script that creates the directories for you.
The script gets passed the newly created repositories path as its only parameter.
Hope this helps.
Paul