youngmon/atlassian-qna huggingface dataset:
Reindexing a smart commit doesn't update previous write actions
Asked by Tini Good:

A JIRA issue number was included in the middle of a Fisheye smart commit like this:

*JIRA-123 #comment Merging JIRA-123 branch back into trunk*

The JIRA comment ended up being "Merging" and it cut off everything after the JIRA key. I edited the commit message and re-wrote it as:

*JIRA-123 #comment Merging branch back into trunk*

Then I reindexed that one commit number. I was expecting it to update Fisheye and modify the JIRA comment. However, nothing happened to the JIRA comment.

Is this expected behavior?


Answers:
author: lpater
body: Hi Tini,

I'd say it's expected. We don't reprocess smart commits when doing reindexing of any kind.

This is in order to avoid duplicating any actions that shouldn't be repeated (like transitions, comments but also creating reviews).

comments: author: Tini Good
body: It would be awesome if: (a) smart commits could handle JIRA keys in mid-comment, possibly through an escape character (a backslash would probably work) and (b) if there was a way when reindexing in JIRA to check a box to also reprocess a smart commit. I think the first would be very universally useful, although the second is pretty specialized.
fish eye test connection error
Asked by linusattupp:

Hello, i am getting this connection error to perforce in fishey and error goes like this,

Unable to initialise repository build_depot due to com.cenqua.fisheye.config.ConfigException:Problem communicating with repository : Unable to determine latest revision. No revision information was returned - check path exists, permissions and output encoding

However I am able to connect to the perforce server from any of my linux machine

Can somebody help?


Answers:
author: rahuldanwade
body: Hi,

I think Fisheye is not configured correctly to point to the right p4 Executable. In this case, Fisheye is using the incorrect *p4v.exe* file instead of the expected *p4.exe* executable.

reffer this link[](https://confluence.atlassian.com/display/FISHEYE/Perforce+client)

<https://confluence.atlassian.com/display/FISHEYE/Perforce+client>
fisheye Unable to determine latest revision. No revision information was returned - check path exists, permissions and output encoding
Asked by linusattupp:


Answers:
author: Piotr Swiecicki
body: Hi @linusattup putta,

It is difficult to help with so limited information only. I'm guessing you are attempting to index new perforce repository, can you verify connectivity using "Test Connection" on the repository admin page, please?

Also, can you check FishEye logs in FISHEYE_INST/var/log folder to see if there are any more details there?  
Kind regards,  
Piotr


Tags: fisheye-crucible-administration
E200020: Pathname not terminated by ':'
Asked by Ricardo Garcia:

Im using Fisheye/Crucible 3.7 with Subversion. There is one repository that keeps giving me error when scanning:

Repository paused due to error com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E200020: Pathname not terminated by ':' org.apache.subversion.javahl.ClientException: svn: E200020: Pathname not terminated by ':' org.tmatesoft.svn.core.SVNException: svn: E200020: Pathname not terminated by ':' org.tmatesoft.svn.core.SVNException: svn: E200020: Pathname not terminated by ':'

Is it a problem with my repo? The log does not show me which file has this prop.

Thanks.


Answers:
author: Piotr Swiecicki
body: Hi Ricardo,

The FishEye log should contain the svn command executed that caused this error, it might be earlier on in the file though. You can also try enabling debug logs (in Admin / Server section) to collect more data.

You may also want to take a look at this post: <http://stackoverflow.com/questions/20664530/svn-pathname-not-terminated-by> it explains similar problem with svn:mergeinfo properties. Perhaps you are affected by the same?

If the above doesn't help consider contacting our support team on <https://support.atlassian.com/browse/FSH>, they should be able to identify and fix the problem.

Kind regards,  
Piotr


author: Ricardo Garcia
body: Hi Piotr,

With the link you sent me from stackoverflow i could identify the problem with my repository. I little bit ashamed that i could not find this link my self, but anyway...

Thank you so much for the help.

Regards,

Ricardo.
Unable to add files to review using "Explore Repositories" option
Asked by arpit doshi:

Hi,

We are using crucible version 3.6.1 in integration with Stash. While adding content to review, explorer repositories option keep showing "loading" for hours. Also, add attachment or finding changesets doesn't work.

I see similar issue reported <https://jira.atlassian.com/browse/CRUC-5923> but for version below 2.7.

Can anybody help here ?

Thanks,

Arpit


Answers:
author: Felipe Kraemer
body: Hello Arpit,

Can you check the instance logs located at \<FISHEYE_INST\>/var/log directory, and see if there are any errors being written when you try to add content to the review?

Maybe the instance is running out of memory?

Also, are you aware of any recent large changests that have been committed into the Stash repository?

Does it work if you try to add content to the review using another method (Choose branches, Search for files, etc)?

Kind regards,  
Felipe Kraemer


Tags: review
Crucible pre-commit query
Asked by rahuldanwade:

If I create patch file for one of a branch on my local machine and them upload to crucible via pre-commit how crucible make it sure that the patch file goes to the correct branch?


Answers:
author: Piotr Swiecicki
body: As explained in <https://confluence.atlassian.com/display/CRUCIBLE/Creating+patch+files+for+pre-commit+reviews>:
> Crucible will analyse all the paths in the patch, find the branches containing all those paths, then anchor the patch to the trunk or the branch with the most recent commit activity.

Feel free to raise a improvement suggestion in <https://jira.atlassian.com/browse/CRUC> project to be able to specify the branch, at the moment it is not possible I am afraid.

Kind regards,  
Piotr

comments: author: rahuldanwade
body: Hi Piotr,I am trying to create a pre-commit review from crucible using the attached patch file.But This is not getting anchored to "Demo" repository. This repository points to core-framework and the patch file is also created inside that directory only.Now we create pre-commit hook for code changes that have not yet been committed to the SCM.and like you said"Crucible will analyse all the paths in the patch, find the branches containing all those paths, then anchor the patch to the trunk or the branch with the most recent commit activity."Here I am little confused about committing to SCM or in other way can I commit to local repo and create patch file then attach it to review or I should not create to local repo whatever changes I do in my local repo code create a patch from there and attach it to crucible review.Could you please help on that!!!Thanks in advance!!!


author: Piotr Swiecicki
body: Hi Rahul,You mentioned an attached patch file but I can't see any attached file here.If you believe the patch is anchored to wrong repository than expected, please try picking up correct repository when anchoring the patch, you should be able to specify which repository the patch should be anchored to.What SCM type do you use by the way? You mention committing to local repository so I am guessing this is git or mercurial, is that correct?Regarding your last question, it shouldn't really matter whether you committed changes to your local repository or not. Crucible should manage to anchor the patches correctly as long as the "from" changeset of your patch is already known to Crucible and was indexed correctly.Hope that helps,


author: rahuldanwade
body: I can add the Git repo(drop down option available) but doesn't seem to be a way to select the branch to use


Tags: fisheye-crucible-administration
Set the default branch for a repository in FECRU
Asked by Knut Auvor Grythe:

We have a Mercurial repository where we use "trunk" as our release branch for historical reasons. Is it possible to make this the default branch in FishEye and Crucible? I would expect this to affect at least the following:

* Viewing a branch in FishEye would only show differences between the branch and "trunk"
* The default "branched from" when creating a branch review in Crucible would be "trunk"


Answers:
author: Piotr Swiecicki
body: Hi @Knut Auvor Grythe,

I'm afraid for mercurial repositories FeCru assumes main branch is called "default" and there are no means to change this. Feel free to raise an issue in <https://jira.atlassian.com/browse/CRUC> project to request such improvement to be implemented though.

Kind regards,  
Piotr


Tags: fisheye-crucible-administration
Fisheye/Crucible 3.5.2 are not sending email notifications.
Asked by Ziad:

Hello,

So a user watches repository X and the admin configured the repo to send watches. Now the problem is that there are no emails being sent when a review is created or whatever is done with it. The test email page works fine and emails are sent. The emails are configured using Office 365 settings. I enabled debugging in mail settings but nothing is written to the log.

Any help is appreciated.


Answers:
author: gustavo_refosco
body: Hi Ziad,

Could you please give a try restarting FishEye and checking if the emails are sent after this? In case this works I think you may be facing what's described at <https://confluence.atlassian.com/display/FISHKB/Email+Notifications+Not+Being+Sent>. As per this document, this could happen if a connection was left open with the SMTP server, so no new emails are sent.

If this is the case please follow the Resolution proposed in this document, by setting the timeout in the Mail Server configuration.

Regards,

Gustavo Refosco
Hello, i am trying to add a pre-commit hook in SVN to tie it with Fisheye.can you guide me please
Asked by swetha s:


Answers:
author: rahuldanwade
body: Hi Swetha,

Do you want to achieve something like, code review before the commit? {Or After commit but before Push}


author: Piotr Swiecicki
body: See <https://confluence.atlassian.com/display/FISHEYE/Configuring+commit+hooks>, it links to SVN specific guide.

Hope that helps,   
Piotr


Tags: fisheye-crucible-administration
Does crucible supports commenting via email as JIRA.
Asked by Shamsudeen Shaikh:

JIRA does support adding comments to issues via email.

Is there a similar feature in CRUCIBLE.

Regards,

Shamsudeen


Answers:
author: Jeff Thomas
body: Hi Shamsudeen,

This is something that's not currently available in Crucible, but we have an open feature request for it at:

<https://jira.atlassian.com/browse/CRUC-6068>

Please vote on the issue and add yourself as a Watcher to be notified of its progress and feel free to comment there further.

Cheers,  
Jeff


Tags: fisheye-crucible-administration
Branch-based review: how to see diff between parent branch and current, not diff of each commit on dev branch?
Asked by Eddie Galvez:

In 3.7, I'm using the branch based stuff, but what our developers are trying to achieve, is a review of the final branch contents when ready for delivering back to its parent branch; thus, the CR should show each file that changed relative to the parent branch.

But instead each diff shown is always the diff for that particular commit, not against the parent branch.

How do we get this?


Answers:
author: Piotr Swiecicki
body: Hi @Eddie Galvez,

If by
> I'm using the branch based stuff

you mean you are adding branches to review as explained in <https://confluence.atlassian.com/display/CRUCIBLE/Adding+content+to+the+review#Addingcontenttothereview-Branches> then you should see expected diffs. Basically assuming you are working on a feature branch called "featureBranch", you branched from "parentBranch" and you are about to merge changes back to "parentBranch" but want to review your changes, all you need to do is to add branch to review selecting "featureBranch" as a "Branch to review" and ensuring base branch is set to "parentBranch". Once you do this, you should see only 2 revisions of each file, one being the last changeset on the "parentBranch" made prior to the branch point and the other being the last change of that file on a "featureBranch".

Hope that helps,  
Piotr
How to configure multiple trunks?
Asked by Steffen Breitbach:

We have a SVN structure which is something like this:

/svn/product/component1/service/trunk  
/svn/product/component1/service/branches/branch1  
/svn/product/component1/client/trunk  
/svn/product/component2/service/trunk  
/svn/product/component2/client/trunk  
...

I have configured the repository to  
SVN URL /svn/  
Path /product/

I did not want to have all the components in one trunk, so I configured custom SVN Symbolic Rules. For example:

*Trunk*

Regular Expression (\[\^/\]+)/(\[\^/\]+)/trunk(/\|$)  
Name ${1}-${2}-trunk  
Logical Path Prefix ${1}/${2}

*Branches*

Regular Expression (\[\^/\]+)/(\[\^/\]+)/branches/(\[\^/\]+)  
Name ${1}-${2}-${3}  
Logical Path Prefix ${1}/${2}

Testing I get:  
/component1/service/trunk/path/to/file.java

Container trunk:component1-service-trunk  
Logical Path component1/service/path/to/file.java  
Logical Tail path/to/file.java

/component1/service/branches/branch1/path/to/file.java

Container branch:component1-service-branch1  
Logical Path component1/service/path/to/file.java  
Logical Tail path/to/file.java

To me that looked good so far. However, creating a branched-based review, I run into errors. First error is that there is no "trunk" which is obvious in my configuration. However, if I select the proper "${1}-${2}-trunk", I get the error "Attempt to add too many revisions to a review - no more than 800 file revisions are allowed."

Looking into the Commit Graph, no branching can be seen either.

Point being: is Fisheye unable to handle "dynamic" trunk names like this? Do I absolutely have to use "trunk"?


Answers:
author: Maciej Swinarski
body: Hi [Steffen Breitbach](https://answers.atlassian.com/questions/users?username=steffen%20breitbach),

There is a bug that FishEye and Crucible will always assume there is a a trunk with "trunk" name in any svn repository. This will appear in :

* the default base branch on the branch review screen
* the first branch at the branch selector list on the branch review screen
* the first branch at the branch selector list on the repository browser

I have created a bug <https://jira.atlassian.com/browse/FE-5558> and thats why you are getting the first "there is no trunk" error.

However I am unable to reproduce the problem that the branch review would try to include the initial base branch in the review. Also the fact that the Commit Graph is not showing branching is worrying.

Could you please tell me:

* how do you create branches in svn (command example)
* do you have any excludes defined for this svn repository

Best regards,

Mac


author: lpater
body: Hi Steffen,

Thanks for your report.

The problem you're seeing seems similar to the known issue with branch reviews for certain SVN custom symbolic rules configuration. This is tracked as <https://jira.atlassian.com/browse/CRUC-7040>, please watch that issue for updates.

Your symbolic rules configuration looks okay at a glance, and branch reviews should be able to cope with having multiple trunks. We'll investigate and update further via the JIRA issue.


Tags: fisheye-crucible-administration
How can I set a *global* watch on a certain project and set email watches for *all* users in Fisheye/Crucible?
Asked by Ziad:

As an administrator, I want to set a watch for a certain repo/branch/whatever for all users and at the same time set email watches to immediate for all users as well. I want all users to be notified of any changes.

Is it possible?


Answers:
author: Piotr Swiecicki
body: FishEye watches are meant to be managed by individual users, administrator can allow/disallow watches for particular repositories or globally for all repositories, but individual users are expected to enable those watches then. See <https://confluence.atlassian.com/display/FISHEYE/Watches>

There is a plugin provided though to allow administrators to control actual watches for individual users or group of users, see <https://marketplace.atlassian.com/plugins/com.atlassian.fisheye.plugins.fisheye-watchers-plugin> Perhaps you want to give it a try?


author: J
body: I'd like to see something where the admin can add watches for an email address instead of a user. We have some group email addresses that I want to notify of SVN changes, and not all of them are Fisheye users.


author: Ziad
body: Anybody? help please


author: Ziad
body: When I "**Allow users to watch for repository changes**", the user will not have anything in his watch list. Why is that? shouldn't it be automatically added to his list? the user won't be receiving any email watch if his list is empty, isn't that right?


author: Tini Good
body: According to the documentation, folks can configure their own Watches, or you can configure watches for them for a single repository or all repositories. If you want it down at the branch level, you'd probably have to define that specific branch as its own separate repository in Fisheye (shouldn't negatively affect parent/main repo).

See [Watches documentation](https://confluence.atlassian.com/display/FISHEYE036/Watches).

As an admin, my experience is that folks have a tendency to ignore email notifications from Fisheye/Crucible if they get too many, and I actually recommend they configure their Profiles for specific batch notifications of only some notifications for that reason. You might end up with an "automatic delete" behavior if you make this mandatory instead of voluntary.
Caused by: java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at fisheye installation
Asked by keshav kumar:

I am trying to install fisheye on rhel 6.x platform but when i try to start the service it is giving me the following error.pls help

thanks in advance

kk


Answers:
author: Piotr Swiecicki
body: Hi @keshav kumar,

Can you ensure you are running supported java version (<https://confluence.atlassian.com/display/FISHEYE/Supported+platforms>), please?

It seems like you are running GIJ java rather than Oracle's one. Perhaps this article can help: <http://serverfault.com/questions/405935/replace-gij-with-oracle-java> ?

Cheers,  
Piotr


Tags: fisheye-crucible-administration
How to exclude SVN connection paths
Asked by Perry Francis:

Hi,

Help needed...

We would like to have Crucible configured to ignore certain paths.

Currently our svn connection path is

[https://svn/s](https://hsv-wdsvn1/svn/optimus)hamu/platform/branches/Willy

We would like to exclude this path

[https://svn/s](https://hsv-wdsvn1/svn/optimus)hamu/platform/branches/Willy/webapps/src/test

Can this be done?

Thank you


Answers:
author: user1648639125013
body: Hi Perry,

Certain paths can be excluded from being indexed by Crucible through the use of Exclude paths, more information on this can be found in the following documentation;

<https://confluence.atlassian.com/display/FISHEYE/Include+Exclude+paths#IncludeExcludepaths-ConfiguringInclude/Excludeforaspecificrepository>

Kind Regards,

Chris


Tags: fisheye-crucible-administration
Fishsye CrossDomain Problem?
Asked by MayankPatel:

Hi ,

I am using asp.net for for my website and i am using fisheye as a tool in my website.

Now When I Redirect fisheye request it gives me cross platform issues.

```
&lt;iframe id="fisheyFrame" src="fisheyeURL" name="fisheyFrame" allowtransparency="true" frameborder="0" style="width:100%;height:500px"&gt;&lt;/iframe&gt;
```

Error Fire when run page :

```
Uncaught SecurityError: Blocked a frame with origin "http://localhost:8060" from accessing a frame with origin "http://localhost:5449". Protocols, domains, and ports must match.
```

How can i solve it ???

Thanks,


Answers:
author: Piotr Swiecicki
body: Hi,

This is caused by Same Origin security policy, there is a lot of materials on this matter on the web, e.g. <http://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame>, <http://stackoverflow.com/questions/25893006/uncaught-securityerror-blocked-a-frame-with-origin-null-from-accessing-a-fram> or <http://en.wikipedia.org/wiki/Same-origin_policy>

Interesting is also the URL you are using, <http://localhost:8060/.> Remember this might work well on your local machine where FishEye instance is running on the same box, but external users would not be able to access FishEye via this URL. Use full qualified domain name of the box hosting FishEye preferrably.

Finally, by the same origin policy error you mentioned, I'm guessing you are trying to interact with FishEye displayed in the iframe by JavaScript, aren't you? Let me know what kind of integration are you trying to achieve, perhaps there are better ways of providing such integration? You may want to consume [FishEye REST APIs](https://developer.atlassian.com/display/FECRUDEV/REST+API+Guide) for instance to interact with FishEye application, that might be easier approach to overcome the same origin policy limitations.

Kind regards,  
Piotr
installation of crucible
Asked by richard bradwell:

I want to evaluate the latest version of crucible however we only have boxes with openjdk 1.6. I believe java 1.7 is required for the latest version. Any suggestions on the best way to install it with minimal disruption?


Answers:
author: Piotr Swiecicki
body: Hi Richard,

If you are asking how to upgrade JRE on your machine or install newer version in different location, this is really Operating System specific. Let me know what OS/distribution you are using so I can try providing some help.

Crucible stopped supporting Java 6 mostly because it reached its end of life in February 2013, see <http://www.oracle.com/technetwork/java/eol-135779.html>. You can still trying to run evaluation on older Crucible version which still supported Java 6. Or give it a try with the most recent one - although Java 6 is no longer supported there is still good chance it would run correctly. Bear in mind this is not supported configuration though. Personally I would strongly encourage to upgrade Java ASAP, having no security patches for it since February 2013 means you run a risk of having your system compromised.

Kind regards,  
Piotr


Tags: fisheye-crucible-administration

moderators
git???????????????????????????????????????????????????????????????????
Asked by sitakagenki:

git?????????????????????????????????????????????????????????

????

?????????git????????????????????????????url????????????????????

????

??????????????????????????url?????????????????????????windows????????2?????????

?????????????????????????????????????url???????url????????????????????

???????

??????????

???????

????????????????????

????????????????????????????????

???????????windows????????????????????????

(?????????????????????????????)

?????????????????????????????????????????????????????????????????????????????

????????????????????????????????????????


Answers:
author: Rick Li
body: ????????????????????????

github??????????????URL?????????????????????????????????????????

?????????????????????

????????????????????Community?????????????

* [Sourcetree has invalid credentials but cannot clear / reset them. where are they stored?](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-has-invalid-credentials-but-cannot-clear-reset-them/qaq-p/753478)

????????????????????????????Git???????github??????????????????????????????????????????????????????????

* [GitHub??????????????????](https://qiita.com/forest1/items/adf683c4cc2f8cdd6a24#github%E9%80%A3%E6%90%BA)

???????????


author: sitakagenki
body: ?????????

????????????????????????????????????????hg????????????????????????git???????????????????????