youngmon/atlassian-qna huggingface dataset:
Crucible email notifications - how to?
Asked by Rumceisz:

Dear All,

how can we set that the users get email notifications regarding a review? We haven't found any info in the documentation nor in GUI.

Thanks in advance,

Rumi


Answers:
author: Felipe Kraemer
body: Hello,

The FishEye/Crucible logs will tell you that. The logs can be found inside FISHEYE_INST/var/log directory.

You can search in the logs for the sender email account you've configured for FishEye.

I hope this helps!


Tags: fisheye-crucible-administration
Mass Import of Repos
Asked by Ludger Peters:

Is there anyway to import a csv or xml list of SVN Repos?

Or is there Any API i can use to quickly import Repos?

I have 300 to 400 odd repos that i need to create and it will be a nightmare if i had to do it for them all.


Answers:
author: Sergey Svishchev
body: You can add them to config.xml while the app is not running. See schema definition in config.xsd

comments: author: Ludger Peters
body: Ah ok, did not know that, what i ended up doing is writing selenium scripts, well its more that i generated a bunch of selenium scripts to automatically add my repos that way it added everuthing no problem.


Tags: fisheye-crucible-administration
Any way to increase Fisheye indexing on large Subversion operations?
Asked by M. Stewart:

Frequently, we copy our entire trunk as a branch. This is a lot of data, and takes Fisheye a long time to index this. While this is being indexed, other users are committing smaller changes that would not take Fisheye too long, but Fisheye is still stuck on the large branch creation. This causes a problem for us because we use Crucible to review, and Crucible cannot see those smaller changes because Fisheye is still indexing the large branch creation. Is there any way for those smaller changes to be seen and reviewed even if Fisheye is still working on the branch?


Answers:
author: lpater
body: In general FishEye needs to scan the revisions in order they're created, so it needs to finish the branch creation before it gets to the newer commits.

If your reviews are mostly on trunk, you might consider creating a separate repository that just indexes trunk (or the relevant branches), and use that for reviews.

If you're experiencing excessively long indexing times on branch creation, try raising a support request on [https://support.atlassian.com](https://support.atlassian.com "support.atlassian.com").


author: Sergey Svishchev
body: FE3 speeds up svn indexing but it's still linear. But you should check if symbolic rules setup matches your actual repository layout.


author: M. Stewart
body: Fisheye 3.0.1


author: Sergey Svishchev
body: Are you running Fisheye 3?


author: rverschoor
body: By default, FishEye uses one thread to process the incremental changes.  
You can increase the number of Incremental Index Threads to 2.  
One thread will then be busy processing the large commit, but it's no longer blocking, as the other thread will visit your other repositories to see if there are any commits in them.

See also <https://confluence.atlassian.com/display/FISHEYE/Configuring+indexing> .

comments: author: M. Stewart
body: I have threads set to the default which I believe is 3.


author: rverschoor
body: The default (i.e. if you haven't filled in any value) is 1.


author: lpater
body: 3.0.0 increased the default numer of initial and indexing threads to 3 (FECRU-3329).


author: rverschoor
body: I stand corrected...


Tags: fisheye-crucible-administration
Why is Fisheye email sender "UserName - Committed" instead of "UserName"
Asked by ckline:

Hello,

When we receive commit watch emails, the sender on the emails is "UserName - Committed" instead of just "UserName". Is there some way we can change this? I could not find in any of the Fisheye or shared email template (\*.ftl) files where this is specified.

Thanks.


Answers:
author: ckline
body: Thanks for the info. As you suggested, I filed a feature request: <https://jira.atlassian.com/browse/FE-4761>


author: rstephens
body: Hi Christopher,

Unforunately this string is hardcoded and Fisheye does not provide a way to change it. You should [file a feature request](https://jira.atlassian.com/browse/FE).

Kind Regards,  
Richard Stephens


Tags: fisheye-crucible-administration
How to change "from" email for Hercules scheduled log scan in Fisheye/Crucible?
Asked by Thierry Lach:

We've recently started working with the starter Fisheye/Crucible products, and have set up the scheduled log scan. The email comes from "noreply@atlassian.com" and we would like to change it to "fecru@ourdomain.com". Is this possible?


Answers:
author: Felipe Kraemer
body: Hi Thierry,

The Support Tools Plugin is responsible for the Log Scanner. This plugin is installed in all Atlassian products, so it's not something related to FishEye/Crucible only.

At this time, the functionality you're requesting is not yet possible in the Support Tools Plugin. I have created a new request for it in our development issue tracker, and you can track it here:

<https://ecosystem.atlassian.net/browse/STP-329>

Kind regards,  
Felipe Kraemer

comments: author: Petr Van??ek
body: Hi @Felipe Kraemer,is there something new about option how change 'send from' in Support Tools plugin? Or is there some chance for resolution or workaround?Thanks


Tags: fisheye-crucible-administration
Crucible - Need hyperlinks on code
Asked by Rahul Aich [Nagra]:

Hi All

When we are reviewing (java based) code on crucible, sometimes it becomes necessary to view a function that is being used in the code but defined elsewhere.

In eclipse you can do this by clicking ctrl + hyperlink on the function and eclipse takes you straight to that function.

We find that such functionality is missing in crucible.

Is it in someway achievable? Any workarounds we have for this?

Any plugins which might help me on this?

Rahul


Answers:
author: rstephens
body: Hi Rahul,

This feature is not supported natively in Crucible but the [Atlassian IDE connectors](https://confluence.atlassian.com/display/IDEPLUGIN/IDE+Connector+Documentation)allow you to [quickly jump between](https://confluence.atlassian.com/display/IDEPLUGIN/Using+FishEye+in+the+IntelliJ+Connector) Crucible and your IDE.

Kind Regards  
Richard Stephens

<br />


Tags: fisheye-crucible-administration
FISHEYE_INST variable not read when running as a service on linux
Asked by Jeff Storey:

I have crucicble/fisheye installed on linux as a service, but the service does not read the FISHEYE_INST directory. It works if I start it by manually running the start.sh script. I have FISHEYE_INST defined in /etc/environment. Is there a way to make it work with the service?


Answers:
author: CelsoA
body: Hi Jeff,

Please make sure that the file /etc/environment is with root user and group.

Also you can add an export line in the init.d script used to start FishEye.

Regards.

<br />

comments: author: Jeff Storey
body: The /etc/environment is as root, but that didn't seem to work. I just added an export to the init.d script and that did the trick, thanks.
FishEye\Crucible failing to clone a Git repository
Asked by Alex Lopez:

I am unable to clone one specific repository in Fisheye using either https or ssh. Test connection to the repository is successful in either case, and other repositories configured in the same manner work fine. The errors I see in both cases are below with the repository link and Stash hostname removed. Any help would be appreciated.

The error seen when using https is:

"Unable to clone remote repository: \<repository link\> - \[POST git-upload-pack (554 bytes)\] - Cloning into bare repository 'clone'..."

The error seen when using ssh is:

"Unable to clone remote repository: \<repository link\> - \[, Read from remote host \<hostname\>: Connection reset by peer, fatal: The remote end hung up unexpectedly, fatal: early EOF, fatal: recursion detected in die handler\] - Cloning into bare repository 'clone'..."


Answers:
author: John Skarbek
body: I've got this issue occurring for a couple of my repos. I'm not sure if the case is the same, but the error messages are. The repo's that fail for me one ones that have enormous files. We host our own homegrown git server (not a Stash instance) and have noted that when FishEye is polling the stress on the git server is really high. Cloning a repo outside of fisheye can take a long time.

I ponder if there's a way to seed a repo into fisheye on the backend in some way. After the initial clone the repo runs just fine.


author: prabhakaran rk
body: Hi Lucas,

I am facing same issue , when i clone using tortoise git it is working fine. But its not working in Fisheye


author: LucasA
body: Hi Alex,

Do you have any firewall between FishEye and the Git server? It seems the connection is being interrupted.

Best regards,  
Lucas Timm

comments: author: Alex Lopez
body: Hi Lucas,

We have the necessary port open on our firewall, and other repositories on the same Git server cloned successfully in Fisheye. When setting up this repository in Fisheye, the connection test is successful. I have also tried disabling Host Key Verification of the Git server from the Fisheye server, since when the repository is started in Fisheye it will display a warning stating that the Git server was added to the list of known hosts - before displaying the early EOF error. However, this has not helped.

Cheers,

Alex


Tags: fisheye-crucible-administration

git
Fisheye scanning repository speed
Asked by Norbert:

Hi

im currently evaluating Fisheye,  
Its running on the same linux machine as our svn repository, so it has direct file access

I added our main repository to be scanned  
it took over 100 minutes for about a little over 800 revision, the trunk has about 80 MB

The revision are not so small, but in my opinion this is quite slow  
are this numbers ok?


Answers:
author: J. Caldwell
body: Unfortunately I do not know a benchmark took for the app, and yes, you appear to be correct on the SVN setup.

sysbench is a common package that you can install to benchmark performance on your server.


author: Sergey Svishchev
body: With direct file access, scanning speed is about 5..15 ms per changed path (note that a branch/tag commit affects a lot of paths at once)


author: J. Caldwell
body: Based off my experience for the number of changes and size using the vanilla configuration, it is slow. I don't have access to a bench mark tool of any kind. I just tested with similar setup (not SVN though) and I can get about 800 changes in about 10-15 minutes.


author: J. Caldwell
body: Overall question back...did you install it vanilla or did you do any customization?

Fisheye can move quickly or slow. The art is getting it in the "just right" sweet spot. You can alter memory allowed, size of the chunk to scan, etc. Sometimes going too high up the repository can mean you are scanning things that don't need to be scanned.

Also...if they are running on the same machine, you could be getting bit by disk I/O, Memory, processor, any number of things.

comments: author: Norbert
body: I installed it vanilla...  
and i have to run it on the same machine because we are using SVN+SSH, and as far as I understand this is not possible with fisheye  

I know all this fact, but I would like to know if this is realy slow, or this is normal usage speed.   
Also I think the system is a little bit lagging. Is there some benchmark tool for the installation?


Tags: fisheye-crucible-administration
FishEye commit author mapping problem
Asked by ludjer:

I currently have a issue, when i commit with to my visualSVN server the author it uses is ludger r. peters, which i cannot have as my user name. I can only set my display name in fisheye as ludger r. peters, but this does not auto map me to that commiter.

Is there any simple way i can map users across all my repos? since i have a 250 odd repos, since each addon/component has its own repository. it is really a nightmare to go and manually have to map your self on each repo.


Answers:
author: Gurleen Anand _Atlassian_
body: Hi Ludger,

Unfortunately this feature is not yet available in Fisheye, though you can track down it's progress here:

<https://jira.atlassian.com/browse/FE-1884>

by watching it and casting your vote there. For your reference, \[this\|https://confluence.atlassian.com/display/FISHEYE/New+Features+Policy\] is how new features are prioritized in Fisheye.

Thanks,

Gurleen


Tags: fisheye-crucible-administration
Change state of multiple Repositores at once
Asked by Norbert:

Hello

I' using Fisheye 2.10.x on Subversion.

Fisheye finds about 80 repositories, but I only need one of them  
is it somehow possible to disable the repositores (state Stopped) without clicking 79 times on  
action-\>stop?


Answers:
author: lpater
body: Hi Norbert,

FishEye 2.10 added a REST API for repo maintenance, you can use that in a script.

The endpoint you'd probably need is /rest-service-fecru/admin/repositories-v1/{repo}/stop. See <https://docs.atlassian.com/fisheye-crucible/2.10.0/wadl/fecru.html#d2e270> for documentation on the REST API.

comments: author: Norbert
body: thanks for the reply but this is more complicated then I would to go  
I'm only evaluating, so I'm not going through this :-)


author: Norbert
body: Hello

Can you probably give me some me example of how to use this function?  
a getting started would be nice :-)


Tags: fisheye-crucible-administration
Sourcetree enterprise
Asked by Robert Bzdafka:

I just noticed you have Sourcetree for enterprise. However, its not clear on if there is any functional differences between standard download and enterprise? We use Microsoft System Center to package and deploy software to the laptops. Is the only difference that sourcetree enterprise is bundled as msi file vs exe?


Answers:
author: Mikael Sandberg
body: The Sourcetree Enterprise version allows you to specify the install directory and manage the installation at scale, the regular version does not allow that. All other functions are the same. You can find more information about Sourcetree Enterprise [here](https://sourcetreeapp.com/enterprise).

comments: author: Robert Bzdafka
body: Thanks. They should have a side by side chart with the differences. That might be helpful for people. I also assumed it was free like the desktop version, but didn't want to assume. Thanks for the info.


Tags: bitbucket

bitbucket-server

server

sourcetree-enterprise
?????403???
Asked by Kazunori Otaka:

????????????URL??????????????  
URL?AWS??????????

??????????2??????????????

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

???????\~??????????????????  
????????????????????  
???????????????????  
????????????????  

?????  
???  
????: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote <https://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/ZZZZ>  
??:  
???: fatal: unable to access '<https://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/ZZZZ/>': The requested URL returned error: 403

????: hg identify extensions.hgext.hgsubversion=! <https://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/ZZZZ>  
??:  
???: abort: HTTP Error 403:

????: perl.exe C:\\Users\\nri\\AppData\\Local\\SourceTree\\app-3.3.9\\tools\\svn.pl info <https://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/ZZZZ>  
??:  
???: System.ComponentModel.Win32Exception: ??????????????????


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

??????? AWS CodeCommit ????????GUI ??????????????????????

* [SRCTREE-6107: Support AWS CodeCommit Multi-Factor-Authentication](https://jira.atlassian.com/browse/SRCTREE-6107)

?????????????????????? Git config ????? credential ???????????????????????

* [Connecting SourceTree to AWS CodeCommit: HTTP error 403](https://community.atlassian.com/t5/Sourcetree-questions/Connecting-SourceTree-to-AWS-CodeCommit-HTTP-error-403/qaq-p/322566)

???Git config ???????????????????????????

* [Where does SourceTree store repository configurations?](https://community.atlassian.com/t5/Sourcetree-questions/Where-does-SourceTree-store-repository-configurations/qaq-p/770529)

comments: author: Kazunori Otaka
body: ??????????????  
??????????MAC???????config??????????????

Windows64??????????????Advanced?????????????????  
???????????????????????????????????????  
?????????????


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

config ??????????????????? .git ?????????

```
<repository>\.git\config
```

??????????????????? Windows ?? Advanced ?????????????????????GUI ?????????????????????

* [Refreshing repository according to file changes and remote changes on SourceTree](https://ja.confluence.atlassian.com/sourcetreekb/refreshing-repository-according-to-file-changes-and-remote-changes-on-sourcetree-785323792.html)
Credential Helper Selector
Asked by Jasfiq Rahman:

I'm trying to clone a repo, but somehow it just keeps on loading and this CredentialHelperSelector dialogue keeps popping up no matter what I select. Please help, I'm new to Git and Source Control and this is really confusing for me.

Thank you for your time and assistance :)![copy.png](https://community.atlassian.com/t5/image/serverpage/image-id/107818iBD0C6C2B7268D302/image-size/large?v=v2&px=999 "copy.png")![Screenshot_4.png](https://community.atlassian.com/t5/image/serverpage/image-id/107819iEBDBACB011061386/image-size/large?v=v2&px=999 "Screenshot_4.png")


Answers:
author: YaelSo
body: I have the same problem.

Did you managed to fix it?
Authentication Problems
Asked by Tiziano Mazzoni:

I am quite new about Sourcetree and bitbucket so perhaps my problemis "stupid", in any way when I try to push somthing from sourcetree to bitbucket I have the following error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master  
remote: Invalid username or password  
fatal: Authentication failed for '<https://bitbucket.org/mazzoni1/ecad.git/>'

Pushing to https://mazzoni1@bitbucket.org/mazzoni1/ecad.git  
Completed with errors, see above.

even if opening the tab Authentication in Tools \>\> Optionts I have Authentication Ok corrisdponding to my userid, clicking the button Remote, I can access to bitbucket repository (of course I was able to clone the repository from bitbucket to sourcetree)

If someone can help me, it would be very appreciate

Thank you

Tiziano


Answers:
author: Brian Danieli
body: Hi Tiziano, I have the same problem.. Instead if Bitbucket, I use GitHub.

If I go to Authentication page, I can see "Authentication OK" and there is my correct username, but when I try to clone a repository from GitHub, I have this:

Error: remote: invalid username or password

fatal: Authentication failed for xxxxxxx

Please someone can help me?

Thank you very much

Brian
Feature branches not visible anymore
Asked by Mark Stralka:

macOS 10.15.6

SourceTree 4.0.2 (236)

Embedded git libraries

<https://www.screencast.com/t/wrT4RHzjpn>

I use Git Flow and have several dozen feature branches on my mac right now. Until I created another feature branch about 20 minutes ago, I was able to see all of my feature branches in the SourceTree sidebar.

I think something happened when I created another feature branch because now the "feature" folder is still there, but I can't expand it:

<https://www.screencast.com/t/IHL3vRde>

If I run "git branch" in the terminal, I see my dozens of branches are there (and that's not even all of them):

<https://www.screencast.com/t/ZjId4TrWICi>

Closing and reopening Sourcetree doesn't help.

Is there a limit of how many branches Sourcetree will show?


Answers:
author: Mark Stralka
body: I deleted the files in \~\\Library\\Application Data\\Sourcetree, then reopened Sourcetree and it worked.
Sourcetree launch popup flashes for sometime then nothing happens
Asked by rishiy:

Hi,

Installed SourceTree latest version , it worked for one day , next day stopped opening UI.

Uninstalled and reinstalled multiple versions , deleted all folders in /AppData/Local for Atlassian and Sourcetree still no luck.

Sourcetree launch popup flashes for sometime then nothing happens.

Please help.

Thanks


Answers:
author: ???????? ??????????
body: +++

I HATE THIS PROBLEM OF SOURCETREE
JIRA text replacement doesn't open link in browser
Asked by Ed Marty:

Long ago, Commit text replacement in SourceTree would allow adding a link to a JIRA repository and have that link open in a browser, via

1. Open menu: Repository\>Repository Settings...\>Advanced
2. Under Commit Text Replacements, hit Add
3. Set Replacement Type to Jira Project Link and fill out the other fields.

Now, when doing that, it still places the link, but rather than opening the link in a browser, it opens it in the commit text textbox, and that textbox is just a JIRA warning page saying javascript is disabled.

How can I get back correct behavior, where it opens the link in a browser window?


Answers:
author: Joris Heuberger
body: I have the same issue.
Can I make "Fetch from all remotes" unchecked per default?
Asked by Emil Hoffmann:

Currently in certain repos, I never want to "Fetch from all remotes" when fetching. I always want it to fetch from origin only.

But I have to uncheck it every time. And sometimes I forget, and then I need to remember why it fails and I need to do it again and remember to uncheck "Fetch from all remotes".

Sourcetree normally remembers what was checked previously. Like "Fetch all tags", source tree remembers if it was checked or unchecked. But "Fetch from all remotes" is always on per default.


Answers:
author: Pip Jones
body: There is a feature request (which is closed as it's for an older version) which has this tip:

"FYI you can right-click a remote on the sidebar and use 'Fetch' from there to do selective fetching."

<https://jira.atlassian.com/browse/SRCTREEWIN-350>
Unable to view remote repository online - can push and pull fine
Asked by James Morris:

Running Sourcetree on Windows 10. Despite the ability to push and pull from remote repos, "Repository\>View repository online" and clicking the "Remote" icon in the top right of a repo tab only pulls up a Windows dialog: "You'll need a new app to open this ssh link," with only the Microsoft Store as an option.

I have Git tools (GUI, Bash, CMD) installed, and they work fine, In Sourcetree, I can see my organizational repos on the Remote page of a new tab, and I can clone, pull and push from them just fine. I authenticate with a private SSH key previously generated in the Git tools.


Answers:
author: Daniel Miladinovich
body: I'm realizing this is really old. However, I just ran into this issue \~2 years later and I found a fix.

If you see this error. You'll need to have created an authentication account for the remote host to be able to have the remote button open your web browser and go to the right place. If you have an authentication account for your bitbucket server or bitbucket website then follow these steps:

1. Click the "Settings" button to the right of the remote button.
2. You'll see a table of remote repository paths (you may have more remotes than 'origin' but its more uncommon to have that.). Select the origin remote and click the Edit' button.
3. Under 'Optional extended integration' click the 'Remote Account' and you should find your account listed there.

<br />

When I did steps 1-3 and then I clicked the 'Remote' button, instead of the "You'll need a new app to open this ssh link" windows dialogue, I now see a Windows Dialogue asking what default browser I would like to use. Naturally, I chose Internet Exporer.
Log all committed file
Asked by jlopes:

Hi,

Was wondering how could I log, on the output, all the files and paths that were committed using the **pre-push** hook.  
Of all the docs online I couldn't find an example on how to access the committed files list.  
Does anyone know how to do it?

Thanks in advance


Answers:
author: jlopes
body: To anyone looking for the same thing, I've managed to do it by fetching all the files from a commit and iterating it

    #!/bin/bashecho "===================="findMe="ROOT.war/"replaceWith="webapps/ROOT/"for file in $(git diff-tree --no-commit-id --name-only -r HEAD)do    # echo "file: " $file    echo ${file//$findMe/$replaceWith}doneecho "======================================="exit 0