Git Product home page Git Product logo

Comments (3)

Cediddi avatar Cediddi commented on September 28, 2024

if we can hash files on both sides, we can overwrite if needed. Bu we need an efficient hashing method for this. Builtin hash function might be good enough but we need to implement the same hash function on ampy to check both files correctly. We might use sha1 too, but sha1 takes our precious ram space and cpu power.

I wonder what adafruit thinks about this approach. I can send a PR.

from ampy.

tdicola avatar tdicola commented on September 28, 2024

Hrm I can't repro this, could you provide an example of the parameters that are sent to ampy? Looking at the code too it will just overwrite everything. Be aware it won't delete any files on the remote board that were removed from the local folder on your computer--it's not a sync and instead more of a push of the current files over to the board. For a proper sync you want to delete on the remote board then put the folder/files.

from ampy.

Cediddi avatar Cediddi commented on September 28, 2024

By the way, I opened a PR on this issue but about my comment. Should I open a new issue for
#17 (comment)

from ampy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.