WIP. An attempt to port minimum valuable subset of Sentry from Python to the Golang.
prometheus/prometheus/wiki/Default-port-allocations
$ sudo pacman -S git vim go go-tools glide
$ vim ~/.zlogin
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
$ mkdir -p $GOPATH/src/github.com/diyan && cd $_
$ git clone git@github.com:diyan/assimilator.git
$ make get-go-tools
$ make get-go-deps
$ make watch-go
$ sentry/run_sentry_containers.sh
$ docker exec -ti acme_sentry_web raven test http://763a78a695424ed687cf8b7dc26d3161:763a78a695424ed687cf8b7dc26d3161@localhost:9000/2
$ docker run --rm -ti --name=pgcli \
-e PGPASSWORD=RucLUS8A \
--link=acme_sentry_db \
diyan/pgcli \
--host=acme_sentry_db \
--dbname=sentry \
--user=sentry
$ docker exec -ti acme_sentry_db \
sh -c 'PGPASSWORD=RucLUS8A pg_dump --username=sentry --dbname=sentry'
- Improve error handling, use errors.Wrap
- Publish diyan/sentry:8.12.0 to GitHub and Docker Hub
- DB test fixtures
- Implement Prefix / SetPrefix in Echo/Logrus logger
- Implement generic handler so "can not get project: query failed: dbr: not found", would be "can not get project. resource not found"
- Move PostGet / PostInsert / etc handlers from db model to store
- Hell of a lot things to do