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

Add support for the new mixed method for power #75

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

mrchrisadams
Copy link
Member

This change adds support for a 'mixed' option when updating information about how datacenters and hosting providers are powered.

This is intended to allow for cases where a hosting company relies on multiple provider what might use different methods for accounting for their emissions.

It also accounts for datacentres who might use green energy when it's available (for example when they generate it themselves, but do not purchase things like RECs to account for energy used from the grid, where there is no scheme like GVOs or RECs, or similar).

@codecov
Copy link

codecov bot commented Jun 3, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@ab7a36d). Click here to learn what that means.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #75   +/-   ##
=========================================
  Coverage          ?   57.13%           
=========================================
  Files             ?       53           
  Lines             ?     1605           
  Branches          ?      104           
=========================================
  Hits              ?      917           
  Misses            ?      682           
  Partials          ?        6           
Impacted Files Coverage Δ
...pps/accounts/migrations/0009_auto_20200603_1109.py 0.00% <0.00%> (ø)
apps/accounts/models/choices.py 100.00% <100.00%> (ø)
apps/accounts/models/test_models.py 100.00% <100.00%> (ø)
apps/accounts/utils.py 27.77% <0.00%> (ø)
apps/greencheck/apps.py 0.00% <0.00%> (ø)
...pps/accounts/migrations/0007_auto_20200206_1105.py 0.00% <0.00%> (ø)
...ncheck/management/commands/dump_greenpresenting.py 0.00% <0.00%> (ø)
apps/accounts/migrations/0001_initial.py 0.00% <0.00%> (ø)
...anagement/commands/amend_hostingproviders_stats.py 0.00% <0.00%> (ø)
... and 46 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab7a36d...1ec1ccd. Read the comment docs.

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

Successfully merging this pull request may close these issues.

None yet

1 participant