Fisheye and Crucible 4.5.1 with BitBucket.
I'm trying to add a file from a repository to an existing review. I'm the review author. I'm able to EditDetails > AddContent and add the file. But when I click on the file, it's not reviewable. Instead it's download-only.
I want the file to be reviewable with inline comments for all reviewers, like the files that were originally added to the review.
Does anyone know how to make that happen?
Adding a file to a Crucible review after the review started, should behave the same way as if it were added when you start a review.
One reason why the file you added appears as download-only, and not allowing inline reviews could be due to the file type. Crucible recognizes specific file-extensions as text, where as files that don't conform to those extensions are treated as binary and those would appear as download only in the review.
The default supported extensions are:
asc ascx asmx asa asax ashx axd config txt java jsp asp aspx cs idl cpp cxx c h pl pod py sh awk sed sql jspf tag xaml frm vb browser master csproj vbproj sitemap
If this is the case with the file you are trying to add, you can tell Crucible to recognize it as text by following the steps below:
Locate your Fisheye/Crucible installation directory: FISHEYE_INSTALL
Locate the file FISHEYE_INSTALL/raw-mime.types file
Let me know if this solves your issue!
Thank you for your response - this sounds like just what we need, but we are working with .sql files. I confirmed that the text/plain field in raw-mime.types contains the extension, but we're still seeing the diff issues.
We are using a trial version of Fisheye - is the functionality that uses raw-mime.types perhaps disabled or something?
The trial version has the exact same functionality as a licensed one, so that shouldn't be the problem in your case.
I tried adding .sql files to a review (for Fisheye v. 4.5) and it works for me both as a changeset addition, and as a direct upload of an attachment.
One other thing worth checking is the size of your file - does it happen to be > 100 kB? In that case, it may not be rendered inline.
You can read some documentation on filesize limitation at https://confluence.atlassian.com/fisheye/text-file-size-limiting-298976914.html.
Let me know if this helps!
Thank you again, Themis. One of the files that's only download-able is just 6KB, so it's not the file size.
Some of the added files are fine, others are not. We think it's an encoding issue with Bitbucket Cloud. New files that are saved as UTF-8 and added seem to diff OK.
However, even if I delete one of our trouble files from the review and the repo, then reopen one of our trouble files, save it as UTF-8, upload it to the repo, then re-add it to the review it *still* shows up as download only.
Do those details help at all?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough cough, all companies). If content calendars, marketing plans, and bu...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs