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

Changelog entry for v0.3.1 release #1047

Merged
merged 22 commits into from
Mar 14, 2021
Merged

Changelog entry for v0.3.1 release #1047

merged 22 commits into from
Mar 14, 2021

Conversation

willschlitzer
Copy link
Contributor

@willschlitzer willschlitzer commented Mar 13, 2021

Description of proposed changes

Preview: https://pygmt-git-v031-release-gmt.vercel.app/changes.html#changelog

Previous release at #887

Changelog made by following the instructions at https://github.com/GenericMappingTools/pygmt/blob/master/MAINTENANCE.md#updating-the-changelog. The changelog itself includes the following sections:

  • New features
  • Enhancements
  • Documentation
  • Bug fixes
  • Maintenance
  • List of Contributors

TODO:

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

@willschlitzer willschlitzer added the skip-changelog Skip adding Pull Request to changelog label Mar 13, 2021
@willschlitzer willschlitzer added this to the 0.3.1 milestone Mar 13, 2021
@willschlitzer
Copy link
Contributor Author

@weiji14 @seisman It looks like the auto-generated changelog is already formatting the associated links; do I still need to run sed -i.bak -E 's$\(#([0-9]*)\)$(`#\1 <https://github.com/GenericMappingTools/pygmt/pull/\1>`__)$g' changes.rst?

doc/changes.md Outdated Show resolved Hide resolved
Co-authored-by: Yao Jiayuan <[email protected]>
@seisman
Copy link
Member

seisman commented Mar 13, 2021

It looks like the auto-generated changelog is already formatting the associated links; do I still need to run sed -i.bak -E 's$\(#([0-9]*)\)$(`#\1 <https://github.com/GenericMappingTools/pygmt/pull/\1>`__)$g' changes.rst?

No need.

README.rst Outdated Show resolved Hide resolved
doc/changes.md Outdated Show resolved Hide resolved
Co-authored-by: Dongdong Tian <[email protected]>
doc/changes.md Outdated Show resolved Hide resolved
@seisman seisman added maintenance Boring but important stuff for the core devs and removed maintenance Boring but important stuff for the core devs labels Mar 14, 2021
doc/changes.md Outdated Show resolved Hide resolved
@willschlitzer willschlitzer marked this pull request as ready for review March 14, 2021 07:49
doc/changes.md Outdated Show resolved Hide resolved
doc/changes.md Outdated
Comment on lines 9 to 10
* 🎉 **Multiple bug fixes and a reorganized gallery** 🎉
* New gallery example for Cartesian, circular, and geographic vectors ([#950](https://github.com/GenericMappingTools/pygmt/pull/950))
Copy link
Member

Choose a reason for hiding this comment

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

Then I'd like to recommend another gallery example: Vector heads and tails. It is cool and useful. How do you think ?@weiji14 @willschlitzer

Yep, actually #950 and #890 are part of the vectors issue at #892 so maybe we could merge it into one bullet point?

For another point, how about mentioning the gallery reorganization #995? There was quite a bit of work (and debate) that went into that!

Copy link
Member

Choose a reason for hiding this comment

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

Yep, actually #950 and #890 are part of the vectors issue at #892 so maybe we could merge it into one bullet point?

Sounds good.

For another point, how about mentioning the gallery reorganization #995? There was quite a bit of work (and debate) that went into that!

I agree, but the first line says:

🎉 Multiple bug fixes and a reorganized gallery 🎉

So can we still highlight it again?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added in 444ef30

Copy link
Member

Choose a reason for hiding this comment

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

I agree, but the first line says:

tada Multiple bug fixes and a reorganized gallery tada

So can we still highlight it again?

Or we can change that first line to say ":tada: Multiple bug fixes and an improved gallery :tada:" :shrug:

Copy link
Member

@weiji14 weiji14 Mar 14, 2021

Choose a reason for hiding this comment

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

Alternatively, we can mention the Twitter account 🐦 https://twitter.com/gmt_software What do people think?

Copy link
Member

Choose a reason for hiding this comment

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

Or we can change that first line to say " Multiple bug fixes and an improved gallery "

That's great. Will update https://hackmd.io/@pygmt/ryt7DI5md when other maintainers approve this PR.

Copy link
Member

Choose a reason for hiding this comment

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

Great, thanks for starting that changelog @core-man! I've added a nice link so using https://hackmd.io/@pygmt/v0-3-1_announcement now:

image

Copy link
Member

Choose a reason for hiding this comment

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

From my point of view, the most important changes are covered 😉.

doc/changes.md Outdated Show resolved Hide resolved
doc/changes.md Outdated Show resolved Hide resolved
@core-man core-man mentioned this pull request Mar 14, 2021
23 tasks
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

Hopefully the last nitpick, sorting the contributor list by number of commits, and tied ones are sorted alphabetically as per git shortlog HEAD...v0.3.0 -sne (on the master branch).

   25  Dongdong Tian
    19  Yao Jiayuan
    14  Wei Ji
     9  Meghan Jones
     8  Michael Grund
     8  Will Schlitzer
     3  dependabot[bot]
     2  Liam Toney
     2  kmaterna
     1  Alicia Ngoc Diep Ha
     1  Michael Grund
     1  Tawanda
     1  Yao Jiayuan (姚家园)

👋 Everyone else, preview things at https://pygmt-git-v031-release-gmt.vercel.app/changes.html#release-v0-3-1-2021-03-14 to see if there's anything amiss.

doc/changes.md Outdated Show resolved Hide resolved
doc/changes.md Outdated Show resolved Hide resolved
@core-man
Copy link
Member

core-man commented Mar 14, 2021

Following @weiji14 , I checked Citing PyGMT and authorship on Zenodo archives of releases at AUTHORSHIP.md:

The order of authors will be defined by the number of commits to the repository (git shortlog -sne). The order can also be changed on a case-by-case basis.

$ git shortlog -sne
   256  Leonardo Uieda <[email protected]>
   225  Dongdong Tian <[email protected]>
   112  Wei Ji <[email protected]>
    63  Will Schlitzer <[email protected]>
    19  Yao Jiayuan <[email protected]>
    16  Michael Grund <[email protected]>
    15  Liam Toney <[email protected]>
    12  Meghan Jones <[email protected]>
     9  dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
     3  kmaterna <[email protected]>
     2  Andrey Shmakov <[email protected]>
     2  Conor Bacon <[email protected]>
     2  Tyler Newton <[email protected]>
     1  Alicia Ngoc Diep Ha <[email protected]>
     1  Brook <[email protected]>
     1  Claudio Satriano <[email protected]>
     1  Cody Woodson <[email protected]>
     1  Malte Ziebarth <[email protected]>
     1  Mark Wieczorek <[email protected]>
     1  Michael Grund <[email protected]>
     1  Philipp Loose <[email protected]>
     1  Tawanda <[email protected]>
     1  Yao Jiayuan (姚家园) <[email protected]>
     1  carocamargo <[email protected]>

It seems that we also need to update the authors for the citation. Am I right? Below is original authors in citatin:

Uieda, Leonardo and
Tian, Dongdong and
Leong, Wei Ji and
---
Schlitzer, William and
Yao, Jiayuan and
Grund, Michael and
Toney, Liam and
---
Jones, Meghan and
Materna, Kathryn and
Newton, Tyler and
Ziebarth, Malte and
Wessel, Paul

README.rst Outdated
Comment on lines 161 to 164
Toney, Liam and
Schlitzer, William and
Grund, Michael and
Yao, Jiayuan and
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Toney, Liam and
Schlitzer, William and
Grund, Michael and
Yao, Jiayuan and
Schlitzer, William and
Yao, Jiayuan and
Grund, Michael and
Toney, Liam and

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had based this off number of commits yesterday; I'll put
Toney, Liam and Schlitzer, William and Yao, Jiayuan and Grund, Michael and

In the v0.3.0 release we put @liamtoney up higher because of his ROSES video, which may not count towards his commits but has significantly enhanced the project. Ping @GenericMappingTools/python for input, but I think he should remain where he is in the order because he is spearheading the SciPy session.

Copy link
Member

Choose a reason for hiding this comment

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

Following @weiji14 , I checked Citing PyGMT and authorship on Zenodo archives of releases at AUTHORSHIP.md:

The order of authors will be defined by the number of commits to the repository (git shortlog -sne). The order can also be changed on a case-by-case basis.

Yes, on a first order, we sort things by the number of commits. But pay attention to the next sentence "The order can also be changed on a case-by-case basis". The idea is that contributions are not just about commits but also the other things people do. For example, Liam put a lot of work into the ROSES tutorial (the video on the front page) and Meghan has done lots of things behind the scenes such as funding applications and setting up accounts.

I don't want to get too fired up about name ordering, but it's really up to you all to negotiate what you think is best. Just stating that there are other factors to consider :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changes pushed in 8fef314

Copy link
Member

@core-man core-man Mar 14, 2021

Choose a reason for hiding this comment

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

That's reasonable. I also think Liam and Meghan have conducted a lot of work beyond just code commit. Good to know we can pay attention to those contributions a lot. Actually, I begin to know PyGMT from his ROSES tutorial. 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, I begin to know PyGMT from his ROSES tutorial.

Me too! Thanks Liam!

Copy link
Member

Choose a reason for hiding this comment

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

Everythin fine for me 😉.

@core-man
Copy link
Member

I quickly reviewed the changelog again and have no more comments.

Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

Let's get this merged! Zenodo is at the ready too!

image

@willschlitzer
Copy link
Contributor Author

willschlitzer commented Mar 14, 2021

Let's get this merged! Zenodo is at the ready too!

I can't "Squash and merge" because of the required tests; can you disable them/merge this PR?

@weiji14
Copy link
Member

weiji14 commented Mar 14, 2021

Yep, I can merge this one in (unless someone has any last minute issues). About time we give you admin permissions @willschlitzer 😄

@weiji14 weiji14 merged commit 8e2b2e6 into master Mar 14, 2021
@weiji14 weiji14 deleted the v0.3.1-release branch March 14, 2021 11:17
@weiji14 weiji14 mentioned this pull request Jun 19, 2021
13 tasks
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
Patch release with multiple bug fixes and an improved gallery.

* Update version_switch.js for v0.3.1 release
* Add changelog entry to changes.md
* Update v0.3.1 release highlights
* reorganize contributor list
* reorganize author list

Co-authored-by: Yao Jiayuan <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Wei Ji <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants