Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

# Ref: https://github.com/actions/checkout
- name: Checkout Source
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
# Number of commits to fetch. 0 indicates all history for all branches and tags.
# Default: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

# Ref: https://github.com/actions/checkout
- name: "Checkout Source"
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down
19 changes: 16 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ Date format: `YYYY-MM-DD`

---

## [1.53.0] - 2025-11-23

### Added
### Changed
- **risk:** Restructured proto files to `sixafter/types` subdirectory to prevent naming collisions when vendored by consumers.

### Deprecated
### Removed
### Fixed

---

## [1.52.0] - 2025-11-20

### Added
Expand Down Expand Up @@ -140,7 +152,7 @@ Date format: `YYYY-MM-DD`
## [1.43.0] - 2025-08-21

### Added
**feature:** Added support for ISO 639 [Language](language.proto) message, which includes BCP 47 language tags.
**feature:** Added support for ISO 639 [Language](sixafter/types/language.proto) message, which includes BCP 47 language tags.

### Changed
- **debt:** Upgraded dependencies to their latest stable versions; e.g. protoc-gen-go `v1.36.8`.
Expand Down Expand Up @@ -338,7 +350,7 @@ Date format: `YYYY-MM-DD`
## [1.24.0] - 2024-11-17

### Added
- **FEATURE:** Added [geometry.proto](geometry.proto) for defining geometrical constructs, including:
- **FEATURE:** Added [geometry.proto](sixafter/types/geometry.proto) for defining geometrical constructs, including:
- Scalar: Represents a scalar number using an unscaled integer value and a scale for fixed-point arithmetic.
- CoordinateSystem: Defines the coordinate system used to interpret geometric entities (e.g., Cartesian, Polar), with optional parameters.
- GeometryType: Specifies the type of geometry abstracting the mathematical space (e.g., Euclidean, Hyperbolic), with optional parameters.
Expand Down Expand Up @@ -383,7 +395,8 @@ Date format: `YYYY-MM-DD`
### Fixed
### Security

[Unreleased]: https://github.com/sixafter/types/compare/v1.52.0...HEAD
[Unreleased]: https://github.com/sixafter/types/compare/v1.53.0...HEAD
[1.53.0]: https://github.com/sixafter/types/compare/v1.52.0...v1.53.0
[1.52.0]: https://github.com/sixafter/types/compare/v1.51.3...v1.52.0
[1.51.3]: https://github.com/sixafter/types/compare/v1.50.0...v1.51.3
[1.50.0]: https://github.com/sixafter/types/compare/v1.49.0...v1.50.0
Expand Down
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,31 @@ export BINARY_NAME=main.out

.PHONY: build
build: ## Build the binary file
@scripts/go-build.sh
@sbin/go-build.sh

.PHONY: test
test: ## Execute unit tests
@scripts/go-test.sh
@sbin/go-test.sh

.PHONY: run
run:
@scripts/go-run.sh
@sbin/go-run.sh

.PHONY: clean
clean: ## Remove previous build
@scripts/go-clean.sh
@sbin/go-clean.sh

.PHONY: cover
cover: ## Generate global code coverage report
@scripts/go-cover.sh
@sbin/go-cover.sh

.PHONY: analyze
analyze: ## Generate static analysis report
@scripts/go-analyze.sh
@sbin/go-analyze.sh

.PHONY: deps
deps: ## Get the dependencies and vendor
@scripts/go-deps.sh
@sbin/go-deps.sh

.PHONY: fmt
fmt: ## Format the files
Expand Down Expand Up @@ -84,23 +84,23 @@ tidy:

.PHONY: update
update:
$(GO_GET) -u
$(GO_GET) -u ./...

.PHONY: vuln
vuln: ## Check for vulnerabilities
govulncheck ./...

.PHONY: release-verify
release-verify: ## Verify the release
@scripts/verify-release.sh
@sbin/verify-release.sh

.PHONY: module-verify
mod-verify: ## Verify Go module integrity
@scripts/verify-mod.sh
@sbin/verify-mod.sh

.PHONY: signature-verify
signature-verify: ## Verify latest release's digital signatures
@scripts/verify-sig.sh
@sbin/verify-sig.sh

.PHONY: help
help: ## Display this help screen
Expand Down
33 changes: 33 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Copyright 2020-2025 SIX AFTER, INC (SIX AFTER)
//
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: SIX AFTER, INC (SIX AFTER)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Package types provides protocol buffer definitions for common, reusable types
// used across SIX AFTER services and applications.
//
// These types include geographic coordinates, temporal ranges, entity metadata,
// and other well-known types that can be imported and used in other protobuf
// definitions or Go code.
//
// To import these proto files in your own .proto files:
//
// import "sixafter/types/uuid.proto";
// import "sixafter/types/geospatial_coordinate.proto";
//
// To use the generated Go types:
//
// import "github.com/sixafter/types/sixafter/types"
package types
2 changes: 1 addition & 1 deletion scripts/go-build.sh → sbin/go-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ if is_windows; then
exit 1
fi

protoc --go_out=. --go_opt=paths=source_relative --proto_path=. ./*.proto
protoc --go_out=. --go_opt=paths=source_relative --proto_path=. sixafter/types/*.proto
2 changes: 1 addition & 1 deletion scripts/go-clean.sh → sbin/go-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ if is_windows; then
fi

go clean
rm -f ./*.pb.go
rm -f ./sixafter/types/*.pb.go
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
52 changes: 26 additions & 26 deletions compass_heading.pb.go → sixafter/types/compass_heading.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Loading