Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aptly leave empty directory structure when droping published repo with prefix #198

Open
kumy opened this issue Feb 9, 2015 · 2 comments · May be fixed by #1381
Open

Aptly leave empty directory structure when droping published repo with prefix #198

kumy opened this issue Feb 9, 2015 · 2 comments · May be fixed by #1381
Labels

Comments

@kumy
Copy link

kumy commented Feb 9, 2015

When removing the last distribution from a published repo with a prefix, Aplty will empty directories, but leave the prefix structure in place.

@smira smira added the feature label Feb 9, 2015
@smira
Copy link
Contributor

smira commented Feb 9, 2015

This could be done is prefix is empty.

phenomenes added a commit to phenomenes/aptly that referenced this issue Mar 15, 2015
phenomenes added a commit to phenomenes/aptly that referenced this issue Mar 23, 2015
@phenomenes
Copy link

Changed it to use Remove() instead to avoid a race condition

@lbolla lbolla closed this as completed Jan 28, 2022
@lbolla lbolla reopened this Jan 28, 2022
@aol-nnov aol-nnov linked a pull request Oct 22, 2024 that will close this issue
1 task
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 23, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 24, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 30, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Oct 30, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
aol-nnov added a commit to aol-nnov/aptly that referenced this issue Nov 2, 2024
After dropping files.PublishedStorage there were some leftovers -
empty directory tree. If that directory tree is empty, it is now removed.

Fixes: aptly-dev#198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants
@lbolla @smira @kumy @phenomenes and others