Skip to content

Commit fbfe9f3

Browse files
authored
Raven tags, closes presslabs#244
2 parents 2edbf15 + 5d54176 commit fbfe9f3

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ uninstall:
2424
rm -rf $(DESTDIR)$(PREFIX)/bin/gitfs
2525

2626
$(BUILD_DIR)/gitfs: $(BUILD_DIR) $(VIRTUAL_ENV)/bin/pex
27-
$(VIRTUAL_ENV)/bin/pex -r 'fusepy==2.0.2' -r 'pygit2==0.24.0' -r 'atomiclong==0.1.1' -s . -e gitfs:mount -o $(BUILD_DIR)/gitfs
27+
$(VIRTUAL_ENV)/bin/pex -v --disable-cache -r requirements.txt -e gitfs:mount -o $(BUILD_DIR)/gitfs .
2828

2929
$(VIRTUAL_ENV)/bin/pex: virtualenv
3030
$(VIRTUAL_ENV)/bin/pip install pex wheel

gitfs/utils/args.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ def check_args(self, args):
103103
from raven.conf import setup_logging
104104
from raven.handlers.logging import SentryHandler
105105

106-
sentry_handler = SentryHandler(args.sentry_dsn)
106+
sentry_handler = SentryHandler(args.sentry_dsn, tags={
107+
'owner': args.user,
108+
'remote': args.remote_url,
109+
'mountpoint': args.mount_point
110+
})
107111
sentry_handler.setLevel("ERROR")
108112
setup_logging(sentry_handler)
109113
log.addHandler(sentry_handler)

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
fusepy==2.0.2
2-
pygit2==0.24.0
2+
pygit2==0.24.1
33
six==1.10.0
44
atomiclong
5+
raven==5.27.0

0 commit comments

Comments
 (0)