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

Update Package.swift to use NIOHTTP2's nghttp2-support-branch. #393

Closed
wants to merge 1 commit into from

Conversation

MrMage
Copy link
Collaborator

@MrMage MrMage commented Mar 5, 2019

No description provided.

@MrMage MrMage requested a review from rebello95 March 5, 2019 13:27
rebello95
rebello95 previously approved these changes Mar 5, 2019
"branch": null,
"revision": "88bd6d369a729f88e63f53ae5265840de4bb1384",
"version": "0.2.1"
"branch": "nghttp2-support-branch",
Copy link
Contributor

Choose a reason for hiding this comment

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

@Lukasa we should probably make a new release here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes sense; given that that branch will only receive minor patches in the future, I think it would make sense to depend directly on the branch regardless?

Copy link
Contributor

Choose a reason for hiding this comment

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

@MrMage I think that you cannot tag versions if you depend on anything by .branch(...).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@weissi sorry, what do you mean with that?

Copy link
Contributor

Choose a reason for hiding this comment

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

@MrMage IIRC, if you have a package foo that depends on another package bar using .branch("some-bar-branch"), then foo can never have a tagged version.
IIRC the failure happens if I build an executable package my-exec that depends on foo with some version (say from: "1.0.1") and the tagged 1.0.1 version depends on bar using .branch("some-bar-branch"), then my-exec won't compile.

Copy link
Contributor

@weissi weissi Mar 5, 2019

Choose a reason for hiding this comment

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

@MrMage the other way around works, yes. But what I described above does really not work, @aciidb0mb3r will know for sure and I think @tanner0101 does too?

Copy link
Contributor

Choose a reason for hiding this comment

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

@MrMage I think the idea is that SemVer-wise it doesn't make sense to claim that you have a certain version if you're not restricting your dependency at all

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the elaboration! In that case, we can probably drop this PR and have you guys tag 0.2.2 instead.

Copy link
Contributor

Choose a reason for hiding this comment

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

@MrMage let's wait for @aciidb0mb3r or @tannner0101 to confirm, they know better

Choose a reason for hiding this comment

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

I'm not sure whether or not you can do that, but you definitely shouldn't.

@rebello95 rebello95 dismissed their stale review March 5, 2019 18:15

Dismissing per conversation above

@MrMage
Copy link
Collaborator Author

MrMage commented Mar 18, 2019

Obsolete.

@MrMage MrMage closed this Mar 18, 2019
@MrMage MrMage deleted the update-package-swift branch April 4, 2019 11:18
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.

4 participants