feat: added gitea backend support
This commit is contained in:
parent
c8ce379aed
commit
5ddc973a3d
7 changed files with 165 additions and 37 deletions
|
|
@ -41,8 +41,8 @@ func checkoutRepositories(repositories []Repository, concurrency int) {
|
|||
// log activity
|
||||
logger.Print("Starting on repository: "+repoName, nil)
|
||||
|
||||
// make gitlab url
|
||||
url := fmt.Sprintf("https://gitlab-token:%s@%s/%s.git", gitlabToken, gitlabHost, repoName)
|
||||
// make git url
|
||||
url := fmt.Sprintf("https://%s-token:%s@%s/%s.git", gitBackend, gitToken, gitHost, repoName)
|
||||
|
||||
// check current status of repoDestination
|
||||
checkRepo := func(repoDestination string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue