Skip to content

Version 0.2 of pubgrub #63

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

Merged
merged 16 commits into from
Nov 18, 2020
Merged

Version 0.2 of pubgrub #63

merged 16 commits into from
Nov 18, 2020

Conversation

mpizenberg
Copy link
Member

This is for publication of version 0.2 of pubgrub. Once this is merged in dev, I'll just create a merge commit in master.

@mpizenberg mpizenberg changed the base branch from master to dev November 16, 2020 16:06
@Eh2406
Copy link
Member

Eh2406 commented Nov 16, 2020

This feels like a good opportunity to make sure that the github org has permission to publish on crates.io.
Also we should probably mark it as a release on github, and add a git tag.

@aleksator
Copy link
Member

By the way, master has 1 additional commit compared to dev. Should dev branch be rebased?

@aleksator
Copy link
Member

aleksator commented Nov 16, 2020

Also we should probably mark it as a release on github, and add a git tag.

If we do that I think we should tag 0.1 as well.

@Eh2406
Copy link
Member

Eh2406 commented Nov 16, 2020

While we are changing the readme, can we add a code of conduct? Preferably the RustCOC.

@mpizenberg
Copy link
Member Author

By the way, master has 1 additional commit compared to dev. Should dev branch be rebased?

With our setup it's normal, master will progress one commit at a time for each realease, everytime 1 commit ahead of dev. It's not a problem. It does something like this:

                 v0.1.0             v0.2.0             v1.0.0
master:          *------------------*------------------*
                /                  /                  /
dev: *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

can we add a code of conduct?

Yes, also changelog would be nice

@mpizenberg
Copy link
Member Author

With our setup it's normal, master will progress one commit at a time for each realease

Do you mind if I rename "master" into "release"?

@mpizenberg
Copy link
Member Author

RustCOC

@Eh2406 where can we find this? could you add it?

@mpizenberg
Copy link
Member Author

This feels like a good opportunity to make sure that the github org has permission to publish on crates.io

I don't know how that works. I just know how I can add owners to the crates.io package. Currently Alex and me are identified as owners

@Eh2406
Copy link
Member

Eh2406 commented Nov 16, 2020

Do you mind if I rename "master" into "release"?

Please do!

where can we find this?

https://www.rust-lang.org/policies/code-of-conduct

I just know how I can add owners to the crates.io package.

I think it is cargo owner --add github:pubgrub-rs, but I am not sure. Just adding individuals one at a time works.

@aleksator
Copy link
Member

While we are changing the readme, can we add a code of conduct? Preferably the RustCOC.

I see personally 0 value in having them 🤷‍♂️ From what I saw they are often used selectively by admins to justify banning someone they don't like or by SJWs to bully people.
For those reasons it has very negative connotations for me.

The guidelines for any communication can in my opinion be expressed in one sentence: "Don't be a dick".
That's not specific and it's a feature: you know when you see one. Having explicit "rules" just makes trolls try to find a way to circumvent them.

When you see the behavior you deem unacceptable you can just say so, I don't see why it should necessarily be enforced with a link to some CoC.

Yes, also changelog would be nice

We should look into tools for auto generating them. Maybe following conventional commits has some advantages here, also @mpizenberg suggested another one that analyzes the history without depending on commit messages. I'll see if I can find it.

Do you mind if I rename "master" into "release"?

I don't mind.

I think it is cargo owner --add github:pubgrub-rs, but I am not sure. Just adding individuals one at a time works.

If we can list the organization it would be better as we wouldn't have to worry about updating it if the roster changes.

@mpizenberg
Copy link
Member Author

mpizenberg commented Nov 17, 2020

  • renamed "master" into "release"
  • created a "crates-io" team in org pubgrub-rs and granted it publish access to crates.io. @Eh2406 Since you're not listed as an owner of the crate but member of that team we will be able to verify that it works if you do the v0.2 publication when it's ready.

@mpizenberg
Copy link
Member Author

For reference, here are some changelogs:

@mpizenberg
Copy link
Member Author

I've added a note regarding friendly contribution in the readme. Do you think that's enough for now @Eh2406 . We could change it later if we observe abuse.

@mpizenberg
Copy link
Member Author

So the last things to do seem to be

  • Check that the guide is ok(ish), does not have to be perfect, we can change it when we want since it's not in this repo.
  • CHANGELOG.md. I can do this one manually, following the "Keep a Changelog" format for v0.2, and later Alex could try automated things.

Anything else I'm missing?

@Eh2406
Copy link
Member

Eh2406 commented Nov 17, 2020

I do think it is important to state somehow that we don't tolerate abuse. One might think that should be obvious, but unfortunately there are communities where abuse is passively or intentionally accepted. Many of my friends have been pushed out of technical spaces for their religion or how they dress or who they sleep with. So this matters to me.

I think like a license this is a decision that is easier to make when the community is small. That is why I brought it up now. "Don't be a dick" works as a set of rules, but at some point we may need to express who to tell if you see a dick and what they can do about it. How long winded we want to make that statement and where, can reasonably be discussed. If we want something that fit in the README.md instead of CODE_OF_CONDUCT.md that works. YAGNI would suggest that @mpizenberg's text is more than adequate for now. On the other hand I'd rather have it in place before we need it.

@mpizenberg
Copy link
Member Author

I don't have anything against adding a CoC if this is the kind of things that would help people not being afraid of contributing. On the other hand @aleksator seems to view it negatively because of people circumventing it or distorting it. I don't know how we can solve this. Maybe we can add a line in the contribution section, something like:

We want everyone to feel welcomed, let us know with a private message on zulip if you don't feel that way.

@Eh2406
Copy link
Member

Eh2406 commented Nov 17, 2020

I would be ok with that sentence in our readme. If we need to, we can always add and formalize things as we grow.
We also need to ensure that we are all welcome, so @aleksator what would make you comfortable?

@mpizenberg
Copy link
Member Author

@aleksator while progressing on the changelog, I spotted this change from

/// No version exist in that range.
NoVersion(P, Range<V>),

to

/// No versions from range satisfy given constraints.
NoVersions(P, Range<V>),

Ok for the plural form but the comment is not correct. This really means that there exist no version in the given range. So for example if that range is 2.1.0 <= v it means there doesn't exist any version higher than 2.1.0 (included) for this package. I'll change it back, but was there something in particular that made this confusing for you?

@mpizenberg
Copy link
Member Author

Alright guys once #65 is merged this is ready for prime time, finally! :)
Now waiting for your approval or remarks.

@mpizenberg mpizenberg marked this pull request as ready for review November 17, 2020 20:59
Copy link
Member

@Eh2406 Eh2406 left a comment

Choose a reason for hiding this comment

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

I'm good with it!

@aleksator
Copy link
Member

Ok for the plural form but the comment is not correct. This really means that there exist no version in the given range. So for example if that range is 2.1.0 <= v it means there doesn't exist any version higher than 2.1.0 (included) for this package. I'll change it back, but was there something in particular that made this confusing for you?

Answered in the PR: #65 (comment)
TLDR we refer to the same thing, but my wording is more confusing.

Copy link
Member Author

@mpizenberg mpizenberg left a comment

Choose a reason for hiding this comment

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

docs(changelog): improve changelog

@mpizenberg mpizenberg merged commit e3e5381 into dev Nov 18, 2020
@mpizenberg mpizenberg deleted the prepare-v02 branch November 18, 2020 21:08
aleksator added a commit that referenced this pull request Nov 18, 2020
* docs(readme): update readme

* docs(readme): note on friendly contribution

* docs(changelog): fill v0.1.0 section

* docs(changelog): fill v0.2.0 section

* docs(changelog): add a summary of the release

* docs(readme): everyone welcome message

* docs(changelog): update unreleased diff

* build(cargo.toml): add Jacob to authors

* build(cargo.toml): update crate version

* docs(changelog): fix unreleased diff link

* docs(changelog): improve changelog

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): change ErrorShouldCancel

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): rephrasing

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): proper capitalization for GitHub

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): update v02 release date

* docs(readme): use 'pink' for guide badge

Co-authored-by: Alex Tokarev <[email protected]>
aleksator added a commit that referenced this pull request Nov 18, 2020
* docs(readme): update readme

* docs(readme): note on friendly contribution

* docs(changelog): fill v0.1.0 section

* docs(changelog): fill v0.2.0 section

* docs(changelog): add a summary of the release

* docs(readme): everyone welcome message

* docs(changelog): update unreleased diff

* build(cargo.toml): add Jacob to authors

* build(cargo.toml): update crate version

* docs(changelog): fix unreleased diff link

* docs(changelog): improve changelog

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): change ErrorShouldCancel

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): rephrasing

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): proper capitalization for GitHub

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): update v02 release date

* docs(readme): use 'pink' for guide badge

Co-authored-by: Alex Tokarev <[email protected]>
aleksator added a commit that referenced this pull request Nov 18, 2020
* docs(readme): update readme

* docs(readme): note on friendly contribution

* docs(changelog): fill v0.1.0 section

* docs(changelog): fill v0.2.0 section

* docs(changelog): add a summary of the release

* docs(readme): everyone welcome message

* docs(changelog): update unreleased diff

* build(cargo.toml): add Jacob to authors

* build(cargo.toml): update crate version

* docs(changelog): fix unreleased diff link

* docs(changelog): improve changelog

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): change ErrorShouldCancel

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): rephrasing

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): proper capitalization for GitHub

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): update v02 release date

* docs(readme): use 'pink' for guide badge

Co-authored-by: Alex Tokarev <[email protected]>
mpizenberg added a commit that referenced this pull request Nov 19, 2020
* docs(readme): update readme

* docs(readme): note on friendly contribution

* docs(changelog): fill v0.1.0 section

* docs(changelog): fill v0.2.0 section

* docs(changelog): add a summary of the release

* docs(readme): everyone welcome message

* docs(changelog): update unreleased diff

* build(cargo.toml): add Jacob to authors

* build(cargo.toml): update crate version

* docs(changelog): fix unreleased diff link

* docs(changelog): improve changelog

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): change ErrorShouldCancel

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): rephrasing

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): proper capitalization for GitHub

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): update v02 release date

* docs(readme): use 'pink' for guide badge

Co-authored-by: Alex Tokarev <[email protected]>
aleksator pushed a commit that referenced this pull request Nov 19, 2020
* docs(readme): update readme

* docs(readme): note on friendly contribution

* docs(changelog): fill v0.1.0 section

* docs(changelog): fill v0.2.0 section

* docs(changelog): add a summary of the release

* docs(readme): everyone welcome message

* docs(changelog): update unreleased diff

* build(cargo.toml): add Jacob to authors

* build(cargo.toml): update crate version

* docs(changelog): fix unreleased diff link

* docs(changelog): improve changelog

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): change ErrorShouldCancel

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): rephrasing

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): proper capitalization for GitHub

Co-authored-by: Alex Tokarev <[email protected]>

* docs(changelog): update v02 release date

* docs(readme): use 'pink' for guide badge

Co-authored-by: Alex Tokarev <[email protected]>

* fix: make `cargo publish --dry-run` work

Co-authored-by: Jacob Finkelman <[email protected]>
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.

3 participants