How to bulk change the password of the Fisheye/Crucible repositories
This page covers the steps required to change a significant amount of repository passwords in your Fisheye/Crucible instance. In particular, it provides a faster alternative to performing the update without changing the passwords one by one through the user interface.
- Stop Fisheye/Crucible.
- Locate the
config.xmlfile in the
- Create a backup copy of the
config.xmland identify the password requiring an update.
This file contains the list of the repositories currently configured in the application. The details of each one of them is described by a
repositorytag and its children nodes.
The password is stored, in clear text, in the
passwordattribute of the
password-authtag. For example:Git repository in the config.xml file
<repository name="Rep1" description="Repository1" store-diff="true" enabled="true"> <git location="https://email@example.com/repository_path/repository_name.git" renames="none" path=""> <password-auth password="your_password_here"/> </git> ... </repository>
Find and replace the old password with the new password.
Verify that the modified repository/repositories are still
Runningby checking the
Statecolumn in the
Administration > Repositoriespage.