You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Nicolas Peltier <np...@adobe.com> on 2015/01/06 17:55:21 UTC

Re: resource type cleanup

Hi,

the jira for that has been created here [0], code is here [1].
Thanks for your comments

Nicolas

[0] https://issues.apache.org/jira/browse/SLING-4286
[1] https://github.com/npeltier/org.apache.sling.typecleanup
> On 12 Dec 2014, at 14:35, Nicolas Peltier <np...@adobe.com> wrote:
> 
> Hi,
> 
> i would like to clean up resources that have resource types not existing (anymore). Not sure something like that exists already, if not i’m happy developing something like the following right now (need it now basically :-):
> 
> GET /content/blah.typecleanup.txt would send all resources with non existing resources (among a configured set of patterns)
> POST /configuration/resource?path=/content/blah(&file=…) would clean them up
> 
> any hints/ideas ?
> 
> Nicolas