-
Notifications
You must be signed in to change notification settings - Fork 8
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
Help People Stay on the Latest Version #26
Comments
one challenge is there isn't a "ccc project version". The generator itself has a version, but what version was last run on the project isn't tracked anywhere (also users might they might not even have If you're going to run a version check monthly, I guess you'd need some persistent "storage" somewhere for that as well. Could just throw it in a file... |
Yep was thinking a dot file would do it
…On Tue, Apr 14, 2020, 5:58 PM Charlie Jonas ***@***.***> wrote:
one challenge is there isn't a "ccc project version". The generator itself
has a version, but what version was last run on the project isn't tracked
anywhere (also users might they might not even have generator-ccc
install).
If you're going to run a version check monthly, I guess you'd need some
persistent "storage" somewhere for that as well. Could just throw it in a
file...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGNKPLTJM4ARF3OIUHDRWLRMT2A5ANCNFSM4MIELS3A>
.
|
i guess you would need to:
You could run it more often, but just log to stdout. Only problem is people probably miss it if they are using source-tree/vscode to push |
good idea about std out, realizing this is duplicate of #14, that's too bad the yeoman-updater didn't pan out |
If the person setting this up is different than the person working day to day on the project it's easy for upgrades to get missed.
One approach could be to add a version check to the push hook that happens on a monthly interval. If a new version is available the push gets rejected with an informative message. Since it would only happen once a month, if upgrading at that time isn't desired the push can just be repeated. This seems like a fairly small decrease in ergonomics for keeping people upto date. Likely to be other solutions.
The text was updated successfully, but these errors were encountered: