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

Need API call to delete data library folders #519

Closed
hexylena opened this issue Jul 29, 2015 · 8 comments
Closed

Need API call to delete data library folders #519

hexylena opened this issue Jul 29, 2015 · 8 comments

Comments

@hexylena
Copy link
Member

My tool automatically manages certain folders of a library to reflect data contents elsewhere on server (available versions of data). I'd like to see the API extended with a library_delete_folder() call; (it currently has library_delete_dataset() call, which works fine!). Nice if bioblend picks this up too!

from @ddooley on trello

(Judging by my reading of library api and folder api this looks to still be a bug)

@Public-Health-Bioinformatics

ok. And it is still desired! Thx.

@martenson
Copy link
Member

In your mind would the folder_delete call delete all its contents recursively?

@hexylena
Copy link
Member Author

hexylena commented Aug 3, 2015

versus having to manually figure out the tree and going bottom up, deleting folders one at a time? Yes, absolutely. (Alternatively a recursive=True flag of some sort...)

@Public-Health-Bioinformatics

"versus having to manually figure out the tree and going bottom up, deleting folders one at a time? Yes, absolutely. (Alternatively a recursive=True flag of some sort...)"

Both ideas sound good to me.

@martenson
Copy link
Member

Soooo it seems this is already possible since 15.03
c14342b2
The new UI also implements this.

@nsoranzo
Copy link
Member

Also available in BioBlend since December 2014.

@martenson
Copy link
Member

ping @Public-Health-Bioinformatics in case you do not follow all notifications

@Public-Health-Bioinformatics

Assuming we're talking about the recursive deletion of a library folder here. Ok, thanks. I won't be able to check it out soon, but eventually a recoding will be in order.

Regards,

Damion

From: Martin Cech <notifications@github.commailto:notifications@github.com>
Reply-To: galaxyproject/galaxy <reply@reply.github.commailto:reply@reply.github.com>
Date: Monday, November 23, 2015 at 12:52 PM
To: galaxyproject/galaxy <galaxy@noreply.github.commailto:galaxy@noreply.github.com>
Cc: Damian Dooley <damion.dooley@bccdc.camailto:damion.dooley@bccdc.ca>
Subject: Re: [galaxy] Need API call to delete data library folders (#519)

Soooo it seems this is already possible since 15.03
c14342bhttps://github.com/galaxyproject/galaxy/commit/c14342b2


Reply to this email directly or view it on GitHubhttps://github.com//issues/519#issuecomment-159044307.

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

No branches or pull requests

3 participants