You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 month ago | |
---|---|---|
lib | 12 months ago | |
.gitignore | 2 years ago | |
README.md | 1 month ago | |
config.example.json | 2 years ago | |
index.js | 2 years ago | |
package.json | 2 years ago | |
yarn.lock | 2 years ago |
README.md
glitchgit
Error tracking back-end generating git repository issues compatible with the Sentry SDK.
Idea and name inspired by GlitchTip, an alternative error tracking application compatible with the Sentry SDK.
Compatible git platforms :
Getting started
- Get git platform account tokens
- Get a Gitea account token :
/user/settings/applications
- Get a GitHub account token (
public_repo
scope required for public repos,repo
scope required for private repos)
- Clone the project, install its dependencies, create the configuration file
git clone https://git.kaki87.net/KaKi87/glitchgit.git
cd glitchgit
yarn install
cp config.example.json config.json
- Update the configuration file
port
(integer) : web server port, to be used in Sentry DSN or virtual hostaccounts
(array) : git platform accountsaccounts[].type
(string) : git platform type, must begitea
orgithub
accounts[].token
(string) : git platform account tokenaccounts[].host
(string) : git platform host
projects
(array) : Sentry projectsprojects[].account
(integer) :accounts[]
index (starts at 1)projects[].repository
(string) : git platform repository name inuser/repo
ororg/repo
format
maxBreadcrumbsCount
(integer) : max Sentry breadcrumbs countignoredIssuesLabel
(string) : git platform issue label to ignore further reports
- Start the server
yarn start
- Open
config.json
to get auto-generated 32-chars project IDs to be used in Sentry DSNs
Sentry DSN format : protocol://key@host/index
protocol
=http
orhttps
key
=projects[].key
index
=projects[]
index (starts at 1)