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

Back-port v3.1.0 to v2.x.x #163

Merged
merged 38 commits into from
Jan 10, 2017
Merged

Back-port v3.1.0 to v2.x.x #163

merged 38 commits into from
Jan 10, 2017

Conversation

watson
Copy link
Member

@watson watson commented Jan 9, 2017

Closes #160

The following commits have not been back-ported:

The following commits have been back-ported, but slightly modified:

Everything else have been back-ported as is.

@watson watson changed the title Backported v3.1.0 to v2.x.x Back-port v3.1.0 to v2.x.x Jan 9, 2017
@mcollina
Copy link
Member

mcollina commented Jan 9, 2017

I'm 👍 on this. @jsumners @davidmarkclements what do you think?

@watson would you be up to maintaining v2 going forward?

@watson
Copy link
Member Author

watson commented Jan 9, 2017

@mcollina 👍

@davidmarkclements
Copy link
Member

yeah that's awesome great stuff @watson

@jsumners
Copy link
Member

jsumners commented Jan 9, 2017

I think if @watson really wants to maintain the branch then 👍 . Personally, I don't have any financial incentive to desire 0.10/12 compatibility and would rather just not even think about them.

@mcollina
Copy link
Member

mcollina commented Jan 9, 2017

I propose that we publish a pino@v2 tag on NPM with this branch. @latest should still be the top-most line (currently v3).

We should also change the docs on master to note that there is a v2 line, and where the docs for that v2 line are.

Do we all agree?

@watson
Copy link
Member Author

watson commented Jan 9, 2017

@jsumners normally I wouldn't do this, but my company unfortunately still have customers running production systems on v0.10. So in order for us to use pino, we need the v0.10 support. So for now, I see this as the only option.

@jsumners
Copy link
Member

jsumners commented Jan 9, 2017

@mcollina that is fine with me.

@mcollina mcollina merged commit 46270e7 into pinojs:v2.x.x Jan 10, 2017
@mcollina
Copy link
Member

@watson I've added you on NPM and I have invited you to the org. Feel free to send PRs for your contacts in the README etc, also to https://github.com/pinojs/community.

You can release v2 on NPM on the @v2 tag, and not bump latest. Send PRs for the docs accordingly :).

@watson watson deleted the v2.x.x branch January 10, 2017 09:57
@watson
Copy link
Member Author

watson commented Jan 10, 2017

@mcollina @jsumners @davidmarkclements Thanks y'all 😃

@watson
Copy link
Member Author

watson commented Jan 10, 2017

@mcollina I've accepted the invite, but I don't seem to have access to push to the v2.x.x branch

@mcollina
Copy link
Member

@watson you should be good now.

@watson
Copy link
Member Author

watson commented Jan 10, 2017

Hmmm - still not quite working

~pino (v2.x.x 👎 )% git push origin v2.x.x 
ERROR: Permission to pinojs/pino.git denied to watson.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I even tried to delete the local repo and clone a new one. This is my .git/config - can you spot any problem?:

[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
	precomposeunicode = true
[remote "origin"]
	url = git@github.com:pinojs/pino.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master
[branch "v2.x.x"]
	remote = origin
	merge = refs/heads/v2.x.x

@mcollina
Copy link
Member

@watson my bad, now it should be good.

@watson
Copy link
Member Author

watson commented Jan 10, 2017

@mcollina works now, thanks :)

Btw, v2 is not a valid dist tag on npm. We have to chose something that can't be interpreted as a semver range:

Tags that can be interpreted as valid semver ranges will be rejected. For example, v1.4 cannot be used as a tag, because it is interpreted by semver as >=1.4.0 <1.5.0. See npm/npm#6082.

Source https://docs.npmjs.com/cli/dist-tag

@mcollina
Copy link
Member

@watson how about legacy?

@watson
Copy link
Member Author

watson commented Jan 10, 2017

legacy it is 👍

@watson
Copy link
Member Author

watson commented Jan 10, 2017

Success! The v2.x.x branch is now published as v2.16.0. Install using npm install pino@legacy

@mcollina
Copy link
Member

Can you send PRs to the README of the 3.x line, so that if someone needs v0.10 and v0.12 support, they can install @legacy?

We also use https://github.com/pinojs/pino/releases to track down each formal release, as a changelog.

@watson
Copy link
Member Author

watson commented Jan 10, 2017

@mcollina I haven't used GitHub releases before - should I just click "Draft a new release" write v2.16.0 as the "Tag version" and "Release title" and then a short change log in the text field?

@mcollina
Copy link
Member

Yes.

@watson
Copy link
Member Author

watson commented Jan 10, 2017

@mcollina how do you feel about this?

screen shot 2017-01-10 at 13 14 40

@mcollina
Copy link
Member

@watson awesome, go ahead!!

@github-actions
Copy link

github-actions bot commented Feb 9, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants