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

Inform users about new Collie releases #5

Closed
Jelledb opened this issue Jun 25, 2021 · 2 comments
Closed

Inform users about new Collie releases #5

Jelledb opened this issue Jun 25, 2021 · 2 comments
Labels
idea A product idea for the Collie CLI project

Comments

@Jelledb
Copy link
Contributor

Jelledb commented Jun 25, 2021

To make users aware that a new Collie release is available with e.g. an important bug fix or a new exciting feature, we need some kind of system that can notify those users.

Implementation Hint:
It seems that Cliffy has some kind of support for upgrading CLIs: https://cliffy.io/command/#%E2%9D%AF-upgrade-command

@Jelledb Jelledb added the idea A product idea for the Collie CLI project label Jun 25, 2021
@tfelix
Copy link
Contributor

tfelix commented Aug 4, 2021

I did not fully understand how this works but it seems it works like checking out the repository and pushing that files then into deno runtime. This will fail on normal installations as this probably wont download the binary.

However we could implement a check for new releases which periodically queries github and if a new release is there informs the user to install it.

@JohannesRudolph
Copy link
Member

We now have support for collie upgrade command and users can list available version with collie upgrade -l (when installed via deno install).

I'd consider that good enough for now, as the alternative is that collie needs to check for new versions with a network call. That has user consent issues wrt. telemetry etc. so for now I'd consider having an explicit command that users call good enough.

Sidenote: a tool that does proactive version checks and prominently features it in command output is pip (python package manager)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea A product idea for the Collie CLI project
Projects
None yet
Development

No branches or pull requests

3 participants