-
Notifications
You must be signed in to change notification settings - Fork 875
Preparing 0.8 #514
Preparing 0.8 #514
Conversation
Introduce two new environment configuration variables: NEW_RELIC_INI and NEW_RELIC_STAGE Added new extra "newrelic" installation opt-in. Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
Removed no more existing package and adding missing on. Upped cover-min to what we currently have (67%). Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
On Thu, Aug 07, 2014 at 08:37:25AM -0700, Olivier Gambier wrote:
This commit uses env.source('NEW_RELIC_INI') twice. You just use the I'd also prefer a trailing comma in setup.py's extras_require. Then
Yay :). Although it looks like you're still not trusting these
Why move the ‘ver’ assignment here? And I imagine these are for Otherwise these look good to me. |
Good catches. Must have been sleepy coding - will amend. re: python compat - this is for python3 actually, but you are right. |
- don't source NEW_RELIC_INI multiple times - better variable name for new relic ini ref - learn to stop worrying about dev dependencies - trailing coma in extras section of setup to avoid changing multiple lines when adding a new one Docker-DCO-1.1-Signed-off-by: Olivier Gambier <[email protected]> (github: dmp42)
You got your semver zen, mister :-) |
@shin- ping |
On Sat, Aug 09, 2014 at 01:13:38AM -0700, Olivier Gambier wrote:
6a580a2 (Amending previous commits, 2014-08-09) looks good to me. |
LGTM! |
Quick question - I know this is closed (and in production), but new relic supports calling newrelic.agent.initialize() without any arguments and leaning on (NEW_RELIC_CONFIG_FILE and NEW_RELIC_EVIRONMENT) or NEW_RELIC_LICENSE_KEY. Is there a reason that docker-registry uses different environment variable names to achieve the same thing? If the standard names were used (ie. just call initialize() without args if any of the three env variables existed), it would allow us to pass in a license key only without having to bake a new version of the registry that has an extra config file... |
@shin- @wking @bacongobbler @noxiouz @lyda
This is the last round of changes for 0.8
There really isn't much to it (commits are rather self-explicit), except adding new relic support.
Please review, and if possible, give a spin to the future 0.8 - simplest way is to build the container - otherwise, be sure to:
as registry-core is not on pypi yet.