youngmon/atlassian-qna huggingface dataset:
Fisheye incorrect commiter in repository
Asked by Vladimir Omelchenko:

There is an issue in our Fisheye installation that sometimes the commiter in the indexed respository is not showing the same user as in SVN repository. Can someone please advise what can be causing this issues?

The Fisheye version is 2.7.14.

Thank you.


Answers:
author: Conor
body: Svnsync is not an atomic protocol. It generally performs the commit as the svn sync user and then updates the revprops to match the original commit. If FishEye sees the repository between these two operations it will see the author as the svn sync author.

One workaround for this is to tie the FishEye poll into the svn sync operation so that polling happens after the svn sync bring the repos into alignment. Alternatively you can rescan the commits to being FishEye into sync.

For further info, see <https://confluence.atlassian.com/display/FISHEYE/Indexer> and the rescan option for the command line tools at <https://confluence.atlassian.com/display/FISHEYE/Command-Line+Options>

comments: author: Vladimir Omelchenko
body: Thanks a lot, Conor! Now I understood why I have such issues and can handle the fix.


author: Caterina Curti
body: Also refer to the related Knowledge base article: <https://confluence.atlassian.com/display/FISHKB/Wrong+User+Reported+When+Indexing+SVN+Mirror+Repository>


author: Vladimir Omelchenko
body: Thanks a lot, Conor! Now I understood why I have such issues and can handle the fix.


author: Vladimir Omelchenko
body: I know about mapping and it is working if you map the needed users but even with mapping some commits are being shown with incorrect commiter.

We are using svnsync to sync the main repository to the mirror and the mirror on the local fisheye installation is being used for indexing.


author: Conor
body: Are you using svn syncing?


author: Gurleen Anand _Atlassian_
body: You can manually map your users in Fisheye using "user Mappings" via this screen:

http://\<Fisheye_Base_URL\>/admin/userMappingAdmin.do


Tags: fisheye-crucible-administration
Nginx reverse proxy of Crucible + Fisheye fails to draw /admin/admin.do content
Asked by John Stanford:

Hi,

I've got all of the atlassian tools to work behind an nginx proxy except for this pair. These guys partially work, but eventually I'll hit a page that doesn't get rendered properly. For example, when I go to "Administration" it paints the header and footer, but no content.

I've reviewed a couple similar threads on this and other sites, but none of them have resolved my issue. Here are some config details.

**fecru/config.xml:**

```
&lt;web-server    context="crucible"    site-url="https://[redacted].[redacted].com/crucible"&gt;   &lt;http       bind=":8060"       proxy-port="443"       proxy-scheme="https"       proxy-host="[redacted].[redacted].com"/&gt;&lt;/web-server&gt;
```

**nginx config:**

```
location ~ ^/crucible {        proxy_pass http://127.0.0.1:8060;        proxy_connect_timeout   150;        proxy_send_timeout      100;        proxy_read_timeout      100;        proxy_buffers           4 32k;        client_max_body_size    8m;        client_body_buffer_size 128k;        proxy_buffering off;	port_in_redirect off;	proxy_redirect http://127.0.0.1:8060 /crucible;}
```

Any guidance would be greatly appreciated!


Answers:
author: Sergey Svishchev
body: 1- nginx note: avoid using regex in location; in this case, simple 'location = /crucible' should work just as well.

2- proxy_redirect and port_in_redirect should not be necessary, as the app is aware it is running behind a proxy and will generate correct links itself.

comments: author: Jakub Musialek
body: I have setup my connection as it is explained here and proxy with nginx does not work. Is there any config for nginx and fisheye4.6 that actually work?

Nginx version - 1.4.7-1+precise0


Tags: fisheye-crucible-administration
How can I link Jira Issue Fields to Perforce Job fields
Asked by Julian Green (KMIS):

I am using JIRA 5.2.11/Fisheye 3.0.3 with the inbuilt version of the Fisheye Plugin.

I can:

1. Create Jobs from JIRA Issues

2. Link Custom Fields to Perforce Jobs

How can I link non custom fields (e.g. assignee, Priority etc.)

I have fields in my P4 jobspec ready to receive the data from JIRA/FishEye

I have a screen which allows me to map custom fields to these P4 fields

Am I missing a trick here?

Julian


Answers:
author: Julian Green (KMIS)
body: Answered my own Question Doh!!!

I just need to make sure that the p4 jobspec is configured correctly it seems to prefer a type of "Line" to "Word"


author: vivekbharathi Jothimani
body: Hi Julian, I am trying to integrate JIRA Issue and Perforce Task. I filled in all necessary fields, found that couldn't connect to perforce Server. I am getting an error, can anyone please help

Problem connecting to Perforce:

com.perforce.api.CommitException [java.io](http://java.io).IOException: error: Error in job specification.error: Error detected at line 8.error: Syntax error in 'jobs'.

Thanks in Advance

comments: author: Chen Touboul
body: Hi,   
*i have the same issue by adding the Task to Job...did you solved it...since 2016 :) ?*


author: vivekbharathi Jothimani
body: Yes I didn't use FishEye. I implemented through P4DTG. Let me know, if you need any help or information regarding. You can also pm, if you want.


author: Broderick Andrews
body: How exactly were you able to get this working?


author: Julian Green (KMIS)
body: Atlassian ave confirmed that the non-custome fields passed to Perforce are "Hard-Coded" so you can't do anything


Tags: jira

perforce
How do I remove a patch file from a Crucible review?
Asked by Carolyn Van Slyck:

I created a pre-commit review in Crucible. The original patch file I uploaded was incorrect so I uploaded a new patch file. I was able to hide the individual files from the first (incorrect) patch using the "Edit Content in this Review" button on the left toolbar. However the patch file is still visible from areas, such as the review Details page.

Your documentation mentions the "Manage Files Dialog" but it is not clear how to get there in the latest version (3.1). Would you please provide instructions or a screenshot of how to open the Manage Files Dialog so that I can delete the patch file?

[https://confluence.atlassian.com/dosearchsite.action?where=CRUCIBLE\&spaceSearch=true\&queryString=manage+files](https://confluence.atlassian.com/dosearchsite.action?where=CRUCIBLE&spaceSearch=true&queryString=manage+files)


Answers:
author: Piotr Swiecicki
body: apologies for late response, but better late than never I suppose.

I just replied to similar question, see my answer: <https://answers.atlassian.com/questions/39425189>
What doing "Fisheye project content" setting in Fisheye/Crucible ver 3.1.1
Asked by Sergey_Andrianov:

Hello.

In Fisheye and Crucible documentation this setting don't described.

I found <https://confluence.atlassian.com/display/FISHKB/How+to+add+several+repositories+to+one+project+in+Crucible> but don't found when I must use it.

I have some repositories and some projects in my Fisheye/Crucible installation.

On Projects page in admin area I see link "Fisheye content edit" for each project.

But what the diffence of:

1. "Fisheye project content" is empty for project.

2. On "Fisheye project content" filled by some repositories.

In all cases when I create review I can select all repositories for all project.

Where using "Fisheye project content" setting?


Answers:
author: lpater
body: Hi Sergey,

this setting affects which repositories/directories are shown in the activity stream when showing the project page.

Also when creating a review it's used to suggest a best matching project to put the review in. As you've noted the user can still choose to add content from any accessible repository to a review in any accessible project.


Tags: fisheye-crucible-administration
using stash with crucible
Asked by Gal:

Hi,

currently we're using git, fisheye \& crucible. i've been evaluating stash and it looks really good. the downside is that crucible is much better for reviews. is there a way to have the same features from crucible in stash? or have stash open reviews on pull request and block merge untill the review was approved? (and also update the review if needed)


Answers:
author: Gal
body: any updates on this? are you planing to have a plugin for crucible?


author: Gal
body: much nicer look and feel, selecting multi lines for a single comment, option to define a defect from the review, the ability to compare commits, etc.

comments: author: Eric A. Zarko
body: I agree, and I am looking for the same thing.


author: Jeff Thomas
body: What features in Crucible do you think are missing from Stash?

Pull requests in Stash could take the place of the reviews that you're currently doing in Crucible. Pull Requests show the diffs, commits, comments can be made, and the request updated with additional changes. You can configure that x number of people must approve a pull request before it can be merged.
How do I enable user access logging in Fisheye + Crucible?
Asked by Chad Barnes:

How can user access be logged in Fisheye + Crucible?

We would like a solution that is similar to the Confluence method: <https://confluence.atlassian.com/display/CONFKB/How+to+Enable+User+Access+Logging>


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Does this help? <https://confluence.atlassian.com/display/FISHEYE/Enabling+Access+Logging+in+FishEye>

comments: author: Chad Barnes
body: Thank you Jobin. I did not find this, perhaps because I was looking for 2.x Fisheye. We will be upgrading soon, so this may apply.

EDIT: Found this in earlier docs too: <https://confluence.atlassian.com/display/FISHEYE0210/Enabling+Access+Logging+in+FishEye>

Will this solution log the authenticated user? The example output does not show usernames (from what I can see).


author: Jobin Kuruvilla [Adaptavist]
body: Yes, it will. Maybe the example shows anonymous usage or some other robots!
Migrating code review data from fisheye/crucible to stash
Asked by s:

We have an existing fisheye/crucible setup that is pointing to a external git server (nothing special, just gitweb).  

We would like to migrate the code-reviews from fisheye/crucible to git stash in two stages.  

First, we would like to move the repositories from the external git repository to the stash git repository, without losing any fisheye/crucible data.  

Then, later, we'd like to move the data from fisheye/crucible into stash.  

We MUST preserve the data for SOX compliance.  

Is this possible?


Answers:
author: s
body: I guess this can't be done.


author: Harry Chan
body: Hi, have you confirmed all the Crucible code review features that you need are in Stash yet? There are at least quite a few features not available yet.

comments: author: s
body: Yes, we have.


Tags: code

git

review
Mercurial Generate key pair for SSH Error
Asked by Joseph Chang:

I tried using Generate key pair for SSH authentication for a Mercurial repository. I've uploaded the key to the bitbucket repository, but when I get the following error:

abort: no suitable response from remote hg

Using Password for http(s) seems to work fine. What is the issue with Generate key pair for SSH authentication?


Answers:
author: Nick
body: > I've uploaded the key to the bitbucket repository,

What do you mean by this?

Be sure to add the SSH Key to your Bitbucket Account.

Manage Account --\> SSH Keys

![](https://www.monosnap.com/image/yme5iK6ACRI1tYjZwBZozlUBc.png)

comments: author: Joseph Chang
body: That's what I meant. I should have said I copied the key to the repository server.
Failed to setup git executable
Asked by pigeon leung:

when I try to setup git executable to add git repo

It always give me failure info:!Invalid git executable: Unable to get git version

I check that the git executable exactly exists and can be executed by the user used to run crucible\&fisheye

I check that the owner of git executable is the user used to run crucible\&fisheye

SOS,give me some help!

Great thanks!


Answers:
author: pigeon leung
body: I have solved this problem by setting up swap area.


author: A P
body: I've got the same error, but there are no error messages in logs. Any ideas?


author: Daniel Wester
body: You'll need to configure the path to the Git executable:

<https://confluence.atlassian.com/display/FISHEYE/Git+client?src=search>

comments: author: pigeon leung
body: I provided the path like this:/home/crucible/bin/git

/home/crucible is the home directory of user crucible while I use to run crucible/fisheye

but the same failure


author: Jirong Hu
body: This solved my problem. My error was: Caused by: java.io.IOException: Cannot run program "git": CreateProcess error=2, The system cannot find the file specified


Tags: administration

error

executable

git
Backup of FishEye repository
Asked by Andrew Wilmot:

Sorry

Help!!

Trying to use FishEye backup manager to create the subversion dump gives error:

"message":"Client must be authenticated to access this resource.","status-code":401

what causes this and how can I get round it before tomorrow Oct 15th shut off day?


Answers:
author: Daniel Wester
body: Are you executing the get using curl or something outside of your regular browser? If that's the case - you should be able to pass in your user creds using os_username and os_password query string parameters.


Tags: fisheye-crucible-svn-ondemand
Crucible is failing to refresh repositories after update
Asked by bitisuvanje:

Below is the error that I'm getting for all the repositories created in Crucible after the update to 3.1.4. Could not find any issues with the SVN server, the Java version is latest.

This thing is really annoying.

**Error**

Repository paused due to error com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E175002: handshake alert: unrecognized_name svn: E175002: OPTIONS request failed on '/repo' org.apache.subversion.javahl.ClientException: svn: E175002: handshake alert: unrecognized_name svn: E175002: OPTIONS request failed on '/repo' org.tmatesoft.svn.core.SVNException: svn: E175002: handshake alert: unrecognized_name svn: E175002: OPTIONS request failed on '/repo' javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Could this be the issue? [https://answers.atlassian.com/questions/208284/xporter-bulk-export-ssl-issue](/questions/208284/xporter-bulk-export-ssl-issue)


Tags: fisheye-crucible-administration
Authentification with ondemand JIRA from Fisheye
Asked by St?phane Gault:

I'm seting up a fisheye server (thanks now we have to pay for a fisheye to browse our svn directory for a ondemand jira ) and linking it to the jira is not possible, even if i can log to my fisheye server from this url : <http://213.190.87.204:8061>

the application link wizzard cant established an auth. Any suggestion ?

The Remote application is not able to connect to 'courgette'(FishEye / Crucible) by using the URL 'http://213.190.87.204:8061/'.


Answers:
author: JP Salamat
body: Hi, I'm having the same problem. I can access my installed Fisheye/Crucible from outside our corporate network, but JIRA OnDemand cannot for some reason. The Fisheye/Crucible log shows a cookie rejected error.

Whitelisting IPs is mentioned, but vaguely. Do we whitelist from within the FECRU app? If so, how? I can't find how to do this anywhere on the Internet.

I have also logged a support ticket.


author: cbenard1
body: Hi St?phane,

It appears that the address given to FishEye/Crucible may only be reachable internally. You'll need to be able to call in to that IP address from the internet or have the range of IPs for OnDemand whitelisted in order for OnDemand JIRA to access it.

Thanks

Turner
How do I assign an icon to a file type in Fisheye?
Asked by Chad Barnes:

I see that out-of-the-box filetypes in Fisheye are assigned one of the images from the "sprite_filetypes.png" file. C++ files have a different icon than TXT files. We just added a new type of file and syntax highlighter to Fisheye. In the source browser it is assigned the plain, blank file icon. I would like it to have the same icon as other source code files, like C++ files.

How do I map the new file type to a particular icon?


Answers:
author: Sergey Svishchev
body: Modify 2static/style/style.css and 2static/style/style-search.css (look for ".filetype-cxx")

comments: author: Chad Barnes
body: We'll give this a try for the next upgrade cycle. Thanks.


Tags: fisheye-crucible-administration
GUI???
Asked by Susumu Sugawara:

?GUI??2020??2015????????????????????????

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

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

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

![2020-09-29 13_03_35- - ???.png](https://community.atlassian.com/t5/image/serverpage/image-id/112128i09BBF7910F2D8070/image-dimensions/577x533?v=v2 "2020-09-29 13_03_35- - ???.png")


Answers:
author: Tomoko Suzuki
body: ?????????????????????????

????????? GUI ???????????????????????????

Stage?Index??????????????????????????  
?????????????????????????Stage file???????????????????????????????????????????????????????

* [Commit and push a change (Git)](https://ja.confluence.atlassian.com/get-started-with-sourcetree/commit-and-push-a-change-git-847359114.html)

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

* [Work using Git](https://ja.confluence.atlassian.com/get-started-with-sourcetree/pull-changes-from-a-remote-repository-git-847359111.html)

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

* [Git???????????????SourceTree???????????](https://prog-8.com/blogs/how_to_use_sourcetree)  
  [????????SourceTree????GitHub???????](https://dajya-ranger.com/software/introduction-github/)

?????????????????????????????????URL?????????????????????????????????????????????????


Tags: language-ja
HDD?????SourceTree????????????
Asked by hirotoshi hamada:

?????????

HDD??(??????????)????SourceTree?????????HDD??????????????

???SourceTree?????????????????????????????

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

???????????


Answers:
author: Ryoji Takata
body: ?????????????????????

???????????????Windows?Sourcetree??????

comments: author: hirotoshi hamada
body: Windows?????????????

???????????


author: Ryoji Takata
body: Windows????????????????????????????????????????  
????????????????????????????????????????????????????

???

**???????**   
C:\\Users\\\<username\>\\AppData\\Local\\Atlassian\\SourceTree.exe\<random_string\>\\\<version_number\>\\user.config

<br />

**???????**   
C:\\Users\\\<username\>\\AppData\\Local\\Atlassian\\SourceTree\\bookmarks.xml

<br />

**???????**   
C:\\Users\\\<username\>\\AppData\\Local\\Atlassian\\SourceTree\\customactions.xml

???

????????????????????  
???????????????
SourceTree?Windows??????????????
Asked by TomoyukiInoue:

Windows10?SourceTree?????????????????????????  
SourceTree????????????????????????????  
???????????????

----  
????  
SoureTree???????????????  
?????????????

?Sourcetree???  
ERROR \[2020-09-29 11:07:21,564\] \[1\] \[SourceTree.Exceptions.RemoteHostException\] \[Log\] - ?s?\\????F????i???ERROR \[2020-09-29 11:07:21,578\] \[1\] \[SourceTree.Exceptions.RemoteHostException\] \[Log\] - Failed to list organisations for user \[?????\]

?????????

Github?????????????Token?????????????????????  
????Github???Token?????????????????  
Bitbucket???????????????????????SourceTree???????????????????????????????????????

???????  
SourceTree??????????????????????

C:\\Users\\\[?????\]\\AppData\\Local\\Atlassian  
C:\\Users\\\[?????\]\\AppData\\Local\\SourceTree

????????????sourcetree?git??????????

.gitconfig???????PC??????????????????????????

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


Answers:
author: Tomoko Suzuki
body: ?????????????????????????

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

* <https://community.atlassian.com/t5/Bitbucket-questions/SourceTree-Windows-%E3%81%8C%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%A6%E3%81%97%E3%81%BE%E3%81%A3%E3%81%9F/qaq-p/1493229>

comments: author: TomoyukiInoue
body: ?????????????

SourceTree?????????Bitbucket?????????????????????????????????????????????????????

?????????????????????????????????????
Sourcetree crashing when attempting to edit remote repository
Asked by Staarbit:

Hello! Whenever I try to edit one of my remote repositories (I have two and it only happens on one, not both), it thinks for a moment and then crashes the application. Is there any way to fix this? This is the second time I've gotten hung up on this process and it's always at this point, whenever I try to edit one of my two remote repository paths.

Thanks!


Answers:
author: Chris Evers
body: Hey,

I had the same with the last Windows client. it worked when I switched back to version 3.2.6. Hope it helps. Cheers
Authentication Failure
Asked by Kanika Puri:

Hi everyone,

I'm trying to checkout a branch (using Clone) from Bitbucket to Sourcetree.

Everytime i do that it asks me the password for git user. Can anyone help of how can i find this detail?

Additionally, i'm getting this error when trying to fetch branch from SourceTree:

remote: Invalid username or password

fatal: Authentication failed for 'xxxx@xxxxxxx.com'

Any help is appreciated.

Thanks


Answers:
author: Tony Ladefoged
body: If using the app password, remember to allow read access to the account also, as it is not enough with read/write to the repo itself.


author: Chris Evers
body: Hey,

If you're on Windows, clsoe sourcetree, go to your "C:\\Users\\{USERNAME}\\AppData\\Local\\Atlassian\\SourceTree" folder and delete the "passwd" file, then restart it. It will ask your credentials again but you should be OK.
Can SourceTree UI work with reflog?
Asked by Robert B. Hanviriyapunt:

I had to search my local reflog to recover something I accidentally rebased and squashed using git commandline only. Can SourceTree UI do the same? If so, where? If not, will it in the future and when?


Answers:
author: Robert B. Hanviriyapunt
body: Workaround: Add and use custom actions

1. Add: git reflog

(Actions \> Custom Actions \> Edit ... \> Add: Script to run = git, Parameters = reflog)

2. Run git reflog

3. Search and copy desired SHA

4. Branch SHA

(Repository or Menu \> Branch: Specified commit: \<paste SHA\> \> Create Branch)

Extra: See in History view

comments: author: Kyle Ridolfo
body: Hi! When I do this, I just see a loader quickly appear and disappear. What do you see?
How do I get local files to reflect a specific commit point?
Asked by bledigstudios:

I just set up a repo to use with Unity, Sourcetree as the git client. Something I'm not clear on is testing Unity at different commit points. So for example, a separate branch is created for a sprint, someone else makes changes, does a commit, and it needs to be tested on my end. I'm expecting in Sourcetree that I can select that point, perhaps in history, and then the files locally will change to reflect that snapshot. So then I could just launch Unity for that project and it can only access the files that were available at that particular commit. Am I understanding the concept correctly? And how do I do that?

The concept is using only one installation of Unity, one repo, but able to test at any point, in any branch, along the development process. Thanks.


Answers:
author: Mikael Sandberg
body: Hi [@bledigstudios](/t5/user/viewprofilepage/user-id/4094970),

Welcome to Atlassian Community!

To checkout a specific commit, locate it in the History view, right-click and either create a branch or checkout the commit. If you need to come back to the commit multiple times I would recommend that you create a branch.

comments: author: bledigstudios
body: I like it! It works well, thank you. :)


author: Jeff Tillwick
body: Yeah, just scroll through potentially thousands for commits manually and find the matching commit id you have already copy and pasted. SO EFFICIENT. Why would you ever need a UI element to checkout by commit id? That would be too simple. The hunt is more important. /s

How about a solution for those of us that live in the real world?


author: Jeff Tillwick
body: The best way I have found is to create a new branch from that commit. Press the branch button in the top button bar and give your branch a name and select \`Specified Commit:\` and put in the id.