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

🗄️ Extend Appwrite Storage with Aruba Cloud Adapter #3985

Closed
6 tasks
christyjacob4 opened this issue Sep 29, 2022 · 18 comments
Closed
6 tasks

🗄️ Extend Appwrite Storage with Aruba Cloud Adapter #3985

christyjacob4 opened this issue Sep 29, 2022 · 18 comments
Assignees
Labels
good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! product / storage Fixes and upgrades for the Appwrite Storage.

Comments

@christyjacob4
Copy link
Member

💭 Introduction

Appwrite Storage lets you upload images, videos, or any kind of file and store it for later. This comes with support for encryption, compression, chunk upload, resumable upload, and much more! 💪 To learn more, check out our official Appwrite Storage docs.

Every file uploaded to Appwrite Storage needs to be stored somewhere, whether that is your server’s hard drive or cloud provider. To make this possible, Appwrite uses storage adapters that each implement simple methods such as read(), move(), delete(), etc...

Your task is to implement support for Aruba Cloud in Appwrite and the Utopia PHP storage library. We have prepared detailed documentation on how to create Utopia PHP storage adapter, and how to use Utopia PHP adapter in Appwrite. Please read these documents and ensure you understand it before working on this issue.

🎯 Requirements

  • Experience with Appwrite.
  • Experience with PHP.
  • Experience with Aruba Cloud.
  • Experience with Docker and Docker Compose.

✅ Task Summary

  • Ask to be assigned to the issue.
  • Wait to be assigned.
  • Implement Utopia PHP storage adapter for Aruba Cloud.
  • Submit a pull request in utopia-php/storage.
  • Implement Appwrite support for Aruba Cloud.
  • Submit a pull request in appwrite/appwrite.

If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.

Happy Appwriting!

@christyjacob4 christyjacob4 added feature good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! product / storage Fixes and upgrades for the Appwrite Storage. labels Sep 29, 2022
@gagandeepp
Copy link

@christyjacob4 Interested,please assign

@tessamero
Copy link

@gagandeepp , thanks for your interest! You may work on this issue 🙏 Happy hacking! 🎃

@gagandeepp
Copy link

@tessamero Please unassign me I dont have PHP background

@gagandeepp gagandeepp removed their assignment Oct 19, 2022
@stnguyen90 stnguyen90 removed the hacktoberfest Issues that can win you some cool swags! label Nov 7, 2022
@eldadfux
Copy link
Member

Thank you everyone for celebrating Hacktoberfest 22 with us! This issue will now be closed as we're getting ready to celebrate Hacktoberfest 23.

@christyjacob4
Copy link
Member Author

We are accepting submissions for this issue once again for Hacktoberfest 2023

@christyjacob4 christyjacob4 reopened this Oct 1, 2023
@christyjacob4 christyjacob4 added the hacktoberfest Issues that can win you some cool swags! label Oct 1, 2023
@bannu0snake
Copy link

Hi @christyjacob4 , can you assign this issue to me?

@Haimantika
Copy link
Contributor

Hi @christyjacob4 , can you assign this issue to me?

Hi @bannu0snake have assigned the issue to you! Thank you for showing interest in contributing to Appwrite! Happy Hacktoberfest 🎃

Notes:

Please update us with your progress every 3 days, so that we know that you are working on it.
Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

@bannu0snake
Copy link

bannu0snake commented Oct 5, 2023

hi @Haimantika , I am updating my status here:

  • created a local branch of the storage adapter code after reading all the docs and understanding problem statement.
  • created new class for Aruba cloud and wrote boiler plate code for all the methods which are needed to be implemented in the class and implemented logic for few methods which return static data (GitHub link).
  • exploring the Aruba cloud and its storage APIs and APIs docs url seems broken for it. https://www.arubacloud.com/object-storage/interface-api.aspx.
  • I am also trying if I am able to find docs after creating Aruba Cloud account which I will be doing next.

@bannu0snake
Copy link

hi @Haimantika , in implementation guide it is mentioned that we need to extend the basic Device abstract class to create a new adaptor class. but I think we can also achieve that by extending s3 adaptor and also I have seen DOS adaptor is implemented extending S3 adaptor. can I follow similar approach ?

@christyjacob4
Copy link
Member Author

@bannu0snake Yes, please extend the S3 class and override the functions that need changes.

@bannu0snake
Copy link

@christyjacob4 can you please suggest or give me any reference to test my code locally? ( I am not mentioning about how to run unit test cases , rather local testing of my code )

@christyjacob4
Copy link
Member Author

@bannu0snake the easiest way is actually is to write a single new test case for the scenario you want to test and run that function alone. For example, you can follow the instructions here
https://github.com/utopia-php/storage/blob/main/docs/adding-new-storage-adapter.md#3-test-your-adapter

and setup a new file for your adapter's tests.

Within that test file you would create a new function called testSomething and write your code in there.

Then you can run your test alone with vendor/bin/phpunit /tests/Storage/Device/YourFile.php

@Haimantika
Copy link
Contributor

Hi @bannu0snake do you have any update?

@bannu0snake
Copy link

Hi @Haimantika . Sorry for the delay in update . I am facing issue with local setup for running Tests. I will re install the setup again and Test the code . Other than that development part and test cases are already completed

@Haimantika
Copy link
Contributor

Hi @Haimantika . Sorry for the delay in update . I am facing issue with local setup for running Tests. I will re install the setup again and Test the code . Other than that development part and test cases are already completed

Maybe you can raise a PR and work on the tests with help from the community

@bannu0snake
Copy link

okay @Haimantika , I will do that

@jaysomani
Copy link

Hey @stnguyen90 can i work on this issue ?

@adityaoberai
Copy link
Member

Closing this issue. Thank you so much for participating in Hacktoberfest 2023! We can't wait to welcome you all during HF 2024! Stay tuned for a lot more amazing issues from the Appwrite team!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! product / storage Fixes and upgrades for the Appwrite Storage.
Projects
None yet
Development

No branches or pull requests

9 participants