Project

General

Profile

Actions

Feature #7429

open

Reposman.rb different way to deal with repo creation

Added by Fernando Possebon about 13 years ago. Updated about 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM extra
Target version:
-
Start date:
2011-01-24
Due date:
% Done:

0%

Estimated time:
Resolution:

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.

Actions #1

Updated by Fernando Possebon about 13 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.

Actions #2

Updated by Fernando Possebon about 13 years ago

New version of script:
[[http://pastebin.com/H0c0hr9B]]

Actions #3

Updated by Tom Kuther about 13 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.

Actions #4

Updated by Etienne Massip about 13 years ago

  • Category set to SCM
Actions #5

Updated by Toshi MARUYAMA about 13 years ago

  • Category changed from SCM to SCM extra
Actions

Also available in: Atom PDF