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

Markus Neteler neteler at osgeo.org
Mon Nov 29 11:25:58 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

(from https://github.com/cli/cli#installation)

# Fedora:
sudo dnf install -y
https://github.com/cli/cli/releases/download/v2.2.0/gh_2.2.0_linux_amd64.rpm

Next I have to study how the authentication of `gh` works :-)

> 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.

Cool, exactly what I was looking for.

> Unfortunately, we also have PRs with no milestone which is 919 items:
>
> gh pr list --search "no:milestone" --state merged --limit 100

If I cannot sleep I try to clean up the more recent ones :D

BTW, while on the "gh" pages, I saw very nice release pages. Guess we want this!

https://github.com/cli/cli/releases/tag/v2.2.0
--> New Contributors
--> Contributors

Seems they use
https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
their code:
https://github.com/cli/cli/blob/trunk/.github/workflows/releases.yml

Maybe nice for inspiration.

Cheers,
Markus


More information about the grass-dev mailing list