Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate the default_preferences.json file from AppOptions #10548

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Currently any editing of the preferences require updates in three separate files, which isn't a great developer experience to say the least.

This has annoyed me sufficiently to write this patch, which moves the definition of all preferences into AppOptions and adds a new gulp task to generate the default_preferences.json file for the builds where it's needed.

@Snuffleupagus Snuffleupagus force-pushed the generate-default_preferences branch 2 times, most recently from b518959 to df8330f Compare February 13, 2019 19:24
Currently any editing of the preferences require updates in *three* separate files, which isn't a great developer experience to say the least.

This has annoyed me sufficiently to write this patch, which moves the definition of all preferences into `AppOptions` and adds a new `gulp` task to generate the `default_preferences.json` file for the builds where it's needed.
@Snuffleupagus Snuffleupagus force-pushed the generate-default_preferences branch from df8330f to 0f0650f Compare February 14, 2019 19:41
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@mozilla mozilla deleted a comment from pdfjsbot Feb 16, 2019
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/f59f9f8879e09a9/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/f59f9f8879e09a9/output.txt

Total script time: 1.80 mins

Published

@timvandermeij timvandermeij merged commit 43491c1 into mozilla:master Feb 16, 2019
@timvandermeij
Copy link
Contributor

Nice work! I'm glad that this has become easier to manage now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants