20 Commits

Author SHA1 Message Date
Sam Morrow adaa6a1d86 fix: use LC_ALL=C for consistent sorting across systems
The sort command uses locale-specific ordering which can differ between
systems. Use LC_ALL=C to ensure consistent ordering in CI and locally.
2025-12-12 16:36:59 +01:00
Sam Morrow e7e2925666 fix: update licenses-check to use new architecture-aware format
- Check now regenerates using ./script/licenses and compares
- Add GOROOT/PATH setup in CI to fix go-licenses module info errors
- Check both license files AND third-party directory for changes
- See: https://github.com/google/go-licenses/issues/244
2025-12-12 16:36:59 +01:00
Sam Morrow 3a1844c22c fix: make license script portable and deterministic
Address review feedback:
- Remove bash 4.0+ associative array requirement for macOS compatibility
- Add cross-platform hash function (md5sum on Linux, md5 on macOS)
- Ensure deterministic iteration order using sorted groups file
- Add better error handling for failed go-licenses commands
- Fix grammar: 'architecture(s)' -> 'architectures'
- Add documentation for third-party/ being a union of all architectures
- Use file-based state instead of associative arrays for portability
2025-12-12 16:36:59 +01:00
Sam Morrow 87ea319ee1 fix: handle architecture-specific license differences
The licenses script now:
- Generates separate license reports per GOOS/GOARCH combination
- Groups identical reports together (comma-separated arch names)
- Adds a Table of Contents at the top of each platform file
- Handles cases where different architectures have different dependencies
  (e.g., x/sys/unix vs x/sys/windows, mousetrap on Windows only)

This addresses the issue discovered in cli/cli where some deps changed
which changed the mod graph for different GOARCH and affected the
exported licenses because go-licenses tries to find common ancestors.
2025-12-12 16:36:59 +01:00
Sam Morrow 5da71e3449 fix: update get-me script for go-SDK MCP protocol
The go-SDK migration changed MCP protocol handling to require proper
initialization before tool calls. This updates the script to:

- Add initialize request with protocol version and client info
- Add notifications/initialized notification
- Add arguments field to tools/call params
- Keep stdin open with sleep for response
- Gracefully handle missing jq dependency
2025-12-12 11:02:51 +01:00
JoannaaKL 6a39a39e6d Add html filtering (#1356)
* Add html content sanitizer

* Add basic html sanitization

* .

* Correct licenses and scripts to ignore vendor directory

* Use singleton

* Simplify
2025-11-05 12:49:49 +01:00
JoannaaKL bd125376b7 Process improvements (#1316)
* Add default linters and bump golangci-lint version

* More aggressive policy
2025-10-27 12:03:11 +01:00
JoannaaKL 6043bec223 Cleanup (#628)
* Remove unused function and add test script

* Call test from the workflow
2025-07-02 18:12:16 +02:00
JoannaaKL 39109b3e5d Add discussion tools (#624) 2025-07-02 15:09:04 +02:00
JoannaaKL b44dee6189 Add script to generate docs (#622) 2025-07-01 10:02:19 +02:00
JoannaaKL 5904a0365e Fix linting flow (#614)
* Add issues type filter

* Add e2e test

* Update e2e/e2e_test.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add lint script and update golangci config

* Add lint script

* Install if not installed

* Pass lint config

* Use action and rename workflow

* Back to reparate config

* Migrate config to v2

* Update config

* Lint code

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-30 15:14:45 +02:00
JoannaaKL 05456fbad7 Update script/tag-release 2025-06-27 18:10:52 +02:00
Sam Morrow f291da023f Update script/tag-release
Co-authored-by: JoannaaKL <joannaakl@github.com>
2025-06-27 18:10:52 +02:00
Sam Morrow 4022ee545f add release script 2025-06-27 18:10:52 +02:00
Sangmin Lee 9a40fd8e62 fix: correct spelling of 'license' 2025-04-08 01:19:02 +02:00
Javier Uruen Val 8a9f0b0666 add script to pretty print server log (#146) 2025-04-07 17:32:29 +02:00
Sam Morrow 26f96680a9 chore: support x-platform licence generation (#98) 2025-04-04 15:33:36 +02:00
Sam Morrow 450fa651a6 add oss licenses 2025-04-01 18:17:52 +02:00
Sam Morrow 22321f0e84 fix get-me 2025-03-18 18:47:22 +01:00
Javier Uruen Val 901b16a207 initial commit 2025-03-10 08:47:39 +01:00