MSO4SC / MSOPortal

MSO4SC Web Portal
2 stars 4 forks source link

new feature: CKAN export add the possibility to export a list of files/directories #144

Closed Trophime closed 6 years ago

Trophime commented 6 years ago

It will be great to have the opportunity to publish a list of files to CKAN instead of a single file. Would it be possible to export directory (as zipped tarballs for instance)?

By the way it seems that there is a filesize limit for the upload into CKAN. Can you tell wich limit?

Trophime commented 6 years ago

@emepetres what is the actual status of this request? I don't understand if it won't be implemented or simply closed?

emepetres commented 6 years ago

@Trophime this is a request that had to be implemented in CKAN itself, so I understand is beyond the MSO4SC scope. That's way it is marked as "invalid".

Of course we could add a workaround by making a web page that would take a directory and upload it to ckan using its API. But I think the best way would be to ask CKAN developers to implement this feature.

Trophime commented 6 years ago

Thanks it's more clear. The only way to go is to create an archive within the -post command right? By the way is that command available only in the canary hpc-plugin?

emepetres commented 6 years ago

post its only available on canary, but it works only with SingularityJob type. Nevertheless the publish keyword receive a list of files to be published (see README.adoc), so you can specify all the files you want to publish there.