Re: ITP: mini-dinstall -- daemon for updating Debian packages in a repository
Colin Walters wrote:
> > * Package name : mini-dinstall
>
> Interested? My current packages are available here:
>
> deb http://monk.debian.net/~walters/debian/ staging/$(ARCH)/
> deb http://monk.debian.net/~walters/debian/ staging/all/
> deb-src http://monk.debian.net/~walters/debian/ staging/source/
>
> Now, the obvious question is, did I use mini-dinstall to put
> mini-dinstall into my staging repository? Of course I did :) ...But I
> probably won't upload this to Debian until I make sure it handles a few
> error conditions better. I also need to add automatic support for
> unsigning/making unreadable .changes files.
>
> Comments, suggestions, etc. always appreciated.
I've been using a hackish program to manage my archive, so I'm very
interested. It doesn't do quite what my old program does though
(~joeyh/bin/package-sync).
* I need the ability to keep my existing sources.list lines, which are pretty
well-known. I will only ever have i386 and all in my repository, so I
don't need separate directories. And $(ARCH) is icky. I lump everything
into one directory and use:
deb file:/home/joey/debian/public /
deb-src file:/home/joey/debian/public /
* A proper Incoming directory would be nice. I was confused at first
about where exactly to upload stuff to and tried putting stuff in the
i386/ and all/ directories.
* The bit about dnotify is confusing. What is it?
* It doesn't deal well if it gets a package in an architecture not
listed:
joey@dragon:~/debian/public2/local>mini-dinstall -b -v
mini-dinstall [1024] INFO: Initializing archive local
mini-dinstall [1026] INFO: Created new thread (local) for archive local
mini-dinstall [1026] INFO: Entering batch mode...
mini-dinstall [1026] INFO: Examining "local/apt-src_0.17_i386.changes"
mini-dinstall [1026] INFO: Verifying integrity of "local/apt-src_0.17_i386.changes"
mini-dinstall [1026] ERROR: Uncaught exception; thread exiting
Traceback (most recent call last):
File "/usr/bin/mini-dinstall", line 410, in run
self._install_changefile(changefilename, changefile)
File "/usr/bin/mini-dinstall", line 433, in _install_changefile
logger.exception('Failed to prcess "s"' % (changefilename,))
TypeError: not all arguments converted
* I need the ability to have a hook that runs a program passing it a changes
file name once it successfully puts a package into the archive. I use
this type of hook to auto-update web pages for debian native packages, and
I would like to use it as a way to launch a secondary dput to the main
debian archive, since I currently upload everything to my own local archive
and also to Incoming.
* For one repository I would like the ability to not delete old versions of
packages in it, ever.
--
see shy jo
Reply to: