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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated section "backward compatibility" in contributing.rst #1918

Merged
merged 12 commits into from Feb 24, 2023

Conversation

axel-lauer
Copy link
Contributor

@axel-lauer axel-lauer commented Feb 6, 2023

Description

This PR adds a reference to the new "backward compatibility policy" to the documentation (contributing.rst, Backward compatibility: https://docs.esmvaltool.org/projects/ESMValCore/en/latest/contributing.html#backward-compatibility).

This PR should be merged together with PR ESMValGroup/ESMValTool#2879, which introduces new backward compatibility policy to ESMValTool documentation.

Closes discussion: ESMValGroup/Community#7

Link to documentation

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 馃洜 Technical or 馃И Scientific review.

@axel-lauer axel-lauer added the documentation Improvements or additions to documentation label Feb 6, 2023
@axel-lauer axel-lauer added this to the v2.8.0 milestone Feb 6, 2023
@codecov
Copy link

codecov bot commented Feb 6, 2023

Codecov Report

Merging #1918 (bdd914f) into main (b9c1390) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1918   +/-   ##
=======================================
  Coverage   92.18%   92.18%           
=======================================
  Files         234      234           
  Lines       12213    12213           
=======================================
  Hits        11259    11259           
  Misses        954      954           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@valeriupredoi
Copy link
Contributor

@alistairsellar we're starting to get our ducks in line for the impending 2.8 release, mate - this one is marked as M2.8 but it's still a draft, you reckon you can make it RfR soon please? Cheers 馃嵑

Include instruction to tag the core development team and allow time for objections before merging a backward incompatible change
@alistairsellar alistairsellar marked this pull request as ready for review February 9, 2023 16:40
@alistairsellar
Copy link
Contributor

OK @valeriupredoi is now ready after one final change.

As per @axel-lauer's description, this PR links with Tool doc changes (ESMValGroup/ESMValTool#2879), and so doesn't necessarily make sense on its own (it possibly introduces broken links without the linked PR).

Also, not sure if the new references should be of the form <esmvaltool:backward_compatibility> rather than full URLs? I'm not confident enough in that to change Axel's commits.

@valeriupredoi
Copy link
Contributor

valeriupredoi commented Feb 13, 2023

many thanks @alistairsellar 馃嵑 A few pointy points:

  • I tried adding @axel-lauer as reviewer here but GH has troubles finding him in the list of contributors at the Review suggestions tab - something's fishy there
  • @alistairsellar would you mind checking the doc build failed test and the PR description boxes please?
  • please tag @remi-kazeroni as reviewer too since he'll be our Release Manager this release cycle 馃嵑

@remi-kazeroni
Copy link
Contributor

Hi all, the start of the release process is approaching (next week). It would be great to have this in. Since @axel-lauer started the PR, GitHub does let the author to be the reviewer. Axel, feel free to comment here if the PR looks good to you. @alistairsellar, I'd be happy to take a final look at this if you wish. Feel free to assign me and anyone who could/should have a look at this PR. Thanks 馃憤

Aiming to fix build warnings for these links (WARNING: Mismatch: both interpreted text role prefix and reference suffix)
@alistairsellar
Copy link
Contributor

Thanks @valeriupredoi. I've now looked into the docs build error and can't figure the cause. Please could you, @axel-lauer @remi-kazeroni advise?

The error message is very generic and doesn't tip me off about the cause:

ERROR 1: PROJ: proj_create_from_database: Open of /home/docs/checkouts/readthedocs.org/user_builds/esmvalcore/conda/1918/share/proj failed

Also two warnings in the output about cross-references - could these be the underlying cause of the failure?:

/home/docs/checkouts/readthedocs.org/user_builds/esmvalcore/checkouts/1918/doc/contributing.rst:142: WARNING: undefined label: esmvaltool:backward_compatibility
/home/docs/checkouts/readthedocs.org/user_builds/esmvalcore/checkouts/1918/doc/contributing.rst:586: WARNING: undefined label: esmvaltool:backward_compatibility

If so, they may arise from the fact that the doc does not yet exist in the esmvaltool documentation? They will resolve correctly when ESMValGroup/ESMValTool#2879 is merged.

@valeriupredoi
Copy link
Contributor

cheers @alistairsellar - it's those two warnings, the build is set to fail on warnings - would you be ok to fix those pls 馃嵑

@alistairsellar
Copy link
Contributor

Hi @valeriupredoi, I think (though not certain and welcome an alternative hint) that the warnings are because the referenced document does not yet exist in the esmvaltool documentation. If I'm right, then the only way to fix them is to merge ESMValGroup/ESMValTool#2879.

@valeriupredoi
Copy link
Contributor

@alistairsellar it looks that way indeed - is Tool/2879 ready to be merged? I just dumped main into it so that should sort out the tests - if you OK with that I can approve and merge when tests finish green 馃煝

So that backward compatibility policy can link to the changelog as a whole, not just specific version. 
This label makes the changelog consistent with its equivalent in the ESMValTool docs.
@alistairsellar
Copy link
Contributor

@valeriupredoi, ESMValGroup/ESMValTool#2879 has now been merged, and build now succeeding (after a final fix to links). So I think this PR is ready to merge.

@alistairsellar
Copy link
Contributor

... pending review. I've tagged @remi-kazeroni following his kind offer above.

@valeriupredoi
Copy link
Contributor

great stuff, cheers @alistairsellar 馃嵑 Two things pls: could you fix the PR description (boxes need a good sweep), and merge main here so we have it all nice and updated? Cheers!

@alistairsellar
Copy link
Contributor

Thanks @valeriupredoi. Merged in main.

Sorry, I need you to explain "boxes need a sweep" in words of one syllable. Should I remove the checks that are not relevant, or tick the boxes that I believe are done (not sure whether developer or reviewer is supposed to do that), or both, or perhaps something else?

@valeriupredoi
Copy link
Contributor

hahah let me do that for you now, you have a look, and next time you hear "clean up boxes" (in this context, not when your wife asks you to do that at home), you'll know what that means 馃榿

Copy link
Contributor

@valeriupredoi valeriupredoi left a comment

Choose a reason for hiding this comment

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

cheers muchly @alistairsellar 馃嵑 @remi-kazeroni @bouweandela you guys have a wee bit of time have a last look at this and merge, plese?

EDIT: my apologies @alistairsellar - just noticed this was @axel-lauer 's PR not yours, sorry to have put you through the paces to clean up PR descriptions - it's the PR OP that needs to do that 馃榿

Copy link
Contributor

@remi-kazeroni remi-kazeroni left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this topic @alistairsellar and @axel-lauer! This looks good to me. I just have 2 very minor suggestions for improvement.

Good to have our backward compatibility policy fully documented. Let's make good use of that to draft the Changelog for the upcoming release 馃憤

doc/contributing.rst Outdated Show resolved Hide resolved
doc/contributing.rst Outdated Show resolved Hide resolved
axel-lauer and others added 3 commits February 23, 2023 09:22
Co-authored-by: R茅mi Kazeroni <70641264+remi-kazeroni@users.noreply.github.com>
Co-authored-by: R茅mi Kazeroni <70641264+remi-kazeroni@users.noreply.github.com>
Mirroring what has been added to equivalent section in Tool documentation
@alistairsellar
Copy link
Contributor

Righteeho, I've resolved Bouwe's request, and I think that Remi's requests have been folded in. So I think all we need is for @remi-kazeroni to mark as approved and then we're good to merge...

@valeriupredoi
Copy link
Contributor

cheers, bud @alistairsellar 馃嵑

Copy link
Contributor

@remi-kazeroni remi-kazeroni left a comment

Choose a reason for hiding this comment

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

Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants