Bulk Editing Polling Interval for Repositories
Symptoms
Bulk editing the polling interval for repositories is not possible and for instances with a high number of repositories this can become an extraneous manual operation.
Cause
Fisheye/Crucible currently does not provide that option via the Administration interface. More information can be found on the following feature request: FE-4205 - Getting issue details... STATUS
Resolution
It is possible to workaround the bulk editing by editing the config.xml
file:
- Backup the
FISHEYE_INST/config.xml
file. - Go to Fisheye/Crucible
Administration > Repository Settings > Repositories.
- Select one repository (as example) by clicking on the repository name.
- Go to
Updates.
- Uncheck the "Use the system default settings for updates" box.
- Change the value in "Polling Interval" or check the "Disable polling" box.
- "Save".
- Shutdown Fisheye/Crucible.
- Open the
FISHEYE_INST/config.xml
file for editing. - Locate the section with the edited repository:
If the polling interval has been defined (example 30 minutes), the following section has been added:
<updater pollPeriod="30minute"/>
If the polling interval has been disabled, the following section has been added:
<updater pollPeriod="never"/>
Find and replace for all repositories where these settings should be applied. Note: Repositories which were using the default setting will not contain the
<updater>
tag. In these cases the new settings should be inserted within the repository type tag. Example:<git location="file:///Repositories/Git/git_repository" renames="none" path=""><updater pollPeriod="never"/></git>
- Save and close the
FISHEYE_INST/config.xml
file. Start Fisheye/Crucible.