PSA: Searchfox now supports .mailmap entries

2018-11-09 Thread Kartikaya Gupta
Thanks to a patch by Nika, searchfox now respects the git .mailmap
file in mozilla-central. When viewing old commits/blame info, the
author information is updated using the .mailmap file to the new
values.

(Also, while I'm here, if anybody is interested in working on adding
Python support to searchfox please ping me and I'd be happy to mentor
you through it. It seems like a fairly well-defined/contained piece of
work that would be valuable to have.)

Cheers,
kats
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Please enable build system telemetry

2018-11-09 Thread Ted Mielczarek
TL;DR: the next time you run `mach bootstrap` please answer yes to the prompt 
to enable build system telemetry.

Hello,

Those of us who work on the build system realize that building Firefox is not 
always a pleasant experience. We've done a lot of work over the years to try to 
improve that situation but we have always relied on anecdotes from individual 
developers to know when a problem exists and when things have improved. 
Recently we've finished landing some work[1] to enable the build system to 
submit telemetry and we're excited to start getting data that we can use to 
prioritize future work and validate our results! The schema of data we're 
collecting is available in the build system documentation[2]. Additionally we 
care very much about your privacy and the security of this data--build system 
telemetry data gets handled and stored in the same systems that handle Firefox 
telemetry data.

We've added a prompt to `mach bootstrap` that will let you opt-in to enabling 
telemetry so we'd appreciate it if you would do that so we can get a broad 
representative sample of the population of developers building Firefox. If 
you'd rather enable it manually you can edit the file ~/.mozbuild/machrc and 
add the contents:

[build]
telemetry = true

If you have any questions about this please feel free to ask here or in #build 
on IRC.

Regards,
-Ted

1. https://bugzilla.mozilla.org/show_bug.cgi?id=1237610
2. https://firefox-source-docs.mozilla.org/build/buildsystem/telemetry.html
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Please enable build system telemetry

2018-11-09 Thread Doug Thayer
Hooray for data! This is great. Thank you!

On Fri, Nov 9, 2018 at 11:55 AM Ted Mielczarek  wrote:

> TL;DR: the next time you run `mach bootstrap` please answer yes to the
> prompt to enable build system telemetry.
>
> Hello,
>
> Those of us who work on the build system realize that building Firefox is
> not always a pleasant experience. We've done a lot of work over the years
> to try to improve that situation but we have always relied on anecdotes
> from individual developers to know when a problem exists and when things
> have improved. Recently we've finished landing some work[1] to enable the
> build system to submit telemetry and we're excited to start getting data
> that we can use to prioritize future work and validate our results! The
> schema of data we're collecting is available in the build system
> documentation[2]. Additionally we care very much about your privacy and the
> security of this data--build system telemetry data gets handled and stored
> in the same systems that handle Firefox telemetry data.
>
> We've added a prompt to `mach bootstrap` that will let you opt-in to
> enabling telemetry so we'd appreciate it if you would do that so we can get
> a broad representative sample of the population of developers building
> Firefox. If you'd rather enable it manually you can edit the file
> ~/.mozbuild/machrc and add the contents:
>
> [build]
> telemetry = true
>
> If you have any questions about this please feel free to ask here or in
> #build on IRC.
>
> Regards,
> -Ted
>
> 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1237610
> 2.
> https://firefox-source-docs.mozilla.org/build/buildsystem/telemetry.html
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Please enable build system telemetry

2018-11-09 Thread Mike Conley
Yes, thanks!

Out of curiosity, is there a dashboard somewhere where we can see
aggregates of the current measurements?

Thanks for your work,

-Mike

On Fri, Nov 9, 2018, 3:22 PM Doug Thayer  Hooray for data! This is great. Thank you!
>
> On Fri, Nov 9, 2018 at 11:55 AM Ted Mielczarek  wrote:
>
> > TL;DR: the next time you run `mach bootstrap` please answer yes to the
> > prompt to enable build system telemetry.
> >
> > Hello,
> >
> > Those of us who work on the build system realize that building Firefox is
> > not always a pleasant experience. We've done a lot of work over the years
> > to try to improve that situation but we have always relied on anecdotes
> > from individual developers to know when a problem exists and when things
> > have improved. Recently we've finished landing some work[1] to enable the
> > build system to submit telemetry and we're excited to start getting data
> > that we can use to prioritize future work and validate our results! The
> > schema of data we're collecting is available in the build system
> > documentation[2]. Additionally we care very much about your privacy and
> the
> > security of this data--build system telemetry data gets handled and
> stored
> > in the same systems that handle Firefox telemetry data.
> >
> > We've added a prompt to `mach bootstrap` that will let you opt-in to
> > enabling telemetry so we'd appreciate it if you would do that so we can
> get
> > a broad representative sample of the population of developers building
> > Firefox. If you'd rather enable it manually you can edit the file
> > ~/.mozbuild/machrc and add the contents:
> >
> > [build]
> > telemetry = true
> >
> > If you have any questions about this please feel free to ask here or in
> > #build on IRC.
> >
> > Regards,
> > -Ted
> >
> > 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1237610
> > 2.
> > https://firefox-source-docs.mozilla.org/build/buildsystem/telemetry.html
> > ___
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Bypassing about:home/privacy page loads on new test profile builds via mach

2018-11-09 Thread Brian Grinstead
Thanks for the list, that looks like a nice set of defaults. I wanted to add a 
few related things:

- In addition to setting prefs via machrc you can use `--setpref`. For example 
`./mach run --setpref browser.newtabpage.enabled=false` which would then 
override the value in your machrc file. Both ways to change prefs were added in 
https://bugzilla.mozilla.org/show_bug.cgi?id=1172574 
 so they behave similarly.
- You can use `./mach run --temp-profile` which is very handy for running 
multiple profiles at once. That will make a temporary profile folder in your 
objdir and then inherit prefs from the machrc file and setpref arg.
- `./mach settings` will print out all the available sections of the machrc 
file.

Brian

> On Oct 28, 2018, at 1:29 PM, Cameron McCormack  wrote:
> 
> On Tue, Oct 23, 2018, at 9:53 AM, Kyle Machulis wrote:
>> Adding the following prefs turns off all new profile about:home loads
>> and just starts the browser with about:blank:
>> 
>> [runprefs]
>> browser.startup.blankWindow=true
>> browser.newtabpage.enabled=false
>> browser.startup.firstrunSkipsHomepage=true
>> browser.startup.homepage=about:blank
>> datareporting.policy.dataSubmissionPolicyBypassNotification=true
> 
> This is great, thanks for the tip Kyle!
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Please enable build system telemetry

2018-11-09 Thread sheehan
> Out of curiosity, is there a dashboard somewhere where we can see
> aggregates of the current measurements?

I have WIP dashboard here 
https://sql.telemetry.mozilla.org/dashboard/sheehan-build-telemetry-dash which 
I am using to play around with the data and look for bugs in our collection and 
submission code (such as bug 1505205 and bug 1505325).

Eventually we will make some more "official" dashboards, that work will be 
tracked in bug 1503983 should you wish to follow along.

If you end up looking through the data and wonder why your pings do not appear, 
there is a bug in the submission code that will be resolved when the stack 
ending in D11279 lands. I encourage you to enable build telemetry anyways, as 
the generated pings will persist on disk and will be submitted once the fix 
lands and `mach` is run again.

If you really want to see your data points in the dashboard and help us with 
early feedback, you can work around the bug by running `./mach python 
build/submit_telemetry_data.py ~/.mozbuild` (or wherever your mozbuild state 
directory is). :)

Cheers,
Connor
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform