52 Commits

Author SHA1 Message Date
Elliot Voris
403cb37b87
make run script pass args to validate command (#2890)
* make run script pass args to validate command

* fix typos in command usage help text
2026-07-03 12:43:13 -04:00
yizhao-ec
bae759a011
Fix stray "error." prefix in validation error output (#2882)
The f-string in _print_errors had a literal "error." before the
interpolated message, so validation errors printed as
"path:line: error.DuplicateRepo" instead of "path:line: DuplicateRepo".

Closes #2880
2026-06-01 11:33:34 -04:00
Yizhao
2395a98718 Export 2026-03-04 12:12:24 -05:00
Curtis Spencer
0a8a3cfbd3 Make downloading large files more robust to timeouts 2025-12-02 12:15:25 -08:00
Curtis Spencer
fe06e9955c README and LICENSE adjustments 2025-11-20 09:04:28 -08:00
Curtis Spencer
d0ef4515c1 Add new manifest url and blake3 checksumming 2025-11-19 21:28:48 -08:00
Curtis Spencer
c50dc925ef Fix harlequin launching as library rather than subprocess 2025-11-19 21:16:40 -08:00
Curtis Spencer
2733f714c0 Add download, duckify, and tui support 2025-11-19 20:58:53 -08:00
Curtis Spencer
948697e308 Rehome the files in open_dev_data subfolder 2025-11-19 20:32:39 -08:00
Curtis Spencer
70b790b2cb Fix up linter warnings 2025-11-19 14:24:41 -08:00
Curtis Spencer
6568ed8337 Fix warning in shlex parser 2025-11-19 01:46:04 -08:00
Curtis Spencer
a6aeb967cc Add pytest dependency and mv python to src 2025-11-18 22:18:44 -08:00
Curtis Spencer
b2dcea545e Remove zig implementation 2025-11-18 22:07:34 -08:00
Falazen.eth
ef9b4cdfa5
Call optimization (#2084)
* cache stdout writer

* Use built-in case-insensitive comparison
2025-08-11 10:07:32 -04:00
yizhao-ec
40c3484b68
Update moveRepo (#1987)
* modify moveRepo

* Add tests

* Small tweak
2025-06-04 10:43:09 -04:00
yizhao-ec
1971796fed
Log file and line # that causes the error (#1986) 2025-06-03 10:10:07 -07:00
Curtis Spencer
7e5e8d07d1 Replace putNoClobber with put since it is ok to have the same repo url show up multiple times
We can evaluate whether to make this a hard error later.
2025-05-17 11:51:45 -07:00
yizhao-ec
1febf18a9d
Remove child from child_to_parent_map (#1940) 2025-04-16 14:30:15 -07:00
Curtis Spencer
e068c79151 Update to version 2.0 of the data format 2025-04-14 04:19:17 +00:00
Mark Korneychik
540ac9449e
Update ton.toml (#1766)
* Update ton.toml

* Fix

* Fix main.rs map_or -> is_some_and

* Fix

* Update rustc. Fix ton.toml: replace True -> true
2025-01-30 07:50:51 -08:00
crStiv
ccb7a69f24
fix: improve directory creation error handling (#1765)
* Update main.rs

* Update main.rs

* Update main.rs

* Update main.rs
2025-01-17 16:32:39 -08:00
Ezequiel Martin Rodriguez
7a0d53fc9d
Delete src/tropykus.toml (#1540) 2024-11-04 11:07:26 -05:00
Curtis Spencer
7d737fc840 Add validation error when the same eco is specified in multiple files 2024-10-22 20:32:29 +00:00
Curtis Spencer
c4a40fcd0e Fix clippy errors 2024-10-16 16:59:50 +00:00
Curtis Spencer
4e0101008d Add validation stats struct to cleanup sort vs. validate code paths 2024-10-16 16:47:17 +00:00
Curtis Spencer
b5137c0f3c Add make sort command to cleanup unsorted toml files 2024-10-16 16:40:07 +00:00
Ezequiel Martin Rodriguez
b8a0451936
Create tropykus.toml (#1493)
Partner on Rootstock
2024-10-11 15:31:11 -07:00
Curtis Spencer
f46df28822 Fix clippy warnings 2024-06-22 22:45:55 +00:00
Curtis Spencer
3646a04148 Add support for more validation errors
Add validation step around unnormalized github urls, using users or organizations incorrectly in the repo section, and invalid urls.
2024-06-19 20:07:45 +00:00
Ali Afsharzadeh
3656421bae
Resolve clippy warnings (#1290) 2024-06-12 10:08:03 -07:00
Curtis Spencer
3fce17f85a Add more clarification to validation output 2024-05-11 22:20:53 -07:00
Curtis Spencer
4dfbaf8d1d Add imara diff tooling for detecting unsorted values during validation 2024-05-08 19:30:27 -07:00
Curtis Spencer
1ff10e0ac0 Remove empty path from sort validator message 2024-05-08 17:14:01 -07:00
Curtis Spencer
3141df866b Added Sort Validator
This ensures that all ecosystems are sorted at the validation step
2024-05-08 16:53:43 -07:00
agodbug
9cd223cfe6
prettify main.rs (#1207) 2024-03-28 11:57:03 -07:00
battmdpkq
ab2ddc7dc8 refactor: Optimize code based on cargo clippy suggestions
Signed-off-by: battmdpkq <cmaker@163.com>
2024-03-07 08:22:35 -08:00
platonicsocrates
fe4eb182c1 add formatting back 2023-12-24 09:05:08 -08:00
platonicsocrates
05496987ca make checks more idiomatic (as spotted by @jubos) 2023-12-24 09:05:08 -08:00
platonicsocrates
b8a1a77abc Revert "Add validation to ensure no empty ecos are added"
This reverts commit 7fc98ca0febf4b2da7c8d4f4ebb5005b1939d89e.
2023-11-28 16:34:39 -08:00
platonicsocrates
cf94d0dbf8 Add validation to ensure no empty ecos are added 2023-11-28 16:34:39 -08:00
platonicsocrates
735a10462f make error message more actionable 2023-11-28 16:34:39 -08:00
platonicsocrates
7acb5d17f2 Add trailing/leading spaces validation 2023-11-28 16:34:39 -08:00
Enrique
dab62139f8 summary should be for all ecos 2023-09-07 12:23:03 -07:00
Enrique
6638c78c25 check duplicate repos on validation step 2023-09-07 12:23:03 -07:00
Curtis Spencer
87154f479c [feature] Add support for missing attribute on repo
Missing is meant for repos that existed at one point in the taxonomy,
but have disappeared from github.  We want to track them for
historical accuracy.
2023-05-02 21:43:18 +00:00
Shun Kakinoki
050b0486d0 feat: ini ecosystem export 2023-01-21 09:13:03 -08:00
Curtis Spencer
014204447f Move from failure crate to anyhow 2022-06-08 08:47:23 -07:00
Curtis Spencer
b57461c117 Add support for showing all errors when running make validate 2021-11-05 19:23:17 -07:00
Curtis Spencer
6deee212e1 Upgrade StructOpts to latest version 2020-11-29 08:13:41 -08:00
Curtis Spencer
736cda55f5 Added support for exporting all data to a JSON file 2020-11-29 08:00:57 -08:00