Closed
Bug 590402
Opened 14 years ago
Closed 13 years ago
[stats] Add an option to output IPs (for Friends of Brazil Guy)
Categories
(Camino Graveyard :: General, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alqahira, Assigned: stuart.morgan+bugzilla)
Details
Attachments
(1 file, 2 obsolete files)
6.68 KB,
patch
|
Details | Diff | Splinter Review |
When we get giant ping days, we have to go through and look for giant-ping IPs that aren't already in $badips. We should just add an option (like "--dumpIPs") to generate_update_statistics to output them for us. grep "24/Aug" caminobrowser.org-ssl_log | grep " /update-check?os=" | cut -d " " -f 1 | sort | uniq -c | sort -r > IPlist.txt is what I used tonight as the shell command; let me know if you have something different/better you use. I'll see if I can figure out how to add option/flag support to the current script without breaking everything ;-)
Reporter | ||
Updated•14 years ago
|
Component: Product Site → General
QA Contact: product.site → general
Summary: Add an option to generate_update_statistics to output IPs (for Friends of Brazil Guy) → [stats] Add an option to output IPs (for Friends of Brazil Guy)
Assignee | ||
Comment 1•13 years ago
|
||
This adds an initial command argument (rather than having a flag that makes everything else behave differently), so it will require a minor change to anything built on top of this script. Please try this out, and let me know if it does what you want, if you want a different format, different arguments, etc. I'm deliberately not saying more to make sure the usage message is reasonable ;)
Assignee: alqahira → stuart.morgan+bugzilla
Status: NEW → ASSIGNED
Attachment #523821 -
Flags: feedback?(alqahira)
Reporter | ||
Comment 2•13 years ago
|
||
Can you unbitrot this when you get a chance (and when it's likely to not be broken soon after by other work in bug 637091, thereby continuing the cycle of making more work for you)? The first hunk fails to apply now.
Assignee | ||
Comment 3•13 years ago
|
||
Yeah, sorry. I was planning on doing that yesterday but didn't get to it. Coming right up...
Assignee | ||
Comment 4•13 years ago
|
||
Here you go; this will apply against ToT.
Attachment #523821 -
Attachment is obsolete: true
Attachment #524135 -
Flags: feedback?(alqahira)
Attachment #523821 -
Flags: feedback?(alqahira)
Reporter | ||
Comment 5•13 years ago
|
||
Comment on attachment 524135 [details] [diff] [review] un-bit-rotted Per irc, it would be useful to have the dates for the given pings, perhaps best displayed as tabular data. Otherwise, it seems to do what I want.
Attachment #524135 -
Flags: feedback?(alqahira) → feedback+
Assignee | ||
Comment 6•13 years ago
|
||
Outputs a table with date-labelled columns.
Attachment #524135 -
Attachment is obsolete: true
Assignee | ||
Comment 7•13 years ago
|
||
Landed http://hg.mozilla.org/camino/rev/6006af0e127d (Don't forget to update your wrapper to add the "counts" command)
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•