tox-dev / tox

Command line driven CI frontend and development task automation tool.
https://tox.wiki
MIT License
3.64k stars 512 forks source link

Workflow: Changelog Fragments management proposal #1291

Closed webknjaz closed 3 years ago

webknjaz commented 5 years ago

TL;DR @ewdurbin can deploy a changelog fragment checking GitHub App on the PSF infrastructure and is open to providing that to the tox org.

It's another instance of https://github.com/pypa/pip/issues/6475. All details are there but @gaborbernat and @asottile should've already seen my demos.

In order to proceed, we just ask that tox maintainers would express their interest in doing this :)

gaborbernat commented 5 years ago

We're interested.

webknjaz commented 5 years ago

There's still one sprints day left. So if you all agree on this, I think @ewdurbin could get it deployed. Is there anyone else I should ping wrt approving this?

asottile commented 5 years ago

:shipit:

webknjaz commented 5 years ago

Alright, it looks like Ernest needs to recover for a week at least and then we'll get back to it :)

webknjaz commented 5 years ago

@gaborbernat @asottile hey plz install https://github.com/apps/psf-chronographer on tox-dev/tox only. Don't enforce this check in branch protection. It should work in general but needs testing. You'll see some updates in PRs after related events get triggered. It doesn't mutate anything other than its own Checks page/status. It's currently deployed on the free tier of Heroku (so can freeze and you may observe other related errors), once we're happy with the quality we'll proceed with transferring this to the PSF's account.

GitHub
Build software better, together
GitHub is where people build software. More than 36 million people use GitHub to discover, fork, and contribute to over 100 million projects.
gaborbernat commented 5 years ago

done last night 😁

webknjaz commented 5 years ago

So let's see how it goes and send your suggestions to https://github.com/sanitizers/chronographer-github-app/issues/new or post them right here.

I think you @gaborbernat were unhappy with the Checks page contents. Maybe we could improve it + maybe make it more customizable on a per-repo basis via .github/config.yaml config file.

GitHub
Build software better, together
GitHub is where people build software. More than 36 million people use GitHub to discover, fork, and contribute to over 100 million projects.
webknjaz commented 5 years ago

New edge-case: release PRs remove changelogs, not add them. Currently, this means a failed status reported by the bot.

Ref: https://github.com/tox-dev/tox/pull/1362#issuecomment-507677428 Ref: https://github.com/sanitizers/chronographer-github-app/issues/8

webknjaz commented 5 years ago

@gaborbernat it might be a good time to add this check to branch protection ;)

gaborbernat commented 5 years ago

Indeed 😁

webknjaz commented 5 years ago

FYI chronographer doesn't work because GH changed some API responses and I haven't fixed that yet.

webknjaz commented 5 years ago

@gaborbernat @asottile plz accept the updated chronographer permissions request. I'm starting to implement labels management.

webknjaz commented 5 years ago

@gaborbernat ^

gaborbernat commented 5 years ago

Done 👍

hexagonrecursion commented 3 years ago

Is there any specific reason this issue was left open or was it just forgotten?

gaborbernat commented 3 years ago

I think just forgotten