Commit 5827d777 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont 🤔
Browse files

Allow uploads of UNRELEASED packages

parent 3b8a47a0
......@@ -421,7 +421,8 @@ class Importer(object):
allowed_distributions = ('oldstable', 'stable', 'unstable', 'experimental', 'stable-backports', 'oldstable-backports',
'oldstable-backports-sloppy', 'oldstable-security', 'stable-security', 'testing-security', 'stable-proposed-updates',
'testing-proposed-updates', 'sid', 'wheezy', 'squeeze', 'lenny', 'squeeze-backports', 'lenny-backports',
'lenny-security', 'lenny-backports-sloppy', 'lenny-volatile', 'squeeze-security', 'squeeze-updates', 'wheezy-security')
'lenny-security', 'lenny-backports-sloppy', 'lenny-volatile', 'squeeze-security', 'squeeze-updates', 'wheezy-security',
'unreleased')
if distribution not in allowed_distributions:
self._remove_changes()
self._reject("You are not uploading to one of those Debian distributions: %s" %
......
......@@ -69,6 +69,8 @@ incoming = /upload
method = http
allow_unsigned_uploads = 0
progress_indicator = 2
# Allow uploads for UNRELEASED packages
allowed_distributions = .*
</pre>
</td>
......@@ -84,7 +86,8 @@ passive_ftp = 1
incoming = /
method = ftp
allow_unsigned_uploads = 0
# Allow uploads for UNRELEASED packages
allowed_distributions = .*
</pre>
</td>
</tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment