Skip to content

Conversation

@NoahGorny
Copy link
Member

Part of solution for #1500

we will need to push a tag someday 😄

@NoahGorny NoahGorny force-pushed the update-to-stable-or-unstable branch from 9ea6996 to 7ce6106 Compare June 22, 2020 21:49
@NoahGorny NoahGorny force-pushed the update-to-stable-or-unstable branch from 7ce6106 to 2a48554 Compare July 10, 2020 09:59
@NoahGorny
Copy link
Member Author

what do you say @nwinkler ?

@nwinkler
Copy link
Member

Which one should we look into getting completed first? This one or the one with the silent flag? #1621

@NoahGorny
Copy link
Member Author

I think we should rebase #1621 on top of this, CR it first and then move on and CR this one. We could then merge #1621 into this and then merge this.

What do you think?

@nwinkler
Copy link
Member

Like you said above, we'll have to create a release/tag at one point, so that the stable parameter actually does something. Maybe we just (manually) create a release called 2020.07 and use that. I like the idea of doing monthly releases - I know it's not exactly semver-like, but it avoids having to think about major/minor versions...

Thoughts?

@NoahGorny
Copy link
Member Author

Like you said above, we'll have to create a release/tag at one point, so that the stable parameter actually does something. Maybe we just (manually) create a release called 2020.07 and use that. I like the idea of doing monthly releases - I know it's not exactly semver-like, but it avoids having to think about major/minor versions...

Thoughts?

I am positive on releasing monthly, but why not use semver-like versions?
We can create v1.0.0 tag, and bump the minor in the monthly release. In case of bug fixes, we can bump the patch version.
We do not have to create a thoughtful discussion every time we want to bump, and creating "news" overview or changelog should not take too much of our time (I can take responsibility if needed)

In a sidenote, maybe we should continue on #1500 and reach a consensus with more people, so we will fill okay with this decision

Copy link
Member

@nwinkler nwinkler left a comment

Choose a reason for hiding this comment

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

Looking good! Just a couple of minor comments...

And of course we need to figure out the tagging question (#1500).

@NoahGorny NoahGorny force-pushed the update-to-stable-or-unstable branch 2 times, most recently from 4a2d862 to 8022eb7 Compare July 17, 2020 13:45
@nwinkler
Copy link
Member

Great, this looks like it's ready for merging - now we just need to create a tag so people have something to update to.

That might be a concern: So far, bash-it update has always updated to the latest version of the repo, similar to what's now the bash-it update dev behavior. With this PR, we're now changing this to default to the latest tag (with the stable parameter) - this might feel strange to existing users, who are used to getting the latest and greatest version.

Does it make sense to show this more prominently? For example when you run bash-it update (and it assumes the stable version is wanted), that we show a message saying "You're on the latest stable version. If you want to check out the latest 'dev' version, please run bash-it update dev"? At the moment, we just show the generic "Bash-it is up to date, nothing to do!" in that case...

Sorry for the continued back and forth, I really want to get this right. I know that quite a few people are using bash-it update, and I don't want to break their user experience.

@NoahGorny NoahGorny force-pushed the update-to-stable-or-unstable branch from 8022eb7 to d6883e5 Compare July 17, 2020 15:01
@NoahGorny
Copy link
Member Author

You're on the latest stable version. If you want to check out the latest 'dev' version, please run bash-it update dev

This is a good idea, I added a message in this case. (see 2a971f0)
I do think we need to push out a tag now, and then we can merge this (or after merging, or both!).
I also think that its okay that we change the default behavior here as the default option should be a stable release!

@NoahGorny
Copy link
Member Author

@nwinkler I added a new commit (20670fb) that moves git fetch --tags to be before tag calculation, as otherwise we could not update..

@nwinkler
Copy link
Member

OK, this looks good to me, thanks! Let's continue the discussion on adding the tag, and then we can merge this.

@NoahGorny
Copy link
Member Author

Hey @nwinkler, I think we are ready to release a starting version as we discussed and merge this!

@NoahGorny NoahGorny force-pushed the update-to-stable-or-unstable branch from 20670fb to a1adfaa Compare October 13, 2020 12:41
@NoahGorny
Copy link
Member Author

@nwinkler @cornfeedhobo @davidpfarrell I think it is time for us to merge this and release our first tag!
I added an important check if you are updating to a stable version but you have a more updated dev version. It will now warn you and continue (to ask you/just do it in silent mode)
What do you guys think?

@NoahGorny
Copy link
Member Author

Time for v1.0.0 🎉

@NoahGorny NoahGorny merged commit c387517 into Bash-it:master Oct 16, 2020
@NoahGorny NoahGorny deleted the update-to-stable-or-unstable branch October 16, 2020 11:16
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