Drake, I pulled this patch into a branch of my debmirror git repository,
and looked it over.

It seems to disable cleanup of obsolete files:

-cleanup_unknown_files() if ($post_cleanup);
+cleanup_unknown_files() if ($post_cleanup && ! $debmarshal);

Of course, some obsolete files will be in snapshots. But what if I want
to delete a snapshot? I would expect to be able to rm -rf
dists/foo/$NUMBER and on the next debmirror run, have it remove the
deb files that were in that snapshot.

Seems to me that this patch needs to be updated so it looks at the
contents of Packages/Sources files in the snapshot, and adds them to its
known file list, so it can call cleanup_unknown_files().

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to