[Bug 1444632] [NEW] sstream-mirror does not clean empty directories
Scott Moser
smoser at ubuntu.com
Wed Apr 15 18:13:15 UTC 2015
Public bug reported:
I've been mirroring cloud-images using sstream-mirror for quite a while
doing something like:
url=http://cloud-images.ubuntu.com/daily/
keyring="/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg"
sstream-mirror -v --keyring=$keyring --max=2 "$url" /archive/cloud-images-daily
$ cd /archive/cloud-images-daily
$ ls
server streams
$ ls server/vivid/
20150227.1 20150306.2 20150317.6 20150324 20150331.4 20150408.1
20150228 20150307.4 20150318 20150324.1 20150331.5 20150410.2
20150303.3 20150308 20150319.5 20150324.2 20150401 20150411
20150304 20150308.1 20150320.4 20150325 20150402 20150411.1
20150304.2 20150308.2 20150321 20150327 20150403 20150412
20150305 20150313.4 20150321.1 20150327.3 20150403.1 20150413.1
20150305.1 20150314.1 20150322 20150328 20150403.2 20150413.2
20150306.1 20150316 20150322.1 20150328.1 20150408 20150414
All but the final 2 dirs there are empty.
sstream-mirror should probably clean up empty directories when it
removes a file.
** Affects: simplestreams
Importance: Undecided
Status: Confirmed
** Affects: simplestreams (Ubuntu)
Importance: Undecided
Status: Confirmed
** Also affects: simplestreams
Importance: Undecided
Status: New
** Changed in: simplestreams
Status: New => Confirmed
** Changed in: simplestreams (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to simplestreams in Ubuntu.
https://bugs.launchpad.net/bugs/1444632
Title:
sstream-mirror does not clean empty directories
To manage notifications about this bug go to:
https://bugs.launchpad.net/simplestreams/+bug/1444632/+subscriptions
More information about the Ubuntu-server-bugs
mailing list