These are chat archives for gitbucket/gitbucket

25th
Jan 2018
deepbreathnoob
@deepbreathnoob
Jan 25 2018 06:28
Thank you @takezoe, I'm counting on that feature.
nettuto
@nettuto
Jan 25 2018 08:15
hi guys
i'm planning to use gitbucket in our company
for basic code versionning and issue tracker
so is it appropriate for such use
?
ty
i mean in our intranet
Matthieu Brouillard
@McFoggy
Jan 25 2018 08:17
@nettuto it is the primary goal of gitbucket: to be used hosted in companies intranet
craph
@craph
Jan 25 2018 08:30
Hi, I'm currently testing gitbucket in order to install it in my company and I would like to know if it is possible to view the size of each repository and monitor their evolution ? If not, is it easy to develop a plugin to do that ?
Yan Su
@yaroot
Jan 25 2018 09:56
@craph Yes it's possible, is it possible for your company to just monitor the server disk usage?
craph
@craph
Jan 25 2018 10:10
@yaroot May be it's possible but the repository are stored in file system or in the database ? How can we implement this functionnality ? Is It plan to have this functionnality in gitbucket ? or should I implement this one (I am developper)
Matthieu Brouillard
@McFoggy
Jan 25 2018 10:29
@craph git repositories are stored as bare git repositories on the file system
that's why @yaroot asked if monitoring the file system was not enough
AFAIK there is no plan yet to support such a feature
but creating a plugin for that is possible
Yan Su
@yaroot
Jan 25 2018 10:39
A plugin is very easy if you know some Scala.
Maybe we could add some metrics to gitbucket itself? @takezoe
Yuusuke KOUNOIKE
@kounoike
Jan 25 2018 10:55
I think he likes to implement such a feature as a plug-in
Yan Su
@yaroot
Jan 25 2018 11:27
Wouldn't it be helpful for gitbucket to provide the basic metrics like request/response time, disk usage and jvm related stats?
Yuusuke KOUNOIKE
@kounoike
Jan 25 2018 12:40
Yan Su
@yaroot
Jan 25 2018 12:54
I already have a simple plugin hacked up to report the size of all repositories, let's see how @takezoe thinks
Naoki Takezoe
@takezoe
Jan 25 2018 14:20
Metrics plugin seems good. It would be better if it has common interface to monitor like JMX.
craph
@craph
Jan 25 2018 14:27
@McFoggy , @yaroot Yes I would like to have a feature/plugin to display metrics. And by the way to display the metrics about repository (ie.size)
What is stored in the database if the repo is create as bare on the file system ? Is it possible to have a plugin to monitor all the repository metrics like size and draw charts to see the evolution of repos ?
Naoki Takezoe
@takezoe
Jan 25 2018 14:34
Other than repository contents are stored in the database, such as account information, issues and pull requests.
Naoki Takezoe
@takezoe
Jan 25 2018 14:39
Bare repositories are created at HOME/.gitbucket/repositories/USER/REPO.git in default. We can get size of repositories by getting size of these directories.
Yan Su
@yaroot
Jan 25 2018 15:10
Alright, I'll try publish a basic version this weekend.