Skip to content

Release GMT 6.0.0rc4 #1471

Closed
Closed

Description

@PaulWessel

Version: 6.0.0rc4

Before release:

  • run src/gmt_make_*.sh to update some .c and .h files
  • check if all tests pass on macOS, Linux and Windows
  • update changelog
  • update INSTALL.md
  • build documentations and fix warnings if any
  • 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
  • freeze codes and commit all changes to GitHub

Release:

  • create source tarballs (tar.gz and tar.xz) (@PaulWessel)
  • create macOS bundle (@PaulWessel)
  • create Windows installers (win32 and win64) (@joa-quim)
  • make a tag and push it to github
    git tag x.x.x
    git push --tags
    
  • go to GitHub Release and make a release. Remember to attach the source tarballs, macOS bundle and Windows installers.
  • upload source tarballs, macOS bundle, Windows installers to the GMT FTP (@PaulWessel)
  • update README and VERSION files on the GMT FTP (@PaulWessel)
  • make announcements
  • 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.1 after 6.1.0 is released)
  • update GMT_PACKAGE_VERSION_* in cmake/ConfigDefault.cmake
  • comment the set (GMT_PUBLIC_RELEASE TRUE) line
  • commit changes to GitHub

3rd-party update


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

Activity

  1. pinned this issue on Aug 30, 2019
  2. PaulWessel commented on Sep 4, 2019

    @PaulWessel
    ContributorAuthor

    Was told by Wiley they are working on the galleys. We better do rc4 as training before the real release. I will start on the top.
    Given my libcurl problem at UH, could you guys check that tests pass and check that box pelase? I will be busy until the early afternoon with other things.

  3. PaulWessel commented on Sep 4, 2019

    @PaulWessel
    ContributorAuthor

    Hi @seisman, are you able to verify that tests pass and check taht box above? Also, we still dont have a changelog I think so I guess we can check that as well. I can run tests tonight at home and then I can build the tarballs and macOS bundle as well, and give links to those for @joa-quim to build win installers.

  4. seisman commented on Sep 4, 2019

    @seisman
    Member
  5. seisman commented on Sep 5, 2019

    @seisman
    Member

    @PaulWessel There are two new failing tests on Windows, ex29 and ex39.

  6. seisman commented on Sep 5, 2019

    @seisman
    Member

    Please check the attached two zip files.
    ex29.zip
    ex39.zip

  7. PaulWessel commented on Sep 5, 2019

    @PaulWessel
    ContributorAuthor

    Looks OK to me. It is just switching from rainbow to turbo CPT so the images are almost entirely different, no? Do you see anything else? I would just update the orig PS.

  8. seisman commented on Sep 5, 2019

    @seisman
    Member

    But why these two tests pass on macOS and Linux?

  9. PaulWessel commented on Sep 5, 2019

    @PaulWessel
    ContributorAuthor

    Well, they both fail for me under macOS. Perhaps the PS were not merged?

  10. seisman commented on Sep 5, 2019

    @seisman
    Member

    Running the scripts directly shows that the generated PS is different from the orig PS. Don't know why ctests didn't detect those for me.

  11. seisman commented on Sep 5, 2019

    @seisman
    Member

    gmt/doc/examples/gmtest.in

    Lines 169 to 173 in 1e4c65a

    GLOBIGNORE="!(*.bat|*.ps|*.sh)"
    for file in "$src"/* ; do
    test -f "$file" && ln -s "$file" .
    done
    unset GLOBIGNORE

    In the gmtest script of examples, it creates symbolic links for *.bat, *.sh and *.ps. Why does the *.ps symbolic links needed?

  12. seisman commented on Sep 5, 2019

    @seisman
    Member

    I believe the *.ps symbolic links are not needed at all. I've opened the PR #1513 to address the issue. After applying PR #1513, tests ex29 and ex39 fail for me.

  13. PaulWessel commented on Sep 5, 2019

    @PaulWessel
    ContributorAuthor

    This is cryptic code from Florian. It sets up links to files in the original ex?? directory so that the script will run in the temporary build directory (some of them access local files and they would not be found). I am pretty sure I replaced the BLOBIGNORE since it nevern worked for me on macOS and we could not figure out why. But I agree in principle that the gm commands specifies the path to the original PS so why...

  14. PaulWessel commented on Sep 5, 2019

    @PaulWessel
    ContributorAuthor

    At home I got on error in proj4.sh - presumably because macports installed goal 3.0.1 and there may be some subtle differences. How are things on your end?

  15. seisman commented on Sep 5, 2019

    @seisman
    Member

    I have one failing test on my local mac. GMT_App_P_2.sh fails because it can't find gmt_shell_functions.sh in its local directory.

    The scheduled builds reports 0 failing tests on macOS, 1 failing test (mapproject/proj4.sh) on Linux. The Windows tests are still running, but should be good after update the orig PS of ex29 and ex39.

  16. 43 remaining items

  17. PaulWessel commented on Sep 12, 2019

    @PaulWessel
    ContributorAuthor

    Should the various recipes for fink, macports, homebrew and more go into the admin directory with build-release.sh etc? Seems to me these things belong with the distro (even though admin is not included in the tarballs and builds).

  18. seisman commented on Sep 12, 2019

    @seisman
    Member

    No need to include these recipes.

  19. PaulWessel commented on Sep 12, 2019

    @PaulWessel
    ContributorAuthor

    So where do they live? Remko kept the fink recipe in the gmt tree (subversion, GMT4). Sandwellʻs student shared a macports recipe as a template with me and I will dig it out. I dont think we have a macports recipe otherwise.

  20. seisman commented on Sep 12, 2019

    @seisman
    Member

    The macports recipe is available from their github repository, i.e. https://github.com/macports/macports-ports/tree/master/science/gmt5, and I just submitted a gmt6 subport, which is still waiting for the maintainer's approval.

    The fink recipes are also available for GMT4 and GMT5.

  21. added this to the 6.0.0 milestone on Sep 13, 2019
  22. PaulWessel commented on Sep 13, 2019

    @PaulWessel
    ContributorAuthor

    I believe I need to sign up for a zenodo account to reserve a DOI for the 6.0.0 tarball. Are there benefits to use my GitHub account with zenodo? I get this page with questions:
    zenodo
    Do I just click authorize here (i.e., grant access to gmt)?

  23. seisman commented on Sep 13, 2019

    @seisman
    Member

    Are there benefits to use my GitHub account with zenodo?

    I think you can also sign up with your email and the connect you zenodo account with your GitHub account. No difference, but one less password to remember.

    Do I just click authorize here (i.e., grant access to gmt)?

    I believe you need to click the "grant" button after "GenericMappingTools" so that zenodo can read the GMT repositories.

  24. seisman commented on Sep 13, 2019

    @seisman
    Member

    Not sure if zenodo works for our case. As I understand it, when we make a github release, zenodo will automatically fetch the tarball, archive the repository and issue a DOI. However, if we want to reserve a DOI before a release, we have to upload the tarball to zenodo manually.

    See zenodo/zenodo-docs-user#47 for a short discussion.

  25. PaulWessel commented on Sep 13, 2019

    @PaulWessel
    ContributorAuthor

    Thanks, looks like I might as well get a separate non-GitHub-connected zenodo account.

  26. PaulWessel commented on Sep 13, 2019

    @PaulWessel
    ContributorAuthor

    FYI, we are planning to get an SSL certificate and use https to get to the SOEST data server. Hopefully in a few days. I have already installed the data files on gmtserver so once it works we can switch over the redirect and update ConfigDefault.cmake.

  27. claudiodsf commented on Sep 13, 2019

    @claudiodsf
    Contributor

    Hi, not sure why the homebrew formula checkbox is checked.

    Anyway, I'll probably skip making a formula for rc4, since the homebrew maintainer prefers to wait on final release.

    See this comment: Homebrew/homebrew-core#41119 (comment)

  28. claudiodsf commented on Sep 13, 2019

    @claudiodsf
    Contributor

    On a second thought, I can still push a formula to my homebrew fork 😉

    So, if you're interested in testing rc4 installation via homebrew, you can do:

    brew install https://raw.githubusercontent.com/claudiodsf/homebrew-core/GMT6.0.0/Formula/gmt.rb
    
  29. seisman commented on Sep 13, 2019

    @seisman
    Member

    @claudiodsf I tested homebrew with rc4 locally, and it worked well for me. So I checked the checkbox.

  30. unpinned this issue on Sep 18, 2019
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