https://github.com/sgmac/gitwork
Work done on your git repositories
https://github.com/sgmac/gitwork
Last synced: 5 months ago
JSON representation
Work done on your git repositories
- Host: GitHub
- URL: https://github.com/sgmac/gitwork
- Owner: sgmac
- Created: 2015-09-08T22:51:03.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-07T08:57:49.000Z (over 10 years ago)
- Last Synced: 2024-06-20T14:19:30.137Z (about 2 years ago)
- Language: Go
- Size: 199 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gitwork
-------
An excuse to use the git2go API and track what repositories are the most used.
Depedencies
-----------
You need to install:
- [libgit2](https://github.com/libgit2/libgit2)
- [git2go](https://github.com/libgit2/git2go)
- [logrus](https://github.com/Sirupsen/logrus)
Getting started
---------------
By default looks for the ```$GIT``` env var. If it's defined, points to the main
directory where you keep all your git repositories.
In case it's not found, you may provide a directory with the flag ```-g```.

In this example I provide an env var for all my Go projects.
Caveats
-------
There are some things to improve:
- The number of days whereby a repository is marked as abandoned is 90 days. This is harcoded, it could be easily move to an external config file.
- If the number of days is zero, mark as active.
Update
------
- Add flag to provide branch you are interested in, only those repositories are listed.