appwrite / templates

Templates for Appwrite Functions āš”ļøšŸŒ©ļø
https://appwrite.io
MIT License
103 stars 80 forks source link

šŸš€ Feature: Add Sync with Meilisearch for Swift #197

Closed gewenyu99 closed 8 months ago

gewenyu99 commented 9 months ago

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:

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!

Bijit-Mondal commented 9 months ago

Assign this to me please

gewenyu99 commented 9 months ago

@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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

Yes, but no one responded

gewenyu99 commented 9 months ago

@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 commented 9 months ago

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

Bijit-Mondal commented 8 months ago

@Haimantika help me out , I am stuck.

Bijit-Mondal commented 8 months ago
_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 commented 8 months ago
_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 commented 8 months ago

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

Bijit-Mondal commented 8 months ago

I was trying to run the starter template only

gewenyu99 commented 8 months ago

I was trying to run the starter template only

From CLI or template?

gewenyu99 commented 8 months ago
_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 commented 8 months ago

From Template,

yeah I have also increased the time still having issue

tessamero commented 8 months ago

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