These are chat archives for go-gitea/gitea

3rd
Mar 2017
Thorsten Lockert
@tholo
Mar 03 2017 05:28
So if, for some reason, one has ... added commits "behind Gitea's back", is there a way to make Gitea scan the repository and detect them...?
Lunny Xiao
@lunny
Mar 03 2017 05:36
You can import server local repo if you enabled it and you login as admin.
But there is no scan
Thorsten Lockert
@tholo
Mar 03 2017 05:37
But if, for some reason, one had managed to do a push direct to the underlying repository there is no way to make that just get loaded? So basically move it aside, delete it in Gitea, and then "migrate" it back in is "the way" to do it?
Lunny Xiao
@lunny
Mar 03 2017 05:40
currently it is as I know.
Thorsten Lockert
@tholo
Mar 03 2017 05:41
All right, I ... can make that happen. :smiley:
Lunny Xiao
@lunny
Mar 03 2017 05:44
This is a new feature, maybe someone could send a PR to let import page input a server local directory to implement it.
Sandro Santilli
@strk
Mar 03 2017 09:47
"rescan" sounds like a good candidate for the Admin tasks
Lunny Xiao
@lunny
Mar 03 2017 09:50
Add a rescan button?
In the admin repo list
Thomas Boerger
@tboerger
Mar 03 2017 12:45
But the repo data is not stored on the db?
Lunny Xiao
@lunny
Mar 03 2017 12:46
it means import a dir include many repos in server side.
Thomas Boerger
@tboerger
Mar 03 2017 12:51
But that's not what he asked for
Lunny Xiao
@lunny
Mar 03 2017 12:52
I think that’s a more safe way to import gogs or gitlab repos to gitea.
Thomas Boerger
@tboerger
Mar 03 2017 12:58
nobody was talking about that :)
he just talked about a repo soebody pushed something to beside gitea and he wants to get that activity into gitea
Thomas Boerger
@tboerger
Mar 03 2017 20:40
somebody got an idea how to improve this storage? :) https://github.com/tboerger/redirects/blob/master/store/json/redirect.go
need a concurrency safe json storage :P
Willem van Dreumel
@willemvd
Mar 03 2017 21:36
Anyone, is this ported to gitea? gogits/gogs#3692 (webhook secret used to sign message with HMAC)
Currently it is breaking the jenkins-gogs-plugin for Gogs 0.10.1 : jenkinsci/gogs-webhook-plugin#14
Kim "BKC" Carlbäcker
@bkcsoft
Mar 03 2017 21:41
https://github.com/src-d/go-git/tree/master/_examples <-- start replacing commands with this? :trollface:
Lunny Xiao
@lunny
Mar 03 2017 23:38
Great
It's stable enough?
Kim "BKC" Carlbäcker
@bkcsoft
Mar 03 2017 23:47
Read only...