mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 20:17:03 +01:00
ss
This commit is contained in:
parent
29fe44da50
commit
6177849fce
1 changed files with 6 additions and 5 deletions
11
update.go
11
update.go
|
@ -34,12 +34,13 @@ func runUpdate(c *cli.Context) {
|
||||||
for i, arg := range c.Args() {
|
for i, arg := range c.Args() {
|
||||||
log.Info(i, arg)
|
log.Info(i, arg)
|
||||||
}
|
}
|
||||||
/*userName := os.Getenv("userName")
|
userName := os.Getenv("userName")
|
||||||
userId := os.Getenv("userId")
|
//userId := os.Getenv("userId")
|
||||||
repoId := os.Getenv("repoId")
|
//repoId := os.Getenv("repoId")
|
||||||
repoName := os.Getenv("repoName")
|
//repoName := os.Getenv("repoName")
|
||||||
|
|
||||||
f := models.RepoPath(userName, repoName)
|
log.Info("username", userName)
|
||||||
|
/*f := models.RepoPath(userName, repoName)
|
||||||
|
|
||||||
repo, err := git.OpenRepository(f)
|
repo, err := git.OpenRepository(f)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue