Make 'SkipContents' configurable in API. #345

Also add global configuration to disable 'skipContents' by
default for all new published repos/snapshots.
This commit is contained in:
Andrey Smirnov
2016-02-11 13:24:43 +03:00
parent 0339f0fe23
commit f50e008763
10 changed files with 31 additions and 2 deletions
+1
View File
@@ -290,6 +290,7 @@ func (p *PublishedRepo) MarshalJSON() ([]byte, error) {
"SourceKind": p.SourceKind,
"Sources": sources,
"Storage": p.Storage,
"SkipContents": p.SkipContents,
})
}