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?
I'm Alison Huselid, Head of Product for Data Center at Atlassian. As we shared in our last post, we’ve been working on a solution for those of you who work for charitable non-profit organizations tha...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events