-
Notifications
You must be signed in to change notification settings - Fork 438
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
Workflow for multiple devs working in one project #921
Comments
Use GitHub or another repo. Everyone works out of the repo and some kind of action/automation on the repo will push to GAS. |
I don't think you understand the question. Of course we use github for version control. As mentioned above, we use typescript compiler for clasp so that we don't need to deal with google apps script. When we run So if we are multiple devs working at the same time, obviously we cannot use |
That's why I am saying to use GitHub/GitLab or some other source code repo in the middle. Everyone pushes/pulls from the repo. One person pulls from the repo and pushes with clasp. |
GAS should be treated only as a deployment target. If individual developers need to test code they can configure their own GAS project file and push to that. If the GAS project is linked to a GCP project, all "copies" can be linked to the same GCP project if needed. |
Hello Everyone, I have the same issue, unfortunate you can have different devs for a same project, but each push request does overwrite in all files in apps script. It would be better we have the possibility to do pull request for separate, I mean for spared files without overwrite all project in app script. |
These are limitations with Google Apps Script, not |
We have a multi-developer application and here's how we handle this.
|
Adding to comment of schulzj01
The only downside we see in this is copy pasting files/code from dev folder to test folder but that is once in a week kind of activity so it's managable for us to use this approach. |
The scenario is that in my team, we want to have a good developer workflow for Apps scripts project. Then we decided to use clasp with Typescript on it.
When we run
clasp push
, the.ts
files get transformed in.gs
files in scripts.google.com.If there are multiple devs working on one project and do push simultaneously, I'm pretty sure the first push will be overwritten by the second push and we will lose the progress.
Can you recommend a good developer workflow in this type of scenario?
The text was updated successfully, but these errors were encountered: