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

Support removal/rename of files upon update/install #18

Open
vgmoose opened this issue Mar 11, 2019 · 2 comments
Open

Support removal/rename of files upon update/install #18

vgmoose opened this issue Mar 11, 2019 · 2 comments

Comments

@vgmoose
Copy link
Member

vgmoose commented Mar 11, 2019

This issue is for creating a new manifest option for just deleting a file at a given path.

eg.

D: sept/payload.bin

Depending on need and feasibility, a rename option might also be a good idea, eg:

M: sept/payload.bin : old/sept/payload.bin

being equivalent to mv sept/payload.bin old/sept/payload.bin

If there are any other ideas for some more metadata options, they can go in this ticket as well

@vgmoose
Copy link
Member Author

vgmoose commented Mar 11, 2019

I should also say that this change should go through on the manifest branch, where all the logic for updating/removing from a libget manifest is to be encapsulated

@vgmoose
Copy link
Member Author

vgmoose commented Dec 25, 2019

As of #8 if a currently installed package has a manifest with a file that’s U or E, and then that file IS NOT present in an update’s manifest, it will be deleted upon upgrade

This automatically can address a case this issue tries to cover, but there is still a use case for a pure delete outside of package scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant