Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
5827d777
Commit
5827d777
authored
Feb 26, 2012
by
Nicolas Dandrimont
🤔
Browse files
Allow uploads of UNRELEASED packages
parent
3b8a47a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
debexpo/scripts/debexpo_importer.py
View file @
5827d777
...
...
@@ -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"
%
...
...
debexpo/templates/index/intro-maintainers.mako
View file @
5827d777
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment