cordova-plugin-code-push icon indicating copy to clipboard operation
cordova-plugin-code-push copied to clipboard

Incorrect Detection of File Differential

Open iceman3000 opened this issue 5 years ago • 0 comments

Description

Execute codepush release-cordova should create a package that only contains diffs on the previous version. This seems to work fine in a hello world cordova app, however once setup on my full project (which is the exact same versions of everything just different www folder content), I'm noting that the console is showing (updated file) next to files I know for certain are not updated, including app icon resource files and packing them into the release. I also used Git to track file changes to double check I wasn't crazy.

Reproduction

Unsure exactly how to reproduce, as I said, seems to work ok on the default cordova app. Just looking for advice or more clarity on the file differential checking / logic, to make sure my expectations are correct and to see if any one has advice on things I could try or consider?

Additional Information

When attempting to deploy twice, it is failing citing there have been no file changes, yet its packing about 6mb of files with (updated file) next to them printed into the console. If I change the www/index.html file only, I'm expecting that this is the only file to be packed into the new release, is this not the case?

  • cordova-plugin-code-push version: 1.12.0
  • List of installed plugins: code-push 3.0.1 "CodePushAcquisition" cordova-plugin-app-version 0.1.9 "AppVersion" cordova-plugin-code-push 1.12.0 "CodePush" cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-device 2.0.3 "Device" cordova-plugin-dialogs 2.0.2 "Notification" cordova-plugin-file 4.3.3 "File" cordova-plugin-file-transfer 1.6.3 "File Transfer" cordova-plugin-fingerprint-aio 3.0.0 "FingerprintAllInOne" cordova-plugin-inappbrowser 3.1.0 "InAppBrowser" cordova-plugin-iroot 0.8.1 "iRoot" cordova-plugin-is-debug 1.0.0 "IsDebug" cordova-plugin-network-information 2.0.2 "Network Information" cordova-plugin-secure-storage-echo 5.0.1 "SecureStorage" cordova-plugin-splashscreen 5.0.3 "Splashscreen" cordova-plugin-statusbar 2.4.3 "StatusBar" cordova-plugin-whitelist 1.3.4 "Whitelist"
  • Cordova version: 9.0.0 ([email protected])
  • iOS/Android/Windows version: Android 8.1.0
  • Does this reproduce on a debug build or release build? Debug
  • Does this reproduce on a simulator, or only on a physical device? Currently using Device

iceman3000 avatar Dec 16 '19 08:12 iceman3000