6
mirror of https://github.com/AllSpiceIO/cofactr-cogs.git synced 2025-04-08 06:35:08 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Jonathan Tran
f82285d690
Add reference to action parameter name in error message 2024-05-24 13:24:15 -04:00
Jonathan Tran
de56ad5b80
Fix to not include parts with empty prices 2024-05-24 13:24:15 -04:00
Jonathan Tran
934d7d57e0
Add Cofactr ID to output
This also fixes it to treat part numbers with different manufacturer as
separate.
2024-05-24 13:24:15 -04:00
Jonathan Tran
6ada905fcc
Change to main function 2024-05-24 13:24:15 -04:00
Jonathan Tran
a25f1c4404
Add search strategy to readme 2024-05-24 13:24:15 -04:00
Jonathan Tran
57bb688bd9
Change search_strategy of "default" to "fuzzy" 2024-05-24 13:24:15 -04:00
Jonathan Tran
e91223ecff
Remove documentation for search strategies that aren't recommend by Cofactr 2024-05-24 13:24:15 -04:00
Jonathan Tran
7b299ff7e6
Remove default value for BOM manufacturer column name 2024-05-24 13:24:15 -04:00
Jonathan Tran
5503458e3e
Add check to require manufacturer column when search strategy would use it 2024-05-24 13:24:15 -04:00
Jonathan Tran
8b8abb2a9c
Add more to description of search strategy 2024-05-24 13:24:15 -04:00
Jonathan Tran
a5a142cba4
Add handling of no manufacturer column
Now you can set bom_manufacturer_column to empty string so that lookup
of the manufacturer field doesn't fail.  This is useful when using
search strategy mpn_exact.
2024-05-24 13:24:15 -04:00
Jonathan Tran
e38799307b
Change to not use manufacturer in query when search strategy is mpn_exact 2024-05-24 13:24:15 -04:00
Jonathan Tran
27efa7113b
Add BOM input parameters to readme 2024-05-24 13:24:15 -04:00
Jonathan Tran
177376dbf8
Add manufacturer to output and logging 2024-05-24 13:24:15 -04:00
Jonathan Tran
ea23ac66b5
Change default search strategy to be less fuzzy 2024-05-24 13:24:15 -04:00
Jonathan Tran
76ec2e2e8f
Add manufacturer to API query 2024-05-24 13:24:15 -04:00
Jonathan Tran
2f82962556
Add search strategy parameter 2024-05-24 13:24:15 -04:00
Jonathan Tran
25ba6a8bd3
Merge pull request from AllSpiceIO/jt/fix-comment
doc: Update comment to reflect moved repo and ECAD generic
2024-05-23 16:51:28 -04:00
Jonathan Tran
e323e1811d
doc: Update comment to reflect moved repo and ECAD generic 2024-05-23 13:34:15 -04:00
dependabot[bot]
ac793bd672
--- ()
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-23 13:25:52 -04:00
Jonathan Tran
642deb37f6
Add license () 2024-05-15 17:18:50 -04:00
dependabot[bot]
bfba0eaeed
Bump actions/setup-python from 4 to 5 ()
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 17:54:14 -04:00
Jonathan Tran
37ede94982
Merge pull request from AllSpiceIO/jt/ci
Add CI checks
2024-05-14 17:22:17 -04:00
Jonathan Tran
450170775f
Add CI checks 2024-05-14 17:21:35 -04:00
Jonathan Tran
9f33593f70
Add pyproject.toml for ruff linting 2024-05-14 17:21:35 -04:00
Jonathan Tran
d544b05d78
Merge pull request from AllSpiceIO/jt/types
fix: Fix to pass mypy type-checking
2024-05-14 17:20:28 -04:00
Jonathan Tran
e4b3650085
Change to an alternate way of passing type-checking 2024-05-14 16:00:50 -04:00
Jonathan Tran
ef16ce9ad8
fix: Fix to pass mypy type-checking 2024-05-13 18:07:39 -04:00
89582426d5 Merge pull request 'Initial implementation' () from jt/initial-implementation into main
Reviewed-on: 
Reviewed-by: shrikanth-allspice <shrikanth-allspice@noreply.hub.allspice.io>
2024-05-10 21:15:36 +00:00
Jonathan Tran
4559c7b9fd
Change readme to lock the major version 2024-05-10 11:30:46 -04:00
Jonathan Tran
74a2ca4858
Change readme to use a secret 2024-05-10 11:30:04 -04:00
Jonathan Tran
a1cba01506
Initial implementation 2024-05-08 14:25:28 -04:00
Jonathan Tran
feb4f231d1
Initial commit 2024-05-06 11:32:05 -04:00