39 Commits

Author SHA1 Message Date
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
Curtis Spencer
4fe0004f6a Use HashSet for repo uniqueness rather than count 2020-08-30 16:55:48 -07:00
Curtis Spencer
f4b0021d78 Initial Code Import for TOML Configuration Validation
Summary:
cargo run -- /data will analyze all the toml files in a directory and output the
related ecosystems and tags.
2019-08-01 19:47:37 -07:00