-
Notifications
You must be signed in to change notification settings - Fork 106
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
🚀 Feature: Add storage cleaner templates #227
Comments
Can I work on this one? |
Hi @mbos2 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. |
Regarding this, is this the only way of execution that should be available or can I also add execution by RESTful URL that function provides? By sending time in a request that can be same or different than what is defined in RETENTION_PERIOD_DAYS environment variable. |
@mbos2 let's just stick to what's mentioned in the issue description only. |
hi @Haimantika , @stnguyen90 I want to work on this if @mbos2 drops. |
It is half way done, but still need to finish it up. Then test properly. Stress test. It will take couple of days @Gilbishkosma |
Hi. Due to business trip I won't make this one, unfortunatelly. Can you please reassign the issue to somebody else? Thanks. |
@Haimantika can i take up the issue ? |
Hi, are you still interested to work on it? |
@Haimantika yes, I would love to work on this. |
Hi would love to work on the issue |
Assigned. Please update us with your progress every 3 days, so that we know that you are still working on it. |
Sure, thanks for assigning this to me . |
Hi @Kunal-Ladhani @Tushar98644 we are assigning issues on a first-come, first-serve basis. The issues will go to you, only if the assigned user decides to drop |
Hi @Haimantika pleaseassign the issue to me |
@Haimantika I have raised a PR for this issue #242 |
@Haimantika the PR #242 related to this issue is merged, we can close the issue. |
Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code. 🤩 You can learn more at our official Appwrite Functions docs.
What you’re building
Your task is to implement the storage cleaner template in Node.js.
Storage cleaner integrates with Appwrite Storage and removes all files from the buckets older than X number of days, as configured by the
RETENTION_PERIOD_DAYS
environment variable. The Storage cleaner should be scheduled using CRON, defaulting to running at 1:00 AM daily.This could be used in services like PDF converters and caption generators, where file retention is periodic with high number of uploads.
Your function’s implementation should be similar to other Node.js function templates in code format and style. Make sure to follow our contributing guide.
Tasks summary:
feat-implement-storage-cleaner-node
node/storage-cleaner/
.README.md
explaining what the function does, how to use it, and customize it. Here is an example.If you need any help, contact us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊
Happy coding!
The text was updated successfully, but these errors were encountered: