Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update license #203

Merged
merged 3 commits into from
Jun 8, 2023
Merged

Update license #203

merged 3 commits into from
Jun 8, 2023

Conversation

jarrodmillman
Copy link
Member

@jarrodmillman jarrodmillman added this to the 0.13 milestone Jun 8, 2023
@jarrodmillman jarrodmillman requested review from pllim and bsipocz June 8, 2023 15:30
Copy link
Contributor

@pllim pllim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I appreciate not deleting Astropy altogether. Thanks!

@bsipocz bsipocz modified the milestones: 0.13, 0.14 Jun 8, 2023
@bsipocz
Copy link
Member

bsipocz commented Jun 8, 2023

@pllim - out of curiosity, is there a chance to revive the changelog/milestone bot? I miss it very much 😢 :)

@pllim
Copy link
Contributor

pllim commented Jun 8, 2023

Hmm the old changelog format? I think it still runs from https://github.com/pllim/action-check_astropy_changelog but the astropy-bot is dead I think after Heroku got greedy.

@pllim
Copy link
Contributor

pllim commented Jun 8, 2023

I just checked, we're still using it and it seems to be working for us at https://github.com/spacetelescope/jdaviz/blob/2093786ca917546e6fb7c459a6903b6df4367885/.github/workflows/changelog_check.yml#L17

@jarrodmillman
Copy link
Member Author

We (mostly @lagru and @stefanv) are working on something similar (I think) for scikit-image and plan to use for release notes and ading milestones. We should coordinate!!

This will be pulled out of scikit-image and made into a installable tool soonish:

We are using it along with:

The tentative plan to use it for a bunch of projects (networkx, scikit-image, napari) that are already basically using something like the new tool (due to copying from one another) and other projects I am releasing (pygraphviz, numpydoc, and a bunch of little tools living here.

@bsipocz
Copy link
Member

bsipocz commented Jun 8, 2023

I just checked, we're still using it and it seems to be working for us at https://github.com/spacetelescope/jdaviz/blob/2093786ca917546e6fb7c459a6903b6df4367885/.github/workflows/changelog_check.yml#L17

Wonderful, thanks (I've just ping William about it). If you are really that eager to get rid of it, you know a possible place to upstream :)

@pllim
Copy link
Contributor

pllim commented Jun 8, 2023

I'll definitely be happy to upstream https://github.com/pllim/action-check_astropy_changelog if you find it useful though I'd rather it doesn't go through a radical refactoring because I don't have time to fix stuff downstream that uses it. Feel free to open issue there if Scientific Python is serious about this. 😄

Interesting to see other efforts along this line somewhere else. astropy is also rethinking such things over here:

@bsipocz
Copy link
Member

bsipocz commented Jun 8, 2023

@jarrodmillman - I'm happy to coordinate, but would very much like to keep this changelog format for these projects. They are too small for towncrier, and the system worked really well. Assuming some bots/actions are in place, otherwise things need to be cleaned up after releases (I had to fix the consistency of a few, long-merged PRs here last night).

Also, I have very strong opinions about the changelog, that not all PRs should be listed in it (unlike the github release notes), but it could be one-liner mention of user-facing changes. And not everyone agrees with this, which is fine.
I also like to use milestones, I find them extremely useful to figure out which release a given PR went into.

@stefanv
Copy link
Member

stefanv commented Jun 8, 2023

The tool Lars is working on uses labels to decide what goes into the release notes and under which heading. We also plan to scrape release note messages from a fenced code block in the PR description.

The milestone attacher helps us to ensure that all PRs have a milestone, and the label checker does the same for labels.

Of course, everyone should use whichever tool and workflow work best for them :)

@bsipocz
Copy link
Member

bsipocz commented Jun 8, 2023

Interesting. So you don't milestone PRs before they are merged, only after? I think this could work very nicely with all the linear projects I have, no more remilestoning unfinished stuff, etc.

With this approach, do you keep track of release blockers with labels, or manually milestone them?

@stefanv
Copy link
Member

stefanv commented Jun 8, 2023

We just started using this a week ago, so we're still feeling it out.

But, yes, we milestone upon merge with the action, and also milestone manually items we'd like to include in the release. Anything not merged in that release gets moved to the next milestone.

I can imagine some projects not wanting the action to overwrite existing milestones, so I could add an option for that.

@bsipocz
Copy link
Member

bsipocz commented Jun 8, 2023

Sounds excellent. I'll open a follow-up issue for that in https://github.com/scientific-python/attach-next-milestone, and will opt in using it along with @pllim's changelog checker with doctestplus in the CI refresh PR I'm planning to open.

With that said, I'm going ahead and merge this and the other PR, I'm sorry for the side tracks.

@bsipocz bsipocz merged commit 17e8992 into scientific-python:main Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants