This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('babel-register'); | |
const fs = require('fs'); | |
const readline = require('readline'); | |
const rl = readline.createInterface({ | |
// This was a log file from production for a single NodeJS app instance. | |
// It had 7 OOM crashes. After each crash the app was restarted. | |
input: fs.createReadStream('/Users/kumar/Downloads/docker-addons-frontend.service.log'), | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/config.js b/src/config.js | |
index 92cf9a9..08b839a 100644 | |
--- a/src/config.js | |
+++ b/src/config.js | |
@@ -53,4 +53,4 @@ export function loadJSConfigFile(filePath: string) { | |
throw new UsageError | |
(`Cannot read config file: ${filePath}\nError: ${error.message}`); | |
} | |
-} | |
\ No newline at end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/config.js b/src/config.js | |
new file mode 100644 | |
index 0000000..226fd0c | |
--- /dev/null | |
+++ b/src/config.js | |
@@ -0,0 +1,6 @@ | |
+export function applyConfigToArgv({argv, configObject}) { | |
+ // Replace argv with config file option values. | |
+ // This is of course only a naiive implementation that is missing | |
+ // many things. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/amo/components/AddonDetail.js b/src/amo/components/AddonDetail.js | |
index 18f0ef9..8ef43ba 100644 | |
--- a/src/amo/components/AddonDetail.js | |
+++ b/src/amo/components/AddonDetail.js | |
@@ -1,7 +1,12 @@ | |
import React, { PropTypes } from 'react'; | |
+import { connect } from 'react-redux'; | |
+import { asyncConnect } from 'redux-async-connect'; | |
import translate from 'core/i18n/translate'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/amo/components/AddonDetail.js b/src/amo/components/AddonDetail.js | |
index 18f0ef9..4e46107 100644 | |
--- a/src/amo/components/AddonDetail.js | |
+++ b/src/amo/components/AddonDetail.js | |
@@ -1,6 +1,10 @@ | |
import React, { PropTypes } from 'react'; | |
+import { connect } from 'react-redux'; | |
+import { asyncConnect } from 'redux-async-connect'; | |
import translate from 'core/i18n/translate'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_install: | |
# Create a master branch for conventional-changelog-lint | |
- git remote set-branches origin master | |
- git fetch | |
- git checkout master | |
# Check out the commit that TravisCI started on: | |
- git checkout - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/devtools/client/aboutdebugging/components/addons-tab.js b/devtools/client/aboutdebugging/components/addons-tab.js | |
--- a/devtools/client/aboutdebugging/components/addons-tab.js | |
+++ b/devtools/client/aboutdebugging/components/addons-tab.js | |
@@ -72,23 +72,26 @@ module.exports = createClass({ | |
let debugDisabled = | |
!Services.prefs.getBoolPref(CHROME_ENABLED_PREF) || | |
!Services.prefs.getBoolPref(REMOTE_ENABLED_PREF); | |
this.setState({ debugDisabled }); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/devtools/client/aboutdebugging/components/addons-tab.js b/devtools/client/aboutdebugging/components/addons-tab.js | |
--- a/devtools/client/aboutdebugging/components/addons-tab.js | |
+++ b/devtools/client/aboutdebugging/components/addons-tab.js | |
@@ -72,23 +72,25 @@ module.exports = createClass({ | |
let debugDisabled = | |
!Services.prefs.getBoolPref(CHROME_ENABLED_PREF) || | |
!Services.prefs.getBoolPref(REMOTE_ENABLED_PREF); | |
this.setState({ debugDisabled }); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/devtools/client/aboutdebugging/components/addons-tab.js b/devtools/client/aboutdebugging/components/addons-tab.js | |
--- a/devtools/client/aboutdebugging/components/addons-tab.js | |
+++ b/devtools/client/aboutdebugging/components/addons-tab.js | |
@@ -78,17 +78,18 @@ module.exports = createClass({ | |
updateAddonsList() { | |
AddonManager.getAllAddons(addons => { | |
let extensions = addons.filter(addon => addon.isDebuggable).map(addon => { | |
return { | |
name: addon.name, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Generated with the following command and then edited. | |
# docker-compose run web ./manage.py show_urls > ~/tmp/olympia-urls.txt | |
# | |
# If a URL starts with a minus then it shouldn't be marked as non-atomic. | |
# If a URL starts with a hash then it's ignored. | |
# | |
/ addons.views.home home | |
/<var>/moreinfo.php browse.views.moreinfo_redirect | |
# /__debug__/render_panel/ debug_toolbar.views.render_panel render_panel |
NewerOlder