Skip to content

Commit 615bb21

Browse files
authored
Merge pull request #254 from joshuacortez/chore/release_v0.5.0
Chore/release v0.5.0
2 parents 7e5abb8 + e56bf00 commit 615bb21

File tree

6 files changed

+31
-6
lines changed

6 files changed

+31
-6
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,7 @@ data/gridxy*.tif
176176
data/output_0.tif
177177
notebooks/data
178178
_proc/
179-
_docs/
179+
_docs/
180+
181+
# pypi
182+
.pypirc

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Release Notes
22

3+
## 0.5.0
4+
5+
### New Features
6+
7+
- `FastSquareGridGenerator` as a faster equivalent to `SquareGridGenerator` (PR [#253](https://github.com/thinkingmachines/geowrangler/pull/253)) from [@joshuacortez](https://github.com/joshuacortez)
8+
- Just like `FastBingTileGenerator`, this is also added in `00_grids.ipynb`.
9+
10+
### Improvements
11+
- The `generate_grid` method in `SquareGridGenerator` and `FastSquareGridGenerator` shows a warning when the boundary of doesn't fully enclose the AOI. (issue [#147](https://github.com/thinkingmachines/geowrangler/issues/147))
12+
313
## 0.4.0
414

515
### New Features

CONTRIBUTING.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,10 @@ nbdev_export
6565
- In notebooks such as tutorial notebooks you may want to add a Google Colab link at the beginning of the notebook for easy accessibility.
6666
- There is no automatic way yet to update this so it's a manual update of a markdown cell. Since the link points to a notebook in master, testing the Colab button is done after merging. Follow the sample below and replace the notebook name with your contributed notebook name.
6767
- Sample for notebooks/14_datasets_nightlights.ipynb:
68-
[![](https://colab.research.google.com/assets/colab-badge.svg "Open in Colab button")](https://colab.research.google.com/github/thinkingmachines/geowrangler/blob/master/notebooks/14_datasets_nightlights.ipynb)
68+
[![](https://colab.research.google.com/assets/colab-badge.svg "Open in Colab button")](https://colab.research.google.com/github/thinkingmachines/geowrangler/blob/master/notebooks/14_datasets_nightlights.ipynb)
69+
70+
## Updating GitHub pages doc site domain after PR is merged
71+
- After your PR is merged, go the repo site on GitHub -> `Settings` -> `Pages`
72+
- Update the Custom Domain to be geowrangler.thinkingmachin.es
73+
- We need to update this after every PR merge because GitHub resets the custom domain to blank
74+
- If you don't have access to `Settings`, then feel free to reach out to the maintainers to update on your behalf.

RELEASE.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Bumping the version
44

5-
Run the following. Use `<part>` = 0, 1, 2 for major, minor or patch depending on the release. See https://nbdev.fast.ai/api/release.html#bump-version for more details
5+
Run the following. Use `<part>` = 0, 1, 2 for major, minor or patch depending on the release. For example if the version is 1.5.2 then the major version is 1, the minor version is 5, and the patch version is 2. See https://nbdev.fast.ai/api/release.html#bump-version for more details
66

77
```
88
nbdev_bump_version --part <part>
@@ -33,6 +33,12 @@ The `<REPOSITORY>` value is either `pypi` or `testpypi`.
3333
./scripts/publish2pypi.sh <REPOSITORY>
3434
```
3535

36+
## Updating release notes and tagging a release
37+
38+
1. Document the release notes in `CHANGELOG.md`
39+
2. Run `nbdev_release_git` to create entries for the [release page](https://github.com/thinkingmachines/geowrangler/tags).
40+
- You'll need to create a GitHub personal access token for this if you haven't already. See the [nbdev.release docs](https://nbdev.fast.ai/api/release.html#overview), under the `Setup` section, for more details.
41+
3642
## Submitting
3743

38-
Create a PR and tag it as the release version. The tag should be in the format `vX.Y.Z` where `X.Y.Z` is the major, minor and patch version numbers.
44+
Create a PR and tag it as the release version. The tag should be in the format `vX.Y.Z` where `X`, `Y`, and `Z` are the major, minor and patch version numbers respectively.

geowrangler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.4.0"
1+
__version__ = "0.5.0"

settings.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
host = github
33
repo = geowrangler
44
lib_name = geowrangler
5-
version = 0.4.0
5+
version = 0.5.0
66
min_python = 3.8
77
license = MIT
88
black_formatting = True

0 commit comments

Comments
 (0)