[GRASS-dev] help with completing GRASS 8 new features wiki

Markus Neteler neteler at osgeo.org
Wed Dec 1 12:25:42 PST 2021


On Mon, Nov 29, 2021 at 2:39 AM Vaclav Petras <wenzeslaus at gmail.com> wrote:
> On Sun, Nov 28, 2021 at 1:06 PM Markus Neteler <neteler at osgeo.org> wrote:
>> On Wed, Nov 24, 2021 at 2:10 PM Veronica Andreo <veroandreo at gmail.com> wrote:
>>
>> For populating this page I usually use "git log":
>>
>> # GRASS GIS 7.0.0 release on 2015-03-20
>> git log --oneline --after="2015-03-20" | cut -d' ' -f2- | sed 's+^+ *
>> G80:+g' | sed 's+(#+(PR:+g' | sort -u
>
>
> You could also use GitHub CLI to get merged PRs with milestone 8.0.0:
>
> gh pr list --search "milestone:8.0.0" --state merged --limit 100
>
> This gives 93 PRs. Unfortunately, we also have PRs with no milestone which is 919 items:
>
> gh pr list --search "no:milestone" --state merged --limit 100

While at it, with Carmen's support, we also found a beautiful way to
auto-generate release notes:

gh api repos/OSGeo/grass/releases/generate-notes -f tag_name="8.0.0"
-f target_commitish=releasebranch_8_0 -q .body

Result:

## What's Changed
* fix tests for Python 3 by @petrasovaa in https://github.com/OSGeo/grass/pull/1
* readme: Convert to markdown and add travis badge by @pmav99 in
https://github.com/OSGeo/grass/pull/8
* r.contour: fix broken contour lines (#3846), clean contour lines
trac… by @metzm in https://github.com/OSGeo/grass/pull/6
* pygrass.gis: Make Region importable from grass.pygrass.gis by
@pmav99 in https://github.com/OSGeo/grass/pull/2
...
* r.random: Add -s flag, remove -i flag, redo interface by @wenzeslaus
in https://github.com/OSGeo/grass/pull/1054
* CI: Run Docker for all release branches by @wenzeslaus in
https://github.com/OSGeo/grass/pull/1975

## New Contributors
* @pmav99 made their first contribution in https://github.com/OSGeo/grass/pull/8
* @rouault made their first contribution in
https://github.com/OSGeo/grass/pull/16
* @anikaweinmann made their first contribution in
https://github.com/OSGeo/grass/pull/18
...

Hence it comes with who-created-the-merged-PR, contributors and new
contributors list etc. (of course still needs manual or scripted
sorting, the gh REST API seems to support "sort=pushed"?).

Drawback: how to filter out the "old" stuff (we seek the delta between
7.8.6 and releasebranch_8_0) - any idea?

Cheers,
Markus

-- 
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog


More information about the grass-dev mailing list