Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

#11778 closed enhancement (fixed)

Improve notices on Repositories admin page

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.3
Component: admin/web Version: 1.0-stable
Severity: normal Keywords: repository
Cc: Branch:
Release Notes:

The environment path is used in messages displayed on the Repository Admin page. A link to the TracRepositoryAdmin page is included in the message displayed when a new repository is added.

API Changes:
Internal Changes:

Description

The Repositories admin page displays the following when adding a new repository:

close
  • The repository "somerepos" has been added.
  • You should now run trac-admin $ENV repository resync "somerepos" to synchronize Trac with the repository.
  • You should also set up a post-commit hook on the repository to call trac-admin $ENV changeset added "somerepos" $REV for each committed changeset.

In the second bullet, $ENV could be replaced with the actual path so that the user can copy the line to the console. In the third bullet we can help the user by displaying a link to TracRepositoryAdmin#Synchronization.

When the repository path or type is changed, the following message is displayed:

close
  • Your changes have been saved.
  • You should now run trac-admin $ENV repository resync "somerepos" to synchronize Trac with the repository.

$ENV can be replaced with the actual path here as well.

When the repository name is changed the following is displayed:

close
  • Your changes have been saved.
  • You will need to update your post-commit hook to call trac-admin $ENV changeset added "somerepos2" $REV with the new repository name.

$ENV can be replaced with the actual path here as well.

Attachments (0)

Change History (2)

comment:1 by Ryan J Ollos, 9 years ago

Proposed changes in log:rjollos.git:t11778.

comment:2 by Ryan J Ollos, 9 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: newclosed

Committed to 1.0-stable in [13207], merged to trunk in [13208:13209].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos 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.