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

Updated citation #5116

Merged
merged 6 commits into from
Jan 13, 2023
Merged

Updated citation #5116

merged 6 commits into from
Jan 13, 2023

Conversation

jonseddon
Copy link
Contributor

🚀 Pull Request

Description

A documentation tweak to update the citation to a more recent version (it's currently using version 1.2) and to better use DOIs.

Implements #4679

@jonseddon jonseddon marked this pull request as ready for review December 20, 2022 12:28
@jonseddon jonseddon requested a review from wjbenfold December 20, 2022 12:30
@trexfeathers
Copy link
Contributor

trexfeathers commented Dec 20, 2022

I like this. Anyone in @SciTools/iris-devs have expertise in citations, and would be happy to take a look?

@bouweandela
Copy link
Member

bouweandela commented Dec 20, 2022

It would be nice to make the package easily citable from GitHub by adding a citation file, you can find more information about adding that here: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files. That will add a little button to GitHub where you can download the bibtex file.

@jonseddon jonseddon mentioned this pull request Dec 21, 2022
@jonseddon
Copy link
Contributor Author

#5118 added to cover @bouweandela's suggestion about the citation file. I won't add that in this PR to keep everything separate.

jonseddon and others added 2 commits January 3, 2023 12:37
Co-authored-by: Bouwe Andela <bouweandela@gmail.com>
* 'main' of github.com:SciTools/iris:
  [pre-commit.ci] pre-commit autoupdate (SciTools#5120)
  Bump actions/stale from 6 to 7 (SciTools#5117)
Copy link
Contributor

@stephenworsley stephenworsley left a comment

Choose a reason for hiding this comment

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

This looks great in principle, It would be good to add instructions for how/when to update this in future releases to the developer docs. (somewhere in here, probably as part of the post release steps https://github.com/SciTools/iris/blob/main/docs/src/developers_guide/release.rst)

@jonseddon
Copy link
Contributor Author

@stephenworsley note added to https://github.com/SciTools/iris/blob/main/docs/src/developers_guide/release.rst

I guess that I probably need to rebase as I've done "git pull upstream main" several times. Please let me know if a rebase is required - I'm not used to working on a Git repo that's so active.

@trexfeathers trexfeathers mentioned this pull request Jan 13, 2023
2 tasks
@pp-mo
Copy link
Member

pp-mo commented Jan 13, 2023

I probably need to rebase as I've done "git pull upstream main" several times.

I think on the contrary, if you've been updating from main then a rebase is not required.
You definitely don't want to mix the two, as when code changes from main are included in the development commits on your branch (i.e. the ones which aren't merges from the target), that will usually cause conflicts when trying to merge back.

The tests panel here shows that it is currently OK to merge -- i.e. has no conflicts with the current main branch. If there was a problem, it would say there that there are conflicts (and merge button will be disabled).

Rebasing is another way of fixing merge conflicts, whereby git re-bases all your commits onto the latest in the target branch.
It effectively re-plays your change commits, one at a time, starting from the current target and merging each change into it.
At each step, if it fails to automate that rewrite, then you must manually resolving conflicts (just like a merge).
The benefit of this approach is that the history on the the PR branch is much simpler, not including merges back from the target, and so you can easily see "what I changed between point A and point B of this development process" without changes drawn from main complicating the difference.
It's great when it works! But when it goes wrong, it's usually easier to squash all your commits into one and resolve all conflicts in one go -- which of course destroys the sequence, and may not be good if that makes the changes really hard to understand.

It's also worth noting that some people seem to hate rebase, because it automatically re-writes your changes so that they are now "magically" ok -- i.e. will merge without conflict. Yet, you didn't do that, and in principle you should carefully review each new commit + check it makes sense and you are happy to "sign it off".
However, in my opinion this is really no different from any automatic merge : whenever it says "merges with no conflicts", that means it is making automated changes to what you wrote!

Bit of a rant. HTH ?!?

@jonseddon
Copy link
Contributor Author

@pp-mo Thanks for the rant and great explanation. That all makes sense now.

@trexfeathers trexfeathers merged commit 769d7f0 into SciTools:main Jan 13, 2023
@jonseddon jonseddon deleted the recent-citation branch January 13, 2023 16:45
tkknight added a commit to tkknight/iris that referenced this pull request Apr 22, 2023
* upstream/main: (23 commits)
  Lockfiles and pydata-sphinx-theme fix (SciTools#5188)
  Allow smarter weights (cubes, coordinates, cell measures, or ancillary variables) for aggregation (SciTools#5084)
  removed cell measure mask check and error (SciTools#5181)
  Updated environment lockfiles (SciTools#5177)
  Lazy weighted RMS calculation (SciTools#5017)
  Add coverage badge to README.md (SciTools#5176)
  Add coverage testing (SciTools#4765)
  Whats new updates for v3.4.1 .
  NetCDF thread safety take two (SciTools#5095)
  Updated environment lockfiles (SciTools#5163)
  Plugin support (SciTools#5144)
  Expand scope of common contributor links (SciTools#5159)
  Replace apparently retired UDUNITS documentation link. (SciTools#5153)
  [pre-commit.ci] pre-commit autoupdate (SciTools#5150)
  Fixing typo's in Gitwash. (SciTools#5145)
  add readme #showyourstripes (SciTools#5141)
  [pre-commit.ci] pre-commit autoupdate (SciTools#5143)
  Iris ❤ Xarray docs page. (SciTools#5025)
  [pre-commit.ci] pre-commit autoupdate (SciTools#5136)
  Updated citation (SciTools#5116)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants