dbaghdanov
12/08/2021, 5:50 PMsuitecloud project:deploy --dryrun
and it reported it was going to upload a file I wasn't expecting... so I imported it, and ran suitecloud project:deploy --dryrun
again. And again it reports it's going to upload that file again.
How does suitecloud project:deploy
determine which files will be uploaded? Does it compute/compare a hash?
Slack ConversationAli Syed (NS DevTools QA)
12/08/2021, 6:26 PMfile
it will check if it exists in File cabinet or not. If it's existing it will simply update, if its not in file cabinet then it will upload.dbaghdanov
12/08/2021, 6:33 PM<deploy>
<files>
<path>~/FileCabinet/SuiteScripts/MyCompany/*</path>
which includes hundreds of scripts.
running suitecloud project:deploy --dryrun
reports ~20 scripts to be uploaded. I assumed those were scripts that had changes?
git diff
is reporting some of the scripts are the same between NetSuite FileCabinet and local.Ali Syed (NS DevTools QA)
12/08/2021, 6:36 PMupdate
and if they are new then they will be logged as upload
dbaghdanov
12/08/2021, 6:51 PMupdate
as an option before, I've only ever seen upload
. Just updated to "@oracle/suitecloud-cli": "^1.3.1"
dbaghdanov
12/08/2021, 6:56 PMsuitecloud project:deploy
deploy those changes, (even though they were the same), and when I ran suitecloud project:deploy --dryrun
again, it did not report any differences. (So I'm not sure how SDF determines if a file is different. Using UTF8 with CRLF endings, not sure what else to check.)
To test if it would update
, I changed the file locally, ran suitecloud project:deploy --dryrun
and again it reported it as an upload
stalbert
12/08/2021, 7:00 PMupdate
listed by the cli either.stalbert
12/08/2021, 7:00 PMAli Syed (NS DevTools QA)
12/08/2021, 7:02 PMdbaghdanov
12/08/2021, 7:03 PMAli Syed (NS DevTools QA)
12/08/2021, 7:03 PMstalbert
12/08/2021, 7:03 PMstalbert
12/08/2021, 7:03 PMAli Syed (NS DevTools QA)
12/08/2021, 7:04 PMstalbert
12/08/2021, 7:05 PMstalbert
12/08/2021, 7:06 PMdbaghdanov
12/08/2021, 7:06 PM