aboutsummaryrefslogtreecommitdiff
path: root/src/ee/tools
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-152-5/+12
| | | | | | fail_on_missing_parts in the CLI. ee: Add StopToolException, makes for a more graceful exit(1) if a tool wants to stop immediately.
* odoo: Don't generate any Ninja code unless actually enabled.Trygve Laugstøl2019-08-152-1/+8
|
* 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-152-1/+127
|
* souffle: Writing out SPN and MPN for each part.Trygve Laugstøl2019-08-122-25/+49
|
* ninja: Working detection of custom supplier Datalog files.Trygve Laugstøl2019-08-122-6/+13
|
* part-validate-parts: Fixing typo.Trygve Laugstøl2019-08-121-4/+3
|
* 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-025-0/+90
|
* ee init: Make sure the uuid is kept when reinitializing.Trygve Laugstøl2019-08-011-16/+14
|
* bom-to-csv: Starting on a generic tool to generate CSV files from BOMs.Trygve Laugstøl2019-06-143-8/+62
|
* split-parts-by-supplier: rename to split-bom-by-supplier.Trygve Laugstøl2019-06-145-81/+143
| | | | digikey-create-bom: Implementing CSV generation for Digi-Key.
* ninja:Trygve Laugstøl2019-06-142-57/+58
| | | | | | | | | | 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-134-30/+78
|
* 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.
* souffle: Using the same relation for inputs and outputs was not a goodTrygve Laugstøl2019-06-123-65/+3
| | | | | idea, change to use fact() for inputs and add_fact() for outputs. Leaves room for implementing remove_fact() later too.
* o Better detection of old/new python support for KiCAD.Trygve Laugstøl2019-06-051-13/+27
|
* part-validate-parts: Better messages, inform about selected part'sTrygve Laugstøl2019-05-281-12/+32
| | | | footprint even if the schematic part doesn't have one.
* part-validate-parts: Better output, yielding a message even ifTrygve Laugstøl2019-05-282-3/+5
| | | | | | 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-282-24/+86
| | | | | | 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.
* part-apply-souffle-port: Sorting the incoming CSV files beforeTrygve Laugstøl2019-05-281-2/+18
| | | | processing them. Keeps the diffs between runs to a minimum.
* digikey: Better search when getting multiple results back. Instead ofTrygve Laugstøl2019-05-281-5/+5
| | | | | | doing a new search with the selected digikey part number, do a direct lookup with the product's URL instead. This ensures that we always get a match and don't get confused when multiple part numbers are returned.
* o Setting tool output to warn by default when running through ninja.Trygve Laugstøl2019-05-271-24/+19
|
* all tools: Creating a shared group of argument options. Processing thisTrygve Laugstøl2019-05-2720-2/+99
| | | | | shared group too, changing the log level when logging options are specified.
* souffle:Trygve Laugstøl2019-05-273-3/+24
| | | | | | | | 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-276-2/+214
| | | | with applying python function with this new reasoner.
* part-find-requirements: wipTrygve Laugstøl2019-05-262-16/+21
|
* ee.project: Making sure all projects have an UUID.Trygve Laugstøl2019-05-243-2/+12
| | | | | 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-212-13/+8
| | | | specified.
* part-validate-parts: Even better report.Trygve Laugstøl2019-05-211-10/+29
|
* ninja: Making a phony goal 'ee-reports' that depends on all reports.Trygve Laugstøl2019-05-212-4/+6
| | | | 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-204-35/+23
| | | | code from tool to ee.digikey.functions.
* common_fact_types: Adding key for footprint.Trygve Laugstøl2019-05-204-6/+142
| | | | | | | | | | 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-204-7/+124
| | | | | | | | | 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-142-2/+5
|
* Optimizing imports.Trygve Laugstøl2019-05-146-9/+12
|
* ee.logging: New module to handle logging. Need something better forTrygve Laugstøl2019-05-141-18/+6
| | | | | messages too. create-bom: Resolving parts from their value fact too.
* ee: Moving old ltspice code to its own file.Trygve Laugstøl2019-05-141-2/+2
|
* 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-113-3/+17
| | | | | | 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.
* ninja: Generate everything to 'ee.ninja', generate 'build.ninja' only ifTrygve Laugstøl2019-04-301-1/+10
| | | | | | it is missing. A stub build.ninja which includes ee.ninja will be generated once. This makes it easier for the user to do custom stuff in the standard Ninja file.
* part:Trygve Laugstøl2019-04-301-1/+0
| | | | o Removing debugging info.
* part:Trygve Laugstøl2019-04-301-0/+27
| | | | o Experimental importer from Excel-like files.
* digikey:Trygve Laugstøl2019-04-144-7/+86
| | | | | | o More flexibility, making room for the multiple digikey stores. o Removing URLs from core code. new tools: split_parts_by_supplier.
* drawio: A little drawio experiment.Trygve Laugstøl2019-04-131-1/+1
|
* drawio: A little drawio experiment.Trygve Laugstøl2019-04-132-0/+49
|
* o Renaming part-create-distributor-search-list to pn-part-search-list.Trygve Laugstøl2019-04-133-15/+28
| | | | | Making the search more narrow, it is only responsible to find parts based on MPN or SPN.