owenizedd / bum

Bum - Bun Version Manager ⚡
123 stars 1 forks source link

Windows and ARM, `v` support, linting, codebase refactor, CD, Cleaned deps, One folder for versions #16

Closed JulesGuesnon closed 4 months ago

JulesGuesnon commented 4 months ago

Hey!

First of all thanks for this project, it's really cool, and we definitely need a version manager for Bun!

I initially wanted a version for Mac ARM, but after looking at the code and some behaviours, I made some improvements to have what I think is a better experience, and fixed all the current opened issues.

Although I think of most of the changes are a benefit for Bum, some of them might be too opinionated. Here is a full list of the changes:

Main changes:

Internal changes:

If it can be merged as is, It would be cool (would need to update again the URL in the readme and install.sh), but if you want some changes to be done, feel free to tell me and I'll update everything

owenizedd commented 4 months ago

Hi really appreciate the PR, especially you resolved all open issues!

I don’t have the time to focus on this project for a while now, so this is really what I have been wanted to do.

I have some questions on the changes you mentioned changed the versions path, I have feeling this will impact existing users, what do you think?

Like they list of installed version after the new changes they cant see any version installed.

But probably it will be less invasive than I would expect, they will just install it again because the bum will think it’s a new version the local machine does not have.

Other thing with this means the executable is automatically generated am I correct? Does the releases process is also automated? sorry I may miss something how does the versioning work? previously its manual

JulesGuesnon commented 4 months ago

Thanks for the answer!

About the version, yes it would impact existing users, but as you said, they'll just have to install it again. Also the point of this change is to share all the versions in one place as I don't see a lot of use cases where you want to share your versions locally (e.g: ./bun-versions). I may be missing something, but I'm pretty sure this is the way almost all the version managers are doing it.

About the executables, yes it'll automatically create them. And about the versioning, here's the process:

owenizedd commented 4 months ago

Fantastic, I will merge this PR, thanks!

On Wed, 8 May 2024 at 12.39 Jules Guesnon @.***> wrote:

Thanks for the answer!

About the version, yes it would impact existing users, but as you said, they'll just have to install it again. Also the point of this change is to share all the versions in one place as I don't see a lot of use cases where you want to share your versions locally (e.g: ./bun-versions). I may be missing something, but I'm pretty sure this is the way almost all the version managers are doing it.

About the executables, yes it'll automatically create them. And about the versioning, here's the process:

  • Update the version in Cargo.toml and install.sh (the version in the install.sh could be removed if the version is not in the name of the executable. Example https://github.com/JulesGuesnon/bum/releases/tag/v0.6.1) and push it
  • Create a tag: git tag -a vX.X.X and write the changelog
  • Push the tag git push --tag and the CD will automatically create the release

— Reply to this email directly, view it on GitHub https://github.com/owenizedd/bum/pull/16#issuecomment-2099780176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGNWKDVD3NDO5V74KQG3VLTZBG3CXAVCNFSM6AAAAABHKCAKZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZG44DAMJXGY . You are receiving this because you commented.Message ID: @.***>

JulesGuesnon commented 4 months ago

Oh ok thanks! Btw, before merging it I have to clean the readme and install.sh. Although we can probably let the windows part as basically I couldn't test anything

owenizedd commented 4 months ago

You're going to do it in this PR right? Let me know when you did it.

JulesGuesnon commented 4 months ago

Hey @owenizedd ! I cleaned the references to my repo and I put back the 0.5.0 so you can release the 0.6.0 once it's merged

owenizedd commented 4 months ago

Thank you for the awesome improvement!

Baltazore commented 4 months ago

@owenizedd any plans for new release ?

owenizedd commented 1 month ago

I'm releasing it today, sorry for long delay :D