aboutsummaryrefslogtreecommitdiff
path: root/src/ee/tools/templates
Commit message (Collapse)AuthorAgeFilesLines
* build.ninja.j2: Use $ee instead of literal ee to make sure the same eeTrygve Laugstøl2019-08-191-1/+1
| | | | instance is used.
* create-bom: Add support for passing arguments to tool. ImplementTrygve Laugstøl2019-08-151-4/+8
| | | | | | fail_on_missing_parts in the CLI. ee: Add StopToolException, makes for a more graceful exit(1) if a tool wants to stop immediately.
* o No need for build.ninja and ee.ninja to depend on $orders_dir.Trygve Laugstøl2019-08-151-1/+1
|
* datasheet: wipTrygve Laugstøl2019-08-151-1/+10
|
* ninja: Working detection of custom supplier Datalog files.Trygve Laugstøl2019-08-121-3/+1
|
* build.ninja.j2: fact.csv has been renamed to add_fact.csv.Trygve Laugstøl2019-08-121-4/+4
|
* build.ninja.j2: More template variables.Trygve Laugstøl2019-08-121-4/+5
|
* odoo: wipTrygve Laugstøl2019-08-021-0/+9
|
* bom-to-csv: Starting on a generic tool to generate CSV files from BOMs.Trygve Laugstøl2019-06-141-3/+6
|
* split-parts-by-supplier: rename to split-bom-by-supplier.Trygve Laugstøl2019-06-141-9/+15
| | | | digikey-create-bom: Implementing CSV generation for Digi-Key.
* ninja:Trygve Laugstøl2019-06-141-46/+44
| | | | | | | | | | o Reading list of suppliers from Project. The project still has a hard-coded list, but at least now there is only one list. o Using Project.public_dir instead of "ee". Also in generated ninja files. o Removing part_dbs list from internal code, only use suppliers. If the user want to have it's own internal list of parts that should become a supplier.
* o Working Gerber export.Trygve Laugstøl2019-06-131-9/+11
|
* kicad.dl: Better organization of rules for classifying resistors,Trygve Laugstøl2019-06-121-1/+5
| | | | | | | | capacitors, inductors, net ties, test points and mounting holes. This new (and consistent) style provides extension points for projects to use for their own rules. build.ninja.j2: Adding --no-warn to souffle rule, souffle complains when the relations are empty.
* part-validate-parts: Better output, yielding a message even ifTrygve Laugstøl2019-05-281-1/+1
| | | | | | everything is ok. ninja: Include the digikey.dl as a dependency even if custom is used. digikey.dl: More rules.
* create-bom: Don't skip unmatched parts from the BOM.Trygve Laugstøl2019-05-281-2/+9
| | | | | | part-validate-parts: Read parts from the schematic, BOM and supplier's parts for even better rules. Enhancing footprint rule to check that the BOM part has the same footprint.
* o Setting tool output to warn by default when running through ninja.Trygve Laugstøl2019-05-271-24/+19
|
* souffle:Trygve Laugstøl2019-05-271-2/+5
| | | | | | | | o Allowing to set MPNs when importing facts. o ninja: Allowing the user to have its own datalog files under ee/custom/kicad-souffle.dl and ee/custom/$supplier-souffle.dl. make_bom: Generate per-field URIs for custom URIs. Better than making values that contain custom field name + value.
* Adding Soufflé based reasoning on parts. Replacing default configurationTrygve Laugstøl2019-05-271-2/+36
| | | | with applying python function with this new reasoner.
* part-find-requirements: wipTrygve Laugstøl2019-05-261-3/+5
|
* ee.project: Making sure all projects have an UUID.Trygve Laugstøl2019-05-241-1/+2
| | | | | kicad-make-bom: Using the project's UUID to generate an URL for all parts.
* ninja/init: Let init specify defaults, ninja just drops arguments if notTrygve Laugstøl2019-05-211-12/+7
| | | | specified.
* ninja: Making a phony goal 'ee-reports' that depends on all reports.Trygve Laugstøl2019-05-211-3/+1
| | | | Making the generated build.ninja mark 'ee-reports' as a default goal.
* o Marking all reports as a part of the default build.Trygve Laugstøl2019-05-211-5/+14
|
* o Replacing digikey-normalize-facts with part-apply-function. MovingTrygve Laugstøl2019-05-201-13/+14
| | | | code from tool to ee.digikey.functions.
* common_fact_types: Adding key for footprint.Trygve Laugstøl2019-05-201-1/+11
| | | | | | | | | | functions: o Changing the structure of the functions, they're now factories that will be given kwargs and must return a function that processes the parts. o Adding new function to default set; 'map_footprint' that maps the KiCAD footprints to common footprints. part_validate_parts: Using only common keys.
* ee:Trygve Laugstøl2019-05-201-4/+17
| | | | | | | | | o Adding FactType as a smaller wrapper around the fact uri. o Adding ee.part.Facts, used as Part.facts o Renaming 'type' uri to 'ee-component-type'. kicad-make-bom: Removing strategy functionality, replaced with part-apply-function. Moving default strategy contents into ee.kicad.functions.
* digikey-search-parts: Logging output to file.Trygve Laugstøl2019-05-141-1/+1
|
* build.ninja: Renaming search-list.xml to pn-part-search-list.xml.Trygve Laugstøl2019-05-111-2/+2
|
* drawio-to-parts: new tool.Trygve Laugstøl2019-05-111-0/+9
| | | | | | ee.xsd: new type: Assembly and AssemblyPart. Should probably be its own file type. ee.part: Better DSL instead of using the raw xml types.
* digikey:Trygve Laugstøl2019-04-141-4/+4
| | | | | | o More flexibility, making room for the multiple digikey stores. o Removing URLs from core code. new tools: split_parts_by_supplier.
* o Renaming part-create-distributor-search-list to pn-part-search-list.Trygve Laugstøl2019-04-131-11/+20
| | | | | Making the search more narrow, it is only responsible to find parts based on MPN or SPN.
* o Renaming create-order to create-bom.Trygve Laugstøl2019-04-021-10/+10
|
* demo: Updating.Trygve Laugstøl2019-04-011-3/+3
|
* create-distributor-search-list: Ignore mechanical parts.Trygve Laugstøl2019-03-281-3/+8
| | | | | | create-order: Adding an option for a strategy to ignore/modify parts. ninja/init: Moving strategy from ninja to init so they're more persistent.
* seeed-download-oplTrygve Laugstøl2019-03-281-0/+15
| | | | | | | o Change to download one OPL at the time. Enables Ninja to run the downloads concurrently. init/ninja: o Learning about seeed-download-opl.
* New command: init. Looks for kicad schematic and pcb files, createsTrygve Laugstøl2019-03-251-0/+6
| | | | | | | | .ee/config. ninja tool: o Use project's config to check for sch and pcb files. o Use some more conditionals in build.ninja.j2. unlockoslo: Adding demo project.
* ninja tool: changing to generate the files in the current directory.Trygve Laugstøl2019-03-251-3/+2
| | | | | build.ninja.j2: nits. olinuxino: Improving parsing of part values.
* order.rst.j2: Prettier internal links.Trygve Laugstøl2019-03-231-1/+2
| | | | ninja: Name the generated .rst file for orders too.
* o Switching PartDb to serialize into many xml files into a singleTrygve Laugstøl2019-03-151-29/+21
| | | | <part-db> document.
* o Adding module for searching on element14.Trygve Laugstøl2019-03-151-9/+42
| | | | | | | o Starting on functionality create orders. Very WIP. o Adding a concept of an "ee project". Can load a gitconfig-like config file. o Adding a tool to import a yaml file into a part xml file.
* o PartDB: don't die if the directory exist *and* is empty. Ninja createsTrygve Laugstøl2019-03-041-0/+53
empty parent directories. o PartDB: escape some path names. o new comamnd: "ninja". Generates a build.ninja from a sch. Not done!