Make archive prefixing configurable with a global setting (#9943)

* Allow archive prefix setting

* Update copyright

* Update copyright
This commit is contained in:
zeripath 2020-01-22 23:46:46 +00:00 committed by GitHub
parent 608cd58db6
commit c8d7ae1ee3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 10 deletions

View file

@ -39,6 +39,7 @@ var (
EnablePushCreateOrg bool
DisabledRepoUnits []string
DefaultRepoUnits []string
PrefixArchiveFiles bool
// Repository editor settings
Editor struct {
@ -102,6 +103,7 @@ var (
EnablePushCreateOrg: false,
DisabledRepoUnits: []string{},
DefaultRepoUnits: []string{},
PrefixArchiveFiles: true,
// Repository editor settings
Editor: struct {