[GRASS-git] [OSGeo/grass] 965f15: grass.jupyter: Add save PNG method to Map (#2371)

Vaclav Petras noreply at github.com
Mon May 23 18:34:50 PDT 2022


  Branch: refs/heads/releasebranch_8_2
  Home:   https://github.com/OSGeo/grass
  Commit: 965f15a716c8a254c18bb6668e289d162058e585
      https://github.com/OSGeo/grass/commit/965f15a716c8a254c18bb6668e289d162058e585
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M python/grass/jupyter/map.py
    M python/grass/jupyter/testsuite/map_test.py

  Log Message:
  -----------
  grass.jupyter: Add save PNG method to Map (#2371)

Map from grass.jupyter can now save PNG images. This is easier than using the filename property and it is consistent with TimeSeriesMap. Includes test for file existence after saving.


  Commit: 42d93d4d3e6ef6df3baae8f38db01ac422677392
      https://github.com/OSGeo/grass/commit/42d93d4d3e6ef6df3baae8f38db01ac422677392
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M lib/cairodriver/graph.c

  Log Message:
  -----------
  lib/cairo: Add Cairo status to error message (#2378)

The original message about failing to initialize a Cairo surface does not include any reason. This adds size and status from Cairo.


  Commit: 97ee1fdf94b7081ed41f94495093032b285e56e2
      https://github.com/OSGeo/grass/commit/97ee1fdf94b7081ed41f94495093032b285e56e2
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    A raster/r.mfilter/graphics_for_description.ipynb
    M raster/r.mfilter/r.mfilter.html
    A raster/r.mfilter/r_mfilter.png
    A raster/r.neighbors/graphics_for_description.ipynb
    M raster/r.neighbors/r.neighbors.html
    A raster/r.neighbors/r_neighbors.png
    A raster/r.series/graphics_for_description.ipynb
    M raster/r.series/r.series.html
    A raster/r.series/r_series.png

  Log Message:
  -----------
  doc: Illustration images for r.series, r.neighbors, r.mfilter (#2370)

This adds images to manual pages of r.series, r.neighbors, and r.mfilter. These modules are newly parallelized and lack images.

The images were created with d.explanation.plot and the full workflow for each image is in a notebook which plays a role of an original image file.


  Commit: 233b3edc74715fe87f3fc2efb05c8e0b434996b8
      https://github.com/OSGeo/grass/commit/233b3edc74715fe87f3fc2efb05c8e0b434996b8
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    R .github/workflows/create_new_release_draft.yml
    A .github/workflows/create_release_draft.yml

  Log Message:
  -----------
  CI: Add missing step id to release draft, pre-release, artifacts (#2347)

- Remove new from the name (yes, we are creating a new thing, but it is a draft which says enough).
- To use step_id for asset upload, specify id for the create release step.
- If the tag contains RC, mark the release a pre-release.
- On failure, upload the created file to an artifact for workflow debugging and use of the files for the release.


  Commit: ac9180ee3c0ec31d5462bcdbebf9ebb69e89367d
      https://github.com/OSGeo/grass/commit/ac9180ee3c0ec31d5462bcdbebf9ebb69e89367d
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M .github/workflows/additional_checks.yml
    M doc/howto_release.md
    A utils/generate_release_notes.py
    A utils/git_author_github_name.csv
    A utils/release.yml
    A utils/svn_name_git_author.csv
    A utils/svn_name_github_name.csv

  Log Message:
  -----------
  contributing: Generate release notes from git log output or GitHub API (#2328)

This adds a new script which generates release notes from git log output or from GitHub API.

Configuration:

* Split into categories or exclude based on commit message or PR title.
* Similar to that of GitHub release notes, but using commit message or PR title prefixes instead of PR labels.
* Additional author files map names and usernames to GitHub usernames to generate GitHub-like output from git log.
* Includes user names from the Subversion to Git+GitHub transition (i.e., roughly 8.0 to 8.2).
* Includes user names for contributors since the 8.0.0 tag (i.e., roughly 8.0 to 8.2).
* Not storing @ sign in emails as in the contributors file (unlike the original files in Subversion to Git repo).


    https://trac.osgeo.org/grass/browser/grass-addons/tools/svn2git/svn2git_users.csv
    https://trac.osgeo.org/grass/browser/grass-addons/tools/svn2git/AUTHORS.txt

The additional Git-GitHub file is created from the commits for 8.0.2 release.
 ( have full emails for these files.)
* Add general raster label

* Ignore version prefix. Add Contributing section to capture improvements for existing or potential contributors. Add i18N as alternative spelling because it was used a lot in the past.

Contributing documentation:

* Use the generate release notes script in the release procedure


Error handling:

* Raise specific error if git log returns nothing
* Capture exception to propage the captured subprocess error output



CI:


* Remove the GH API test due to permission issues. python ./generate_release_notes.py api releasebranch_8_2 8.0.0 8.2.0 gets Resource not accessible by integration (HTTP 403)
* Use current branch, explain parameter choices


* Fetch more commits for testing purposes

* Run the script in additional checks workflow


Compare: https://github.com/OSGeo/grass/compare/cd19eb5af0b9...ac9180ee3c0e


More information about the grass-commit mailing list