urbanopt-reporting 0.8.0 → 0.9.0

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: 7202d1f41d43e8788757199c40ca519942526d3fb5ce72a081a9196c811cd91e
4
+ data.tar.gz: 7d697016022f30fba74f8e6cccd8d978052c449fc4c779a8b26e3bdef8706c9d
5
5
  SHA512:
6
- metadata.gz: a7fcf95c3b4e5010075792af9370c911ee7998a6f2bb5a02052fb193613870afa6435266c422b8b985acf6b9fd53c9f49776b3ecf595576777d9085b964b2367
7
- data.tar.gz: e928a1bcf15fee8703fd48ccd7c4a8e6b165ec4a1276f18665954e6bd17f598858a8d584397ccc058a8a1b86b4db8f544b812da2dd80d8a97bb9d5e4f2fdf7d8
6
+ metadata.gz: f5d06d6fc0ee6790cc483eeb7fcf50c0538a38b1ae02aa3ea861af9385a2697b65e9035cc204f6b1b9371d39fff9a848e51e7de4ca3ded9bc32061f6e312ab5d
7
+ data.tar.gz: fc2c98f9bd05244a6d323c473f49602a9be217e61f2fbacf3b84a591017c9ad4409dc02e9d44e934994e0f0a4b642ad401297aca6f18da9b6afb9903a9377eb3
@@ -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,15 @@
1
1
  # URBANopt Reporting Gem
2
2
 
3
+ ## Version 0.9.0
4
+ Date Range: 6/30/23 - 01/09/24
5
+
6
+ * Support OpenStudio 3.7 by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/142
7
+ * add tx incoming and outgoing voltages to power distribution reporting by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/138
8
+ * fix schema typos and errors by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/140
9
+ * remove Jenkinsfile by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/139
10
+ * trigger CI on PR review_request by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/141
11
+ * Update export modelica loads by @vtnate in https://github.com/urbanopt/urbanopt-reporting-gem/pull/143
12
+
3
13
  ## Version 0.8.0
4
14
  Date Range: 12/12/22 - 6/30/23
5
15
 
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,