Skip to content

Commit 247725c

Browse files
JessicaS11yochannahwhyjzRomiPicetianli
authored
minor maintenance release v0.4.1 (#227)
* Add research notice to readme (#206) * Update query docstring (#212) * action to automatically update uml diagrams (#208) * switch to svg * update docs with new uml diagrams. Add visualization class to components list * update action trigger to after approved pull request reviews * update variable names for clarity and in line with common usage (#211) * change 'dataset' to 'product' in core and test code * update 'source' input parameter to 'path' in variables module (part of a not-yet-implemented feature). * tests that require an active NSIDC Earthdata session (#209) * NOTE: using the fixture to successfully start a session can be considered the test * check errors raised by empty query object from bounding box split in openaltimetry visualization (#220) * updated product_summary_info function to latest fields returned by CMR (product_id --> title) (#218) * traffic/downloads statistics updates and limit traffic action to parent repo (#221) * GitHub traffic auto-update to not run traffic action on forks. * remove extra code block from example notebook (#225) * populate v0.4.1 changelog and add to index (#226) Co-authored-by: Yo Yehudi <yochannah@gmail.com> Co-authored-by: Whyjay Zheng <wz278@cornell.edu> Co-authored-by: Romina Piunno <romina.piunno@gmail.com> Co-authored-by: Tian Li <45267156+icetianli@users.noreply.github.com> Co-authored-by: JP Swinski <jp.swinski@nasa.gov>
1 parent fe57c41 commit 247725c

40 files changed

+4701
-3223
lines changed

.github/workflows/traffic_action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
traffic:
1313
# The type of runner that the job will run on
1414
runs-on: ubuntu-latest
15+
if: github.repository_owner == 'icesat2py'
1516

1617
# Steps represent a sequence of tasks that will be executed as part of the job
1718
steps:

.github/workflows/uml_action.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Update UML diagrams
2+
on:
3+
workflow_dispatch:
4+
pull_request_review:
5+
types: [submitted]
6+
7+
jobs:
8+
diagrams:
9+
if: github.event.review.state == 'approved'
10+
name: Update UML diagrams
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v2
15+
- name: set up environment
16+
run: |
17+
pip install -r requirements.txt
18+
pip install icepyx pylint
19+
sudo apt-get install graphviz
20+
- name: run pyreverse
21+
run: |
22+
pyreverse ./icepyx/core -p user_uml -o svg
23+
pyreverse ./icepyx/core -f ALL -p dev_uml -o svg
24+
rm ./packages_dev_uml.svg
25+
mv ./*.svg ./doc/source/user_guide/documentation/
26+
- name: Commit changes
27+
uses: EndBug/add-and-commit@v4
28+
with:
29+
author_name: GitHub Action
30+
message: "GitHub action UML generation auto-update"
31+
add: "./doc/source/user_guide/documentation/*"
32+
ref: git branch --show-current

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ stages:
2828
jobs:
2929
include:
3030
- stage: basic tests
31-
script: pytest icepyx/ --ignore icepyx/tests/behind_NSIDC_API_login.py
31+
script: pytest icepyx/ --ignore icepyx/tests/test_behind_NSIDC_API_login.py
3232
after_success: codecov
3333

34-
# - stage: behind Earthdata
35-
# script:
36-
# - export NSIDC_LOGIN=$NSIDC_LOGIN
37-
# - pytest icepyx/tests/behind_NSIDC_API_login.py
34+
- stage: behind Earthdata
35+
script:
36+
- export NSIDC_LOGIN=$NSIDC_LOGIN
37+
- pytest icepyx/tests/test_behind_NSIDC_API_login.py

README.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,20 @@ Please note that this project is released with a Contributor Code of Conduct. By
9393

9494
.. |Contributor Covenant| image:: https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg
9595
:target: code_of_conduct.md
96+
97+
Research notice
98+
~~~~~~~~~~~~~~~
99+
100+
Please note that this repository is participating in a study into
101+
sustainability of open source projects. Data will be gathered about this
102+
repository for approximately the next 12 months, starting from June
103+
2021.
104+
105+
Data collected will include number of contributors, number of PRs, time
106+
taken to close/merge these PRs, and issues closed.
107+
108+
For more information, please visit `the informational
109+
page <https://sustainable-open-science-and-software.github.io/>`__ or
110+
download the `participant information
111+
sheet <https://sustainable-open-science-and-software.github.io/assets/PIS_sustainable_software.pdf>`__.
112+

0 commit comments

Comments
 (0)