From 7d22ad05cde0cf913c2ad2ef6515a4b94ef1d09f Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Thu, 22 Mar 2018 23:04:00 +0900 Subject: [PATCH] templates/intro-maintainers: remove obsolete dput.cf Recently, users need not to configure dput.cf by yourself. It is enough to use default /etc/dput.cf configuration. --- .../templates/index/intro-maintainers.mako | 44 +------------------ 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/debexpo/templates/index/intro-maintainers.mako b/debexpo/templates/index/intro-maintainers.mako index 66f6837e..d6ac13e3 100644 --- a/debexpo/templates/index/intro-maintainers.mako +++ b/debexpo/templates/index/intro-maintainers.mako @@ -49,49 +49,9 @@

How to upload packages to ${ config['debexpo.sitename'] }?

-

You need to use dput to upload packages. We accept your uploads through HTTPS or FTP. All packages must be signed with the GnuPG key you configured in your control panel.

+

You need to use dput to upload packages. We accept your uploads through FTP by default dput configuration. All packages must be signed with the GnuPG key you configured in your control panel.

- - - - - - - - - -
HTTPS uploadsFTP uploads
-

To use HTTPS put the following content to your ~/.dput.cf file:

- -
-[mentors]
-fqdn = ${ config['debexpo.sitename'] }
-incoming = /upload
-method = https
-allow_unsigned_uploads = 0
-progress_indicator = 2
-# Allow uploads for UNRELEASED packages
-allowed_distributions = .*
-
- -
-

You can use FTP to upload packages to ${ c.config['debexpo.sitetitle'] }. If you prefer that method make sure you sign your uploads with your GPG key! This is the corresponding ~/.dput.cf file:

- -
-[mentors-ftp]
-fqdn = ${ config['debexpo.sitename'] }
-login = anonymous
-progress_indicator = 2
-passive_ftp = 1
-incoming = /pub/UploadQueue/
-method = ftp
-allow_unsigned_uploads = 0
-# Allow uploads for UNRELEASED packages
-allowed_distributions = .*
-
-
- -

Once you have it set up, you can run it from your shell like this:

+

Once you have installed dput, you can run it from your shell like this:

 $ dput mentors your_sourcepackage_1.0.changes
-- 
GitLab