Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 844 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 844 Bytes

vis-outdated 🕷️

Keep up-to-date with a list of git repos using 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 - are we up-to-date?

outdated-up - update local hashes

Bonus

outdated-install - do a git clone (shallow) to vis plugins folder (no overwrite)

Config

Just set repos to an array of git repositories.

Example:

require('plugins/vis-outdated').repos = {
	'https://github.com/erf/vis-title',
	'https://github.com/erf/vis-cursors',
	'https://github.com/erf/vis-highlight',
}

Local CSV cache file

repos and commits are cached in {XDG_CACHE_HOME|HOME}.vis-outdated.csv.