1

fix: collapse packaging

This commit is contained in:
Mya 2023-12-28 17:45:50 -06:00
parent a73ddbc7c4
commit 18dfbc0569
Signed by: mya
GPG Key ID: 4DFBA0F91AC3544A
9 changed files with 50 additions and 5 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea/

15
LICENSE Normal file
View File

@ -0,0 +1,15 @@
The MIT License (MIT)
Copyright (c) 2023 The Licensing Authors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
lint:
buf lint
addlicense -check -f ./legal/header.txt -skip yaml -skip yml -skip xml .
legal: .legal
.legal:
addlicense -f ./legal/header.txt -skip yaml -skip yml -skip xml .

View File

@ -1,12 +1,16 @@
// Copyright (C) 2023 The Licensing Authors
// SPDX-License-Identifier: MIT
//
// This file attempts to follow common styles and design patterns described by
// Google Cloud based on their extensive use of protocol buffers.
//
// - See here for more: https://cloud.google.com/apis/design/design_patterns
//
syntax = "proto3";
package licensing.contributors.v1;
package contributors.v1;
option go_package = "code.pitz.tech/licensing/api-go/contributors/v1;contributorsv1";

2
legal/header.txt Normal file
View File

@ -0,0 +1,2 @@
Copyright (C) {{ .Year }} The Licensing Authors
SPDX-License-Identifier: MIT

View File

@ -1,12 +1,16 @@
// Copyright (C) 2023 The Licensing Authors
// SPDX-License-Identifier: MIT
//
// This file attempts to follow common styles and design patterns described by
// Google Cloud based on their extensive use of protocol buffers.
//
// - See here for more: https://cloud.google.com/apis/design/design_patterns
//
syntax = "proto3";
package licensing.licenses.v1;
package licenses.v1;
option go_package = "code.pitz.tech/licensing/api-go/licenses/v1;licensesv1";

View File

@ -1,12 +1,16 @@
// Copyright (C) 2023 The Licensing Authors
// SPDX-License-Identifier: MIT
//
// This file attempts to follow common styles and design patterns described by
// Google Cloud based on their extensive use of protocol buffers.
//
// - See here for more: https://cloud.google.com/apis/design/design_patterns
//
syntax = "proto3";
package licensing.packages.v1;
package packages.v1;
option go_package = "code.pitz.tech/licensing/api-go/packages/v1;packagesv1";

View File

@ -1,12 +1,16 @@
// Copyright (C) 2023 The Licensing Authors
// SPDX-License-Identifier: MIT
//
// This file attempts to follow common styles and design patterns described by
// Google Cloud based on their extensive use of protocol buffers.
//
// - See here for more: https://cloud.google.com/apis/design/design_patterns
//
syntax = "proto3";
package licensing.products.v1;
package products.v1;
option go_package = "code.pitz.tech/licensing/api-go/products/v1;productsv1";

View File

@ -1,12 +1,16 @@
// Copyright (C) 2023 The Licensing Authors
// SPDX-License-Identifier: MIT
//
// This file attempts to follow common styles and design patterns described by
// Google Cloud based on their extensive use of protocol buffers.
//
// - See here for more: https://cloud.google.com/apis/design/design_patterns
//
syntax = "proto3";
package licensing.users.v1;
package users.v1;
option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1";