Skip to content
Snippets Groups Projects
Commit 783c1163 authored by Ariel D'Alessandro's avatar Ariel D'Alessandro Committed by Ryan Gonzalez
Browse files

publish: Allow slash '/' character in distribution name on publishing


There's no apparent reason to disallow this type of characters in the
distribution name. Aptly will just create the proper subdirectories to
that path.

Signed-off-by: Ariel D'Alessandro's avatarAriel D'Alessandro <ariel.dalessandro@collabora.com>
parent e812ad1d
No related branches found
No related tags found
1 merge request!4Merge the lastest aptly changes, collabora/production changes, and xz fixes into staging
......@@ -264,10 +264,6 @@ func NewPublishedRepo(storage, prefix, distribution string, architectures []stri
}
}
if strings.Contains(distribution, "/") {
return nil, fmt.Errorf("invalid distribution %s, '/' is not allowed", distribution)
}
result.Distribution = distribution
// only fields which are unique by all given snapshots are set on published
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment