Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Setting up your own APT repository with upload support:


Re: Setting up your own APT repository with upload support
Posted by JulienV (83.196.xx.xx) on Sun 6 Nov 2005 at 17:12
Thank you Steve for this article that decided me to change from debpool (which seems to be unmaintained) to reprepro.

How do you operate for unattended gpg signing? Is gnupg-agent the only option?

Regarding the script, I would parse the changes file to catch the right distribution (if you have one incoming directory for several distributions):
-  reprepro -Vb . include sarge $i
+  DISTRIBUTION=$(cat $i | grep '^Distribution: ' | sed 's/Distribution: //')
+  reprepro -Vb . include $DISTRIBUTION $i

However, to use this, you have to invert "codename" and "suite" fields in the conf/distributions file.

I think the last bit is a typo from an adaptation:
-          rm "$INCOMING/$NAME" "$DESTINATION" || exit 1
+          rm "$INCOMING/$NAME" || exit 1


Cheers,


Julien

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search