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

Release 0.99 #5291

Merged
merged 2 commits into from Feb 19, 2020
Merged

Release 0.99 #5291

merged 2 commits into from Feb 19, 2020

Conversation

ethomson
Copy link
Member

@ethomson ethomson commented Nov 1, 2019

I want to release an 0.99 in advance of a 1.0.

This is basically a 1.0 release candidate but we have historically not seen a lot of people installing "release candidates" in production and using them seriously. We want Serious Work on this release candidate, so let's call it an 0.99, and a real release.

After that, I propose that we take a branch for 1.0 and keep working in master on post-1.0 work.

What else are we waiting on for 0.99:

Cut:
#5286 - this is an annoying bug if you hit it but it's very rare, so I'm tempted to just kick it out to post-1.0

@lolgear
Copy link
Contributor

lolgear commented Nov 2, 2019

@ethomson
Hi!

Could you also include this PR in this release?

@ethomson
Copy link
Member Author

ethomson commented Nov 2, 2019

@lolgear Done. Thanks!

@pks-t
Copy link
Member

pks-t commented Nov 5, 2019

Sounds good to me. We're long overdue for a new release anyway, and there has been quite a lot of work since the last one. I'll make sure to have another go at #5123 this week to get it merged. Not sure whether I can provide valuable input for #5285 or 5286, but I'll see.

I think we should aim to get #5282 merged, too, and maybe even #5243. Otherwise I'm fine.

@tiennou
Copy link
Contributor

tiennou commented Nov 5, 2019

Here's my "nomination" list I would have personally liked:

@lolgear
Copy link
Contributor

lolgear commented Jan 7, 2020

@ethomson
Hi in 2020 :)
Is there a plan to make a release soon?

@ethomson
Copy link
Member Author

I've updated this with more recent changes and authors (as of cc4f4cbea48ac00a5edec1b3570ac3d2ef10fe77).

@pks-t
Copy link
Member

pks-t commented Jan 24, 2020

Is there a plan to make a release soon?

The final piece we're waiting on is #5286. It's probably going to get merged soonish, after which we'll wait one or two weeks to let it settle before we release v0.99.

@ethomson
Copy link
Member Author

ethomson commented Feb 1, 2020

@pks-t am i okay to merge this or would it break your release script with the version updates?

@pks-t
Copy link
Member

pks-t commented Feb 1, 2020

@pks-t am i okay to merge this or would it break your release script with the version updates?

You mean with the autors amended? That's fine, the script currently only searches until the next version section and includes everything between current and previous header. Would mean that these authors are part of the release notes, but I consider it a good thing to give credit where credit is due.

Anyway, one thing I notice is that my scripting is currently too strict. It verifies that for a version X, that the release section's previous release is X-1. So e.g. for v0.27.1 it would be v0.27.0 or v0.27, for v0.28 it would be v0.27.x. With the jump to v0.99 we're breaking this assumption.

Furthermore, the current assumption is that the soversion matches our minor version, which obviously also breaks with v0.99. Guess I should just remove that check altogether and only verify MAJOR/MINOR/REVISION. Anyway, I guess I'll fine tune the release script anyway as soon as we're ready to go, and a second pair of eyes would be a good thing, too.

@pks-t
Copy link
Member

pks-t commented Feb 1, 2020

Anyway, I guess I'll fine tune the release script anyway as soon as we're ready to go, and a second pair of eyes would be a good thing, too.

Ah, didn't see you've done a review already.

@ethomson
Copy link
Member Author

ethomson commented Feb 2, 2020

You mean with the autors amended?

I was worried about the version updates that I'd done in include/git2/version.h.

@pks-t
Copy link
Member

pks-t commented Feb 3, 2020 via email

#define LIBGIT2_VER_REVISION 0
#define LIBGIT2_VER_PATCH 0

#define LIBGIT2_SOVERSION 28
#define LIBGIT2_SOVERSION "0.99"
Copy link
Member

Choose a reason for hiding this comment

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

Hum. Any reason why we don't go all the way and say "0.99.0", matching LIBGIT2_VERSION?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think that we want our soversion to include teeny version numbers - IMO, we shouldn't be making ABI incompatible changes in teeny releases. Are there other considerations that we should be thinking about?

With this change, we also get a nice set up of our library links on the filesystem:

 1852 -rwxr-xr-x   1 ethomson  staff  1895388 Feb  3 10:51 libgit2.0.99.0.dylib*
    0 lrwxr-xr-x   1 ethomson  staff       20 Feb  3 10:51 libgit2.0.99.dylib@ -> libgit2.0.99.0.dylib
    0 lrwxr-xr-x   1 ethomson  staff       18 Feb  3 10:51 libgit2.dylib@ -> libgit2.0.99.dylib

@pks-t
Copy link
Member

pks-t commented Feb 3, 2020 via email

@@ -1,5 +1,283 @@
v0.28 + 1
v0.99
---------
Copy link
Member

Choose a reason for hiding this comment

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

The script expects a newline between "----" and the body and complains if it doesn't find it. Initially, I've also had a check that verifies that section header and version are of equal lengths, but I've dropped that

@ethomson ethomson mentioned this pull request Feb 18, 2020
3 tasks
Copy link
Member

@pks-t pks-t left a comment

Choose a reason for hiding this comment

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

One can really tell that this is a huge release when skimming release notes alone takes several minutes. Anyway, looks good to me!

Give the release a name, "Torschlusspanik" (the fear that time is
running out to act).  Indeed, the time is running out for changes to be
included in v1.0.
This commit also switches our SOVERSION to be "$MAJOR.$MINOR" instead of
"$MINOR", only. This is in preparation of v1.0, where the previous
scheme would've stopped working in an obvious way.
@pks-t
Copy link
Member

pks-t commented Feb 19, 2020

I've made one amendment to fix up the missing newline after the version header in our changelog. While at it, I've squashed commits so that we only have one for our changelog and one for bumping the version.

@pks-t pks-t merged commit 1722390 into master Feb 19, 2020
@pks-t pks-t deleted the ethomson/0_99 branch February 19, 2020 10:27
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.

None yet

4 participants