Opened 7 years ago
Closed 4 years ago
#2987 closed enhancement (wontfix)
Repository type and path/spec in conf/trac.ini
| Reported by: | tom@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | version control | Version: | 0.9.4 |
| Severity: | minor | Keywords: | |
| Cc: | thomas.tressieres@… | ||
| Release Notes: | |||
| API Changes: | |||
Description
I want to switch to perforce and when I read the Wiki node on http://trac-hacks.org/wiki/PerforcePlugin I see that I need to add a new section to the trac.ini file. It would be much nicer if I could specify the repository type and path/spec using a single string "p4://user@server:port/client" or "svn:file:///local/repo". I have no idea about the syntax, but I've seen that the mysql db backend plugin accepts such a configuration string.
Attachments (0)
Change History (8)
comment:1 Changed 7 years ago by anonymous
- Type changed from defect to enhancement
comment:2 Changed 7 years ago by cboos
- Component changed from browser to version control
- Owner changed from jonas to cboos
- Severity changed from normal to minor
comment:3 Changed 7 years ago by cboos
- Milestone set to 0.11
comment:4 Changed 7 years ago by thomas.tressieres@…
- Cc thomas.tressieres@… added
This ticket is related to these two tickets on PerforcePlugin? #632 and #694.
I've closed the first one.
comment:5 Changed 6 years ago by cboos
- Milestone changed from 0.11 to 0.12
comment:7 Changed 4 years ago by cboos
- Keywords needinfo added
Well, actually I think that with #7723 the need for such a syntax is not that relevant anymore.
Even with the ini based specification of [repositories], if lots of repositories are sharing the same type, it's enough to pick that as the default type (in [trac] repository_type) and the entries have just to contain the .dir information.
Suggesting closing.
comment:8 Changed 4 years ago by cboos
- Keywords needinfo removed
- Milestone 0.12 deleted
- Resolution set to wontfix
- Status changed from new to closed



This syntax will be useful for multiple repository support (#2086). repository_dir will then be a list of repostype:reposdir, with repostype defaulting to svn for historical reasons.