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: function version control #4442

Closed
2 tasks done
alexander-potemkin opened this issue Oct 13, 2022 · 11 comments
Closed
2 tasks done

🚀 Feature: function version control #4442

alexander-potemkin opened this issue Oct 13, 2022 · 11 comments

Comments

@alexander-potemkin
Copy link

🔖 Feature description

Ability to version control functions code (like git does)

🎤 Pitch

Guess the use case is obvious, as I post it on GitHub issues, guess it might be even on the roadmap?

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@stnguyen90
Copy link
Contributor

@alexander-potemkin, thanks for raising this issue! 🙏 Could you expand more on this request? I typically use the Appwrite CLI and version control the appwrite.json and the functions I create with git. What else did you have in mind?

@alexander-potemkin
Copy link
Author

Hi @stnguyen90 and thanks for the prompt response!
My understanding was that I can edit functions via the web GUI, isn't it right?

@stnguyen90
Copy link
Contributor

@alexander-potemkin, you can upload additional code and edit function settings. You can't modify lines of code, if that's what you're asking.

@alexander-potemkin
Copy link
Author

Right, thank you, @stnguyen90 .
Is there any plans to create a web based environment to create, edit and maintain those functions?

@stnguyen90
Copy link
Contributor

@alexander-potemkin, probably not. Definitely not anytime soon.

@alexander-potemkin
Copy link
Author

I see, thank you, @stnguyen90. I was somehow under impression, that AppWrite is more of a low-code instrument, that tends to minimize command line things - could you please, help me to better understand it's goal and target audience, please?

@stnguyen90
Copy link
Contributor

@alexander-potemkin, Appwrite isn't really a low-code tool. It's a back-end server that simplifies things for app developers so they can focus on building their app rather than their app AND a backend. Does that answer your question? If so, can this be closed?

@alexander-potemkin
Copy link
Author

@stnguyen90 , it does, partially, thank you.

I see that AppWrite could be used in pair with no-/low-code tools, but for this it's missing an ability to easily create and edit functions from the web.

Do you have some ideas how it could be done - the most easy and quick to implement way possibly?

@stnguyen90
Copy link
Contributor

@alexander-potemkin, I'm not sure if there's a quick and easy way to do this in a browser. Some hurdles would be:

  • How to manage files?
  • How to create a gzip file with the code?

Eventually, you'd need to create a gzip file with the code and call the Create Deployment API.

@alexander-potemkin
Copy link
Author

Thank you!

Something like a working folder with the files; once 'commit' button clicked, folder gzip-ed and send via the API ?

Output is displayed somewhere for example, at the bottom?

@eldadfux
Copy link
Member

@alexander-potemkin next version of Appwrite 1.4 will allow you to connect Appwrite with your git and automatically deploy your code on commit/merge. Closing this issue for now.

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

No branches or pull requests

3 participants