Closed Bug 1380766 Opened 7 years ago Closed 7 years ago

Remove mentions of Firefox Hello and loop from webrtc telemetry docs

Categories

(Toolkit :: Telemetry, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: chutten, Assigned: akriti.v10, Mentored)

Details

(Whiteboard: [good first bug] [lang=rst])

Attachments

(1 file, 1 obsolete file)

The webrtc portion of the "main" ping docs at [1] contain references to Firefox Hello (also known as "loop").

We can remove those references, as we don't collect any data about it anymore (see bug 1306631). (In fact, I don't think the product exists any more).

http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/data/main-ping.html#webrtc
Mentor: chutten
Whiteboard: [good first bug] [lang=rst]
I'll will give it try. But any guidelines/first-steps to be followed. This is my first one.
Flags: needinfo?(chutten)
Excellent!

First things first, you must get a copy of the source code and be able to successfully build it. There are lovely guides on MDN ( like this one: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction ) and if you join IRC ( https://wiki.mozilla.org/Irc ) the channel #introduction is filled with people that can help you out.

From there it is a matter of editing toolkit/components/telemetry/docs/data/main-ping.rst so that the "webrtc" section no longer mentions Firefox Hello or loop.

Continue following the developer guide for instructions for how to submit a patch for review and mark me as a reviewer.

Once it's ready, we'll land your patch so that your improvement can start helping people as soon as possible.

Please let me know if you have any further questions.
Assignee: nobody → nrvikram19
Status: NEW → ASSIGNED
Flags: needinfo?(chutten)
Thanks. I'll have an update within few days.
Priority: -- → P4
Sorry I'm unable to download mozilla build due to space issues in my Laptop. Please assign to somebody else.
Status: ASSIGNED → NEW
That's okay, thank you for trying!
Assignee: nrvikram19 → nobody
I would like to work on this. I have the source code . What do I need to do next?
(In reply to rajeev29five from comment #6)
> I would like to work on this. I have the source code . What do I need to do
> next?

Hi Rajeev!

I've assigned the bug to you, please see comment 2 for a description of the task. Let us know if you have any question!
Assignee: nobody → rajeev29five
Attached file main-ping.rst (obsolete) —
Attachment #8896558 - Flags: review?(chutten)
Comment on attachment 8896558 [details]
main-ping.rst

Sorry made mistake of attaching the source file.
Attachment #8896558 - Attachment is obsolete: true
Attachment #8896558 - Attachment is patch: false
Attachment #8896558 - Flags: review?(chutten)
Rajeev, I think you're supposed to submit the patch through version control. See https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch
Flags: needinfo?(rajeev29five)
Sorry I had little problem with my laptop and had to build firefox again. I'll submit the patch for review in a day or two.
Flags: needinfo?(rajeev29five)
hi, I want to work on this bug. Can you assign this to me.
Sorry, akriti, it seems as though rajeev is still working on this one. We have other bugs you can try your hand at, however! Have you seen Bugs Ahoy? https://www.joshmatthews.net/bugsahoy/
Sorry, I won't be able to submit the patch, my laptop broke down :( .Please assign this bug to someone else.
I'm sorry to hear that! I hope things work out.

akriti verma, are you still interested in working on this bug?
Assignee: rajeev29five → nobody
Flags: needinfo?(akriti.v10)
Yes I will work on it.Thanks.
Flags: needinfo?(akriti.v10)
Hi Chris ,
I tried opening this link : http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/data/main-ping.html#webrtc 
but it says "The page does not exist".
(In reply to akriti verma from comment #17)
> Hi Chris ,
> I tried opening this link :
> http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/
> data/main-ping.html#webrtc 
> but it says "The page does not exist".

Hi Akriti,

we had a few problems with the docs lately. They were migrated to a new location, here's the updated link: https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/main-ping.html#webrtc
Comment on attachment 8901418 [details]
Bug 1380766 - Removed mentions of Firefox Hello and loop from webrtc telemetry docs.

https://reviewboard.mozilla.org/r/172902/#review178602

::: toolkit/components/telemetry/docs/data/main-ping.rst:431
(Diff revision 1)
>  Contains special statistics gathered by WebRTC related components.
>  
>  So far only a bitmask for the ICE candidate type present in a successful or
>  failed WebRTC connection is getting reported through C++ code as
>  IceCandidatesStats, because the required bitmask is too big to be represented
>  in a regular enum histogram. Further this data differentiates between Loop

There remains at least one reference in this file to Loop/Hello. Take a look around and make sure that you remove them all.
Attachment #8901418 - Flags: review-
Hi Chris,
Is there a way to download just one file from the mozilla-central repository , in case an important file is accidentally deleted or edited. I checked the repository on github but i only see "Readme".
If you are using git or hg, you already have all of the files locally in the "local repository" and you should be able to restore your state from it very quickly.

In git a command to restore your files to the state they were in the last time you made a commit would be `git reset --hard HEAD` (commanding git to `reset` your files to the most recent commit (HEAD) without saving your intermediate state (hard reset))

In hg I think a command to do this would be `hg revert --all`. I'm not an hg person usually, so you might benefit by asking on the #introduction IRC channel (https://wiki.mozilla.org/Irc contains instructions) for some real-time assistance.
Comment on attachment 8901418 [details]
Bug 1380766 - Removed mentions of Firefox Hello and loop from webrtc telemetry docs.

https://reviewboard.mozilla.org/r/172902/#review180096

::: toolkit/components/telemetry/docs/data/main-ping.rst:430
(Diff revision 2)
>  Contains special statistics gathered by WebRTC related components.
>  
>  So far only a bitmask for the ICE candidate type present in a successful or
>  failed WebRTC connection is getting reported through C++ code as
>  IceCandidatesStats, because the required bitmask is too big to be represented
> -in a regular enum histogram. Further this data differentiates between Loop
> +in a regular enum histogram. 

Can you remove this end-of-line whitespace?

::: toolkit/components/telemetry/docs/data/main-ping.rst:432
(Diff revision 2)
>  IceCandidatesStats, because the required bitmask is too big to be represented
> -in a regular enum histogram. Further this data differentiates between Loop
> +in a regular enum histogram. 
> -(aka Firefox Hello) connections and everything else, which is categorized as
> -WebRTC.
>  
> -Note: in most cases the webrtc and loop dictionaries inside of
> +Note: in most cases the webrtc dictionaries inside of

"dictionaries" should become singular, "dictionary"
Attachment #8901418 - Flags: review-
Comment on attachment 8901418 [details]
Bug 1380766 - Removed mentions of Firefox Hello and loop from webrtc telemetry docs.

https://reviewboard.mozilla.org/r/172902/#review180522

Just restore the previous, excellent, commit message and this will be good to go.

::: commit-message-0f3a3:1
(Diff revision 3)
> +Bug 1380766 - New Patch

Needs a proper commit message. Your "Removed mentions of Firefox Hello and loop from webrtc telemetry docs." was excellent.

If you'd like some reading on why commit messages are important and some good examples (though not exactly mozilla-central specific) I recommend reading https://chris.beams.io/posts/git-commit/
Attachment #8901418 - Flags: review+
hi Chris,
As advised by you i have changed the commit message.
Pushed by chutten@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/12176fca6b3a
Removed mentions of Firefox Hello and loop from webrtc telemetry docs. r=chutten
Thank you very much! I have triggered your commit to push in to autoland. This usually means that it will be in the next build of Firefox and the source documentation should be online shortly thereafter.

Do you need help finding another bug to work on? I find Bugs Ahoy is very good at showing good first bugs: https://www.joshmatthews.net/bugsahoy/
https://hg.mozilla.org/mozilla-central/rev/12176fca6b3a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Hi Chris ,
Can you help me find another bug related to telemetry?
Flags: needinfo?(chutten)
Certainly. Let's see... what do you think about bug 972324? It's available. It's about ensuring that if anything would break data collection at the server, it would fail a test on Firefox first.
Flags: needinfo?(chutten)
Assignee: nobody → akriti.v10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: