Closed
Bug 1278247
Opened 8 years ago
Closed 7 years ago
Enforce consistent naming for Telemetry gen-* python scripts
Categories
(Toolkit :: Telemetry, defect, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: Dexter, Assigned: leakey94, Mentored)
References
(Blocks 1 open bug)
Details
(Whiteboard: [measurement:client][lang=python])
Attachments
(1 file)
(In reply to Alessio Placitelli [:Dexter] from bug 1276190 comment #9) > Given PEP0008 [1], we should probably rename the "gen-scalar*.py" to > "generate_scalar_*.py". > > > Modules should have short, all-lowercase names. Underscores can be used in the module name > > if it improves readability. Python packages should also have short, all-lowercase names, > > although the use of underscores is discouraged. > > [1] - https://www.python.org/dev/peps/pep-0008/#package-and-module-names
Reporter | ||
Updated•8 years ago
|
Assignee | ||
Comment 1•7 years ago
|
||
Hi Alessio, I'd like to take this on if still required.
Flags: needinfo?(alessio.placitelli)
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Ryan Leake from comment #1) > Hi Alessio, I'd like to take this on if still required. Hey Ryan! Thanks for reaching out. Yes, this bug is still useful. I've assigned it to you. Please let me know if you have any question :)
Assignee: nobody → leakey94
Flags: needinfo?(alessio.placitelli)
Reporter | ||
Updated•7 years ago
|
Mentor: alessio.placitelli
Whiteboard: [measurement:client] → [measurement:client][lang=python]
Comment hidden (mozreview-request) |
Reporter | ||
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8930870 [details] Bug 1278247 - Enforce consistent naming for Telemetry gen-* python scripts. https://reviewboard.mozilla.org/r/201968/#review207408 Hey Ryan, thank you for your patch. The changes for the scalar scripts look ok, can we do the same for the other generator scripts too? ::: toolkit/components/telemetry/moz.build:153 (Diff revision 1) > # Generate event files. > event_files = [ > 'Events.yaml', > ] > > event_data = GENERATED_FILES['TelemetryEventData.h'] Would you mind doing the same for the histograms (e.g. `gen-histogram-*.py`) and events (`gen-event-*.py`) generator files?
Attachment #8930870 -
Flags: review?(alessio.placitelli)
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #4) > Comment on attachment 8930870 [details] > Bug 1278247 - Enforce consistent naming for Telemetry gen-* python scripts. > > https://reviewboard.mozilla.org/r/201968/#review207408 > > Hey Ryan, thank you for your patch. The changes for the scalar scripts look > ok, can we do the same for the other generator scripts too? > > ::: toolkit/components/telemetry/moz.build:153 > (Diff revision 1) > > # Generate event files. > > event_files = [ > > 'Events.yaml', > > ] > > > > event_data = GENERATED_FILES['TelemetryEventData.h'] > > Would you mind doing the same for the histograms (e.g. `gen-histogram-*.py`) > and events (`gen-event-*.py`) generator files? Sure, no problem.
Comment hidden (mozreview-request) |
Reporter | ||
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8930870 [details] Bug 1278247 - Enforce consistent naming for Telemetry gen-* python scripts. https://reviewboard.mozilla.org/r/201968/#review207758 This looks good, thanks Ryan!
Attachment #8930870 -
Flags: review?(alessio.placitelli) → review+
Pushed by alessio.placitelli@gmail.com: https://hg.mozilla.org/integration/autoland/rev/85d8bab6cc6f Enforce consistent naming for Telemetry gen-* python scripts. r=Dexter
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/85d8bab6cc6f
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•6 years ago
|
status-firefox49:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•