[augeas-devel] Re: [PATCH] Support the allowed_distributions entry, see man dput.cf(5) from a recent dput version (Ubuntu/hardy or Debian/lenny)
Free Ekanayaka
free at 64studio.com
Wed Aug 27 10:08:00 UTC 2008
|--==> On Wed, 27 Aug 2008 12:05:01 +0200, Free Ekanayaka <free at 64studio.com> said:
|--==> On Wed, 27 Aug 2008 12:00:57 +0200, "Raphaël Pinson" <raphink at gmail.com> said:
RP> Ah, I didn't know that :)
RP> I guess allowed_distribution is an array though, isn't it?
FE> I think it's a regexp, or at least man dput.cf(5) says that:
FE> allowed_distributions
FE> A regular expression (of Python re module syntax) that the distribution field must match or dput will refuse the upload.
Maybe you might want to add something to test_dput.aug as well, like:
diff -r 33bcfcf2ae04 lenses/tests/test_dput.aug
--- a/lenses/tests/test_dput.aug Wed Aug 27 11:56:10 2008 +0200
+++ b/lenses/tests/test_dput.aug Wed Aug 27 12:06:51 2008 +0200
@@ -17,6 +17,7 @@ passive_ftp = 1
passive_ftp = 1
default_host_non-us =
default_host_main = hebex
+allowed_distributions = (?!UNRELEASED)
[hebex]
fqdn = condor.infra.s1.p.fti.net
@@ -74,6 +75,7 @@ post_upload_command = /usr/bin/mini-dins
{ "passive_ftp" = "1" }
{ "default_host_non-us" }
{ "default_host_main" = "hebex" }
+ { "allowed_distributions" = "(?!UNRELEASED)" }
{} }
{ "target" = "hebex"
{ "fqdn" = "condor.infra.s1.p.fti.net" }
More information about the augeas-devel
mailing list