We would like to track this metric. Seems like the infomattion should be available, just wondering if anyone has created such a report.
A SQL query like this will get you the number of reviewed SVN checkins:
select count(distinct(concat(r.cru_source_name, r.cru_revision))) from cru_revision r join cru_frx_revision fx on r.cru_revision_id = fx.cru_revision join cru_frx x on x.cru_frx_id = fx.cru_frx_id where r.cru_commit_date/1000 >= unix_timestamp('1970-01-01') and r.cru_source_name = 'foo';
And you can get the total number of checkins from an EyeQL query like this:
select revisions where date >= 1970-01-01T00:00:00.00Z group by changeset return count(revisions)
Change the WHERE clauses to match your requirements, of course.
Yes, you need the Fisheye license.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm. We currently don't have a Fisheye license.
I ran the SQL Query and it does report the number of checkins per repository that have files in a review. That part works well. But without Fisheye I can't complete the computation. I will have to look into the possibility of listing SVN checkins directly from SVN or creating a commit hook that updates a database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As a workaround, you can create a dummy review which contains all changeset in history. This will bring all changesets into table cru_revision. Those changesets seem to remain in the table even if you delete the dummy review. (I don't know however whether they remain permanently or whether they will be ocassionally cleaned by Crucible).
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.