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

Unable to stop pushing manifest file appscript.json = forced to redeploy scipt after each change-push files #994

Open
NWPoul opened this issue Dec 27, 2023 · 3 comments

Comments

@NWPoul
Copy link

NWPoul commented Dec 27, 2023

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)
Annoying issue which leads to be required to redeploy script via deployment panel (web UI) after each change/push local files

if appscript.json file is not included in clasp.ignore - clasp push gives warning "manifest file changed" (while it's not!) and asks to owervrite it (if deny - stops pushing)

if appscript.json file IS included in clasp.ignore - clasp push gives error
"'Project contents must include a manifest file named appsscript.'"

Expected Behavior

Being able to push changes without needed to redeploy script via web UI

Actual Behavior

Need to redeploy script via web UI after each change / push local files

Steps to Reproduce the Problem

Specifications

  • Node version 18.16.1:
  • Version 2.4.2:
  • OS Windows:
@NWPoul NWPoul changed the title Unable to stop pushing manifest file appscript.json = forced redeploing after change Unable to stop pushing manifest file appscript.json = forced to redeploy scipt after each change-push files Dec 27, 2023
@NWPoul
Copy link
Author

NWPoul commented Dec 27, 2023

After manually copy content of appscript.json file from site project to local project (they were different dispite constant pushing/overwriting according to clasp warning and logs)
problem with neded of redeploy is gone
the file still pushed acc to clasp push log but without warnings and redeploy required

@Nu11u5
Copy link
Contributor

Nu11u5 commented Dec 29, 2023

Are other people modifying the project between your pushes?

The AppsScript server API does not allow pushing individual files. An entire snapshot of the project must be uploaded. The appscript.json file is required to be part of the snapshot for AppsScript to work, so it is impossible for the method you are using to work.

@NWPoul
Copy link
Author

NWPoul commented Dec 31, 2023

Are other people modifying the project between your pushes?

The AppsScript server API does not allow...

Nope I am the only developer for theprojekt so far
..
Tthanks for clarifiction

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

2 participants