Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erf/vis-outdated
keep up-to-date with git repos in vis
https://github.com/erf/vis-outdated
git hashes ls-remote outdated vis-outdated vis-plugin
Last synced: about 2 months ago
JSON representation
keep up-to-date with git repos in vis
- Host: GitHub
- URL: https://github.com/erf/vis-outdated
- Owner: erf
- License: mit
- Created: 2020-10-29T13:15:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-01-02T13:09:57.000Z (over 3 years ago)
- Last Synced: 2024-02-09T23:50:29.622Z (5 months ago)
- Topics: git, hashes, ls-remote, outdated, vis-outdated, vis-plugin
- Language: Lua
- Homepage:
- Size: 38.1 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - erf/vis-outdated - keep up-to-date with git repos in vis (Lua)
README
# vis-outdated
Keep up-to-date with a list of git repos using [vis](https://github.com/martanne/vis).
## How
Given a set of *git* repos, we fetch commit hashes using `git ls-remote` and store them on disk.
We then compare the local cache with the latest hashes to see if they are up-to-date.
## Commands
**outdated** - compare local hashes to latest
**outdated-update** - write latest hashes to file
## Config
Just set `repos` to an array of git repositories
``` lua
require('plugins/vis-outdated').repos = {
'https://github.com/erf/vis-title',
'https://github.com/erf/vis-cursors',
'https://github.com/erf/vis-highlight',
}
````github` urls can be shortend to only `{name}/{repo}`
``` lua
require('plugins/vis-outdated').repos = {
'erf/vis-title',
'erf/vis-cursors',
'erf/vis-highlight',
}
```## Local CSV cache file
*repos* and *commits* are cached in `{XDG_CACHE_HOME|HOME}.vis-outdated.csv`.