Skip to content

Release GMT 6.2.0 #5290

Closed
Closed

Description

@maxrjones

Version: 6.2.0

Scheduled date: June 05, 2021

Before release:

  • check if all tests pass on macOS, Linux and Windows
  • check if other GMT-derived projects work well
  • reserve a DOI on zenodo (@PaulWessel)
  • run src/gmt_make_*.sh to update some .c and .h files
  • run admin/gs_check.sh to test if latest ghostscript version works
  • update changelog
  • check installation instructions in INSTALL.md
  • check if there are any warnings when building the documentation
  • add one new entry in doc/rst/_static/version_switch.js if it's a minor release
  • check/set values in cmake/ConfigDefault.cmake
    • GMT_VERSION_YEAR is current year
    • GMT_PACKAGE_VERSION_* is correctly set
    • GMT_LIB_SOVERSION is correctly set
    • set GMT_PUBLIC_RELEASE to TRUE
    • update GMT_VERSION_DOI
  • freeze codes and commit all changes to GitHub

Release:

  • create source tarballs (tar.gz and tar.xz) (@PaulWessel, @meghanrjones)
  • create macOS bundles (arm64 and intel) (@PaulWessel, @meghanrjones)
  • create Windows installers (win32 and win64) (@joa-quim)
  • check if the source tarballs, macOS bundle and Windows installers work well
  • upload source tarballs, macOS bundle, Windows installers to the GMT FTP (@PaulWessel, @meghanrjones)
  • update README and VERSION files on the GMT FTP (@PaulWessel)
  • make a tag and push it to github (Must be done after uploading packages to the GMT FTP)
    # checkout master (for minor releases) or 6.x branch (for patch releases)
    git checkout XXXX
    # create the tag x.x.x
    git tag x.x.x
    # Push tags to GitHub
    git push --tags
  • make a GitHub release.
    The GitHub Actions automatically create a draft release after pushing the tag to github.
    We need to go to the GitHub Release page, and review it manually.
    • 7 files are attached as release assets (2 source tarballs, 4 installers and 1 checksum file).
    • download the checksum file and check if the checksums are correct
    • edit the draft release, set the target to the correct tag, and publish the release
  • upload the tarball to zenodo (@PaulWessel)
  • make announcements in the GMT forum
  • make announcements on the GMT twitter
  • update links on the main site (News, Download & Documentation)

After release:

  • create branch 6.x for bug-fixes if this is a minor release (i.e. create branch 6.2 after 6.2.0 is released)
    git checkout master
    git checkout -b 6.2
    git push --set-upstream origin 6.2
    
  • update GMT_PACKAGE_VERSION_* in cmake/ConfigDefault.cmake
  • comment the set (GMT_PUBLIC_RELEASE TRUE) line
  • commit changes to GitHub

3rd-party update

Volunteers needed! Please let us know if you volunteer to help to maintain GMT in these 3rd-party tools.


  • Party 🎉 (don't tick before all other checkboxes are ticked!)

Activity

  1. pinned this issue on Jun 2, 2021
  2. PaulWessel commented on Jun 4, 2021

    @PaulWessel
    Contributor

    Need @joa-quim to do his GMT.jl tests.

  3. holishing commented on Jun 4, 2021

    @holishing
    Contributor
  4. PaulWessel commented on Jun 4, 2021

    @PaulWessel
    Contributor

    ARM64 bundle completed and uploaded to gmtrelease dir:

    b5bcb8bffb4db8a42fcc08012a04399ccc6070f3a4b8ee36975f8c0e74b0bc4f gmt-6.2.0-darwin-arm64.dmg

  5. maxrjones commented on Jun 4, 2021

    @maxrjones
    MemberAuthor
    c5038aff92be4ac9df1fc2f06c1b23f5eec9e111bfe596c7ae2b47305ac929a9  gmt-6.2.0-darwin-x86_64.dmg
    ab7062912aeead1021770fad4756e0a99860fde8ea9b428fb00c22fa15a3bbfc  gmt-6.2.0-src.tar.gz
    a01f0a14d48bbc0b14855670f366df3cb8238f0ccdfa26fe744968b4f1c14d54  gmt-6.2.0-src.tar.xz
    
  6. PaulWessel commented on Jun 4, 2021

    @PaulWessel
    Contributor

    Hi @joa-quim, please build the Windows installer and make it available, with checksum.

  7. PaulWessel commented on Jun 5, 2021

    @PaulWessel
    Contributor

    Thanks, we should now do some testing that these are all functioning. I have placed them in the gmtrelease folder and verified the sha1 values.

  8. PaulWessel commented on Jun 5, 2021

    @PaulWessel
    Contributor

    To the CI people: Might it be possible to device a simple cloud-run test of the installers? I.e., have the CI download an installer, install GMT, and run a some basic steps? RIght now testing the installers requires one to have access to a machine or VM that supports the various OS. Having lent my Win laptop to a student I have no Win here at home, just mac intel and arm, and maybe CentOS in a VM on the mac.

  9. seisman commented on Jun 5, 2021

    @seisman
    Member

    We already have a test bot (https://github.com/GenericMappingTools/gmt-release-testbot) which can test the installer on various OS. I'll trigger testing on the installers now.

  10. PaulWessel commented on Jun 5, 2021

    @PaulWessel
    Contributor

    Great, perhaps the checklist can remind us of what that entails for next time?

  11. seisman commented on Jun 5, 2021

    @seisman
    Member

    Could you please remind me what's the URL link of the "gmtrelease folder"?

  12. seisman commented on Jun 5, 2021

    @seisman
    Member

    Could you please remind me what's the URL link of the "gmtrelease folder"?

    I just found it.

  13. joa-quim commented on Jun 5, 2021

    @joa-quim
    Member

    I tested the win32 installer in a clean VM and no problems running gmt psxy

  14. PaulWessel commented on Jun 5, 2021

    @PaulWessel
    Contributor

    Great, I usually at least run your installers on my Dell but no Dell no install. But best if this is done cleanly in the cloud on all OS.

  15. 22 remaining items

  16. seisman commented on Jun 5, 2021

    @seisman
    Member

    OK, sounds good. I approved the PR.

    Now the 6.2 documentation is live (https://docs.generic-mapping-tools.org/6.2/).

    Once we are all done releasing 6.2 we are back to the issue of having a 6.2 branch for a future 6.2.x bug-fixing update. I guess we should do this regardless of any plans for 6.2.1 since we have a long list of WIP PRs with new features and once we add those to master we cannot easily make 6.2.1 to address some catastrophic bug. Yet, the memories of back-porting and merging to two branches are still lingering. Thoughts?

    I think so.

  17. joa-quim commented on Jun 5, 2021

    @joa-quim
    Member

    The releasing process has become a very heavy thing and I doubt we will have a 6.2.1 release. We may create one such branch but it won't be used.

  18. PaulWessel commented on Jun 5, 2021

    @PaulWessel
    Contributor

    I agree, but my thinking is that either we create a 6.2 branch now and immediately can start approving and merging in those WIP branches, or we wait to merge any of them for 1-2 weeks to make sure there is nothing fatal in 6.2.0 that requires 6.2.1. Seems the first option is better and if not needed then it can be deleted, no?

  19. seisman commented on Jun 6, 2021

    @seisman
    Member

    I agree, but my thinking is that either we create a 6.2 branch now and immediately can start approving and merging in those WIP branches, or we wait to merge any of them for 1-2 weeks to make sure there is nothing fatal in 6.2.0 that requires 6.2.1. Seems the first option is better and if not needed then it can be deleted, no?

    Actually we even don't have to create a 6.2 branch now. We can merge the WIP branches into master and target for the 6.3.0 release. If any fatal bugs are reported in the next few weeks and we decide to have the 6.2.1 release, we can create the 6.2 branch from the 6.2.0 tag (not the latest master), and then backport any PRs (both new PRs and old PRs that are already merged into master) into the 6.2 branch.

  20. PaulWessel commented on Jun 6, 2021

    @PaulWessel
    Contributor

    OK, that sounds like a plan: No 6.2 branch unless needed, else moving towards 6.3.

  21. PaulWessel commented on Jun 6, 2021

    @PaulWessel
    Contributor

    I will check the 6.2 branch boxes above as if we did then, then make a PR taking us to master again.

  22. PaulWessel commented on Jun 6, 2021

    @PaulWessel
    Contributor

    OK, we are back to the situation where developers can merge approved branches to master. Now the work shifts to the 3rd parties:

    Homebrew: @claudiodsf and @seisman
    MacPort: @remkos and @seisman
    AUR repo: @holishing

    plus the python stuff with @leouieda @weiji14 @meghanrjones @seisman

  23. maxrjones commented on Jun 6, 2021

    @maxrjones
    MemberAuthor
  24. holishing commented on Jun 6, 2021

    @holishing
    Contributor

    AUR repo has shifted version 6.2.0.

  25. seisman commented on Jun 6, 2021

    @seisman
    Member

    FYI, the Homebrew formulae has been updated to 6.2.0, and If I understand it correctly, it now supports ARM.

  26. seisman commented on Jun 8, 2021

    @seisman
    Member

    Macports has updated GMT to 6.2.0.

  27. PaulWessel commented on Jun 8, 2021

    @PaulWessel
    Contributor

    Great, congrats all! I guess we can close this issue then?

  28. maxrjones commented on Jun 8, 2021

    @maxrjones
    MemberAuthor

    Great work, everyone!

  29. unpinned this issue on Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions