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

🚀 Feature: Add Sync with Meilisearch for Swift #197

Closed
6 tasks
gewenyu99 opened this issue Oct 1, 2023 · 16 comments
Closed
6 tasks

🚀 Feature: Add Sync with Meilisearch for Swift #197

gewenyu99 opened this issue Oct 1, 2023 · 16 comments
Assignees
Labels
hacktoberfest Issues for Hacktoberfest 2023

Comments

@gewenyu99
Copy link

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.

Your task is to implement the Sync with Meilisearch function in Swift. You can look at the existing Appwrite Functions Templates in another coding language.

Your function should behave and be implemented similarly to existing Sync with Meilisearch Node.js template.

Tasks summary:

  • Fork & clone Appwrite's templates repository
  • Create a branch feat-implement-sync-with-meilisearch-swift
  • Write code for the function in folder swift/sync-with-meilisearch/.
  • Test the function using Appwrite, provide a video.
  • Write a README.md explaining what the function does, how to use it, and customize it. Here is an example.
  • Submit a pull request to our templates repository

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 Appwriting!

@gewenyu99 gewenyu99 added the hacktoberfest Issues for Hacktoberfest 2023 label Oct 1, 2023
@Bijit-Mondal
Copy link

Assign this to me please

@gewenyu99
Copy link
Author

@Bijit-Mondal It's yours!

Remember to come back every 2-3 days with an update, lmk if you need any help.

Happy hacking!

@Bijit-Mondal
Copy link

Bijit-Mondal commented Oct 4, 2023

unable to deploy the simple starter function in swift on appwrite.
getting error

[817/918] Compiling NIOPosix BSDSocketAPICommon.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[819/920] Compiling NIO Exports.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[821/923] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[823/925] Compiling NIOSOCKS SOCKSClientHandler.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[825/927] Compiling NIOHTTP1 ByteCollectionUtils.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[827/929] Compiling NIOSSL ByteBufferBIO.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[829/931] Compiling NIOWebSocket Base64.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization

@Haimantika
Copy link

unable to deploy the simple starter function in swift on appwrite. getting error

[817/918] Compiling NIOPosix BSDSocketAPICommon.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[819/920] Compiling NIO Exports.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[821/923] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[823/925] Compiling NIOSOCKS SOCKSClientHandler.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[825/927] Compiling NIOHTTP1 ByteCollectionUtils.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[827/929] Compiling NIOSSL ByteBufferBIO.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[829/931] Compiling NIOWebSocket Base64.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization

Hi, did you ask about this in our Discord server?

@Bijit-Mondal
Copy link

Yes, but no one responded

@gewenyu99
Copy link
Author

@Bijit-Mondal

unable to deploy the simple starter function in swift on appwrite. getting error

[817/918] Compiling NIOPosix BSDSocketAPICommon.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[819/920] Compiling NIO Exports.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[821/923] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[823/925] Compiling NIOSOCKS SOCKSClientHandler.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[825/927] Compiling NIOHTTP1 ByteCollectionUtils.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[827/929] Compiling NIOSSL ByteBufferBIO.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[829/931] Compiling NIOWebSocket Base64.swift
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization

But these are't errors, looks like your build just timed out.

@Bijit-Mondal
Copy link

It is happening everytime I am going to build, anyway to resolve

@Bijit-Mondal
Copy link

@Haimantika help me out , I am stuck.

@Bijit-Mondal
Copy link

Bijit-Mondal commented Oct 10, 2023

_APP_FUNCTIONS_TIMEOUT=6000
_APP_FUNCTIONS_BUILD_TIMEOUT=6000

I have increased the function build timeout, but still the build is failed

After this line in logs build is failing
[793/918] Compiling p_hkdf.c

any ways to resolve it?

@Haimantika
Copy link

_APP_FUNCTIONS_TIMEOUT=6000
_APP_FUNCTIONS_BUILD_TIMEOUT=6000

I have increased the function build timeout, but still the build is failed

After this line in logs build is failing [793/918] Compiling p_hkdf.c

any ways to resolve it?

Hi, please ask your queries on our support channel in Discord

@gewenyu99
Copy link
Author

@Bijit-Mondal Can I see your code with instructions to reproduce?

@Bijit-Mondal
Copy link

I was trying to run the starter template only

@gewenyu99
Copy link
Author

I was trying to run the starter template only

From CLI or template?

@gewenyu99
Copy link
Author

_APP_FUNCTIONS_TIMEOUT=6000
_APP_FUNCTIONS_BUILD_TIMEOUT=6000

I have increased the function build timeout, but still the build is failed

After this line in logs build is failing [793/918] Compiling p_hkdf.c

any ways to resolve it?

This might not be long enough actually. Can you try a longer time?

@Bijit-Mondal
Copy link

From Template,

yeah I have also increased the time still having issue

@tessamero
Copy link

Closing issue due to inactivity and hacktoberfest being over, thank you for taking the time to be part of hacktoberfest this year :)

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

No branches or pull requests

4 participants