|
|
@ -829,6 +829,9 @@ func CreateRepository(u *User, opts CreateRepoOptions) (_ *Repository, err error |
|
|
|
LowerName: strings.ToLower(opts.Name), |
|
|
|
LowerName: strings.ToLower(opts.Name), |
|
|
|
Description: opts.Description, |
|
|
|
Description: opts.Description, |
|
|
|
IsPrivate: opts.IsPrivate, |
|
|
|
IsPrivate: opts.IsPrivate, |
|
|
|
|
|
|
|
EnableWiki: true, |
|
|
|
|
|
|
|
EnableIssues: true, |
|
|
|
|
|
|
|
EnablePulls: true, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
sess := x.NewSession() |
|
|
|
sess := x.NewSession() |
|
|
|