Skip to content

fix(validator): remove go-just nested module#494

Draft
kehoecj wants to merge 1 commit into
mainfrom
fix/remove-go-just-nested-module
Draft

fix(validator): remove go-just nested module#494
kehoecj wants to merge 1 commit into
mainfrom
fix/remove-go-just-nested-module

Conversation

@kehoecj
Copy link
Copy Markdown
Collaborator

@kehoecj kehoecj commented May 22, 2026

The justfile parser was a separate Go module (github.com/Boeing/go-just) embedded via a replace directive. Since replace directives don't propagate to consumers, any external project importing config-file-validator failed on 'go mod tidy' trying to fetch the unpublished module.

Fix by converting pkg/validator/justfile from a nested module into a regular package within the main module. Rename the package from 'gojust' to 'justfile' to match the directory name.

  • Delete pkg/validator/justfile/go.mod
  • Remove replace directive and go-just require from root go.mod
  • Rename package gojust -> justfile in all source files
  • Update import path in pkg/validator/justfile.go
  • Remove separate CI steps for the nested module
  • Add nolint annotations for false positives previously suppressed by the nested .golangci.yml

…ency resolution

The justfile parser was a separate Go module (github.com/Boeing/go-just)
embedded via a replace directive. Since replace directives don't propagate
to consumers, any external project importing config-file-validator failed
on 'go mod tidy' trying to fetch the unpublished module.

Fix by converting pkg/validator/justfile from a nested module into a
regular package within the main module. Rename the package from 'gojust'
to 'justfile' to match the directory name.

- Delete pkg/validator/justfile/go.mod
- Remove replace directive and go-just require from root go.mod
- Rename package gojust -> justfile in all source files
- Update import path in pkg/validator/justfile.go
- Remove separate CI steps for the nested module
- Add nolint annotations for false positives previously suppressed
  by the nested .golangci.yml
@kehoecj kehoecj added the bug Something isn't working label May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant