Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
database
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tealover  
View profile  
 More options Apr 4 2005, 1:36 am
From: "tealover" <tealo...@yandex.ru>
Date: Sun, 03 Apr 2005 22:36:07 -0700
Local: Mon, Apr 4 2005 1:36 am
Subject: database
Hello,
I've got two questions I couldn't resolve myself so far:
1. how would I COPY one of the databases? I want to modify values,
that's why I want a copy, so VIEW is no good here.
2. Where exactly is "per developer" computation done?
3. And, at which point timestamps (from Revision table) are converted
into days for display purposes?

Thank you so much!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David James  
View profile  
 More options Apr 4 2005, 11:58 am
From: David James <jame...@gmail.com>
Date: Mon, 4 Apr 2005 11:58:16 -0400
Local: Mon, Apr 4 2005 11:58 am
Subject: Re: [JCVSReport] database
On Apr 4, 2005 1:36 AM, tealover <tealo...@yandex.ru> wrote:
> 2. Where exactly is "per developer" computation done?

That'd be ca.utoronto.JCVSReport.report.BasicGraph. Search for
"perDeveloper" in that file.

> 3. And, at which point timestamps (from Revision table) are converted
> into days for display purposes?

That's in ca.utoronto.JCVSReport.metric.MetricRevision.getDay.

> 1. how would I COPY one of the databases? I want to modify values,
> that's why I want a copy, so VIEW is no good here.

I recommend you ask this question on the CSC408 bulletin board or on
an SQL-related forum.

Best,

David
--
http://www.cs.toronto.edu/~james


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tealover  
View profile  
 More options Apr 5 2005, 2:04 pm
From: "tealover" <tealo...@yandex.ru>
Date: Tue, 05 Apr 2005 11:04:49 -0700
Local: Tues, Apr 5 2005 2:04 pm
Subject: Re: database
Another question:
since McKoi database doesn't support any sql functions beyond basic
stuff, I cannot just just write a specific querry to get the info and
will have to modify the code to treat the special case of the new
metric, so the question is then where would be the least painful way to
insert a clause "if the case of new metric, process db table in the
follwoing way..."

Thanks a lot in advance


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tealover  
View profile  
 More options Apr 5 2005, 2:31 pm
From: "tealover" <tealo...@yandex.ru>
Date: Tue, 05 Apr 2005 11:31:15 -0700
Local: Tues, Apr 5 2005 2:31 pm
Subject: Re: database
Yet another question:
how does incremental stats collection work for, say, number of commits
metric?
I would have assumed that collecting this data incrementally would mean
that values grow or stay the same.
It is not the case in the graphs, so I'm wondering how it works.

Thank you very much,
Irina


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David James  
View profile  
 More options Apr 5 2005, 9:44 pm
From: David James <jame...@gmail.com>
Date: Tue, 5 Apr 2005 21:44:15 -0400
Local: Tues, Apr 5 2005 9:44 pm
Subject: Re: [JCVSReport] Re: database
Hi Irina,

Nice to hear from you. Hope your project is going well.

Looks like there's been quite a few questions, more than I can keep up
with! I'll try to answer your questions, but understand I'm a bit
swamped because I've got four assignments due Friday. Ah, the life of
a student!

> how does incremental stats collection work for, say, number of commits
> metric?
> I would have assumed that collecting this data incrementally would mean
> that values grow or stay the same.

That's exactly how it works. If the graph is marked as 'incremental',
then for each new datapoint, we report the sum of all the datapoints
gathered so far.

Take a look at one of the CVS Operations graph, for example:
   http://www.cs.toronto.edu/~james/408/Operations.jpg

> where would be the least painful way to
> insert a clause "if the case of new metric, process db table in the
> follwoing way..."

You're asking how to change the way that metrics are processed after
they have been added to the database? That's actually quite easy --
not painful at all! :)

Let's say you wrote a class for processing metrics called
'PerDeveloperScatterPlot', following the same convention as the other
classes in the Report package such as PerDeveloperTimeSeries.

If you want to display any metric using your new class, simply specify
as such in your sample_config.txt. Instead of specifying simply
'CodeSize-PerDeveloper', specify 'CodeSize-PerDeveloperScatterPlot'.
Then, instead of displaying the number of classes as a per developer
pie graph, you'll display it as a scatter plot!

Hope that helps!

Best,

David

--
http://www.cs.toronto.edu/~james


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google