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

master --> main rename #74

Merged
merged 1 commit into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .binder/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# binder development environment
name: intake-stac-dev
channels:
- conda-forge
dependencies:
- aiohttp
- bokeh=2.2
- coverage
- dask
- dask-labextension
- datashader
- distributed
- gcsfs
- geopandas
- geoviews
- h5netcdf
- hvplot
- intake
- intake-geopandas
- intake-parquet
- intake-xarray
- ipywidgets
- ipyleaflet
- jupyterlab>=3
- matplotlib-base
- netcdf4
- numpy
- panel
- pip
- pyproj
- python=3.8
- pyyaml
- pystac
- pytest
- rasterio
- rioxarray
- requests
- s3fs
- sat-search
- sat-stac
- scikit-image
- xarray
- pip:
- -e ../
26 changes: 26 additions & 0 deletions .github/workflows/binderbadge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# create a mybinder badge issue comment for testing PRs
name: AddBinderBadge
on:
pull_request:
types: [opened, reopened]
jobs:
build-image-without-pushing:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v2

- name: Comment on PR with Binder link
uses: actions/github-script@v3
env:
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
var BRANCH_NAME = process.env.BRANCH_NAME;
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${context.repo.owner}/${context.repo.repo}/${BRANCH_NAME}) :point_left: Launch a binder notebook on this branch`
})
6 changes: 0 additions & 6 deletions .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,3 @@ jobs:
shell: bash -l {0}
run: |
pytest --verbose --junitxml=test-reports/junit.xml --cov=intake_stac --cov-config ci/.coveragerc --cov-report term-missing

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: test-reports/junit.xml
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: "*"
pull_request:
branches: master
branches: main

jobs:
lint:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Intake-STAC

![CI](https://github.com/pangeo-data/intake-stac/workflows/CI/badge.svg)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/pangeo-data/intake-stac/master?urlpath=lab/tree/examples)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/pangeo-data/intake-stac/binder?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgit.luolix.top%252Fpangeo-data%252Fintake-stac%26urlpath%3Dlab%252Ftree%252Fintake-stac%252Fexamples%26branch%3Dmain)
[![PyPI version](https://badge.fury.io/py/intake-stac.svg)](https://badge.fury.io/py/intake-stac)
[![Documentation Status](https://readthedocs.org/projects/intake-stac/badge/?version=latest)](https://intake-stac.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/pangeo-data/intake-stac/branch/master/graph/badge.svg)](https://codecov.io/gh/pangeo-data/intake-stac)
[![codecov](https://codecov.io/gh/pangeo-data/intake-stac/branch/main/graph/badge.svg)](https://codecov.io/gh/pangeo-data/intake-stac)

This is an [Intake](https://intake.readthedocs.io/en/latest) data source for [SpatioTemporal Asset Catalogs (STAC)](https://stacspec.org/). The STAC specification provides a common metadata specification, API, and catalog format to describe geospatial assets, so they can more easily indexed and discovered. A 'spatiotemporal asset' is any file that represents information about the earth captured in a certain space and time.

Expand Down
6 changes: 3 additions & 3 deletions docs/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ Preparing Pull Requests
$ git clone git@github.com:YOUR_GITHUB_USERNAME/intake-stac.git
$ cd intake-stac

# now, to fix a bug or add feature create your own branch off "master":
# now, to fix a bug or add feature create your own branch off "main":

$ git checkout -b your-bugfix-feature-branch-name master
$ git checkout -b your-bugfix-feature-branch-name main


#. Install development version in a conda environment::
Expand Down Expand Up @@ -146,4 +146,4 @@ Preparing Pull Requests
compare: your-branch-name

base-fork: intake/intake-stac
base: master
base: main