Empty folders in Artifactory after automatic delete

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Empty folders in Artifactory after automatic delete

anwa
Hi,

I have automatic delete turned on for my remote repositories.
Admin -> Configuration -> repositories -> Edit -> Advanced -> Keep unused Artifacts for...

The artifacts get deleted properly, but the enclosing folder is left after the delete. I have now
several hundreds of empty folders.

Is there some kind of "cleanup" available to get rid of the empty folders?

I have Artifactory 2.3.1 running as a web app under Tomcat on a Linux server.

Thanks for your help
Anders

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Empty folders in Artifactory after automatic delete

elig
Hi Anders,

I opened an issue not to leave empty folders on cleanup.
For now I am afraid the only way for you to clean up those folders automatically is by writing a short script using the REST API or User Plugin.

Thank you for reporting.

EliĀ 

On Tue, Feb 21, 2012 at 12:45 PM, Anders Wallin <[hidden email]> wrote:
Hi,

I have automatic delete turned on for my remote repositories.
Admin -> Configuration -> repositories -> Edit -> Advanced -> Keep unused Artifacts for...

The artifacts get deleted properly, but the enclosing folder is left after the delete. I have now
several hundreds of empty folders.

Is there some kind of "cleanup" available to get rid of the empty folders?

I have Artifactory 2.3.1 running as a web app under Tomcat on a Linux server.

Thanks for your help
Anders

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Loading...