git ssb

0+

cel / gitfeed



Tree: a14c063f83540c0e01a1dc609be8768cca9978f1

Files: a14c063f83540c0e01a1dc609be8768cca9978f1 / README.md

733 bytesRaw

gitfeed

Generate an Atom feed from a git repo's commit history. Each commit gets an entry in the feed showing its diff stat.

Usage

First define some variables. The only required one is SITE_URL - the others are optional.

export SITE_TITLE='Example Site'
export SITE_URL='http://example.org'
export SITE_ENTRIES=30  # max number of entries in the feed
export SITE_WIDTH=100   # width of diff stat. leave at 80 unless you have
                        # long filenames.

Then run the script to output the feed.

./feed.sh > ./feed.xml

gitfeed is designed to work well with a Makefile. For example, see the Makefile included in this project.

License

MIT

Built with git-ssb-web