youngmon/atlassian-qna huggingface dataset:
Fisheye Crucible hide vs. exclude and indexing questions
Asked by robert.sanders:

I have a large repository that takes forever to index.

I added a whole bunch of hidden directories to suppress the indexing of the parts of the repository that people could live without. The hope was it would speed things up.

It turns out that some of the hidden directories need to be changed from hidden to not hidden.

My questions are:

Q1) does hiding a directory for an indexed repo keeps the directory from being crawled during the indexing process and therefore reduce indexing times? Or, are the hidden directories indexed, but the files aren't visible to the user?

Q2) unhiding a directory for an indexed repo will cause which of these to happen:

* the whole repo will be re-indexed
* just an incremental indexing of those newly visible directories will occur
* no re-indexing at all- it will just allow the files to be viewable in GUI
* other

Q3) what is the difference in hide and exclude? it is confusing to me. Specifically, which one should be used to reduce indexing time?

thanks in advance,

-rob


Answers:
author: Daniel R
body: Hello Robert,
> Q1) does hiding a directory for an indexed repo keeps the directory from being crawled during the indexing process and therefore reduce indexing times? Or, are the hidden directories indexed, but the files aren't visible to the user?

Per our [documentation](https://confluence.atlassian.com/display/FISHEYE/Hidden+directories "Hidden Directories"), "FishEye will still index and cache these directories".
> Q2) unhiding a directory for an indexed repo will cause which of these to happen:
>
> * the whole repo will be re-indexed
> * just an incremental indexing of those newly visible directories will occur
> * no re-indexing at all- it will just allow the files to be viewable in GUI
> * other

As you stated, no re-indexing at all. It will just allow the files to be viewable in GUI.
> Q3) what is the difference in hide and exclude? it is confusing to me. Specifically, which one should be used to reduce indexing time?

In order to reduce indexing time, you should [exclude paths](https://confluence.atlassian.com/display/FISHEYE/Include+Exclude+Paths#IncludeExcludePaths-AddinganExclude "Adding an Exclude") from being indexed.

Thanks,

comments: author: robert.sanders
body: based on your answer I went ahead and removed the hidden directories and saved the repo settings.

You're absolutely right! it did not perform a re-index.

thanks a bunch!

-rob


Tags: index
can I set the environment variables in system.properties file (crucible2.10)?
Asked by SherryX:

I'm going to upgrade crucible to 2.10 and I found the following doc from Atlassian

<https://confluence.atlassian.com/display/FISHEYE/Setting+JVM+System+Properties>

My question is - Can I set FISHEYE_OPTS and FISHEYE_INST environment variables in the system.properties file as well? e.g. add the following text to the system.properties file? Thanks

FISHEYE_INST=/path/to/fisheye_inst  
FISHEYE_OPTS=-Xmx1536m -XX:MaxNewSize=128m -XX:MaxPermSize=256m   


Answers:
author: Sergey Svishchev
body: That's pointless, because these variables are used by shell scripts (bin/fisheyectl.sh etc.) and not by JVM.

comments: author: SherryX
body: OK, thanks


Tags: crucible-without-fisheye
Unable to create application link for Crucible
Asked by Kurt Chambers:

I have been through the support docs and can't seem to find a resolution to my problem. I am just starting to set up a new install of JIRA and we are going to purchase Crucible as well for code reviews. When attempting to configured Crucible, I get to the point of creating an application link and then I receive an error message indicating that there was an error creating the link. I also attempted to create the link within JIRA and once I selected create, the button was no longer selectable and nothing happened. Any help is appreciated. I'm new to JIRA so I do not know what logs to provide.


Answers:
author: Kurt Chambers
body: I don't have that file in the logs directory. Is there is different place where it is stored? I have pasted screenshots in this comment as well as in the original and they don't show up when saved. Is there a different way to post them? Thanks for the help.. This is my first time using this board.


author: Renjith Pillai
body: Get us screeshots of the error and from JIRA atlassian-jira.log (the last parts of the log)


Tags: application

link
Can't get linkage between crucible and Stash/Git repository to work
Asked by Regina Frost:

Tried to configure link with Crucible to Stash/Git repository following instructions here: <http://blogs.atlassian.com/2012/07/linking-your-stash-git-repositories-to-crucible-for-code-reviews/>

Not working - attaching screenshot of error for a couple ways I've tried this. Not sure if I need to use authentication, but tried it and it doesn't work with or without, and not sure if I should use the repository name with my username@repository, or the parent repository path I get from Stash as administrator...tried both ways... really need some help on this one......


Answers:
author: Andrew Morin
body: I think the issue is the version Crucible we are running...I am going to upgrade and try again..

<https://confluence.atlassian.com/pages/viewpage.action?pageId=283641900>

comments: author: Andrew Morin
body: This worked by the way..now running F/C 2.10.1. It would be nice if somewhere in the documentation if it listed what rev of each application you had to be at in the app link section :-)


author: Andrew Morin
body: Not seeing your screenshot but I am having the same problem. I have tried from Crucible to Stash and from Stash to Crucible. Please help Stash team!![](../../upfiles/Crucible-Stash.JPG)![](../../upfiles/Stash-Crucible.JPG)
Advanced Search for all repositories
Asked by christ:

Is there a way to use advanced search across all repositories? Right now it limits it to a single repo which is either some default or the selected repo. Thanks


Answers:
author: Felipe Kraemer
body: Hi Chris,

Unfortunately the functionality you're requesting is not currently implemented in FishEye.

I would recommend creating a new issue in our development issue tracker for this functionality to ensure our development team is aware of your request:

<http://jira.atlassian.com/>

For more information on how Atlassian implements new features and improvements please see the following document:

<http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>

My apologies that I don't have a solution for you at this time.

Kind regards,  
Felipe Kraemer


author: christ
body: Issue created. Thank you.
Display repository urls
Asked by christ:

Is it possible to display the repository urls to non admin accounts in Fisheye?


Answers:
author: Daniel R
body: Hello Chris,

This isn't currently possible. Feel free to log an improvement request for this feature in our public facing JIRA instance (<https://jira.atlassian.com>) and file it against project "FishEye".

Perhaps developing a plugin is an alternative path forward for you:

<https://developer.atlassian.com/display/FECRUDEV/FishEye+and+Crucible+Developer+Documentation>

Thanks,

comments: author: christ
body: Improvement request submitted. Thanks


author: christ
body: On the sources tab that lists the repositories it would be nice if there were a field that displayed the url for the repository. The url is part of the admin config for a repo, can it be displayed to non admin accounts? Thanks


author: Renjith Pillai
body: Can you please elaborate what you meant by this question?
Java heap error while launching FishEye as a service
Asked by Marco Vici:

I succeded in installing FishEye as a Windows service on Windows Server 2003 R2.

Java version jdk 7u3

When I try to launch FishEye as a service (both from Windows interface or from FishEye-Run.bat ), it fails.

This is the log (wrapper.log):

STATUS \| wrapper \| 2013/01/28 12:57:36 \| Fisheye installed.

STATUS \| wrapper \| 2013/01/28 12:58:14 \| --\> Wrapper Started as Service

STATUS \| wrapper \| 2013/01/28 12:58:14 \| Launching a JVM...

INFO \| jvm 1 \| 2013/01/28 12:58:15 \| Error occurred during initialization of VM

INFO \| jvm 1 \| 2013/01/28 12:58:15 \| Could not reserve enough space for object heap

INFO \| jvm 1 \| 2013/01/28 12:58:15 \| Error: Could not create the Java Virtual Machine.

INFO \| jvm 1 \| 2013/01/28 12:58:15 \| Error: A fatal exception has occurred. Program will exit.

ERROR \| wrapper \| 2013/01/28 12:58:15 \| JVM exited while loading the application.

The wrapper tries five times then finally stops with the following lines:

ERROR \| wrapper \| 2013/01/28 13:35:46 \| JVM exited while loading the application.

FATAL \| wrapper \| 2013/01/28 13:35:46 \| There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.

FATAL \| wrapper \| 2013/01/28 13:35:46 \| There may be a configuration problem: please check the logs.

STATUS \| wrapper \| 2013/01/28 13:35:46 \| \<-- Wrapper Stopped

Any help would be appreciated.

Thanks


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: This might help too: <https://confluence.atlassian.com/display/FISHKB/Fix+Out+of+Memory+errors+by+increasing+available+memory>

But "Could not reserve enough space for object heap" normally comes when you give a Heap memory more than what is supported by the machine.


author: Gurleen Anand _Atlassian_
body: Hi Marco,

SEN is not a required field on our Support site. Please leave it as blank or "UNKNOWN".

Thanks,

Gurleen

comments: author: Marco Vici
body: Ok,

thank you for the info.


author: Daniel R
body: Hello Marco,

Please open a support request at <https://support.atlassian.com> so we can investigate this issue further. This JIRA instance is configured so that only Atlassian and you have access to the case and therefore it is a more appropriate location for us to gather any required system and/or configuration data from you.  

Thanks,

comments: author: Marco Vici
body: Hi guys,

thank you very much for your help.

> Please open a support request at <https://support.atlassian.com>

I tried to open an issue but a Support Entitlement Number is required.

I don't have a SEN for FishEye since I'm trying to install it for evaluation. I only have a JIRA license.

What should been used as SEN? The one coming from my JIRA license or someone else?

Thanks
How do I add an observer to a Crucible review?
Asked by Britton Gregory:

I want to be able to specify an "observer" role distinct from "reviewer" -- someone who is being included so as to be made aware of a change, but isn't necessarily expected to go through the code with a fine-toothed comb. How do I go about doing this?


Answers:
author: lpater
body: You could also try sharing the review using the 'Share' button.

The people you share with (they can be Crucible users or you can just specify an email address) will get an email telling them about the review, and an optional note attached.

comments: author: Britton Gregory
body: Ah -- as a new user, I hadn't noticed that feature. Yes, that pretty much does what we want, thanks!


author: Sergey Svishchev
body: There's an open feature request in JAC -- <https://jira.atlassian.com/browse/CRUC-192>, vote for it.

comments: author: Britton Gregory
body: Done, thanks! Any other hot requests I should be aware of?


author: Sergey Svishchev
body: ```
resolution is EMPTY AND project in (FE, CRUC) AND votes &gt; 10 ORDER BY votes DESC
```

Run this JQL and see for yourself


author: Shawn Harris
body: Added my vote. We could really use this feature at my company.


author: lpater
body: You could also try sharing the review using the 'Share' button.

The people you share with (they can be Crucible users or you can just specify an email address) will get an email telling them about the review, and an optional note attached.


author: John Werner
body: A couple of options come to mind....

For one project I was on, the role of the Moderator for the review was essentially "someone who is being included to be aware of ac ahnage, but isn't necessarily expected to go through the code with a fine-toothed comb."

The other is to use the Watch feature. Quickly stated: A watch will send you (or whoever set the watch) an email when something in an activity stream changes. You can find more information about it by looking for the heading "Watching an Activity Stream" in this [Crucible Documentation](https://confluence.atlassian.com/display/CRUCIBLE/Using+the+Dashboard).

comments: author: Britton Gregory
body: I like option #1, except that (as far as I know) you can have only one moderator, and I like option #2, except that (again, AFAIK) you can't set up other people to watch a stream. Any other options, or workarounds for the above issues?


author: John Werner
body: How about using the [RSS feed feature](https://confluence.atlassian.com/display/CRUCIBLE/Using+RSS+Feeds+in+Crucible). You might still have to play with permissions a bit if you don't want to require the person to have a Crucible account.


author: Britton Gregory
body: I'm OK with the person having a Crucible account -- I just want to be able to clue them in on what's going on without them having to do anything (add themselves as a watcher, add the RSS stream to their feeder, or whatever). At this point, I'll probably just make it a discipline to indicate in the review notes who is an "observer" and who is an actual "reviewer". It'd be nice if there were just another role in Crucible.
how to count the number of lines of code for each review
Asked by zhang zining:

I want to count the number of lines of code for each review ?How do I count?which table of crucible i could get?

I can find the author reviewer and some other info?but i cant find the number of lines of code for each review ?

thanks alot?


Answers:
author: Renjith Pillai
body: Use REST, dump it into a csv and do the calculation

<https://code.google.com/p/crucible-excel-dump/wiki/InstallationAndUsage>

comments: author: zhang zining
body: thanks?but i want to count the munber by sql ?i want to kown the count number of code in which table?


author: zhang zining
body: sorry ?should be lines of code
Query on EyeQL
Asked by Rajeev dave:

Hello,

I need help on writing a query for getting the number of Lines of code changed in a given branch (changed, added or deleted) between 2 dates (or tags)


Answers:
author: Sergey Svishchev
body: ```
select revisions where (on branch fileutil and date in [2012-07-19T22:00:00.00Z, 2012-08-01T21:59:59.00Z]) order by date descreturn sum(linesAdded), sum(linesRemoved)
```

```
(Number of changed lines is not tracked separately.)
```

comments: author: Rajeev dave
body: I guess I need to explain "between 2 dates" a bit better.

Within the date boundaries given, I can potentially add some lines of code and subsequently delete them. Impact of changes like this should not be reflected in the LoC calculation


Tags: eyeql
Is there a way to make the content of a notification email not require loging?
Asked by GeoffreyPeart:

Within our shop Crucible is setup to do authentication with AJP relying on the server OS access to Active Directory to log users in. Due to other issues, we generally recomemnd users not use IE to browse the site.

When a user recieves an email the result is serveral basic auth authentication prompts as Outlook uses IE to render the email. Is there a way to make emails static instead of dynamic content?


Answers:
author: MatthewC
body: You could hack the templates underneath... they are in %FISHEYE_INST%/template

They give you an idea how to do it here:

<https://confluence.atlassian.com/display/CRUCIBLE/Customising+email+notifications>

Change the content to something very simple?

You could also change them to another URL for images and have them served off another server, not needing auth

comments: author: GeoffreyPeart
body: It must be the images as the users who was complaining switched to text only and it helped the situation. Do you know apx where the static content is so I can clone it on to the HTTP Server?
Can't resize staging section in SourceTree
Asked by JB:

When I try to expand to the right, it just drags the window. Same when dragging the expansion slider to the left.

Now I am stuck with this when trying to view my staged files. Tried restarting the Mac app but still can't resize this section.

![Screenshot 2020-05-24 15.07.15.png](/t5/image/serverpage/image-id/96166i509BFEAFCF05F44B/image-size/large?v=v2&px=999 "Screenshot 2020-05-24 15.07.15.png")


Answers:
author: mark.bokil
body: It is interesting it is 2024 and I just encountered this bug. There is no way to recover the UI on the Mac once you reach this state and the file status pane can no longer be dragged open. You have to delete the Sourcetree preferences and then setup Sourcetree again. <https://stackoverflow.com/questions/24163023/how-to-reset-sourcetree-settings-preferences>


Tags: cloud

jira-software
?????push???????????
Asked by ytajima:

source tree??github????????????push???????

(??????????????????push??????)

??????

Pushing to githubURL(https??)

remote: Permission to??????/test.git denied to?????

fatal: unable to access githubURL: The requested URL returned error: 403

source tree ??????4.0.1

git ????? 2.24.1


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

Remote repository path ????????????????????

```
https://<username>@github.com/<username>/<repositoryname>.git
```

[Changing remote repository path on SourceTree using Git or Mercurial](https://confluence.atlassian.com/sourcetreekb/changing-remote-repository-path-on-sourcetree-using-git-or-mercurial-785616227.html) ???? Remote path ???????????????????????


Tags: language-ja
not able to clone the repository
Asked by Girish sharma:

Hi,

![Screenshot_1.jpg](/t5/image/serverpage/image-id/95728i92FD0ED2C6B9C863/image-size/large?v=v2&px=999 "Screenshot_1.jpg")![Screenshot_2.jpg](/t5/image/serverpage/image-id/95729iF02DEBA47C0615B9/image-size/large?v=v2&px=999 "Screenshot_2.jpg")

I have logged into sourcetree and repo showing fine but when I tried to clone it shows error:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://g23sharma@bitbucket.org/bennettwebgroup/visiontrust.git  
Output:  
Error: remote: Too many invalid password attempts. Log in at <https://id.atlassian.com/> to restore access.  
fatal: unable to access '<https://bitbucket.org/bennettwebgroup/visiontrust.git/>': The requested URL returned error: 403

I have deleted the account from sourcetree and re-logged in but still same error. Please check screenshots for more clarification.


Answers:
author: Girish sharma
body: try to login with username and password instead of social login and then try to clone it, if its not working then try cmd.


author: mipsons
body: Is there any update on this? As I have the same issue and have checked authentication against the account and seems ok.

comments: author: pavankumarAN
body: I too have the same issue. But no help from bitbucket.
failing with code 129
Asked by Derek Lemoine:

I was unable to push a new commit, not even seeing the master branches in the push screen. I tried updating the embedded git, but that update failed after downloading. Now Sourcetree constantly puts up error boxes that say

'git status' failed with code 129: Unknown option: ---no-optional-locks\[+many more lines\]

I have tried uninstalling and reinstalling Sourcetree. I am using Windows 10. Any suggestions? It is unusable right now. Thanks.


Answers:
author: Derek Lemoine
body: update: switching to system git appears to have resolved the problem
Win 10 file explorer does not reflect Sourcetree-initiated branch changes
Asked by John Perry:

Update: [@Chris Weber](https://community.atlassian.com/t5/user/viewprofilepage/user-id/3692443) 's workaround to [#1270390](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-3-3-6-not-updating-UI-content-properly/qaq-p/1270390) solved my issue with the Sourcetree GUI update AND branch views in the Win 10 file explorer. Thanks, Chris!

==========================================================

Hi,

I've used Sourcetree for Mac quite a bit but I'm new to Sourcetree for Win. On Mac, if you change to a new branch in Sourcetree, the Finder view of the local repo should show only the files in your current branch. This does not seem to be the case in Sourcetree 3.3.8 on Win 10. I have a file that exists only in Branch A and when I change to Branch B, I still see that file in Win file explorer.

Is this not a feature of Win Sourcetree, or is it a bug? Am I doing something wrong? Is there a pref I need to set?

Some posts seem to indicate that Atlassian expects you to use the Web browser view of the remote repo (that's what opens when I click Explorer.) This isn't a very useful workflow for me. I want to browse my local repo in a file explorer, open files in my editor of choice (e.g. VisualStudio or Notepad++), and then just use SourceTree to manage commits and pulls. Having the wrong branch showing up in my file-explorer window is problematic.

BTW, I'm not talking about the Sourcetree GUI refresh bug ( [#1270390](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-3-3-6-not-updating-UI-content-properly/qaq-p/1270390)) that Sourcetree 3.3.8 GUI does not fix for me. I did try closing all apps and windows related to the local repo: code editors, file browsers, etc. and rebooting, but I'm still experiencing the Sourcetree GUI refresh issue after doing that. I still have to hit F5 when I change branches.

Many thanks in advance for assistance!


Answers:
author: John Perry
body: Update: [@Chris Weber](/t5/user/viewprofilepage/user-id/3692443) 's workaround to [#1270390](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-3-3-6-not-updating-UI-content-properly/qaq-p/1270390) solved my issue with the Sourcetree GUI update AND branch views in the Win 10 file explorer. Thanks, Chris!

comments: author: John Perry
body: I actually prefer Explorer++ to the built-in Win 10 file explorer, and it wasn't updating against branch changes till I added the Sourcetree-installed git client to my PATH and rebooted. Now Explorer++ also updates correctly when I change branches in Sourcetree.

C:\\Users\\*yourUserName*\\AppData\\Local\\Atlassian\\SourceTree\\git_local\\bin\\


author: John Perry
body: *Some posts seem to indicate that Atlassian expects you to use the Web browser view of the remote repo (that's what opens when I click Explorer.)*

Sorry, this was a bit of confusion on my part. Clicking Explorer does open the local file explorer. I had conflated this with Remote, which opens a Web-browser view of the remote repo.
I can't install Sourcetree
Asked by inan akmugan:

Hi,   
I download setup file and run it. This is the screen i am getting. There isn't any "use existing account" section. I created an atlassian account but the button "Next" is still deactive. How can i downlaod please help? I choose Bitbucket and gave Grant Acess from my browser (chrome) but Next is still Deactive. I am really frustrated with this installation should not be that hard. I am stuck at this screen for hours.

![al?nt?.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/95153i7A3F866B674D88BF/image-size/large?v=v2&px=999 "al?nt?.PNG")


Answers:
author: inan akmugan
body: I choose Bitbucket and gave Grant Acess from my browser (chrome) but Next is still Deactive. I am really frustrated with this installation should not be that hard. I am stuck at this screen for hours.

comments: author: KYC_World
body: i have same problem too, it seem no one would fix this soon....