Edgewall Software
Modify

Opened 9 years ago

Closed 5 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 9 years ago by anonymous

  • Type changed from defect to enhancement

comment:2 Changed 9 years ago by cboos

  • Component changed from browser to version control
  • Owner changed from jonas to cboos
  • Severity changed from normal to minor

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.

comment:3 Changed 9 years ago by cboos

  • Milestone set to 0.11

comment:4 Changed 8 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 8 years ago by cboos

  • Milestone changed from 0.11 to 0.12

Possibly 0.12, but more likely, the interface for managing repositories will be completely different, given the need for #2086. There will probably be a WebAdmin module for adding, removing, resyncing repositories, and there will be a dedicated repository table to manage them.

comment:6 Changed 6 years ago by cboos

  • Milestone changed from 0.13 to 0.12

Needs #7723.

comment:7 Changed 6 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 5 years ago by cboos

  • Keywords needinfo removed
  • Milestone 0.12 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Closing.

See #8291 for web admin and #7822 for command-line administration of the repositories.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cboos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from cboos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.