urbanopt-reporting 0.8.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83fdc78e1b3036f33836c8770343ea0e09fead495ede8a83f604cf1adc6ae860
4
- data.tar.gz: df8e4d44d24580c7072c86466bcc83211dbe322ad3c2089725c590ef61d91784
3
+ metadata.gz: 5aab8d062f546b4a594cc0f86d7c27b8bfb065fe357aed461df3db761e43590d
4
+ data.tar.gz: 8a828838d4b881ccd81ca7541b247aad02f6aa560b2d14fa1ba213f9ab14de56
5
5
  SHA512:
6
- metadata.gz: a7fcf95c3b4e5010075792af9370c911ee7998a6f2bb5a02052fb193613870afa6435266c422b8b985acf6b9fd53c9f49776b3ecf595576777d9085b964b2367
7
- data.tar.gz: e928a1bcf15fee8703fd48ccd7c4a8e6b165ec4a1276f18665954e6bd17f598858a8d584397ccc058a8a1b86b4db8f544b812da2dd80d8a97bb9d5e4f2fdf7d8
6
+ metadata.gz: 3318a28163610658c35f31a9192c69877e6ffe1aee565d1a5d3b5a5f6180a95c83f5f8ee4258eaff20cc09390764082d04d438560dca0310816207e26b2b6d0c
7
+ data.tar.gz: c90f19fd040dff797d0f2186ce11c1f18b2a8bb2b49e1c1934629bb3cae468ebe49466d38dee524bf2217ef69f099e08cb31b6130dd7d47e9f62429e1c8cf0b3
@@ -1,43 +1,46 @@
1
- name: nightly_ci_build
1
+ name: Reporting-gem CI
2
2
 
3
3
  on:
4
- push:
5
- # schedule:
4
+ # push:
5
+ schedule:
6
6
  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
7
7
  # 5 am UTC (11pm MDT the day before) every weekday night in MDT
8
- # - cron: '22 5 * * 2-6'
8
+ - cron: '22 5 * * 2-6'
9
+ pull_request:
10
+ types: [review_requested]
9
11
 
10
12
  env:
11
13
  # This env var should enforce develop branch of all dependencies
12
14
  FAVOR_LOCAL_GEMS: true
13
15
  GEM_DEVELOPER_KEY: ${{ secrets.GEM_DEVELOPER_KEY }}
16
+ # Enforce language so openstudio doesn't get confused
17
+ LANG: "C.UTF-8"
14
18
 
15
19
  jobs:
16
20
  weeknight-tests:
17
21
  runs-on: ubuntu-latest
18
22
  container:
19
- image: docker://nrel/openstudio:3.6.1
23
+ image: docker://nrel/openstudio:3.7.0
20
24
  steps:
21
- - uses: actions/checkout@v3
25
+ - uses: actions/checkout@v4
26
+ - name: set git config options
27
+ shell: bash
28
+ run: |
29
+ git config --global --add safe.directory '*'
22
30
  - name: Update gems
23
31
  run: |
24
32
  ruby --version
25
33
  bundle update
26
34
  - name: List OpenStudio measures
27
- continue-on-error: true
28
35
  run: bundle exec rake openstudio:list_measures
29
36
  - name: Update OpenStudio measures
30
- continue-on-error: true
31
37
  run: bundle exec rake openstudio:update_measures
32
38
  - name: Test OpenStudio measures
33
- continue-on-error: true
34
39
  run: bundle exec rake openstudio:test_with_openstudio
35
40
  - name: Run Rspec
36
- continue-on-error: true
37
- # Continue to upload step even if a test fails, so we can troubleshoot
38
41
  run: bundle exec rspec
39
42
  - name: Upload artifacts
40
- uses: actions/upload-artifact@v3
43
+ uses: actions/upload-artifact@v4
41
44
  # Only upload if tests fail
42
45
  if: ${{ failure() }}
43
46
  with:
@@ -45,7 +48,7 @@ jobs:
45
48
  path: |
46
49
  spec/**
47
50
  # coverage/
48
- retention-days: 7 # save for 1 week before deleting
51
+ retention-days: 7 # If we haven't dealt with an error in a week, fuhgeddaboutit
49
52
  - name: Coveralls
50
53
  # coveralls action docs: https://github.com/marketplace/actions/coveralls-github-action
51
54
  uses: coverallsapp/github-action@v2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # URBANopt Reporting Gem
2
2
 
3
+ ## Version 0.9.1
4
+ * downgrade json-schema to 2.7 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/145
5
+
6
+ ## Version 0.9.0
7
+ Date Range: 6/30/23 - 01/09/24
8
+
9
+ * Support OpenStudio 3.7 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/142
10
+ * add tx incoming and outgoing voltages to power distribution reporting by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/138
11
+ * fix schema typos and errors by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/140
12
+ * remove Jenkinsfile by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/139
13
+ * trigger CI on PR review_request by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/141
14
+ * Update export modelica loads by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/143
15
+
3
16
  ## Version 0.8.0
4
17
  Date Range: 12/12/22 - 6/30/23
5
18
 
data/CONTRIBUTING.md CHANGED
@@ -8,7 +8,7 @@ The contribution process for URBANopt is composed of three steps:
8
8
 
9
9
  ## 1. Send consent email
10
10
 
11
- In order for us to distribute your code as part of URBANopt under the URBANopt SDK [license](https://github.com/urbanopt/urbanopt-scenario-gem/blob/develop/LICENSE.md), we’ll need your consent. An email acknowledging your understanding of these terms and agreeing to them is all that will be asked of any contributor. Send an email to the URBANopt project manager ([see below](#documentation) for the address) including the following text and a list of co-contributors (if any):
11
+ In order for us to distribute your code as part of URBANopt under the URBANopt SDK [license](https://github.com/urbanopt/urbanopt-reporting-gem/blob/develop/LICENSE.md), we’ll need your consent. An email acknowledging your understanding of these terms and agreeing to them is all that will be asked of any contributor. Send an email to the URBANopt project manager ([see below](#documentation) for the address) including the following text and a list of co-contributors (if any):
12
12
 
13
13
  *I agree to contribute to the URBANopt SDK. I agree to the following terms and conditions for my contributions: First, I agree that I am licensing the copyright to my contributions under the terms of the current URBANopt SDK license. Second, I hereby grant to Alliance for Sustainable Energy, LLC, to any successor manager and distributor of URBANopt SDK appointed by the U.S. Department of Energy, and to all recipients of a version of URBANopt SDK that includes my contributions, a non-exclusive, worldwide, royalty-free, irrevocable patent license under any patent claims owned by me, or owned by my employer and known to me, that are or will be,necessarily infringed upon by my contributions alone, or by combination of my contributions with the version of URBANopt SDK to which they are contributed, to make, have made, use, offer to sell, sell, import, and otherwise transfer any version of URBANopt SDK that includes my contributions, in source code and object code form. Third, I represent and warrant that I am authorized to make the contributions and grant the foregoing license(s). Additionally, if, to my knowledge, my employer has rights to intellectual property that covers my contributions, I represent and warrant that I have received permission to make these contributions and grant the foregoing license(s) on behalf of my employer.*
14
14
 
@@ -16,7 +16,7 @@ Once we have your consent on file, you’ll only need to redo it if conditions c
16
16
 
17
17
  ## 2. Scope agreement and timeline commitment
18
18
 
19
- If your contribution is small (e.g. a bug fix), simply submit your contribution via GitHub. If you find a bug, first make sure it is not an already known issue, then report it in the GitHub [issue tracker](https://github.com/urbanopt/urbanopt-scenario-gem/issues) for this repository. If your contribution is larger (e.g. a new feature or new functionality/capability), we’ll need to evaluate your proposed contribution first. We may ask you to revise your materials and make changes to it, which we will then re-review.
19
+ If your contribution is small (e.g. a bug fix), simply submit your contribution via GitHub. If you find a bug, first make sure it is not an already known issue, then report it in the GitHub [issue tracker](https://github.com/urbanopt/urbanopt-reporting-gem/issues) for this repository. If your contribution is larger (e.g. a new feature or new functionality/capability), we’ll need to evaluate your proposed contribution first. We may ask you to revise your materials and make changes to it, which we will then re-review.
20
20
 
21
21
  ## 3. Technical contribution process
22
22
 
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- URBANopt (tm), Copyright (c) 2019-2023, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2024, Alliance for Sustainable Energy, LLC, and other
2
2
  contributors. All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,