Skip to content

Commit b9e272b

Browse files
committed
chore: add spdx license identifier to scripts and go source #1736
1 parent 7cb0116 commit b9e272b

File tree

130 files changed

+452
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+452
-15
lines changed

.github/workflows/python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
python-checks:
77
runs-on: ubuntu-latest
88
env:
9-
PATH: ${{ github.workspace }}/go/bin:${{ github.workspace }}/.cargo/bin:${{ github.workspace }}/.local/share/pnpm:${{ github.workspace }}/.local/bin:${{ env.PATH }}
9+
PATH: ${{ github.workspace }}/go/bin:${{ github.workspace }}/.cargo/bin:${{ github.workspace }}/.local/share/pnpm:${{ github.workspace }}/.local/bin:/usr/local/bin:/usr/bin:/bin
1010
strategy:
1111
matrix:
1212
python-version:

go/ai/document.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/ai/document_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/ai/embedder.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/ai/gen.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// This file was generated by jsonschemagen. DO NOT EDIT.
1619

go/ai/generate.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/ai/generator_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/ai/prompt.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/ai/request_helpers.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/ai/retriever.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/ai/tools.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package ai
1619

go/core/action.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package core
1619

go/core/action_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package core
1619

go/core/core.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// Run the npm script that generates JSON Schemas from the zod types
1619
// in the *.ts files. It writes the result to genkit-tools/genkit-schema.json

go/core/file_flow_state_store.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package core
1619

go/core/flow_state_store.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package core
1619

go/core/logger/logger.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// Package logger provides a context-scoped slog.Logger.
1619
package logger

go/core/tracing/milliseconds.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// Package gtime provides time functionality for Go Genkit.
1619
package tracing

go/core/tracing/milliseconds_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package tracing
1619

go/core/tracing/store.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package tracing
1619

go/core/tracing/store_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package tracing
1619

go/core/tracing/telemetry.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package tracing
1619

go/core/tracing/trace_server_exporter.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package tracing
1619

go/core/tracing/trace_server_exporter_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package tracing
1619

go/core/tracing/tracing.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// The tracing package provides support for execution traces.
1619
package tracing

go/core/tracing/tracing_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package tracing
1619

go/genkit/conformance_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package genkit
1619

go/genkit/flow.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package genkit
1619

go/genkit/flow_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package genkit
1619

go/genkit/gen.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// This file was generated by jsonschemagen. DO NOT EDIT.
1619

go/genkit/genkit.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// Package genkit provides Genkit functionality for application developers.
1619
package genkit

go/genkit/genkit_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package genkit
1619

go/genkit/servers.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// This file implements production and development servers.
1619
//

go/genkit/servers_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package genkit
1619

go/internal/action/action.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package action
1619

go/internal/atype/atype.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
// Package atype provides types for Genkit actions.
1619
package atype

go/internal/base/context_key.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package base
1619

go/internal/base/json.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package base
1619

go/internal/base/json_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package base
1619

go/internal/base/misc.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// SPDX-License-Identifier: Apache-2.0
16+
1417

1518
package base
1619

0 commit comments

Comments
 (0)