Automatically check for update
Opened this issue · 5 comments
mschwartz commented
Description
modus-cli should periodically check for updates (to see if a newer version exists)
mschwartz commented
The package.json file can be downloaded and version checked against the existing one.
mschwartz commented
Related issue is that if modus-cli is used to download/merge guidelines, we can check the guidelines repo periodically to see if IT changed, too.
grgur commented
This would be nice. How would we track changes, tho? E.g.
- Repo XYZ clones samples from Guidelines
- Repo XYZ changes LICENSE
- LICENSE is updated in Guidelines
- Now what? How does modus-cli know that LICENSE is changed but e.g. ISSUE_TEMPLATE isn't?
mschwartz commented
We keep a version number in modus-cli-config.js and compare with version number in the guidelines repo.
If LICENSE exists, cli won't overwrite it unless you add the -o switch.
grgur commented
That would be nice. We need to prioritize all feature requests first