stakwork / stak-bounties

0 stars 2 forks source link

Unzip a file from s3 and save contents into a new folder, returning a list of file urls #9

Closed Edvardoh closed 9 months ago

Edvardoh commented 9 months ago

We need a Lambda function which takes a .zip file that has already been uploaded to an s3 bucket, unzips the file, and saves the contents into a new subfolder in the bucket.

The subfolder should share the name of the original zip, and the contained files in the zip should preserve their paths/filenames relative to the original zip. With the exception of any strange characters such as ~ ñ é, to create a friendly URL.

When finished, the function should return a list of urls for all the files that were saved successfully, and a list of filenames that were not saved successfully (if any)

Sample input .zip: test_batch1.zip

Deliverables

Acceptance Criteria

aliraza556 commented 9 months ago

@Edvardoh, Could you assign this to me? I have worked on almost related issues.

aliraza556 commented 9 months ago

@Edvardoh, Thanks Man!

Edvardoh commented 9 months ago

@aliraza556 thanks for the fast response! Assigned to you, please link the PR when ready. Do you have a Sphinx pubkey so I can assign the bounty to you as well? https://community.sphinx.chat/bounty/1384

aliraza556 commented 9 months ago

Yes, My Name Ali Raza in Sphinx 03b255bc52ad917a9eb5b19c9cb58211458f2129d1c4aca1c7fc29cc5cf74e8b7e:03a6ea2d9ead2120b12bd66292bb4a302c756983dc45dcb2b364b461c66fd53bcb:1099521589249

aliraza556 commented 9 months ago

Hi @Edvardoh, Please see the demo. If everything is fine, I will make a PR once I have created a dockerized file.

aliraza556 commented 9 months ago

Hi @Edvardoh, Please review the PR #10.

aliraza556 commented 9 months ago

Hi @Edvardoh Are you available? Could you please review my PR?

Edvardoh commented 9 months ago

Hi @aliraza556 I just watched the demo - and looks great, thanks for sharing the video!

@VoxStellarum will review your PR and once confirmed we'll get you paid.

Thx!

aliraza556 commented 9 months ago

Hi @Edvardoh, Please mark the bounty as paid when you are free. Marking the bounty as paid is essential for me to be eligible for the next bounty assignment. Thank you!

Edvardoh commented 9 months ago

Thank you @aliraza556 Gonza confirmed this is working well, I'll pay out the bounty and close this out :)

Edvardoh commented 9 months ago

@aliraza556 paid