Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

File based persisters should store all files under same folder. #103

Closed

Conversation

dpsm
Copy link

@dpsm dpsm commented May 26, 2013

This patch allows each file persister to remove all cached files
as previously but also removes the parent cache folder in order
to allow cleaning all the remaining cached content from lazy/older
persiters which did not clear their content.

This patch also sanitizes not sanitized cache keys.

Signed-off-by: David Marques [email protected]

This patch allows each file persister to remove all cached files
as previously but also removes the parent cache folder in order
to allow cleaning all the remaining cached content from lazy/older
persiters which did not clear their content.

This patch also sanitizes not sanitized cache keys.

Signed-off-by: David Marques <[email protected]>
@stephanenicolas
Copy link
Owner

Hi David,

I will review your code tonight. Formatting problems make it hard to see the difference. Also, there are some aspects of the implementation that I would like to refactor but globally, it looks like all 2 features are working.)

I shall be able to publish it tonight on master, if you could review the changes after I merge them, I would appreciate it.

A simple question : how different is sanitation for cache keys in the cases of Databases and Files ?

Thanks for this contribution,
Stéphane

@stephanenicolas
Copy link
Owner

Sorry, I am pretty busy. It will take more time to merge these new features. But it's a top priority !

@ghost ghost assigned stephanenicolas May 29, 2013
stephanenicolas added a commit that referenced this pull request Jun 1, 2013
@stephanenicolas
Copy link
Owner

The pull request could not be integrated as such. Feature has been reimplemented, extended and tested. It will be part of release 1.4.3.

It would have been much easier to use RS formatting, commits were big and a lot of lines appeared to have change.

Thx for your contribution, sorry not to have been able to use more of your work.

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

Successfully merging this pull request may close these issues.

2 participants