Git Product home page Git Product logo

Comments (6)

SchrodingersGat avatar SchrodingersGat commented on August 9, 2024

I had an idea for detecting which symbols have changed. If we create some sort of checksum algorithm for each symbol, we can parse the master copy, and generate a name:checksum pair for each symbol.

Then run the same check on the current branch and the changed symbols are the ones with a checksum mismatch.

What do you think?

from kicad-library-utils.

SchrodingersGat avatar SchrodingersGat commented on August 9, 2024

Jon, I have implemented component-level checksum and added a python script for running KLC on any components that have been added / updated into a .lib file.

Now we only need to look at which .lib files have been touched, and pass the old/new versions to the script.

#48

from kicad-library-utils.

reportingsjr avatar reportingsjr commented on August 9, 2024

Well that was fast!

It looks like a pretty reasonable way to do this really. It looks like it needs a bit of adjusting before it will be fully suitable for jenkins, but that is just small tweaks about printing output.

I might pull that in to my own branch before I would suggest merging it in to this repo so I can get everything tidied up. I either need someone with admin access to respond to me, or I need to wait a few more days until I can put my server back online.

I'll keep you posted.

from kicad-library-utils.

SchrodingersGat avatar SchrodingersGat commented on August 9, 2024

One addition that is needed to the script is to give proper return codes based on the KLC checks - currently the script doesn't return anything

from kicad-library-utils.

CarlPoirier avatar CarlPoirier commented on August 9, 2024

#48 is merged 👍

from kicad-library-utils.

reportingsjr avatar reportingsjr commented on August 9, 2024

This is in a much better state now so I'll go ahead and close it. Thanks you two! Fantastic work!

from kicad-library-utils.

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.