Edgewall Software

Opened 10 years ago

Last modified 9 years ago

#11778 closed enhancement

Improve notices on Repositories admin page — at Initial Version

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:
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.

Change History (0)

Note: See TracTickets for help on using tickets.