소스 검색

Bug fix

tags/v0.9.99
Unknown 10 년 전
부모
커밋
a9a5fb45f8
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 3
    0
      README.md
  2. 2
    5
      serve.go

+ 3
- 0
README.md 파일 보기

@@ -16,9 +16,12 @@ Please see [Wiki](https://github.com/gogits/gogs/wiki) for project design, devel
- SSH protocal support.
- Register/delete account.
- Create public repository.
- Git repository manipulation.

## Installation

Make sure you install [Prerequirements](https://github.com/gogits/gogs/wiki/Prerequirements) first.

There are two ways to install Gogs:

- [Install from binary](https://github.com/gogits/gogs/wiki/Install-from-binary)

+ 2
- 5
serve.go 파일 보기

@@ -30,10 +30,7 @@ var CmdServ = cli.Command{
Description: `
gogs serv provide access auth for repositories`,
Action: runServ,
Flags: []cli.Flag{
//cli.BoolFlag{"update, u", "update pakcage(s) and dependencies if any"},
//cli.BoolFlag{"verbose, v", "show process details"},
},
Flags: []cli.Flag{},
}

func In(b string, sl map[string]int) bool {
@@ -61,7 +58,7 @@ func runServ(*cli.Context) {

cmd := os.Getenv("SSH_ORIGINAL_COMMAND")
if cmd == "" {
println("Hi %s! You've successfully authenticated, but Gogits does not provide shell access.\n", user.Name)
printf("Hi %s! You've successfully authenticated, but Gogs does not provide shell access.\n", user.Name)
return
}


Loading…
취소
저장