ctron / package-drone

An OSGI first software artifact repository – Moved to the Eclipse Foundation
https://github.com/eclipse/packagedrone
Eclipse Public License 1.0
39 stars 13 forks source link

Document cleanup aspect #62

Open ctron opened 9 years ago

ctron commented 9 years ago

The cleanup aspect needs to get documented.

maggu2810 commented 9 years ago

Can I use the cleanup function to remove all files that file name match a regular expression? I have a channel that content was deployed using Maven and it contains now a lot deb files, too. What I want to do, is to delete all "*.deb". I like to do this once, as I lock the channel after that.

ctron commented 9 years ago

By name, currently not. Only by some metadata attribute. This would be a nice enhancement. Or we could provide the name as metadata attribute.

ctron commented 9 years ago

I just pushed a change with a new aspect that can "extract" the base name, extension and name. So that the cleanup aspect can work on this.

However this change is not in todays release (0.7.3) but has to wait for the next one.