How can I change the default FishEye/Crucible polling interval?
When editing a repo I see there is an option to 'Use the system default settings for updates', but I'm not clear on where that system default is set.
Just an FYI - Since FishEye 3.0 it has been possible to edit the default polling period for a FishEye instance.
Great!! but where are the directions? Googling just takes us back here, not very helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"To configure the default options for all repositories, click Defaults (under 'Repository Settings') in the left-hand nav panel [in Admin UI]"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recently contacted Atlassian Support about this issue. They said that there is no way to do this at present, and although they would look for a workaround (beyond editing all of the repos manually), there's nothing to report yet.
However, this is a known feature request that they encourage us to vote for: https://jira.atlassian.com/browse/FE-490
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IN your config.xml properties file is a section for repository defaults/
<repository-defaults> <linker/> <allow/> <tarball enabled="false" maxFileCount="0"/> <security allow-anon="true"><required-groups/></security> <text-indexer enabled="true"/><watches enabled="true"/> <commit-message-syntax syntax="plain"/> <changeset-discussions enabled="true"/> </repository-defaults>
You should be able to add an <updater pollPeriod="15m"/> element with an interval attribute, and restart fisheye.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doesn't seem to work, running into parsing errors like
at line 221: Expected element 'linker@http://www.cenqua.com/fisheye/config-1'
instead of 'svn@http://www.cenqua.com/fisheye/config-1' here in element
repository-defaults@http://www.cenqua.com/fisheye/config-1
Tried putting in just updater element, and in SVN element, but keep running into errors on startup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where did you add that? There is no SVN element, so I suspect it is in the wrong parent. This is not in a specicifc repository, which might have an SVN element, but in the general reposiotry-defaults.
< repository-defaults > < linker /> |
<
updater
pollPeriod
=
"15m"
/>
< allow /> < tarball enabled = "false" maxFileCount = "0" /> < security allow-anon = "true" >< required-groups /></ security > < text-indexer enabled = "true" />< watches enabled = "true" /> < commit-message-syntax syntax = "plain" /> < changeset-discussions enabled = "true" /> </ repository-defaults > |
Care to post your config.xml (exclusing any confidential data of coruse)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried that as well
line 231: Expected element 'allow@http://www.cenqua.com/fisheye/config-1' instead of 'updater@http://www.cenqua.com/fisheye/config-1' here in element repository-defaults
<repository-defaults>
<linker/>
<updater pollPeriod="15m"/>
<allow/>
<tarball enabled="false"/>
<security allow-anon="false" allow-logged-in="true" allow-anon-write="false" allow-logged-in-write="true">
<required-groups/> <required-write-groups/>
</security>
<text-indexer enabled="true"/>
<watches enabled="true"/>
<properties/>
<commit-message-syntax syntax="wiki"/>
<changeset-discussions enabled="true"/>
</repository-defaults>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmm. I am going to see if I can dig up the xml schema used for the config file and straighten this out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not documented anywhere. Atlassian really need to answer this seeing as there is no source for Fisheye. And where is the "poke Atlassian" button?
Update: I think it's kind of bullshit that this is not documented. The solution above looks feasible but don't work, at least on 2.5.6.
My workaround for this:
Open the config.xml in Intellij IDEA.
Do two xml refactorings :
1) click on the <svn> element and do add new subtag, only if not present, current file
2) click on <updated/> and do add attribute, and add the pollPeriod, 300s (or whatever interval).
Save, restart fisheye.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Looking at "config.xsd", it does not support the configuration above "<updater pollPeriod="15m"/>" in any point.
So, this tip does not make sense :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FE-490 has been implemented, apparently, and "It will be possible to configure defaults once FishEye 3.0 has been released."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agree, this is unclear. I can't locate where to set the default polling interval
Can someone from Atlassian please answer this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has there been a resolution to this yet?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, polling to a external github repo is occurring almost 4 times a minute. How to reduce polling interval for git?
Thank you,
Craig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did anyone find the answer to this? I just tried it and got the same error.
2011-10-20 15:58:33,438 INFO - FishEye/Crucible 2.7.4 (20110928032505), Built on 2011-09-28
2011-10-20 15:58:33,447 INFO - Starting UpgradeManager ...
2011-10-20 15:58:36,021 ERROR - Errors parsing C:\views\fisheye\fecru-2.7.4\bin\..\config.xml:
2011-10-20 15:58:36,022 ERROR - at line 243: Expected element 'allow@http://www.cenqua.com/fisheye/config-1' instead of 'updater@http://www.cenqua.com/fisheye/config-1' here in element repository-defaults@http://www.cenqua.com/fisheye/config-12011-10-20 15:58:36,024 ERROR - Problem with config file: Error parsing config file (see logs): C:\views\fisheye\fecru-2.7.4\bin\..\config.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IN your config.xml properties file is a section for repository defaults/
<repository-defaults> <linker/> <allow/> <tarball enabled="false" maxFileCount="0"/> <security allow-anon="true"><required-groups/></security> <text-indexer enabled="true"/><watches enabled="true"/> <commit-message-syntax syntax="plain"/> <changeset-discussions enabled="true"/> </repository-defaults>
You should be able to add an <updates> element with an interval attribute, and restart fisheye.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.