Feature #7429
openReposman.rb different way to deal with repo creation
0%
Description
Hi,
I've trying to implement the reposman.rb here in my site, but I'm facing some issues:
a) I need to create the repository with recommended folder structure (branches, tags, trunk)
b) Since I'm using the TortoiseSVN + TortoiseRedminePlugin, I need to create some properties on repository (bugtraq:logregex, bugtraq:provideruuid, bugtraq:url) to enable use it.
c) I would like to set a pre-commit hook to validate the log message is not empty
I'm not a Ruby developer, but I know other languages (.NET, PHP) I take a look on source code of reposman.rb (without knowing its structure) and I have some clues what could be done to address the issues related above.
I'm not a subversion expert, so I could not figure out how to create the repository with the default structure.
Updated by Fernando Possebon almost 14 years ago
Since I don't have any experience on Ruby, I implemented what I need on PHP. This PHP script I scheduled on crontab.
[[http://pastebin.com/6PQp6fz5]]
For now, this approach fill my needs but I believe that in future this script could have some problems, anyway if someone wants to use it, feel free.
Updated by Fernando Possebon almost 14 years ago
New version of script:
[[http://pastebin.com/H0c0hr9B]]
Updated by Tom Kuther almost 14 years ago
Thank you very much for this.
We need a) and c) too.
Would be nice if reposman.rp could handle it out-of-the-box, though.
Updated by Toshi MARUYAMA over 13 years ago
- Category changed from SCM to SCM extra