humungus - humungus

i am gravely disappointed

i understand your pain

overview - docs - files - changes - downloads - changes rss

humungus - an hg server

-- features

View changes, files, changesets, etc. Some syntax highlighting.

Read only.

Serves multiple repositories.

Allows cloning via the obvious URL. Supports go get.

Serves files for downloads.

Terminal based admin interface.

-- requirements

mercurial

github.com/gdamore/encoding
github.com/gdamore/tcell
github.com/gorilla/mux
github.com/lucasb-eyer/go-colorful
github.com/mattn/go-runewidth
github.com/rivo/tview
golang.org/x/text
humungus.tedunangst.com/r/gerc
humungus.tedunangst.com/r/go-sqlite3

-- setup

$ sqlite3 -init schema.sql humungus.db
insert into config (key, value) values
	('servername', 'humungus.example.com');
insert into config (key, value) values
	('listenaddr', '127.0.0.1:8081');
insert into config (key, value) values
	('debug', 0);
.quit

mkdir repos
cd repos
hg clone /work-stuff/one
hg clone /work-stuff/two
hg clone /work-stuff/fun
cd ..

mkdir downloads
mkdir fun
cp /files/fun/* fun
cd ..

./humungus admin

./humungus

recent changes

daa800212639 on 2019-08-20 14:36:01 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

a few more styles from mandoc.css

a32f3854ab0b on 2019-08-20 02:17:04 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

beginning support for online documentation

ede594903c71 on 2019-07-30 14:20:27 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

some Wait errors are expected, since the reaper is eating procs too

c42d6205cea8 on 2019-07-29 15:02:56 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add a reaper since go seems to lose child processes

7ca7c15e9af4 on 2019-07-12 23:31:09 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

log wait errors

698d2e990ab3 on 2019-06-30 18:54:00 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

remove unnessary complication for runnig simple hg commands

3f1bd5c40074 on 2019-06-05 02:10:54 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

allow manual refresh requests

8fc0a7193247 on 2019-05-13 12:14:59 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

don't need cmd conns hanging around anymore.

1ddf75238722 on 2019-05-09 21:04:01 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

fix format strings for dl rss

d9b04325246b on 2019-05-09 21:00:36 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add an rss feed just for downloads