50 Commits

Author SHA1 Message Date
Michael Smith
135d5c8111 fix: remove potential race condition 2025-04-16 01:44:21 +00:00
Michael Smith
f23bbca2e7 refactor: start making main() leaner 2025-04-16 00:03:01 +00:00
Michael Smith
19226af067 wip: commit more progress 2025-04-15 23:56:48 +00:00
Michael Smith
e888506063 wip: get concurrency stubs set up 2025-04-15 18:10:32 +00:00
Michael Smith
aa0b8710d3 wip: commit progress on validation 2025-04-15 17:29:51 +00:00
Michael Smith
17c9667db6 wip: commit progress for module validation 2025-04-15 16:35:33 +00:00
Michael Smith
18680d0a15 chore: add directory validation in separate file 2025-04-15 16:02:33 +00:00
Michael Smith
94ca584b9e refactor: move where validation phase is defined 2025-04-15 15:12:03 +00:00
Michael Smith
6e5d960871 refactor: split README logic into separate file 2025-04-15 15:06:16 +00:00
Michael Smith
3fa316dc37 wip: get basic GH API call stuff working 2025-04-15 14:54:30 +00:00
Michael Smith
9f035798d1 wip: commit progress 2025-04-15 14:32:38 +00:00
Michael Smith
25d301c654 wip: commit progress 2025-04-14 20:40:25 +00:00
Michael Smith
d2c5f8d3bd fix: actually add the test calls 2025-04-14 18:27:10 +00:00
Michael Smith
0a597c23f4 test: try logging refs 2025-04-14 18:25:24 +00:00
Michael Smith
ec1b4a72cb test: see how CI output works 2025-04-14 18:13:22 +00:00
Michael Smith
860a633e11 wip: add support for reading env from CI 2025-04-14 18:09:43 +00:00
Michael Smith
a2abeaee2f fix: update script references for CI 2025-04-14 17:58:59 +00:00
Michael Smith
73f3ea23c0 refactor: move to cmd dir 2025-04-14 17:53:54 +00:00
Michael Smith
7fd409fa73
chore: add CI step for validating contributor READMEs
Closes https://github.com/coder/internal/issues/530

## Changes made
- Created top-level test directories for Coder and NataInData (a developer who contributed a module for us in the past)
- Created Go script for validating the structure of each README, while being as granular as possible with any errors for better feedback
- Added CI step for running the script

## Notes
- I did a good bit of manual testing, but I am planning to circle back with a follow-up PR to add proper tests for the script functionality. I might push that off until after the majority of the new Registry work is done, though
- Not 100% sold on the structure of the Go directories. That's likely to change as I add more code for validating the modules and templates
2025-04-14 13:47:05 -04:00
Michael Smith
50d651c2f9 fix: update CI step 2025-04-14 13:57:02 +00:00
Michael Smith
a2c246ea06 refactor: split out error func 2025-04-14 13:52:40 +00:00
Michael Smith
39b264a7f9 refactor: split up package boundaries 2025-04-14 13:48:19 +00:00
Michael Smith
bdf9c5f51b refactor: update namespacing 2025-04-14 13:45:41 +00:00
Michael Smith
ffd9861e03 refactor: extract pseudo-constants 2025-04-14 13:37:17 +00:00
Michael Smith
5c45642e4b refactor: split off another function 2025-04-11 17:26:45 +00:00
Michael Smith
96fa5d4157 refactor: apply majority of feedback 2025-04-11 16:55:09 +00:00
Michael Smith
65fb7bcffb refactor: standardize how errors are defined 2025-04-11 13:44:15 +00:00
Michael Smith
affc5063ca refactor: split validation function into smaller pieces 2025-04-10 21:01:58 +00:00
Michael Smith
abf9815a84 fix: update static files 2025-04-10 20:40:54 +00:00
Michael Smith
bc4bbdaa07 fix: remove unnecessary matrix 2025-04-09 19:25:48 +00:00
Michael Smith
3b9c01ea6c fix: ensure relative avatars keep small scope 2025-04-09 16:07:58 +00:00
Michael Smith
e035f1fca3 chore: beef up CI 2025-04-09 15:26:22 +00:00
Michael Smith
88f7be27ec chore: set up initial version of CI 2025-04-09 15:01:08 +00:00
Michael Smith
3b9ec5ec41 chore: finish initial version of validation script 2025-04-08 21:23:36 +00:00
Michael Smith
9e48eb806f refactor: reorganize scripts again 2025-04-08 21:01:36 +00:00
Michael Smith
c3f998dbd9 refactor: rename script 2025-04-08 20:28:01 +00:00
Michael Smith
36ebd8d68b fix: update script to be runnable from root directory 2025-04-08 20:26:24 +00:00
Michael Smith
df2e47e51e refactor: remove unnecessary intermediary data types 2025-04-08 20:11:43 +00:00
Michael Smith
e20e679e08 wip: scaffold relative URL validation 2025-04-08 20:02:52 +00:00
Michael Smith
23f1cee640 fix: remove accidental segfault 2025-04-08 19:32:49 +00:00
Michael Smith
2b9da92259 refactor: remove goto statements 2025-04-08 19:28:33 +00:00
Michael Smith
629f4b3a65 chore: rename directory for script 2025-04-08 18:53:44 +00:00
Michael Smith
b19132140a fix: make logging better 2025-04-08 17:29:34 +00:00
Michael Smith
da735dafd6 fix: remove parsing bugs 2025-04-08 17:12:28 +00:00
Michael Smith
1906520b4a chore: add logs for better feedback 2025-04-08 16:31:25 +00:00
Michael Smith
902b32fd29 wip: commit more progress on script 2025-04-08 16:07:07 +00:00
Michael Smith
20204b0153 chore: add extra sample data file 2025-04-08 16:04:33 +00:00
Michael Smith
a5c4495e3e wip: commit progress on CI validation script 2025-04-08 15:22:51 +00:00
Michael Smith
96c20c4ec0 chore: add sample README 2025-04-08 15:22:10 +00:00
Michael Smith
03179a2cda
Initial commit 2025-04-07 09:36:43 -04:00