Closed Bug 1174877 Opened 9 years ago Closed 9 years ago

Import phanalysis / graph server alert code into treeherder

Categories

(Tree Management :: Perfherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
emorley
: review+
Details | Review
To implement bug 1150152 and other things, we should import the graphserver analysis (and my subsequent modifications to it) into the treeherder. For historical / archival purposes, let's import the full history from http://hg.mozilla.org/graphs/.

We'll use the same strategy as we did with the client and ui -> rewrite history so things appear to always have been in the correct subdirectory (treeherder/phanalysis/phanalysis for this particular case)
Attached file PR
Hi Ed, I don't expect you to understand the code completely, but you're probably the one who knows the most about merging repositories, which is what's really going on here (and where there is the most potential to go wrong).

The unit tests are passing and the API (while imperfect) is I think at least enough to get started, so if that's good enough I think I'm just going to put this in. We can always improve things as we go along later.
Attachment #8622687 - Flags: review?(emorley)
Comment on attachment 8622687 [details] [review]
PR

The tests are failing at the moment, did you mean to add the file as:
 treeherder/phanalysis/__init__.py 

Rather than:
 treeherder/phanalysis/phanalysis/__init__.py 
?

I'm not sure I understand the name phanalysis? (It's hard to say for a start :-))
Attachment #8622687 - Flags: review?(emorley)
(In reply to Ed Morley [:emorley] from comment #2)
> I'm not sure I understand the name phanalysis? (It's hard to say for a start
> :-))

Oh "ph" -> perfherder?
Maybe perf-analysis or perf-analyser is clearer? (Or something else?)
(In reply to Ed Morley [:emorley] from comment #2)
> Comment on attachment 8622687 [details] [review]
> PR
> 
> The tests are failing at the moment, did you mean to add the file as:
>  treeherder/phanalysis/__init__.py 
> 
> Rather than:
>  treeherder/phanalysis/phanalysis/__init__.py 
> ?

Yes, I forgot to add some files. This has been fixed!

(In reply to Ed Morley [:emorley] from comment #3)
> (In reply to Ed Morley [:emorley] from comment #2)
> > I'm not sure I understand the name phanalysis? (It's hard to say for a start
> > :-))
> 
> Oh "ph" -> perfherder?
> Maybe perf-analysis or perf-analyser is clearer? (Or something else?)

Maybe perfherder-alerts is clearest, since the only intention of this code is to generate such things. I'll sleep on it, in the mean time I think the patch should be ready for review again.
Comment on attachment 8622687 [details] [review]
PR

Tests, etc. should be passing again.
Attachment #8622687 - Flags: review?(emorley)
Comment on attachment 8622687 [details] [review]
PR

I'm still not really a fan of the name "phanalysis", but from a merging in POV this looks ok. Will leave it up to you if you change the name or not.
Attachment #8622687 - Flags: review?(emorley) → review+
This has been merged. I renamed phanalysis to perfalert.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: