I would like to know if it is possible to configure Crucible to filter out certain kinds of files, by wildcard file name, when a Change Set is selected for review.
Our projects contain files that get updated, but do not need to be reviewed. Namely, generated code and project files. For example I would like to filter out, *.sln, *.csproj, *.dbml, *.Designer.cs (but not *.cs).
Thanks,
Jim
It's a bit other way. First you add the changeset and then remove what is not needed. Refer http://confluence.atlassian.com/display/CRUCIBLE/Selecting+the+Files+for+the+Review#SelectingtheFilesfortheReview-SelectingChangesetsforReview
The section says
Click the checkbox next to a changeset ID to add the entire changeset. Note,
- You cannot add individual file revisions to a review, although you can remove them once the changeset is added. Click 'Remove all revisions from review' to remove all.
Thanks for the answer. Yes, I knew I could do that, I was just hoping that there was a way of adding a permenant filter up front so that I would not have to go in and remove files from each and every review. Thanks anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can add files to review using the 'search for files' option instead of changeset, then click on the advanced search (see https://img.skitch.com/20121012-dic6ebfc698n1mytgyky8sab81.png and https://img.skitch.com/20121012-ria7736dcafn7kncdmbmn53r2m.png ). You can then specify an eyeQL search for the specific changeset that you wish to review, and add in a filter to filter out all of the revisions that doesn't conform to your policy.
for example, to filter out all the xml and the zip files, use:
select revisions from dir "/" where csid=0c586d07b407c86ea24a5971bc953f24546037eb and (path not like "*.xml" and path not like "*.zip")
doing this will give you a list of revisions for the changeset, and you can then add them easily.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Joe,
So where does that csid come from? And is that select storable in Cruible so it does not need to be typed each time? The list in the original post was just a sample list of things to filter out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.