Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,497
Community Members
 
Community Events
184
Community Groups

Will remodeling a SVN repository cause Crucible to be unhappy?

Kevin Buchs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 30, 2013

Does a wholesale change in an SVN repository (moving directories around and nesting, etc) cause Crucible any problems for current or historical reviews?

4 answers

1 accepted

0 votes
Answer accepted
Daniel R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 08, 2013

Yes, this option is on by default. Correct, this option must be checked prior to review creation.

0 votes
Daniel R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 07, 2013

Hello Kevin,

If this option is selected you can disconnect the entire repository without affecting reviews:

Store the contents of files in reviews – check to have the source files under review stored in the Crucible database, along with the comments and review data. This retains a copy of all the source files under review even if the repository is disconnected from Crucible. See Storing all revisions under review.

See this page:

https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+project

Thanks,

Kevin Buchs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 07, 2013

Ok, this is good. Is having this checked the default? A quick scan of several of our projects shows it is checked.

I imagine this must be checked before a review is created, however.

0 votes
Sergey Svishchev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 04, 2013

Historical reviews won't be affected since any 'remodeling' is not retroactive, and reviews refer to specific changesets (also, if the review project has 'Store contents of files under review' checked, it won't matter if the repository is available at all).

I don't see how future reviews will be affected, but if the change you are going to make will affect the top-level structure (trunk/branches/tags), you should pay attention to 'symbolic rules' setup.

0 votes
LucasA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 03, 2013

Hello there,

Yes. Since Crucible use the repository structure (the files paths) of the changeset, if you change the repository structure, only the new files will properly work. In order to fix this misbehavior (at lest be able to find the repository again) you'll need to run a full re-index of your repo. Note that this re-index could least days, even weeks, depending of the amount of data stored on your repository.

Cheers,

Lucas

Kevin Buchs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 05, 2013

I would not assume it would be an issue of not finding the repository, as the root of the repository would not change, that is, the root given to Crucible for indexing.

I am really after the simple case, file root/directorya/directoryb/my-file.ext is moved to root/directoryc/directoryd/my-file.ext. This file is included in a review. Will the contents of the file and comments attached to it survive that move?

I guess it is a question as to whether Crucible tracks the history to know that the file was moved.

A full index of one of our more complex repositories takes << 1 hour. You must have a very, very slow server and mega-sized repositories to take weeks.

Sergey Svishchev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 07, 2013

Will the contents of the file and comments attached to it survive that move?

Crucible doesn't automatically add new revisions of a file to the review (and a move is recorded as a revision). You can add them manually, or use the "Add Latest" feature, but result is unexpected -- while Fisheye does track the file's history, Crucible (2.10.4) apparently doesn't use that info.

I've tested this on a file that was moved 2 times; Crucible detects that a file was modified and offers to "Add Latest" revision, but the file shows up as 'deleted' (since in SVN, the move operation is really 'delete' + 'add').

Kevin Buchs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 07, 2013

This Experimentally derived answer seems to be the most authoritative one I have received.

I have derived the general rule: assume that moving an SVN file will break a review that was using the file prior to the move.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events