Comments (6)
Fix is working, I was able to install all 3 outputs of the release script and start kivar. It reports version 0.2.0-dev32. Tested with latest main (18442f3) on win11 and kicad 8.0.2
from kivar.
There is a simple release
shell script that takes care of generating
- a KiVar CLI app Python package,
- a KiVar Action Plugin PCM package,
- a "classic" Action Plugin ZIP archive.
For Ubuntu (actually, any Linux distro in general, or WSL):
Download the repo (clone or get a ZIP archive), go to the source
folder, run ./release.sh 0.1.9001
(0.1.9001 being some "close to 0.2.0" version number ... we can only use major.minor.micro scheme).
If it succeeded, you'll find three files in the ../release/0.1.9001
folder:
-
The package with
pcm
in its name is an Action Plugin PCM package, that can be installed with the "Install from file..." option in the KiCad PCM. -
The
.tar.gz
file is a Python package containing thekivar
CLI app, to be installed withpip install <package_file>
. -
The other
.zip
(withoutpcm
) is the "classic" archive containing the Action Plugin, to be extracted into your KiCad plugins directory.
If you fail to create/install the packages on your system (the release script is quite simple and does not yet contain proper error handling), just give me a ping. I already thought about creating a pre-release here on GitHub, so that everyone can give it a try, even before I found the time to complete the documentation.
from kivar.
I tested the results of the release.sh
script with following results:
- classic action plugin zip archive: does not work - after copying content of the zip into the plugins directory and refreshing the plugins, the KiVar does not show among other external plugins installed in kicad. I guess there is some problem with file naming, but I have not been able to solve it myself. Please take it as note, that actual state of the source does not match the actual state of the documentation. According the other opened issues I understood, you are working on it already :-)
- PCM package: working correctly (open PCM, use install from file ...)
- python package: working. I was able to install it in Kicad command prompt (I am running Kicad on windoew 11) by command
python -m pip install ./kivar-0.999.tar.gz
and then rin it just by typingkivar
from kivar.
Thanks for reporting. I would classify PCM and pip the "critical" parts. Good to hear that they are working for you, even on a different platform than I use (native Ubuntu 22.04).
I'll have a look at the ZIP file when I find the time.
from kivar.
Oh, and there actually is a small plugin debugging aid in KiCad:
In the pcbnew preferences dialog, in the Action Plugin section, check if there is a warning icon next to the sorting and file browser icons below the plugin list. If so, click on it to see what prevented the plugin(s) from loading (stack trace).
from kivar.
The classic ZIP should be fixed now. Please test the PCM and Plugin ZIP again (they share code).
Ref: 2cc1a68
from kivar.
Related Issues (20)
- Add deep rule ambiguity check
- Allthough identical rules are formulated, one Component does not react as the others HOT 3
- footprint visibility when populating/unpopulating HOT 5
- Enable/disable solder paste per footprint HOT 2
- KiVar 0.1.2: No rule definitions found - kivar-demo HOT 1
- New plugin icon
- kivar-cli: Script does not read KiVar.Rule HOT 4
- Add rules migration hint to plugin
- Add a release series maintenance branch for v0.2.x HOT 1
- Create own PCM repo for pre-releases HOT 1
- link to migrate does not work + migrate part of the docs not present HOT 1
- Can I have multiple attribute change by a selected variant? HOT 4
- KiVar warn about legacy rules only if there are no rules in new format HOT 4
- Add colored output support for CLI application
- Add output file option to avoid overwriting original board HOT 1
- Update documentation for 0.3.0
- Allow creating new choice definitions with aux rules, too HOT 1
- RFC: Introduce reserved "?" Choice name, which only applies to undefined Choices HOT 1
- Action Plugin doesn't work on macOS (13.6.9) HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kivar.