From a915c20c7897784cafb3d905461c09c644833e27 Mon Sep 17 00:00:00 2001 From: wass3rw3rk <49894298+wass3rw3rk@users.noreply.github.com> Date: Fri, 22 Sep 2023 11:03:30 -0500 Subject: [PATCH] chore(license): update source code headers + copyright year --- .github/README.md | 4 ++-- .golangci.yml | 4 +--- Dockerfile | 4 +--- Dockerfile-alpine | 4 +--- LICENSE | 2 +- Makefile | 4 +--- api/admin/build.go | 4 +--- api/admin/clean.go | 4 +--- api/admin/deployment.go | 4 +--- api/admin/doc.go | 4 +--- api/admin/hook.go | 4 +--- api/admin/repo.go | 4 +--- api/admin/secret.go | 4 +--- api/admin/service.go | 4 +--- api/admin/step.go | 4 +--- api/admin/user.go | 4 +--- api/admin/worker.go | 4 +--- api/auth/doc.go | 4 +--- api/auth/get_token.go | 4 +--- api/auth/login.go | 4 +--- api/auth/logout.go | 4 +--- api/auth/post_token.go | 4 +--- api/auth/redirect.go | 4 +--- api/auth/refresh.go | 4 +--- api/auth/validate.go | 4 +--- api/badge.go | 4 +--- api/build/cancel.go | 4 +--- api/build/clean.go | 4 +--- api/build/create.go | 4 +--- api/build/delete.go | 4 +--- api/build/doc.go | 4 +--- api/build/executable.go | 4 +--- api/build/get.go | 4 +--- api/build/get_id.go | 4 +--- api/build/list_org.go | 4 +--- api/build/list_repo.go | 4 +--- api/build/plan.go | 4 +--- api/build/publish.go | 4 +--- api/build/restart.go | 4 +--- api/build/skip.go | 4 +--- api/build/skip_test.go | 4 +--- api/build/token.go | 4 +--- api/build/update.go | 4 +--- api/deployment/create.go | 4 +--- api/deployment/doc.go | 4 +--- api/deployment/get.go | 4 +--- api/deployment/list.go | 4 +--- api/doc.go | 4 +--- api/health.go | 4 +--- api/hook/create.go | 4 +--- api/hook/delete.go | 4 +--- api/hook/get.go | 4 +--- api/hook/list.go | 4 +--- api/hook/redeliver.go | 4 +--- api/hook/update.go | 4 +--- api/log/create_service.go | 4 +--- api/log/create_step.go | 4 +--- api/log/delete_service.go | 4 +--- api/log/delete_step.go | 4 +--- api/log/doc.go | 4 +--- api/log/get_service.go | 4 +--- api/log/get_step.go | 4 +--- api/log/list_build.go | 4 +--- api/log/update_service.go | 4 +--- api/log/update_step.go | 4 +--- api/metrics.go | 4 +--- api/pagination.go | 4 +--- api/pipeline/compile.go | 4 +--- api/pipeline/create.go | 4 +--- api/pipeline/delete.go | 4 +--- api/pipeline/doc.go | 4 +--- api/pipeline/expand.go | 4 +--- api/pipeline/get.go | 4 +--- api/pipeline/list.go | 4 +--- api/pipeline/output.go | 4 +--- api/pipeline/template.go | 4 +--- api/pipeline/update.go | 4 +--- api/pipeline/validate.go | 4 +--- api/repo/chown.go | 4 +--- api/repo/create.go | 4 +--- api/repo/delete.go | 4 +--- api/repo/doc.go | 4 +--- api/repo/get.go | 4 +--- api/repo/list.go | 4 +--- api/repo/list_org.go | 4 +--- api/repo/repair.go | 4 +--- api/repo/update.go | 4 +--- api/schedule/create.go | 4 +--- api/schedule/create_test.go | 4 +--- api/schedule/delete.go | 4 +--- api/schedule/get.go | 4 +--- api/schedule/list.go | 4 +--- api/schedule/update.go | 4 +--- api/scm/doc.go | 4 +--- api/scm/sync.go | 4 +--- api/scm/sync_org.go | 4 +--- api/secret/create.go | 4 +--- api/secret/delete.go | 4 +--- api/secret/doc.go | 4 +--- api/secret/get.go | 4 +--- api/secret/list.go | 4 +--- api/secret/update.go | 4 +--- api/service/create.go | 4 +--- api/service/delete.go | 4 +--- api/service/doc.go | 4 +--- api/service/get.go | 4 +--- api/service/list.go | 4 +--- api/service/plan.go | 4 +--- api/service/update.go | 4 +--- api/step/create.go | 4 +--- api/step/delete.go | 4 +--- api/step/doc.go | 4 +--- api/step/get.go | 4 +--- api/step/list.go | 4 +--- api/step/plan.go | 4 +--- api/step/update.go | 4 +--- api/user/create.go | 4 +--- api/user/create_token.go | 4 +--- api/user/delete.go | 4 +--- api/user/delete_token.go | 4 +--- api/user/doc.go | 4 +--- api/user/get.go | 4 +--- api/user/get_current.go | 4 +--- api/user/get_source.go | 4 +--- api/user/list.go | 4 +--- api/user/update.go | 4 +--- api/user/update_current.go | 4 +--- api/version.go | 4 +--- api/webhook/doc.go | 4 +--- api/webhook/post.go | 4 +--- api/worker/create.go | 4 +--- api/worker/delete.go | 4 +--- api/worker/doc.go | 4 +--- api/worker/get.go | 4 +--- api/worker/list.go | 4 +--- api/worker/refresh.go | 4 +--- api/worker/update.go | 4 +--- cmd/vela-server/compiler.go | 4 +--- cmd/vela-server/main.go | 4 +--- cmd/vela-server/metadata.go | 4 +--- cmd/vela-server/queue.go | 4 +--- cmd/vela-server/schedule.go | 4 +--- cmd/vela-server/scm.go | 4 +--- cmd/vela-server/secret.go | 4 +--- cmd/vela-server/server.go | 4 +--- cmd/vela-server/token.go | 4 +--- cmd/vela-server/validate.go | 4 +--- compiler/context.go | 4 +--- compiler/context_test.go | 4 +--- compiler/doc.go | 4 +--- compiler/engine.go | 4 +--- compiler/native/clone.go | 4 +--- compiler/native/clone_test.go | 4 +--- compiler/native/compile.go | 4 +--- compiler/native/compile_test.go | 4 +--- compiler/native/doc.go | 4 +--- compiler/native/environment.go | 4 +--- compiler/native/environment_test.go | 4 +--- compiler/native/expand.go | 4 +--- compiler/native/expand_test.go | 4 +--- compiler/native/initialize.go | 4 +--- compiler/native/initialize_test.go | 4 +--- compiler/native/native.go | 4 +--- compiler/native/native_test.go | 4 +--- compiler/native/parse.go | 4 +--- compiler/native/parse_test.go | 4 +--- compiler/native/script.go | 4 +--- compiler/native/script_test.go | 4 +--- compiler/native/substitute.go | 4 +--- compiler/native/substitute_test.go | 4 +--- compiler/native/transform.go | 4 +--- compiler/native/transform_test.go | 4 +--- compiler/native/validate.go | 4 +--- compiler/native/validate_test.go | 4 +--- compiler/registry/doc.go | 4 +--- compiler/registry/github/doc.go | 4 +--- compiler/registry/github/github.go | 4 +--- compiler/registry/github/github_test.go | 4 +--- compiler/registry/github/parse.go | 4 +--- compiler/registry/github/parse_test.go | 4 +--- compiler/registry/github/template.go | 4 +--- compiler/registry/github/template_test.go | 4 +--- compiler/registry/registry.go | 4 +--- compiler/registry/source.go | 4 +--- compiler/template/doc.go | 4 +--- compiler/template/native/convert.go | 4 +--- compiler/template/native/convert_test.go | 4 +--- compiler/template/native/doc.go | 4 +--- compiler/template/native/render.go | 4 +--- compiler/template/native/render_test.go | 4 +--- compiler/template/starlark/convert.go | 4 +--- compiler/template/starlark/convert_test.go | 4 +--- compiler/template/starlark/render.go | 4 +--- compiler/template/starlark/render_test.go | 4 +--- compiler/template/starlark/starlark.go | 4 +--- compiler/template/starlark/starlark_test.go | 4 +--- compiler/template/template.go | 4 +--- database/build/build.go | 4 +--- database/build/build_test.go | 4 +--- database/build/clean.go | 4 +--- database/build/clean_test.go | 4 +--- database/build/count.go | 4 +--- database/build/count_deployment.go | 4 +--- database/build/count_deployment_test.go | 4 +--- database/build/count_org.go | 4 +--- database/build/count_org_test.go | 4 +--- database/build/count_repo.go | 4 +--- database/build/count_repo_test.go | 4 +--- database/build/count_status.go | 4 +--- database/build/count_status_test.go | 4 +--- database/build/count_test.go | 4 +--- database/build/create.go | 4 +--- database/build/create_test.go | 4 +--- database/build/delete.go | 4 +--- database/build/delete_test.go | 4 +--- database/build/get.go | 4 +--- database/build/get_repo.go | 4 +--- database/build/get_repo_test.go | 4 +--- database/build/get_test.go | 4 +--- database/build/index.go | 4 +--- database/build/index_test.go | 4 +--- database/build/interface.go | 4 +--- database/build/last_repo.go | 4 +--- database/build/last_repo_test.go | 4 +--- database/build/list.go | 4 +--- database/build/list_deployment.go | 4 +--- database/build/list_deployment_test.go | 4 +--- database/build/list_org.go | 4 +--- database/build/list_org_test.go | 4 +--- database/build/list_pending_running.go | 4 +--- database/build/list_pending_running_test.go | 4 +--- database/build/list_repo.go | 4 +--- database/build/list_repo_test.go | 4 +--- database/build/list_test.go | 4 +--- database/build/opts.go | 4 +--- database/build/opts_test.go | 4 +--- database/build/table.go | 4 +--- database/build/table_test.go | 4 +--- database/build/update.go | 4 +--- database/build/update_test.go | 4 +--- database/close.go | 4 +--- database/close_test.go | 4 +--- database/context.go | 4 +--- database/context_test.go | 4 +--- database/database.go | 4 +--- database/database_test.go | 4 +--- database/doc.go | 4 +--- database/driver.go | 4 +--- database/driver_test.go | 4 +--- database/executable/create.go | 4 +--- database/executable/create_test.go | 4 +--- database/executable/executable.go | 4 +--- database/executable/executable_test.go | 4 +--- database/executable/interface.go | 4 +--- database/executable/opts.go | 4 +--- database/executable/opts_test.go | 4 +--- database/executable/pop.go | 4 +--- database/executable/pop_test.go | 4 +--- database/executable/table.go | 4 +--- database/executable/table_test.go | 4 +--- database/flags.go | 4 +--- database/hook/count.go | 4 +--- database/hook/count_repo.go | 4 +--- database/hook/count_repo_test.go | 4 +--- database/hook/count_test.go | 4 +--- database/hook/create.go | 4 +--- database/hook/create_test.go | 4 +--- database/hook/delete.go | 4 +--- database/hook/delete_test.go | 4 +--- database/hook/get.go | 4 +--- database/hook/get_repo.go | 4 +--- database/hook/get_repo_test.go | 4 +--- database/hook/get_test.go | 4 +--- database/hook/get_webhook.go | 4 +--- database/hook/get_webhook_test.go | 4 +--- database/hook/hook.go | 4 +--- database/hook/hook_test.go | 4 +--- database/hook/index.go | 4 +--- database/hook/index_test.go | 4 +--- database/hook/interface.go | 4 +--- database/hook/last_repo.go | 4 +--- database/hook/last_repo_test.go | 4 +--- database/hook/list.go | 4 +--- database/hook/list_repo.go | 4 +--- database/hook/list_repo_test.go | 4 +--- database/hook/list_test.go | 4 +--- database/hook/opts.go | 4 +--- database/hook/opts_test.go | 4 +--- database/hook/table.go | 4 +--- database/hook/table_test.go | 4 +--- database/hook/update.go | 4 +--- database/hook/update_test.go | 4 +--- database/integration_test.go | 4 +--- database/interface.go | 4 +--- database/log/count.go | 4 +--- database/log/count_build.go | 4 +--- database/log/count_build_test.go | 4 +--- database/log/count_test.go | 4 +--- database/log/create.go | 4 +--- database/log/create_test.go | 4 +--- database/log/delete.go | 4 +--- database/log/delete_test.go | 4 +--- database/log/get.go | 4 +--- database/log/get_service.go | 4 +--- database/log/get_service_test.go | 4 +--- database/log/get_step.go | 4 +--- database/log/get_step_test.go | 4 +--- database/log/get_test.go | 4 +--- database/log/index.go | 4 +--- database/log/index_test.go | 4 +--- database/log/interface.go | 4 +--- database/log/list.go | 4 +--- database/log/list_build.go | 4 +--- database/log/list_build_test.go | 4 +--- database/log/list_test.go | 4 +--- database/log/log.go | 4 +--- database/log/log_test.go | 4 +--- database/log/opts.go | 4 +--- database/log/opts_test.go | 4 +--- database/log/table.go | 4 +--- database/log/table_test.go | 4 +--- database/log/update.go | 4 +--- database/log/update_test.go | 4 +--- database/opts.go | 4 +--- database/opts_test.go | 4 +--- database/ping.go | 4 +--- database/ping_test.go | 4 +--- database/pipeline/count.go | 4 +--- database/pipeline/count_repo.go | 4 +--- database/pipeline/count_repo_test.go | 4 +--- database/pipeline/count_test.go | 4 +--- database/pipeline/create.go | 4 +--- database/pipeline/create_test.go | 4 +--- database/pipeline/delete.go | 4 +--- database/pipeline/delete_test.go | 4 +--- database/pipeline/get.go | 4 +--- database/pipeline/get_repo.go | 4 +--- database/pipeline/get_repo_test.go | 4 +--- database/pipeline/get_test.go | 4 +--- database/pipeline/index.go | 4 +--- database/pipeline/index_test.go | 4 +--- database/pipeline/interface.go | 4 +--- database/pipeline/list.go | 4 +--- database/pipeline/list_repo.go | 4 +--- database/pipeline/list_repo_test.go | 4 +--- database/pipeline/list_test.go | 4 +--- database/pipeline/opts.go | 4 +--- database/pipeline/opts_test.go | 4 +--- database/pipeline/pipeline.go | 4 +--- database/pipeline/pipeline_test.go | 4 +--- database/pipeline/table.go | 4 +--- database/pipeline/table_test.go | 4 +--- database/pipeline/update.go | 4 +--- database/pipeline/update_test.go | 4 +--- database/repo/count.go | 4 +--- database/repo/count_org.go | 4 +--- database/repo/count_org_test.go | 4 +--- database/repo/count_test.go | 4 +--- database/repo/count_user.go | 4 +--- database/repo/count_user_test.go | 4 +--- database/repo/create.go | 4 +--- database/repo/create_test.go | 4 +--- database/repo/delete.go | 4 +--- database/repo/delete_test.go | 4 +--- database/repo/get.go | 4 +--- database/repo/get_org.go | 4 +--- database/repo/get_org_test.go | 4 +--- database/repo/get_test.go | 4 +--- database/repo/index.go | 4 +--- database/repo/index_test.go | 4 +--- database/repo/interface.go | 4 +--- database/repo/list.go | 4 +--- database/repo/list_org.go | 4 +--- database/repo/list_org_test.go | 4 +--- database/repo/list_test.go | 4 +--- database/repo/list_user.go | 4 +--- database/repo/list_user_test.go | 4 +--- database/repo/opts.go | 4 +--- database/repo/opts_test.go | 4 +--- database/repo/repo.go | 4 +--- database/repo/repo_test.go | 4 +--- database/repo/table.go | 4 +--- database/repo/table_test.go | 4 +--- database/repo/update.go | 4 +--- database/repo/update_test.go | 4 +--- database/resource_test.go | 4 +--- database/schedule/count.go | 4 +--- database/schedule/count_active.go | 4 +--- database/schedule/count_active_test.go | 4 +--- database/schedule/count_repo.go | 4 +--- database/schedule/count_repo_test.go | 4 +--- database/schedule/count_test.go | 4 +--- database/schedule/create.go | 4 +--- database/schedule/create_test.go | 4 +--- database/schedule/delete.go | 4 +--- database/schedule/delete_test.go | 4 +--- database/schedule/get.go | 4 +--- database/schedule/get_repo.go | 4 +--- database/schedule/get_repo_test.go | 4 +--- database/schedule/get_test.go | 4 +--- database/schedule/index.go | 4 +--- database/schedule/index_test.go | 4 +--- database/schedule/interface.go | 4 +--- database/schedule/list.go | 4 +--- database/schedule/list_active.go | 4 +--- database/schedule/list_active_test.go | 4 +--- database/schedule/list_repo.go | 4 +--- database/schedule/list_repo_test.go | 4 +--- database/schedule/list_test.go | 4 +--- database/schedule/opts.go | 4 +--- database/schedule/opts_test.go | 4 +--- database/schedule/schedule.go | 4 +--- database/schedule/schedule_test.go | 4 +--- database/schedule/table.go | 4 +--- database/schedule/table_test.go | 4 +--- database/schedule/update.go | 4 +--- database/schedule/update_test.go | 4 +--- database/secret/count.go | 4 +--- database/secret/count_org.go | 4 +--- database/secret/count_org_test.go | 4 +--- database/secret/count_repo.go | 4 +--- database/secret/count_repo_test.go | 4 +--- database/secret/count_team.go | 4 +--- database/secret/count_team_test.go | 4 +--- database/secret/count_test.go | 4 +--- database/secret/create.go | 4 +--- database/secret/create_test.go | 4 +--- database/secret/delete.go | 4 +--- database/secret/delete_test.go | 4 +--- database/secret/get.go | 4 +--- database/secret/get_org.go | 4 +--- database/secret/get_org_test.go | 4 +--- database/secret/get_repo.go | 4 +--- database/secret/get_repo_test.go | 4 +--- database/secret/get_team.go | 4 +--- database/secret/get_team_test.go | 4 +--- database/secret/get_test.go | 4 +--- database/secret/index.go | 4 +--- database/secret/index_test.go | 4 +--- database/secret/interface.go | 4 +--- database/secret/list.go | 4 +--- database/secret/list_org.go | 4 +--- database/secret/list_org_test.go | 4 +--- database/secret/list_repo.go | 4 +--- database/secret/list_repo_test.go | 4 +--- database/secret/list_team.go | 4 +--- database/secret/list_team_test.go | 4 +--- database/secret/list_test.go | 4 +--- database/secret/opts.go | 4 +--- database/secret/opts_test.go | 4 +--- database/secret/secret.go | 4 +--- database/secret/secret_test.go | 4 +--- database/secret/table.go | 4 +--- database/secret/table_test.go | 4 +--- database/secret/update.go | 4 +--- database/secret/update_test.go | 4 +--- database/service/clean.go | 4 +--- database/service/clean_test.go | 4 +--- database/service/count.go | 4 +--- database/service/count_build.go | 4 +--- database/service/count_build_test.go | 4 +--- database/service/count_test.go | 4 +--- database/service/create.go | 4 +--- database/service/create_test.go | 4 +--- database/service/delete.go | 4 +--- database/service/delete_test.go | 4 +--- database/service/get.go | 4 +--- database/service/get_build.go | 4 +--- database/service/get_build_test.go | 4 +--- database/service/get_test.go | 4 +--- database/service/interface.go | 4 +--- database/service/list.go | 4 +--- database/service/list_build.go | 4 +--- database/service/list_build_test.go | 4 +--- database/service/list_image.go | 4 +--- database/service/list_image_test.go | 4 +--- database/service/list_status.go | 4 +--- database/service/list_status_test.go | 4 +--- database/service/list_test.go | 4 +--- database/service/opts.go | 4 +--- database/service/opts_test.go | 4 +--- database/service/service.go | 4 +--- database/service/service_test.go | 4 +--- database/service/table.go | 4 +--- database/service/table_test.go | 4 +--- database/service/update.go | 4 +--- database/service/update_test.go | 4 +--- database/step/clean.go | 4 +--- database/step/clean_test.go | 4 +--- database/step/count.go | 4 +--- database/step/count_build.go | 4 +--- database/step/count_build_test.go | 4 +--- database/step/count_test.go | 4 +--- database/step/create.go | 4 +--- database/step/create_test.go | 4 +--- database/step/delete.go | 4 +--- database/step/delete_test.go | 4 +--- database/step/get.go | 4 +--- database/step/get_build.go | 4 +--- database/step/get_build_test.go | 4 +--- database/step/get_test.go | 4 +--- database/step/interface.go | 4 +--- database/step/list.go | 4 +--- database/step/list_build.go | 4 +--- database/step/list_build_test.go | 4 +--- database/step/list_image.go | 4 +--- database/step/list_image_test.go | 4 +--- database/step/list_status.go | 4 +--- database/step/list_status_test.go | 4 +--- database/step/list_test.go | 4 +--- database/step/opts.go | 4 +--- database/step/opts_test.go | 4 +--- database/step/step.go | 4 +--- database/step/step_test.go | 4 +--- database/step/table.go | 4 +--- database/step/table_test.go | 4 +--- database/step/update.go | 4 +--- database/step/update_test.go | 4 +--- database/user/count.go | 4 +--- database/user/count_test.go | 4 +--- database/user/create.go | 4 +--- database/user/create_test.go | 4 +--- database/user/delete.go | 4 +--- database/user/delete_test.go | 4 +--- database/user/get.go | 4 +--- database/user/get_name.go | 4 +--- database/user/get_name_test.go | 4 +--- database/user/get_test.go | 4 +--- database/user/index.go | 4 +--- database/user/index_test.go | 4 +--- database/user/interface.go | 4 +--- database/user/list.go | 4 +--- database/user/list_lite.go | 4 +--- database/user/list_lite_test.go | 4 +--- database/user/list_test.go | 4 +--- database/user/opts.go | 4 +--- database/user/opts_test.go | 4 +--- database/user/table.go | 4 +--- database/user/table_test.go | 4 +--- database/user/update.go | 4 +--- database/user/update_test.go | 4 +--- database/user/user.go | 4 +--- database/user/user_test.go | 4 +--- database/worker/count.go | 4 +--- database/worker/count_test.go | 4 +--- database/worker/create.go | 4 +--- database/worker/create_test.go | 4 +--- database/worker/delete.go | 4 +--- database/worker/delete_test.go | 4 +--- database/worker/get.go | 4 +--- database/worker/get_hostname.go | 4 +--- database/worker/get_hostname_test.go | 4 +--- database/worker/get_test.go | 4 +--- database/worker/index.go | 4 +--- database/worker/index_test.go | 4 +--- database/worker/interface.go | 4 +--- database/worker/list.go | 4 +--- database/worker/list_test.go | 4 +--- database/worker/opts.go | 4 +--- database/worker/opts_test.go | 4 +--- database/worker/table.go | 4 +--- database/worker/table_test.go | 4 +--- database/worker/update.go | 4 +--- database/worker/update_test.go | 4 +--- database/worker/worker.go | 4 +--- database/worker/worker_test.go | 4 +--- docker-compose.yml | 4 +--- internal/token/compose.go | 4 +--- internal/token/compose_test.go | 4 +--- internal/token/manager.go | 4 +--- internal/token/mint.go | 4 +--- internal/token/parse.go | 4 +--- internal/token/parse_test.go | 4 +--- internal/token/refresh.go | 4 +--- internal/token/refresh_test.go | 4 +--- mock/server/authentication.go | 4 +--- mock/server/build.go | 4 +--- mock/server/deployment.go | 4 +--- mock/server/hook.go | 4 +--- mock/server/log.go | 4 +--- mock/server/pipeline.go | 4 +--- mock/server/repo.go | 4 +--- mock/server/schedule.go | 4 +--- mock/server/scm.go | 4 +--- mock/server/secret.go | 4 +--- mock/server/server.go | 4 +--- mock/server/service.go | 4 +--- mock/server/step.go | 4 +--- mock/server/user.go | 4 +--- mock/server/worker.go | 4 +--- queue/context.go | 4 +--- queue/context_test.go | 4 +--- queue/doc.go | 4 +--- queue/flags.go | 4 +--- queue/queue.go | 4 +--- queue/queue_test.go | 4 +--- queue/redis/doc.go | 4 +--- queue/redis/driver.go | 4 +--- queue/redis/driver_test.go | 4 +--- queue/redis/length.go | 4 +--- queue/redis/length_test.go | 4 +--- queue/redis/opts.go | 4 +--- queue/redis/opts_test.go | 4 +--- queue/redis/pop.go | 4 +--- queue/redis/pop_test.go | 4 +--- queue/redis/push.go | 4 +--- queue/redis/push_test.go | 4 +--- queue/redis/redis.go | 4 +--- queue/redis/redis_test.go | 4 +--- queue/redis/route.go | 4 +--- queue/redis/route_test.go | 4 +--- queue/service.go | 4 +--- queue/setup.go | 4 +--- queue/setup_test.go | 4 +--- random/random.go | 4 +--- router/admin.go | 4 +--- router/build.go | 4 +--- router/deployment.go | 4 +--- router/doc.go | 4 +--- router/hook.go | 4 +--- router/log.go | 4 +--- router/middleware/allowlist.go | 4 +--- router/middleware/allowlist_schedule.go | 4 +--- router/middleware/allowlist_schedule_test.go | 4 +--- router/middleware/allowlist_test.go | 4 +--- router/middleware/auth/auth.go | 4 +--- router/middleware/auth/auth_test.go | 4 +--- router/middleware/auth/doc.go | 4 +--- router/middleware/build/build.go | 4 +--- router/middleware/build/build_test.go | 4 +--- router/middleware/build/context.go | 4 +--- router/middleware/build/context_test.go | 4 +--- router/middleware/build/doc.go | 4 +--- router/middleware/claims/claims.go | 4 +--- router/middleware/claims/claims_test.go | 4 +--- router/middleware/claims/context.go | 4 +--- router/middleware/claims/context_test.go | 4 +--- router/middleware/claims/doc.go | 4 +--- router/middleware/compiler.go | 4 +--- router/middleware/compiler_test.go | 4 +--- router/middleware/database.go | 4 +--- router/middleware/database_test.go | 4 +--- router/middleware/default_build_limit.go | 4 +--- router/middleware/default_build_limit_test.go | 4 +--- router/middleware/default_repo_events.go | 4 +--- router/middleware/default_repo_events_test.go | 4 +--- router/middleware/default_timeout.go | 4 +--- router/middleware/default_timeout_test.go | 4 +--- router/middleware/doc.go | 4 +--- router/middleware/executors/context.go | 4 +--- router/middleware/executors/context_test.go | 4 +--- router/middleware/executors/doc.go | 4 +--- router/middleware/executors/executor_test.go | 4 +--- router/middleware/executors/executors.go | 4 +--- router/middleware/header.go | 4 +--- router/middleware/header_test.go | 4 +--- router/middleware/logger.go | 4 +--- router/middleware/logger_test.go | 4 +--- router/middleware/max_build_limit.go | 4 +--- router/middleware/max_build_limit_test.go | 4 +--- router/middleware/metadata.go | 4 +--- router/middleware/metadata_test.go | 4 +--- router/middleware/org/context.go | 4 +--- router/middleware/org/context_test.go | 4 +--- router/middleware/org/doc.go | 4 +--- router/middleware/org/org.go | 4 +--- router/middleware/org/org_test.go | 4 +--- router/middleware/payload.go | 4 +--- router/middleware/payload_test.go | 4 +--- router/middleware/perm/doc.go | 4 +--- router/middleware/perm/perm.go | 4 +--- router/middleware/perm/perm_test.go | 4 +--- router/middleware/pipeline/context.go | 4 +--- router/middleware/pipeline/context_test.go | 4 +--- router/middleware/pipeline/doc.go | 4 +--- router/middleware/pipeline/pipeline.go | 4 +--- router/middleware/pipeline/pipeline_test.go | 4 +--- router/middleware/queue.go | 4 +--- router/middleware/queue_test.go | 4 +--- router/middleware/repo/context.go | 4 +--- router/middleware/repo/context_test.go | 4 +--- router/middleware/repo/doc.go | 4 +--- router/middleware/repo/repo.go | 4 +--- router/middleware/repo/repo_test.go | 4 +--- router/middleware/schedule/context.go | 4 +--- router/middleware/schedule/context_test.go | 4 +--- router/middleware/schedule/schedule.go | 4 +--- router/middleware/schedule_frequency.go | 4 +--- router/middleware/schedule_frequency_test.go | 4 +--- router/middleware/scm.go | 4 +--- router/middleware/scm_test.go | 4 +--- router/middleware/secret.go | 4 +--- router/middleware/secret_test.go | 4 +--- router/middleware/secure_cookie.go | 4 +--- router/middleware/secure_cookie_test.go | 4 +--- router/middleware/service/context.go | 4 +--- router/middleware/service/context_test.go | 4 +--- router/middleware/service/doc.go | 4 +--- router/middleware/service/service.go | 4 +--- router/middleware/service/service_test.go | 4 +--- router/middleware/signing.go | 4 +--- router/middleware/step/context.go | 4 +--- router/middleware/step/context_test.go | 4 +--- router/middleware/step/doc.go | 4 +--- router/middleware/step/step.go | 4 +--- router/middleware/step/step_test.go | 4 +--- router/middleware/token_manager.go | 4 +--- router/middleware/token_manager_test.go | 4 +--- router/middleware/user/context.go | 4 +--- router/middleware/user/context_test.go | 4 +--- router/middleware/user/doc.go | 4 +--- router/middleware/user/user.go | 4 +--- router/middleware/user/user_test.go | 4 +--- router/middleware/webhook_validation.go | 4 +--- router/middleware/webhook_validation_test.go | 4 +--- router/middleware/worker.go | 4 +--- router/middleware/worker/context.go | 4 +--- router/middleware/worker/context_test.go | 4 +--- router/middleware/worker/doc.go | 4 +--- router/middleware/worker/worker.go | 4 +--- router/middleware/worker/worker_test.go | 4 +--- router/middleware/worker_test.go | 4 +--- router/pipeline.go | 4 +--- router/repo.go | 4 +--- router/router.go | 4 +--- router/schedule.go | 4 +--- router/scm.go | 4 +--- router/search.go | 4 +--- router/secret.go | 4 +--- router/service.go | 4 +--- router/step.go | 4 +--- router/user.go | 4 +--- router/worker.go | 4 +--- scm/context.go | 4 +--- scm/context_test.go | 4 +--- scm/doc.go | 4 +--- scm/flags.go | 4 +--- scm/github/access.go | 4 +--- scm/github/access_test.go | 4 +--- scm/github/authentication.go | 4 +--- scm/github/authentication_test.go | 4 +--- scm/github/changeset.go | 4 +--- scm/github/changeset_test.go | 4 +--- scm/github/deployment.go | 4 +--- scm/github/deployment_test.go | 4 +--- scm/github/doc.go | 4 +--- scm/github/driver.go | 4 +--- scm/github/driver_test.go | 4 +--- scm/github/github.go | 4 +--- scm/github/github_test.go | 4 +--- scm/github/opts.go | 4 +--- scm/github/opts_test.go | 4 +--- scm/github/org.go | 4 +--- scm/github/org_test.go | 4 +--- scm/github/repo.go | 4 +--- scm/github/repo_test.go | 4 +--- scm/github/webhook.go | 4 +--- scm/github/webhook_test.go | 4 +--- scm/scm.go | 4 +--- scm/scm_test.go | 4 +--- scm/service.go | 4 +--- scm/setup.go | 4 +--- scm/setup_test.go | 4 +--- secret/context.go | 4 +--- secret/context_test.go | 4 +--- secret/doc.go | 4 +--- secret/flags.go | 4 +--- secret/native/count.go | 4 +--- secret/native/count_test.go | 4 +--- secret/native/create.go | 4 +--- secret/native/create_test.go | 4 +--- secret/native/delete.go | 4 +--- secret/native/delete_test.go | 4 +--- secret/native/doc.go | 4 +--- secret/native/driver.go | 4 +--- secret/native/driver_test.go | 4 +--- secret/native/get.go | 4 +--- secret/native/get_test.go | 4 +--- secret/native/list.go | 4 +--- secret/native/list_test.go | 4 +--- secret/native/native.go | 4 +--- secret/native/native_test.go | 4 +--- secret/native/opts.go | 4 +--- secret/native/opts_test.go | 4 +--- secret/native/update.go | 4 +--- secret/native/update_test.go | 4 +--- secret/secret.go | 4 +--- secret/secret_test.go | 4 +--- secret/service.go | 4 +--- secret/setup.go | 4 +--- secret/setup_test.go | 4 +--- secret/vault/count.go | 4 +--- secret/vault/count_test.go | 4 +--- secret/vault/create.go | 4 +--- secret/vault/create_test.go | 4 +--- secret/vault/delete.go | 4 +--- secret/vault/delete_test.go | 4 +--- secret/vault/doc.go | 4 +--- secret/vault/driver.go | 4 +--- secret/vault/driver_test.go | 4 +--- secret/vault/get.go | 4 +--- secret/vault/get_test.go | 4 +--- secret/vault/list.go | 4 +--- secret/vault/list_test.go | 4 +--- secret/vault/opts.go | 4 +--- secret/vault/opts_test.go | 4 +--- secret/vault/refresh.go | 4 +--- secret/vault/refresh_test.go | 4 +--- secret/vault/update.go | 4 +--- secret/vault/update_test.go | 4 +--- secret/vault/vault.go | 4 +--- secret/vault/vault_test.go | 4 +--- util/util.go | 4 +--- version/version.go | 4 +--- 814 files changed, 815 insertions(+), 2439 deletions(-) diff --git a/.github/README.md b/.github/README.md index 30a9fd391..e668cecb4 100644 --- a/.github/README.md +++ b/.github/README.md @@ -34,7 +34,7 @@ Please see our [support](SUPPORT.md) documentation for further instructions. ## Copyright and License ``` -Copyright (c) 2022 Target Brands, Inc. +Copyright 2019 Target Brands, Inc. ``` -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) +[Apache License, Version 2.0](../LICENSE) diff --git a/.golangci.yml b/.golangci.yml index 00c50154f..48151b3e9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -35,9 +35,7 @@ linters-settings: # https://github.com/denis-tingaikin/go-header goheader: template: |- - Copyright (c) {{ YEAR }} Target Brands, Inc. All rights reserved. - - Use of this source code is governed by the LICENSE file in this repository. + SPDX-License-Identifier: Apache-2.0 # https://github.com/client9/misspell misspell: diff --git a/Dockerfile b/Dockerfile index 8f86431d8..b64b003f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 FROM alpine:3.18.3@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33 as certs diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 894752491..eb5071de1 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 FROM alpine:3.18.3@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33 diff --git a/LICENSE b/LICENSE index 3abdb0366..1decd39ed 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright (c) 2022 Target Brands, Inc. + Copyright 2019 Target Brands, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Makefile b/Makefile index f46e05a3f..811c60296 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 # capture the current date we build the application from BUILD_DATE = $(shell date +%Y-%m-%dT%H:%M:%SZ) diff --git a/api/admin/build.go b/api/admin/build.go index 2be805ef2..a56cdbd16 100644 --- a/api/admin/build.go +++ b/api/admin/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package admin diff --git a/api/admin/clean.go b/api/admin/clean.go index 6ee9e7056..39d8c32a4 100644 --- a/api/admin/clean.go +++ b/api/admin/clean.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package admin diff --git a/api/admin/deployment.go b/api/admin/deployment.go index 063407b6d..deeac0045 100644 --- a/api/admin/deployment.go +++ b/api/admin/deployment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package admin diff --git a/api/admin/doc.go b/api/admin/doc.go index 565520dbf..31152b484 100644 --- a/api/admin/doc.go +++ b/api/admin/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package admin provides the admin handlers for the Vela API. // diff --git a/api/admin/hook.go b/api/admin/hook.go index 7cdf2c5e4..4336a0744 100644 --- a/api/admin/hook.go +++ b/api/admin/hook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package admin diff --git a/api/admin/repo.go b/api/admin/repo.go index b24fb7013..11814a8a0 100644 --- a/api/admin/repo.go +++ b/api/admin/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package admin diff --git a/api/admin/secret.go b/api/admin/secret.go index b2f6d4a52..9c00c830c 100644 --- a/api/admin/secret.go +++ b/api/admin/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package admin diff --git a/api/admin/service.go b/api/admin/service.go index b80c71a80..190d4f902 100644 --- a/api/admin/service.go +++ b/api/admin/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package admin diff --git a/api/admin/step.go b/api/admin/step.go index 2da12ece1..88204ca45 100644 --- a/api/admin/step.go +++ b/api/admin/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package admin diff --git a/api/admin/user.go b/api/admin/user.go index 9893c0250..416cd2e09 100644 --- a/api/admin/user.go +++ b/api/admin/user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code package admin diff --git a/api/admin/worker.go b/api/admin/worker.go index 8c0f9978a..1966d7d25 100644 --- a/api/admin/worker.go +++ b/api/admin/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package admin diff --git a/api/auth/doc.go b/api/auth/doc.go index c200b5faf..365c84f57 100644 --- a/api/auth/doc.go +++ b/api/auth/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package auth provides the auth handlers (authenticate, login, ...) for the Vela API. // diff --git a/api/auth/get_token.go b/api/auth/get_token.go index 37ee028e7..16b4334ae 100644 --- a/api/auth/get_token.go +++ b/api/auth/get_token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/api/auth/login.go b/api/auth/login.go index 36b977009..041d844f3 100644 --- a/api/auth/login.go +++ b/api/auth/login.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/api/auth/logout.go b/api/auth/logout.go index a496f15cd..454d2b9ed 100644 --- a/api/auth/logout.go +++ b/api/auth/logout.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/api/auth/post_token.go b/api/auth/post_token.go index 4db7dd019..2f68af691 100644 --- a/api/auth/post_token.go +++ b/api/auth/post_token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/api/auth/redirect.go b/api/auth/redirect.go index 32b486393..473c7a612 100644 --- a/api/auth/redirect.go +++ b/api/auth/redirect.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/api/auth/refresh.go b/api/auth/refresh.go index 0c12425cc..65a7626b7 100644 --- a/api/auth/refresh.go +++ b/api/auth/refresh.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/api/auth/validate.go b/api/auth/validate.go index d78057193..6485fe9f9 100644 --- a/api/auth/validate.go +++ b/api/auth/validate.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/api/badge.go b/api/badge.go index bb84d2c48..df4fcd97a 100644 --- a/api/badge.go +++ b/api/badge.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/build/cancel.go b/api/build/cancel.go index 7d5bff144..80cbdec3b 100644 --- a/api/build/cancel.go +++ b/api/build/cancel.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/clean.go b/api/build/clean.go index 475525f98..e830c48a9 100644 --- a/api/build/clean.go +++ b/api/build/clean.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/create.go b/api/build/create.go index c2885f096..272880432 100644 --- a/api/build/create.go +++ b/api/build/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/delete.go b/api/build/delete.go index ffc9a7ac4..c1ce1de82 100644 --- a/api/build/delete.go +++ b/api/build/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/doc.go b/api/build/doc.go index 94b6571e3..5fc6778e6 100644 --- a/api/build/doc.go +++ b/api/build/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package build provides the build handlers for the Vela API. // diff --git a/api/build/executable.go b/api/build/executable.go index 17ca1c082..e7cd2c291 100644 --- a/api/build/executable.go +++ b/api/build/executable.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/get.go b/api/build/get.go index 7e476441e..135ca1bb4 100644 --- a/api/build/get.go +++ b/api/build/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/get_id.go b/api/build/get_id.go index 7a122c8f5..90237c420 100644 --- a/api/build/get_id.go +++ b/api/build/get_id.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/list_org.go b/api/build/list_org.go index 214b7294b..aa495087e 100644 --- a/api/build/list_org.go +++ b/api/build/list_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/list_repo.go b/api/build/list_repo.go index 1fb701dc5..e6b043afd 100644 --- a/api/build/list_repo.go +++ b/api/build/list_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/plan.go b/api/build/plan.go index a6a812b2c..1c546e095 100644 --- a/api/build/plan.go +++ b/api/build/plan.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/publish.go b/api/build/publish.go index 3cf20ff02..1499fe540 100644 --- a/api/build/publish.go +++ b/api/build/publish.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/restart.go b/api/build/restart.go index 6ee1e7fe9..9867a626f 100644 --- a/api/build/restart.go +++ b/api/build/restart.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/skip.go b/api/build/skip.go index 4d5cf8af9..2d934fb93 100644 --- a/api/build/skip.go +++ b/api/build/skip.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/skip_test.go b/api/build/skip_test.go index ca805a84e..27cf416bd 100644 --- a/api/build/skip_test.go +++ b/api/build/skip_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/token.go b/api/build/token.go index da18a0322..7365a72d4 100644 --- a/api/build/token.go +++ b/api/build/token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/build/update.go b/api/build/update.go index 9f4aabbc0..566a46360 100644 --- a/api/build/update.go +++ b/api/build/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/api/deployment/create.go b/api/deployment/create.go index 5e388d8d0..0c7112069 100644 --- a/api/deployment/create.go +++ b/api/deployment/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package deployment diff --git a/api/deployment/doc.go b/api/deployment/doc.go index c6118b8f3..a63c8ade5 100644 --- a/api/deployment/doc.go +++ b/api/deployment/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package deployment provides the deployment handlers for the Vela API. // diff --git a/api/deployment/get.go b/api/deployment/get.go index cb1ecfceb..1eef1c527 100644 --- a/api/deployment/get.go +++ b/api/deployment/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package deployment diff --git a/api/deployment/list.go b/api/deployment/list.go index 08ed1853d..384255136 100644 --- a/api/deployment/list.go +++ b/api/deployment/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package deployment diff --git a/api/doc.go b/api/doc.go index 4f9d47c48..098d3c5c3 100644 --- a/api/doc.go +++ b/api/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package api provides the handlers for the Vela API. // diff --git a/api/health.go b/api/health.go index 8aa50d94a..71c8eacf4 100644 --- a/api/health.go +++ b/api/health.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/hook/create.go b/api/hook/create.go index 234e32eae..569e43664 100644 --- a/api/hook/create.go +++ b/api/hook/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/api/hook/delete.go b/api/hook/delete.go index 3087e928a..86ef22312 100644 --- a/api/hook/delete.go +++ b/api/hook/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/api/hook/get.go b/api/hook/get.go index 49ddca5de..d3ff18793 100644 --- a/api/hook/get.go +++ b/api/hook/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/api/hook/list.go b/api/hook/list.go index bd47e019e..902cd33cc 100644 --- a/api/hook/list.go +++ b/api/hook/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/api/hook/redeliver.go b/api/hook/redeliver.go index 63ab91a9a..50f68e6eb 100644 --- a/api/hook/redeliver.go +++ b/api/hook/redeliver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/api/hook/update.go b/api/hook/update.go index ab2fb5955..74954dde1 100644 --- a/api/hook/update.go +++ b/api/hook/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/api/log/create_service.go b/api/log/create_service.go index 501dcfe89..fb188aead 100644 --- a/api/log/create_service.go +++ b/api/log/create_service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code to step package log diff --git a/api/log/create_step.go b/api/log/create_step.go index 5a3c07f97..19c8030ef 100644 --- a/api/log/create_step.go +++ b/api/log/create_step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code to service package log diff --git a/api/log/delete_service.go b/api/log/delete_service.go index d5d8d6655..788fe1f8d 100644 --- a/api/log/delete_service.go +++ b/api/log/delete_service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with step package log diff --git a/api/log/delete_step.go b/api/log/delete_step.go index 8fe0818f5..7209637ff 100644 --- a/api/log/delete_step.go +++ b/api/log/delete_step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with service package log diff --git a/api/log/doc.go b/api/log/doc.go index 9f619b01c..09fa858b9 100644 --- a/api/log/doc.go +++ b/api/log/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package log provides the log handlers for the Vela API. // diff --git a/api/log/get_service.go b/api/log/get_service.go index 6b73a2a07..62500eb3c 100644 --- a/api/log/get_service.go +++ b/api/log/get_service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with step package log diff --git a/api/log/get_step.go b/api/log/get_step.go index 33f71974f..2e2798918 100644 --- a/api/log/get_step.go +++ b/api/log/get_step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with service package log diff --git a/api/log/list_build.go b/api/log/list_build.go index ed89f3e20..6cb2e5130 100644 --- a/api/log/list_build.go +++ b/api/log/list_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/api/log/update_service.go b/api/log/update_service.go index a396b0e76..7e1ca5a5b 100644 --- a/api/log/update_service.go +++ b/api/log/update_service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with step package log diff --git a/api/log/update_step.go b/api/log/update_step.go index 8b17cc2f3..d6f0370ec 100644 --- a/api/log/update_step.go +++ b/api/log/update_step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with service package log diff --git a/api/metrics.go b/api/metrics.go index 507753041..0cadb75d3 100644 --- a/api/metrics.go +++ b/api/metrics.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/pagination.go b/api/pagination.go index a63af8214..6abb3f3d9 100644 --- a/api/pagination.go +++ b/api/pagination.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/pipeline/compile.go b/api/pipeline/compile.go index 8ac5fed93..072613c1b 100644 --- a/api/pipeline/compile.go +++ b/api/pipeline/compile.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with expand package pipeline diff --git a/api/pipeline/create.go b/api/pipeline/create.go index 87bfb6634..240b59c57 100644 --- a/api/pipeline/create.go +++ b/api/pipeline/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/api/pipeline/delete.go b/api/pipeline/delete.go index 1012b3094..d6ca9936e 100644 --- a/api/pipeline/delete.go +++ b/api/pipeline/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/api/pipeline/doc.go b/api/pipeline/doc.go index 0b2c02901..fefe60102 100644 --- a/api/pipeline/doc.go +++ b/api/pipeline/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package pipeline provides the pipeline handlers for the Vela API. // diff --git a/api/pipeline/expand.go b/api/pipeline/expand.go index 17f782fee..a757551bc 100644 --- a/api/pipeline/expand.go +++ b/api/pipeline/expand.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with compile package pipeline diff --git a/api/pipeline/get.go b/api/pipeline/get.go index 45beb61dc..8e8b9cf16 100644 --- a/api/pipeline/get.go +++ b/api/pipeline/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/api/pipeline/list.go b/api/pipeline/list.go index a43f33788..ebb83ad54 100644 --- a/api/pipeline/list.go +++ b/api/pipeline/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/api/pipeline/output.go b/api/pipeline/output.go index 46fcace56..b7e260ed3 100644 --- a/api/pipeline/output.go +++ b/api/pipeline/output.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/api/pipeline/template.go b/api/pipeline/template.go index 596ff77f3..9716b6328 100644 --- a/api/pipeline/template.go +++ b/api/pipeline/template.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/api/pipeline/update.go b/api/pipeline/update.go index 8c349f5bb..075d00265 100644 --- a/api/pipeline/update.go +++ b/api/pipeline/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/api/pipeline/validate.go b/api/pipeline/validate.go index 45aae1ff8..9c2a36a34 100644 --- a/api/pipeline/validate.go +++ b/api/pipeline/validate.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/api/repo/chown.go b/api/repo/chown.go index 93a4ec5fa..8061b2de6 100644 --- a/api/repo/chown.go +++ b/api/repo/chown.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/api/repo/create.go b/api/repo/create.go index efa1611df..00b1435fa 100644 --- a/api/repo/create.go +++ b/api/repo/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/api/repo/delete.go b/api/repo/delete.go index cf6d64fbf..445a9af92 100644 --- a/api/repo/delete.go +++ b/api/repo/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/api/repo/doc.go b/api/repo/doc.go index 82eb5304e..a2f856d05 100644 --- a/api/repo/doc.go +++ b/api/repo/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package repo provides the repo handlers for the Vela API. // diff --git a/api/repo/get.go b/api/repo/get.go index 65cbede1b..d8b1fdebb 100644 --- a/api/repo/get.go +++ b/api/repo/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/api/repo/list.go b/api/repo/list.go index 77c127b3c..7b7f788f6 100644 --- a/api/repo/list.go +++ b/api/repo/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/api/repo/list_org.go b/api/repo/list_org.go index 899a615a9..22114e50c 100644 --- a/api/repo/list_org.go +++ b/api/repo/list_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/api/repo/repair.go b/api/repo/repair.go index 50f15c407..55274b158 100644 --- a/api/repo/repair.go +++ b/api/repo/repair.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/api/repo/update.go b/api/repo/update.go index 162c78ca9..b863b08c5 100644 --- a/api/repo/update.go +++ b/api/repo/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/api/schedule/create.go b/api/schedule/create.go index 667eb3ca9..0becfccfe 100644 --- a/api/schedule/create.go +++ b/api/schedule/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/api/schedule/create_test.go b/api/schedule/create_test.go index a2956f6ca..41178f4b5 100644 --- a/api/schedule/create_test.go +++ b/api/schedule/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/api/schedule/delete.go b/api/schedule/delete.go index 9c6f1dda8..3e7eea10d 100644 --- a/api/schedule/delete.go +++ b/api/schedule/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/api/schedule/get.go b/api/schedule/get.go index 727de5b84..902b06b21 100644 --- a/api/schedule/get.go +++ b/api/schedule/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/api/schedule/list.go b/api/schedule/list.go index a3d6d6e14..cd47a56e1 100644 --- a/api/schedule/list.go +++ b/api/schedule/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/api/schedule/update.go b/api/schedule/update.go index 6c2a8b9b6..fdf078d64 100644 --- a/api/schedule/update.go +++ b/api/schedule/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/api/scm/doc.go b/api/scm/doc.go index 5d66cafed..731d515ac 100644 --- a/api/scm/doc.go +++ b/api/scm/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package scm provides the scm handlers for the Vela API. // diff --git a/api/scm/sync.go b/api/scm/sync.go index c462b6730..045c0a1b6 100644 --- a/api/scm/sync.go +++ b/api/scm/sync.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/api/scm/sync_org.go b/api/scm/sync_org.go index ba469e8a0..c0b2e08fa 100644 --- a/api/scm/sync_org.go +++ b/api/scm/sync_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/api/secret/create.go b/api/secret/create.go index d1d6695d6..fc2dca67a 100644 --- a/api/secret/create.go +++ b/api/secret/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/api/secret/delete.go b/api/secret/delete.go index 32d96df1c..5257b82a9 100644 --- a/api/secret/delete.go +++ b/api/secret/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/api/secret/doc.go b/api/secret/doc.go index db89d7b55..d96644946 100644 --- a/api/secret/doc.go +++ b/api/secret/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package secret provides the secret handlers for the Vela API. // diff --git a/api/secret/get.go b/api/secret/get.go index e97781862..74cad449f 100644 --- a/api/secret/get.go +++ b/api/secret/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/api/secret/list.go b/api/secret/list.go index a510294a9..a3870597f 100644 --- a/api/secret/list.go +++ b/api/secret/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/api/secret/update.go b/api/secret/update.go index 795a8a5b4..86870d03d 100644 --- a/api/secret/update.go +++ b/api/secret/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/api/service/create.go b/api/service/create.go index b66e57c51..e43f66a0f 100644 --- a/api/service/create.go +++ b/api/service/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/api/service/delete.go b/api/service/delete.go index 24c0d7eb0..ff885e440 100644 --- a/api/service/delete.go +++ b/api/service/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/api/service/doc.go b/api/service/doc.go index 53dc07284..083b50742 100644 --- a/api/service/doc.go +++ b/api/service/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package service provides the service handlers for the Vela API. // diff --git a/api/service/get.go b/api/service/get.go index b2165a69f..5ac4503b8 100644 --- a/api/service/get.go +++ b/api/service/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/api/service/list.go b/api/service/list.go index d91268092..d5e37cfef 100644 --- a/api/service/list.go +++ b/api/service/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/api/service/plan.go b/api/service/plan.go index 6ae3a9e86..790c9b538 100644 --- a/api/service/plan.go +++ b/api/service/plan.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/api/service/update.go b/api/service/update.go index fda5d9676..c391e6a86 100644 --- a/api/service/update.go +++ b/api/service/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/api/step/create.go b/api/step/create.go index 58e71a99e..06eeac4e9 100644 --- a/api/step/create.go +++ b/api/step/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/api/step/delete.go b/api/step/delete.go index 1a43c30b3..f9ee7c2ad 100644 --- a/api/step/delete.go +++ b/api/step/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/api/step/doc.go b/api/step/doc.go index fad7dce79..0faed9f2d 100644 --- a/api/step/doc.go +++ b/api/step/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package step provides the step handlers for the Vela API. // diff --git a/api/step/get.go b/api/step/get.go index cf55c1bb5..51f1894c6 100644 --- a/api/step/get.go +++ b/api/step/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/api/step/list.go b/api/step/list.go index 5d76fb33c..1545e28ea 100644 --- a/api/step/list.go +++ b/api/step/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/api/step/plan.go b/api/step/plan.go index 96dccc283..103f38d6e 100644 --- a/api/step/plan.go +++ b/api/step/plan.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/api/step/update.go b/api/step/update.go index d0563d98d..e7b2402ee 100644 --- a/api/step/update.go +++ b/api/step/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/api/user/create.go b/api/user/create.go index 691f448ad..575e73c88 100644 --- a/api/user/create.go +++ b/api/user/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/api/user/create_token.go b/api/user/create_token.go index f114f369a..9f57fde9a 100644 --- a/api/user/create_token.go +++ b/api/user/create_token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with delete token package user diff --git a/api/user/delete.go b/api/user/delete.go index 29c63135a..36393d24a 100644 --- a/api/user/delete.go +++ b/api/user/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/api/user/delete_token.go b/api/user/delete_token.go index d24ae8bf0..adb554015 100644 --- a/api/user/delete_token.go +++ b/api/user/delete_token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with create token package user diff --git a/api/user/doc.go b/api/user/doc.go index 7f1ce6bc5..70e2ee31a 100644 --- a/api/user/doc.go +++ b/api/user/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package user provides the user handlers for the Vela API. // diff --git a/api/user/get.go b/api/user/get.go index bf6e6f519..e888ff804 100644 --- a/api/user/get.go +++ b/api/user/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/api/user/get_current.go b/api/user/get_current.go index b4b1ef4c3..641576df0 100644 --- a/api/user/get_current.go +++ b/api/user/get_current.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/api/user/get_source.go b/api/user/get_source.go index 0ac333f38..6390c00e7 100644 --- a/api/user/get_source.go +++ b/api/user/get_source.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/api/user/list.go b/api/user/list.go index a1d0c487d..a62ae57aa 100644 --- a/api/user/list.go +++ b/api/user/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/api/user/update.go b/api/user/update.go index f65335a0e..0535da1f5 100644 --- a/api/user/update.go +++ b/api/user/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/api/user/update_current.go b/api/user/update_current.go index dd5051277..ab56023ad 100644 --- a/api/user/update_current.go +++ b/api/user/update_current.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/api/version.go b/api/version.go index c5b956d37..349fd5ea4 100644 --- a/api/version.go +++ b/api/version.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package api diff --git a/api/webhook/doc.go b/api/webhook/doc.go index 0acc05476..dc6cc086e 100644 --- a/api/webhook/doc.go +++ b/api/webhook/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package webhook provides the webhook handlers for the Vela API. // diff --git a/api/webhook/post.go b/api/webhook/post.go index 120f7ac95..d3c2fa6c4 100644 --- a/api/webhook/post.go +++ b/api/webhook/post.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package webhook diff --git a/api/worker/create.go b/api/worker/create.go index 09f802177..07edf3acc 100644 --- a/api/worker/create.go +++ b/api/worker/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/api/worker/delete.go b/api/worker/delete.go index 4857e119a..cde6c743a 100644 --- a/api/worker/delete.go +++ b/api/worker/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/api/worker/doc.go b/api/worker/doc.go index 86da09ed7..8956f37ba 100644 --- a/api/worker/doc.go +++ b/api/worker/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package worker provides the worker handlers for the Vela API. // diff --git a/api/worker/get.go b/api/worker/get.go index b16cbb9cd..a8a4d6931 100644 --- a/api/worker/get.go +++ b/api/worker/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/api/worker/list.go b/api/worker/list.go index 07b6d136a..6b24484a6 100644 --- a/api/worker/list.go +++ b/api/worker/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/api/worker/refresh.go b/api/worker/refresh.go index 3ae1d09aa..15826f6d6 100644 --- a/api/worker/refresh.go +++ b/api/worker/refresh.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/api/worker/update.go b/api/worker/update.go index 0cec92224..d95ddf7af 100644 --- a/api/worker/update.go +++ b/api/worker/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/cmd/vela-server/compiler.go b/cmd/vela-server/compiler.go index 36878631c..4e85f046a 100644 --- a/cmd/vela-server/compiler.go +++ b/cmd/vela-server/compiler.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/main.go b/cmd/vela-server/main.go index 94fe7016b..73968e043 100644 --- a/cmd/vela-server/main.go +++ b/cmd/vela-server/main.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/metadata.go b/cmd/vela-server/metadata.go index 4ce86ea31..88a29b23a 100644 --- a/cmd/vela-server/metadata.go +++ b/cmd/vela-server/metadata.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/queue.go b/cmd/vela-server/queue.go index edd703e69..32d4e7dfe 100644 --- a/cmd/vela-server/queue.go +++ b/cmd/vela-server/queue.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/schedule.go b/cmd/vela-server/schedule.go index 0ca6024c4..441798fff 100644 --- a/cmd/vela-server/schedule.go +++ b/cmd/vela-server/schedule.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/scm.go b/cmd/vela-server/scm.go index b50141d85..3a7e0ef73 100644 --- a/cmd/vela-server/scm.go +++ b/cmd/vela-server/scm.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/secret.go b/cmd/vela-server/secret.go index 56e6c0572..1b0e22ef8 100644 --- a/cmd/vela-server/secret.go +++ b/cmd/vela-server/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/server.go b/cmd/vela-server/server.go index cb9f0edd1..f9d057eff 100644 --- a/cmd/vela-server/server.go +++ b/cmd/vela-server/server.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/token.go b/cmd/vela-server/token.go index 298ef283a..39b1600a6 100644 --- a/cmd/vela-server/token.go +++ b/cmd/vela-server/token.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/vela-server/validate.go b/cmd/vela-server/validate.go index cac3b0424..b05e012c6 100644 --- a/cmd/vela-server/validate.go +++ b/cmd/vela-server/validate.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/compiler/context.go b/compiler/context.go index 2a5622628..c5977b45f 100644 --- a/compiler/context.go +++ b/compiler/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package compiler diff --git a/compiler/context_test.go b/compiler/context_test.go index e5b340de6..5c75acfb5 100644 --- a/compiler/context_test.go +++ b/compiler/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package compiler diff --git a/compiler/doc.go b/compiler/doc.go index 0e6e12e57..5a5bd0f10 100644 --- a/compiler/doc.go +++ b/compiler/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package compiler provides the ability for Vela to // reconstruct a yaml configuration into an executable diff --git a/compiler/engine.go b/compiler/engine.go index 0296c99d4..68304e910 100644 --- a/compiler/engine.go +++ b/compiler/engine.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package compiler diff --git a/compiler/native/clone.go b/compiler/native/clone.go index ffc14393a..9075292f7 100644 --- a/compiler/native/clone.go +++ b/compiler/native/clone.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/clone_test.go b/compiler/native/clone_test.go index f481ee4c3..662576d53 100644 --- a/compiler/native/clone_test.go +++ b/compiler/native/clone_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/compile.go b/compiler/native/compile.go index d106fa480..b0648ded0 100644 --- a/compiler/native/compile.go +++ b/compiler/native/compile.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/compile_test.go b/compiler/native/compile_test.go index e0d2fc59b..4327f787f 100644 --- a/compiler/native/compile_test.go +++ b/compiler/native/compile_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/doc.go b/compiler/native/doc.go index 81877d3da..be02778d1 100644 --- a/compiler/native/doc.go +++ b/compiler/native/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package native provides the ability for Vela to // reconstruct a yaml configuration into an executable diff --git a/compiler/native/environment.go b/compiler/native/environment.go index 7536731a6..4d61136ee 100644 --- a/compiler/native/environment.go +++ b/compiler/native/environment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/environment_test.go b/compiler/native/environment_test.go index cba5e9242..e90fd8777 100644 --- a/compiler/native/environment_test.go +++ b/compiler/native/environment_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/expand.go b/compiler/native/expand.go index 02faface2..f714387e2 100644 --- a/compiler/native/expand.go +++ b/compiler/native/expand.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/expand_test.go b/compiler/native/expand_test.go index d2a8a92b6..808be5a33 100644 --- a/compiler/native/expand_test.go +++ b/compiler/native/expand_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/initialize.go b/compiler/native/initialize.go index b1824d5ab..e54b10ff1 100644 --- a/compiler/native/initialize.go +++ b/compiler/native/initialize.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/initialize_test.go b/compiler/native/initialize_test.go index 9b0468166..6a0b2d31c 100644 --- a/compiler/native/initialize_test.go +++ b/compiler/native/initialize_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/native.go b/compiler/native/native.go index d2b5ebd19..a93c6fd50 100644 --- a/compiler/native/native.go +++ b/compiler/native/native.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/native_test.go b/compiler/native/native_test.go index de1f60631..36be98195 100644 --- a/compiler/native/native_test.go +++ b/compiler/native/native_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/parse.go b/compiler/native/parse.go index 96e9ec25a..83a401ddf 100644 --- a/compiler/native/parse.go +++ b/compiler/native/parse.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/parse_test.go b/compiler/native/parse_test.go index 0bb5a0195..9698a103d 100644 --- a/compiler/native/parse_test.go +++ b/compiler/native/parse_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/script.go b/compiler/native/script.go index 8256ee5a1..a5f09a38f 100644 --- a/compiler/native/script.go +++ b/compiler/native/script.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/script_test.go b/compiler/native/script_test.go index bde8adcda..c4855266d 100644 --- a/compiler/native/script_test.go +++ b/compiler/native/script_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/substitute.go b/compiler/native/substitute.go index fcfd2b263..e143cfc1b 100644 --- a/compiler/native/substitute.go +++ b/compiler/native/substitute.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/substitute_test.go b/compiler/native/substitute_test.go index da27378ac..a02d59f8f 100644 --- a/compiler/native/substitute_test.go +++ b/compiler/native/substitute_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/transform.go b/compiler/native/transform.go index 4742ae700..93844bee0 100644 --- a/compiler/native/transform.go +++ b/compiler/native/transform.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/transform_test.go b/compiler/native/transform_test.go index 4e5e832d5..1b50905ed 100644 --- a/compiler/native/transform_test.go +++ b/compiler/native/transform_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/validate.go b/compiler/native/validate.go index dec7c7af9..1d5b0440b 100644 --- a/compiler/native/validate.go +++ b/compiler/native/validate.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/native/validate_test.go b/compiler/native/validate_test.go index 772494aa7..550bbd3ae 100644 --- a/compiler/native/validate_test.go +++ b/compiler/native/validate_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/registry/doc.go b/compiler/registry/doc.go index 2064281e4..9de02660b 100644 --- a/compiler/registry/doc.go +++ b/compiler/registry/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package registry provides the ability for Vela to // integrate with different supported Template registries. diff --git a/compiler/registry/github/doc.go b/compiler/registry/github/doc.go index 1bab3812e..18201550f 100644 --- a/compiler/registry/github/doc.go +++ b/compiler/registry/github/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package github provides the ability for Vela to // integrate with GitHub or GitHub Enterprise as a diff --git a/compiler/registry/github/github.go b/compiler/registry/github/github.go index eb8177d02..dadeb7506 100644 --- a/compiler/registry/github/github.go +++ b/compiler/registry/github/github.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/compiler/registry/github/github_test.go b/compiler/registry/github/github_test.go index d83619b4d..bf19c78e7 100644 --- a/compiler/registry/github/github_test.go +++ b/compiler/registry/github/github_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/compiler/registry/github/parse.go b/compiler/registry/github/parse.go index 9c40cf1c8..45657ed0a 100644 --- a/compiler/registry/github/parse.go +++ b/compiler/registry/github/parse.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/compiler/registry/github/parse_test.go b/compiler/registry/github/parse_test.go index 1fe12ceab..4019f092e 100644 --- a/compiler/registry/github/parse_test.go +++ b/compiler/registry/github/parse_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/compiler/registry/github/template.go b/compiler/registry/github/template.go index 573bbe689..0b4d9eeab 100644 --- a/compiler/registry/github/template.go +++ b/compiler/registry/github/template.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/compiler/registry/github/template_test.go b/compiler/registry/github/template_test.go index af59a6d61..dd55fda7d 100644 --- a/compiler/registry/github/template_test.go +++ b/compiler/registry/github/template_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/compiler/registry/registry.go b/compiler/registry/registry.go index fbe128439..2ea9caffe 100644 --- a/compiler/registry/registry.go +++ b/compiler/registry/registry.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package registry diff --git a/compiler/registry/source.go b/compiler/registry/source.go index c0974059f..42b3c7680 100644 --- a/compiler/registry/source.go +++ b/compiler/registry/source.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package registry diff --git a/compiler/template/doc.go b/compiler/template/doc.go index f9e37fb29..9bd6294eb 100644 --- a/compiler/template/doc.go +++ b/compiler/template/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package template provides the ability for Vela to // render a templated yaml configuration into an diff --git a/compiler/template/native/convert.go b/compiler/template/native/convert.go index 68385c6cb..ee45ef809 100644 --- a/compiler/template/native/convert.go +++ b/compiler/template/native/convert.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/template/native/convert_test.go b/compiler/template/native/convert_test.go index db0b42a8f..4ab988f03 100644 --- a/compiler/template/native/convert_test.go +++ b/compiler/template/native/convert_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/template/native/doc.go b/compiler/template/native/doc.go index 34c41a275..f8169c15b 100644 --- a/compiler/template/native/doc.go +++ b/compiler/template/native/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package native provides the ability for Vela to // render a templated yaml configuration into an diff --git a/compiler/template/native/render.go b/compiler/template/native/render.go index 869e4588a..d4185a3d3 100644 --- a/compiler/template/native/render.go +++ b/compiler/template/native/render.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/template/native/render_test.go b/compiler/template/native/render_test.go index 1380f6703..6f97092df 100644 --- a/compiler/template/native/render_test.go +++ b/compiler/template/native/render_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/compiler/template/starlark/convert.go b/compiler/template/starlark/convert.go index 474086316..9e7bfa70a 100644 --- a/compiler/template/starlark/convert.go +++ b/compiler/template/starlark/convert.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package starlark diff --git a/compiler/template/starlark/convert_test.go b/compiler/template/starlark/convert_test.go index b6eb03bf8..49101117e 100644 --- a/compiler/template/starlark/convert_test.go +++ b/compiler/template/starlark/convert_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package starlark diff --git a/compiler/template/starlark/render.go b/compiler/template/starlark/render.go index 3ed9cbb3c..4ff2c59ed 100644 --- a/compiler/template/starlark/render.go +++ b/compiler/template/starlark/render.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package starlark diff --git a/compiler/template/starlark/render_test.go b/compiler/template/starlark/render_test.go index 7bd25b06b..84eef6741 100644 --- a/compiler/template/starlark/render_test.go +++ b/compiler/template/starlark/render_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package starlark diff --git a/compiler/template/starlark/starlark.go b/compiler/template/starlark/starlark.go index 0299ef259..98b9a2c64 100644 --- a/compiler/template/starlark/starlark.go +++ b/compiler/template/starlark/starlark.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package starlark diff --git a/compiler/template/starlark/starlark_test.go b/compiler/template/starlark/starlark_test.go index e3aa65626..325e4724c 100644 --- a/compiler/template/starlark/starlark_test.go +++ b/compiler/template/starlark/starlark_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package starlark diff --git a/compiler/template/template.go b/compiler/template/template.go index 75cc8eda9..6ace9c8c2 100644 --- a/compiler/template/template.go +++ b/compiler/template/template.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package template diff --git a/database/build/build.go b/database/build/build.go index ce750e5ee..8342471e7 100644 --- a/database/build/build.go +++ b/database/build/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/build_test.go b/database/build/build_test.go index 0e6eb9fd9..d232aed78 100644 --- a/database/build/build_test.go +++ b/database/build/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/clean.go b/database/build/clean.go index 700998687..8e8f17836 100644 --- a/database/build/clean.go +++ b/database/build/clean.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/clean_test.go b/database/build/clean_test.go index 279268ff4..28eb29195 100644 --- a/database/build/clean_test.go +++ b/database/build/clean_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count.go b/database/build/count.go index 57c84030c..02960a50d 100644 --- a/database/build/count.go +++ b/database/build/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_deployment.go b/database/build/count_deployment.go index 21e58c6c8..da3b23927 100644 --- a/database/build/count_deployment.go +++ b/database/build/count_deployment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_deployment_test.go b/database/build/count_deployment_test.go index 4b067896d..6b4f83823 100644 --- a/database/build/count_deployment_test.go +++ b/database/build/count_deployment_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_org.go b/database/build/count_org.go index 90e01c5e8..1d01a2cde 100644 --- a/database/build/count_org.go +++ b/database/build/count_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_org_test.go b/database/build/count_org_test.go index 77b60652b..6b6283dbb 100644 --- a/database/build/count_org_test.go +++ b/database/build/count_org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_repo.go b/database/build/count_repo.go index e7fcee5b8..152d867a2 100644 --- a/database/build/count_repo.go +++ b/database/build/count_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_repo_test.go b/database/build/count_repo_test.go index c7f406b32..ebf0dbe47 100644 --- a/database/build/count_repo_test.go +++ b/database/build/count_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_status.go b/database/build/count_status.go index 98d4acf5b..e95ec8e1e 100644 --- a/database/build/count_status.go +++ b/database/build/count_status.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_status_test.go b/database/build/count_status_test.go index c35d694e0..cea339953 100644 --- a/database/build/count_status_test.go +++ b/database/build/count_status_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/count_test.go b/database/build/count_test.go index c29d3f04f..bdcc57078 100644 --- a/database/build/count_test.go +++ b/database/build/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/create.go b/database/build/create.go index ff5d7a91d..02b09ab2d 100644 --- a/database/build/create.go +++ b/database/build/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with update.go package build diff --git a/database/build/create_test.go b/database/build/create_test.go index c425c5db7..179aba160 100644 --- a/database/build/create_test.go +++ b/database/build/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/delete.go b/database/build/delete.go index a7048c7e7..9d49f3c12 100644 --- a/database/build/delete.go +++ b/database/build/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/delete_test.go b/database/build/delete_test.go index 93d1b5459..33ca6e3d6 100644 --- a/database/build/delete_test.go +++ b/database/build/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/get.go b/database/build/get.go index 8c57d7fe6..02df1d42a 100644 --- a/database/build/get.go +++ b/database/build/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/get_repo.go b/database/build/get_repo.go index 7b37bc2a7..3728b6232 100644 --- a/database/build/get_repo.go +++ b/database/build/get_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/get_repo_test.go b/database/build/get_repo_test.go index 8a36b55e9..714494e48 100644 --- a/database/build/get_repo_test.go +++ b/database/build/get_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/get_test.go b/database/build/get_test.go index 9646224b7..1a9dfc58f 100644 --- a/database/build/get_test.go +++ b/database/build/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/index.go b/database/build/index.go index 51dec6eba..f5bea2898 100644 --- a/database/build/index.go +++ b/database/build/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/index_test.go b/database/build/index_test.go index 35dd25008..03d02fc8d 100644 --- a/database/build/index_test.go +++ b/database/build/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/interface.go b/database/build/interface.go index d2b8d9f41..3f790ac10 100644 --- a/database/build/interface.go +++ b/database/build/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/last_repo.go b/database/build/last_repo.go index 81861c8b4..36b923379 100644 --- a/database/build/last_repo.go +++ b/database/build/last_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/last_repo_test.go b/database/build/last_repo_test.go index 07e5549b2..e4be37652 100644 --- a/database/build/last_repo_test.go +++ b/database/build/last_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list.go b/database/build/list.go index 9809af5d9..109d2ae5f 100644 --- a/database/build/list.go +++ b/database/build/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_deployment.go b/database/build/list_deployment.go index e8f44f4b0..4c7b3468d 100644 --- a/database/build/list_deployment.go +++ b/database/build/list_deployment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_deployment_test.go b/database/build/list_deployment_test.go index 57a54522d..35eef81a5 100644 --- a/database/build/list_deployment_test.go +++ b/database/build/list_deployment_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_org.go b/database/build/list_org.go index 254c0c9e9..6fed59519 100644 --- a/database/build/list_org.go +++ b/database/build/list_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_org_test.go b/database/build/list_org_test.go index 95fc9a456..130ff8fbc 100644 --- a/database/build/list_org_test.go +++ b/database/build/list_org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_pending_running.go b/database/build/list_pending_running.go index dbee3e704..de4b4ac68 100644 --- a/database/build/list_pending_running.go +++ b/database/build/list_pending_running.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_pending_running_test.go b/database/build/list_pending_running_test.go index 4ee71e1c7..9115745f3 100644 --- a/database/build/list_pending_running_test.go +++ b/database/build/list_pending_running_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_repo.go b/database/build/list_repo.go index 8ee78e35c..8b4386457 100644 --- a/database/build/list_repo.go +++ b/database/build/list_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_repo_test.go b/database/build/list_repo_test.go index f16ed714d..bec52a723 100644 --- a/database/build/list_repo_test.go +++ b/database/build/list_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/list_test.go b/database/build/list_test.go index 69d826755..54dae3e17 100644 --- a/database/build/list_test.go +++ b/database/build/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/opts.go b/database/build/opts.go index 69c912435..7792f9a12 100644 --- a/database/build/opts.go +++ b/database/build/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/opts_test.go b/database/build/opts_test.go index 69afe0b4a..43fea307f 100644 --- a/database/build/opts_test.go +++ b/database/build/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/table.go b/database/build/table.go index 91499ef4a..43a9f77c9 100644 --- a/database/build/table.go +++ b/database/build/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/table_test.go b/database/build/table_test.go index a08997fce..c37e1b475 100644 --- a/database/build/table_test.go +++ b/database/build/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/build/update.go b/database/build/update.go index bdd506187..ec647a879 100644 --- a/database/build/update.go +++ b/database/build/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with create.go package build diff --git a/database/build/update_test.go b/database/build/update_test.go index 7e5441145..67fe687d3 100644 --- a/database/build/update_test.go +++ b/database/build/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/database/close.go b/database/close.go index 0aff8e51d..6de839c95 100644 --- a/database/close.go +++ b/database/close.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/close_test.go b/database/close_test.go index fe0c55b00..7813513aa 100644 --- a/database/close_test.go +++ b/database/close_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/context.go b/database/context.go index fd08cc371..fd4cae217 100644 --- a/database/context.go +++ b/database/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/context_test.go b/database/context_test.go index 4037b26c0..d5887f864 100644 --- a/database/context_test.go +++ b/database/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/database.go b/database/database.go index ea93bfaaf..844eeb2f9 100644 --- a/database/database.go +++ b/database/database.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/database_test.go b/database/database_test.go index a1cfecc8a..a2ea86848 100644 --- a/database/database_test.go +++ b/database/database_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/doc.go b/database/doc.go index 42fe1feae..5e519db84 100644 --- a/database/doc.go +++ b/database/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package database provides the ability for Vela to // integrate with different supported SQL backends. diff --git a/database/driver.go b/database/driver.go index 1c3130094..4d743e9d7 100644 --- a/database/driver.go +++ b/database/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/driver_test.go b/database/driver_test.go index 6d382d8cd..b3dad6144 100644 --- a/database/driver_test.go +++ b/database/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/executable/create.go b/database/executable/create.go index ac29ec768..1e240c495 100644 --- a/database/executable/create.go +++ b/database/executable/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/create_test.go b/database/executable/create_test.go index e3f664314..23da9dfa7 100644 --- a/database/executable/create_test.go +++ b/database/executable/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/executable.go b/database/executable/executable.go index 556d86754..6160cd39a 100644 --- a/database/executable/executable.go +++ b/database/executable/executable.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/executable_test.go b/database/executable/executable_test.go index 20ebd6b49..665ca6da5 100644 --- a/database/executable/executable_test.go +++ b/database/executable/executable_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/interface.go b/database/executable/interface.go index 9e3bd50b3..fbff5048a 100644 --- a/database/executable/interface.go +++ b/database/executable/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/opts.go b/database/executable/opts.go index fa601a03d..3f3bde340 100644 --- a/database/executable/opts.go +++ b/database/executable/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/opts_test.go b/database/executable/opts_test.go index 61876dd32..a2e1331bd 100644 --- a/database/executable/opts_test.go +++ b/database/executable/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/pop.go b/database/executable/pop.go index 64a2fbcf5..bd8e19ddb 100644 --- a/database/executable/pop.go +++ b/database/executable/pop.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/pop_test.go b/database/executable/pop_test.go index cf282d013..1f6954316 100644 --- a/database/executable/pop_test.go +++ b/database/executable/pop_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/table.go b/database/executable/table.go index c36834fe6..82fd1002f 100644 --- a/database/executable/table.go +++ b/database/executable/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/executable/table_test.go b/database/executable/table_test.go index b4f3cd057..deb1f353b 100644 --- a/database/executable/table_test.go +++ b/database/executable/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executable diff --git a/database/flags.go b/database/flags.go index f8d4fd36e..852387b39 100644 --- a/database/flags.go +++ b/database/flags.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/hook/count.go b/database/hook/count.go index 47e9db7be..7f6d2449b 100644 --- a/database/hook/count.go +++ b/database/hook/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/count_repo.go b/database/hook/count_repo.go index 2035ffef5..7b536804f 100644 --- a/database/hook/count_repo.go +++ b/database/hook/count_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/count_repo_test.go b/database/hook/count_repo_test.go index 7f3d20b5d..87f6c97bb 100644 --- a/database/hook/count_repo_test.go +++ b/database/hook/count_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/count_test.go b/database/hook/count_test.go index a9b87c830..96cc5560e 100644 --- a/database/hook/count_test.go +++ b/database/hook/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/create.go b/database/hook/create.go index cce76611f..3ddbd4a9b 100644 --- a/database/hook/create.go +++ b/database/hook/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/create_test.go b/database/hook/create_test.go index 0a4d4348c..cd5b6e62e 100644 --- a/database/hook/create_test.go +++ b/database/hook/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/delete.go b/database/hook/delete.go index 3342a0580..96b00b12c 100644 --- a/database/hook/delete.go +++ b/database/hook/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/delete_test.go b/database/hook/delete_test.go index c900d176f..cbdef043e 100644 --- a/database/hook/delete_test.go +++ b/database/hook/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/get.go b/database/hook/get.go index 39168c52c..6119c0770 100644 --- a/database/hook/get.go +++ b/database/hook/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/get_repo.go b/database/hook/get_repo.go index 7d7df0f7d..6182d86c9 100644 --- a/database/hook/get_repo.go +++ b/database/hook/get_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/get_repo_test.go b/database/hook/get_repo_test.go index bdeaf8d96..979755d2b 100644 --- a/database/hook/get_repo_test.go +++ b/database/hook/get_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/get_test.go b/database/hook/get_test.go index 65221504d..548d64989 100644 --- a/database/hook/get_test.go +++ b/database/hook/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/get_webhook.go b/database/hook/get_webhook.go index 088432593..d7108ff4c 100644 --- a/database/hook/get_webhook.go +++ b/database/hook/get_webhook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/get_webhook_test.go b/database/hook/get_webhook_test.go index c55ae0edf..61f849315 100644 --- a/database/hook/get_webhook_test.go +++ b/database/hook/get_webhook_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/hook.go b/database/hook/hook.go index e8bbe5e54..ff0358f23 100644 --- a/database/hook/hook.go +++ b/database/hook/hook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/hook_test.go b/database/hook/hook_test.go index e8d3130cc..4aaeb6a93 100644 --- a/database/hook/hook_test.go +++ b/database/hook/hook_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/index.go b/database/hook/index.go index c842fe1aa..2b8d4e682 100644 --- a/database/hook/index.go +++ b/database/hook/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/index_test.go b/database/hook/index_test.go index 905c7a354..39eb6b944 100644 --- a/database/hook/index_test.go +++ b/database/hook/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/interface.go b/database/hook/interface.go index e15134401..6a9cec8f6 100644 --- a/database/hook/interface.go +++ b/database/hook/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/last_repo.go b/database/hook/last_repo.go index b2be0c916..bf85be4dc 100644 --- a/database/hook/last_repo.go +++ b/database/hook/last_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/last_repo_test.go b/database/hook/last_repo_test.go index 5802a9486..25e794073 100644 --- a/database/hook/last_repo_test.go +++ b/database/hook/last_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/list.go b/database/hook/list.go index ebc1b49b3..8e0949be4 100644 --- a/database/hook/list.go +++ b/database/hook/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/list_repo.go b/database/hook/list_repo.go index dc5535363..28220b1dd 100644 --- a/database/hook/list_repo.go +++ b/database/hook/list_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/list_repo_test.go b/database/hook/list_repo_test.go index c055b20dd..20c1c9152 100644 --- a/database/hook/list_repo_test.go +++ b/database/hook/list_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/list_test.go b/database/hook/list_test.go index fb5732f59..299585167 100644 --- a/database/hook/list_test.go +++ b/database/hook/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/opts.go b/database/hook/opts.go index a6852a91a..e91c5ec6b 100644 --- a/database/hook/opts.go +++ b/database/hook/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/opts_test.go b/database/hook/opts_test.go index 4779e7e2a..cb3c37760 100644 --- a/database/hook/opts_test.go +++ b/database/hook/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/table.go b/database/hook/table.go index 651533444..c9221e9f4 100644 --- a/database/hook/table.go +++ b/database/hook/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/table_test.go b/database/hook/table_test.go index a1a847f95..286c9bd2e 100644 --- a/database/hook/table_test.go +++ b/database/hook/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/update.go b/database/hook/update.go index b349494ee..e990bbc9c 100644 --- a/database/hook/update.go +++ b/database/hook/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/hook/update_test.go b/database/hook/update_test.go index 9722de7c8..44828b5db 100644 --- a/database/hook/update_test.go +++ b/database/hook/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package hook diff --git a/database/integration_test.go b/database/integration_test.go index 6a2d03970..f35a07e65 100644 --- a/database/integration_test.go +++ b/database/integration_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/interface.go b/database/interface.go index cc7428378..cffbda96f 100644 --- a/database/interface.go +++ b/database/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/log/count.go b/database/log/count.go index 227426f94..b26066b94 100644 --- a/database/log/count.go +++ b/database/log/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/count_build.go b/database/log/count_build.go index 3095e0a02..168d9e1c1 100644 --- a/database/log/count_build.go +++ b/database/log/count_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/count_build_test.go b/database/log/count_build_test.go index 9c41c3944..c66422134 100644 --- a/database/log/count_build_test.go +++ b/database/log/count_build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/count_test.go b/database/log/count_test.go index cdaffc191..cb7f516dc 100644 --- a/database/log/count_test.go +++ b/database/log/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/create.go b/database/log/create.go index 0f5d7e2db..e1c3a9212 100644 --- a/database/log/create.go +++ b/database/log/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with create.go package log diff --git a/database/log/create_test.go b/database/log/create_test.go index f8b406791..80514837c 100644 --- a/database/log/create_test.go +++ b/database/log/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/delete.go b/database/log/delete.go index b97be07a3..7018396de 100644 --- a/database/log/delete.go +++ b/database/log/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/delete_test.go b/database/log/delete_test.go index 82e5f3303..3b3000fc6 100644 --- a/database/log/delete_test.go +++ b/database/log/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/get.go b/database/log/get.go index 64f574482..be02ee968 100644 --- a/database/log/get.go +++ b/database/log/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/get_service.go b/database/log/get_service.go index 033f0cf4c..83d5f2f45 100644 --- a/database/log/get_service.go +++ b/database/log/get_service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with get_step.go package log diff --git a/database/log/get_service_test.go b/database/log/get_service_test.go index 75acd1dbd..df998ffc1 100644 --- a/database/log/get_service_test.go +++ b/database/log/get_service_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/get_step.go b/database/log/get_step.go index 77123a84b..da6d70cf7 100644 --- a/database/log/get_step.go +++ b/database/log/get_step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with get_service.go package log diff --git a/database/log/get_step_test.go b/database/log/get_step_test.go index 172e68868..a6b3e324a 100644 --- a/database/log/get_step_test.go +++ b/database/log/get_step_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/get_test.go b/database/log/get_test.go index 23360ce5c..a7ab5c2d1 100644 --- a/database/log/get_test.go +++ b/database/log/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/index.go b/database/log/index.go index 25cc23a8b..c167f3825 100644 --- a/database/log/index.go +++ b/database/log/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/index_test.go b/database/log/index_test.go index b65c8a492..400df2cb2 100644 --- a/database/log/index_test.go +++ b/database/log/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/interface.go b/database/log/interface.go index a62bb94b8..92f5d6cdd 100644 --- a/database/log/interface.go +++ b/database/log/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/list.go b/database/log/list.go index 057090664..ae85a451e 100644 --- a/database/log/list.go +++ b/database/log/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/list_build.go b/database/log/list_build.go index af5d03f61..183b1f167 100644 --- a/database/log/list_build.go +++ b/database/log/list_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/list_build_test.go b/database/log/list_build_test.go index b14bf9c07..2f1dde7e5 100644 --- a/database/log/list_build_test.go +++ b/database/log/list_build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/list_test.go b/database/log/list_test.go index 644434167..1bcf1759e 100644 --- a/database/log/list_test.go +++ b/database/log/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/log.go b/database/log/log.go index 6dc97e7c6..0b8378d8f 100644 --- a/database/log/log.go +++ b/database/log/log.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/log_test.go b/database/log/log_test.go index 69e3835d5..bb813b203 100644 --- a/database/log/log_test.go +++ b/database/log/log_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/opts.go b/database/log/opts.go index 3cb1de5c4..03a913d2b 100644 --- a/database/log/opts.go +++ b/database/log/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/opts_test.go b/database/log/opts_test.go index 1d9728896..d2a098e15 100644 --- a/database/log/opts_test.go +++ b/database/log/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/table.go b/database/log/table.go index 089e55cc0..aa8c87cfe 100644 --- a/database/log/table.go +++ b/database/log/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/table_test.go b/database/log/table_test.go index ad751bfed..49f072b5d 100644 --- a/database/log/table_test.go +++ b/database/log/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/log/update.go b/database/log/update.go index 6ea7903d8..7929ab0fa 100644 --- a/database/log/update.go +++ b/database/log/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with update.go package log diff --git a/database/log/update_test.go b/database/log/update_test.go index 180e59e76..3550e0c94 100644 --- a/database/log/update_test.go +++ b/database/log/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package log diff --git a/database/opts.go b/database/opts.go index 42ab3d033..2e758d802 100644 --- a/database/opts.go +++ b/database/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/opts_test.go b/database/opts_test.go index 446fd5903..7089d9271 100644 --- a/database/opts_test.go +++ b/database/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/ping.go b/database/ping.go index 80968c152..51c502a80 100644 --- a/database/ping.go +++ b/database/ping.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/ping_test.go b/database/ping_test.go index 5b2fdb0c9..66cb37939 100644 --- a/database/ping_test.go +++ b/database/ping_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/pipeline/count.go b/database/pipeline/count.go index 33377d105..a251f571b 100644 --- a/database/pipeline/count.go +++ b/database/pipeline/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/count_repo.go b/database/pipeline/count_repo.go index a3318a4e6..549a9ecc9 100644 --- a/database/pipeline/count_repo.go +++ b/database/pipeline/count_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/count_repo_test.go b/database/pipeline/count_repo_test.go index 0d2469e77..51bc359ee 100644 --- a/database/pipeline/count_repo_test.go +++ b/database/pipeline/count_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/count_test.go b/database/pipeline/count_test.go index 6b638420a..3fc68b812 100644 --- a/database/pipeline/count_test.go +++ b/database/pipeline/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/create.go b/database/pipeline/create.go index 04b344c95..d3ba17711 100644 --- a/database/pipeline/create.go +++ b/database/pipeline/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/create_test.go b/database/pipeline/create_test.go index 9077dad5e..f9850f0bd 100644 --- a/database/pipeline/create_test.go +++ b/database/pipeline/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/delete.go b/database/pipeline/delete.go index d473d5d4f..1f62c3048 100644 --- a/database/pipeline/delete.go +++ b/database/pipeline/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/delete_test.go b/database/pipeline/delete_test.go index 39e47a7dd..14499551f 100644 --- a/database/pipeline/delete_test.go +++ b/database/pipeline/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/get.go b/database/pipeline/get.go index 17ec6ab78..30a7f5d39 100644 --- a/database/pipeline/get.go +++ b/database/pipeline/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/get_repo.go b/database/pipeline/get_repo.go index f165c18eb..934c0dcd2 100644 --- a/database/pipeline/get_repo.go +++ b/database/pipeline/get_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/get_repo_test.go b/database/pipeline/get_repo_test.go index 67161931d..592e86cb1 100644 --- a/database/pipeline/get_repo_test.go +++ b/database/pipeline/get_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/get_test.go b/database/pipeline/get_test.go index ca6d789f2..67e4872cf 100644 --- a/database/pipeline/get_test.go +++ b/database/pipeline/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/index.go b/database/pipeline/index.go index 3189b728d..f49ecb58a 100644 --- a/database/pipeline/index.go +++ b/database/pipeline/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/index_test.go b/database/pipeline/index_test.go index e72b5a593..71a168293 100644 --- a/database/pipeline/index_test.go +++ b/database/pipeline/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/interface.go b/database/pipeline/interface.go index ae75ebd54..602cfbb1d 100644 --- a/database/pipeline/interface.go +++ b/database/pipeline/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/list.go b/database/pipeline/list.go index 54f8015c4..2299c8f6f 100644 --- a/database/pipeline/list.go +++ b/database/pipeline/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/list_repo.go b/database/pipeline/list_repo.go index ce3983d23..f4ed90fde 100644 --- a/database/pipeline/list_repo.go +++ b/database/pipeline/list_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/list_repo_test.go b/database/pipeline/list_repo_test.go index 35cc2e769..b35ffb433 100644 --- a/database/pipeline/list_repo_test.go +++ b/database/pipeline/list_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/list_test.go b/database/pipeline/list_test.go index e1d14166e..4e322da37 100644 --- a/database/pipeline/list_test.go +++ b/database/pipeline/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/opts.go b/database/pipeline/opts.go index e4d1e6d46..a05c92633 100644 --- a/database/pipeline/opts.go +++ b/database/pipeline/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/opts_test.go b/database/pipeline/opts_test.go index 2380bdda7..782c9af93 100644 --- a/database/pipeline/opts_test.go +++ b/database/pipeline/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/pipeline.go b/database/pipeline/pipeline.go index 34852650f..c900123ae 100644 --- a/database/pipeline/pipeline.go +++ b/database/pipeline/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/pipeline_test.go b/database/pipeline/pipeline_test.go index 13d01393a..a0041554e 100644 --- a/database/pipeline/pipeline_test.go +++ b/database/pipeline/pipeline_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/table.go b/database/pipeline/table.go index eef8b885a..eb399772c 100644 --- a/database/pipeline/table.go +++ b/database/pipeline/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/table_test.go b/database/pipeline/table_test.go index 72add7aee..4a4463feb 100644 --- a/database/pipeline/table_test.go +++ b/database/pipeline/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/update.go b/database/pipeline/update.go index 64d9dd561..5b12db3b1 100644 --- a/database/pipeline/update.go +++ b/database/pipeline/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/pipeline/update_test.go b/database/pipeline/update_test.go index f8ab6b3d3..a90d52c8f 100644 --- a/database/pipeline/update_test.go +++ b/database/pipeline/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/database/repo/count.go b/database/repo/count.go index 3ef5297d1..c00001b9f 100644 --- a/database/repo/count.go +++ b/database/repo/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/count_org.go b/database/repo/count_org.go index 0e44516e9..145042b55 100644 --- a/database/repo/count_org.go +++ b/database/repo/count_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/count_org_test.go b/database/repo/count_org_test.go index f3657f3eb..c89299773 100644 --- a/database/repo/count_org_test.go +++ b/database/repo/count_org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/count_test.go b/database/repo/count_test.go index 668018315..c399411d6 100644 --- a/database/repo/count_test.go +++ b/database/repo/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/count_user.go b/database/repo/count_user.go index bfa7f56ee..5cd71f2f0 100644 --- a/database/repo/count_user.go +++ b/database/repo/count_user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/count_user_test.go b/database/repo/count_user_test.go index 58342226e..a2b580a52 100644 --- a/database/repo/count_user_test.go +++ b/database/repo/count_user_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/create.go b/database/repo/create.go index 800365e55..578b54fb6 100644 --- a/database/repo/create.go +++ b/database/repo/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with update.go package repo diff --git a/database/repo/create_test.go b/database/repo/create_test.go index 4e59b2d99..8bb2a4a1a 100644 --- a/database/repo/create_test.go +++ b/database/repo/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/delete.go b/database/repo/delete.go index 4e0df1918..6432e4ce1 100644 --- a/database/repo/delete.go +++ b/database/repo/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/delete_test.go b/database/repo/delete_test.go index f7f64e1aa..30ff1d84c 100644 --- a/database/repo/delete_test.go +++ b/database/repo/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/get.go b/database/repo/get.go index 3adbaaffd..af9db8e1c 100644 --- a/database/repo/get.go +++ b/database/repo/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/get_org.go b/database/repo/get_org.go index 2188e0a5e..2a1d053ea 100644 --- a/database/repo/get_org.go +++ b/database/repo/get_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/get_org_test.go b/database/repo/get_org_test.go index 1eb1b5940..214d2c623 100644 --- a/database/repo/get_org_test.go +++ b/database/repo/get_org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/get_test.go b/database/repo/get_test.go index 02ea9dd98..1a871f425 100644 --- a/database/repo/get_test.go +++ b/database/repo/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/index.go b/database/repo/index.go index 8c90262a7..c2446bda9 100644 --- a/database/repo/index.go +++ b/database/repo/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/index_test.go b/database/repo/index_test.go index d9a527b61..015090a3c 100644 --- a/database/repo/index_test.go +++ b/database/repo/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/interface.go b/database/repo/interface.go index 6dad94d20..a69b5fa31 100644 --- a/database/repo/interface.go +++ b/database/repo/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/list.go b/database/repo/list.go index c65754c16..790227d63 100644 --- a/database/repo/list.go +++ b/database/repo/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/list_org.go b/database/repo/list_org.go index 9809716bf..95783bd95 100644 --- a/database/repo/list_org.go +++ b/database/repo/list_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/list_org_test.go b/database/repo/list_org_test.go index c87707385..3bd2f5ca1 100644 --- a/database/repo/list_org_test.go +++ b/database/repo/list_org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/list_test.go b/database/repo/list_test.go index 01b6a257f..83cdfab5d 100644 --- a/database/repo/list_test.go +++ b/database/repo/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/list_user.go b/database/repo/list_user.go index bf9b6ea8b..bc11fb1b2 100644 --- a/database/repo/list_user.go +++ b/database/repo/list_user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/list_user_test.go b/database/repo/list_user_test.go index 7f4fe0629..8bcb6286f 100644 --- a/database/repo/list_user_test.go +++ b/database/repo/list_user_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/opts.go b/database/repo/opts.go index 41a2b9492..f65dcc368 100644 --- a/database/repo/opts.go +++ b/database/repo/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/opts_test.go b/database/repo/opts_test.go index 4f9e981ae..b9788a457 100644 --- a/database/repo/opts_test.go +++ b/database/repo/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/repo.go b/database/repo/repo.go index a74c34956..5e4300e19 100644 --- a/database/repo/repo.go +++ b/database/repo/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/repo_test.go b/database/repo/repo_test.go index 8729a56f7..b7514f62a 100644 --- a/database/repo/repo_test.go +++ b/database/repo/repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/table.go b/database/repo/table.go index aa570dd43..0c704d8a5 100644 --- a/database/repo/table.go +++ b/database/repo/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/table_test.go b/database/repo/table_test.go index 021f76673..d4aba45ed 100644 --- a/database/repo/table_test.go +++ b/database/repo/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/repo/update.go b/database/repo/update.go index fbbce6b64..0c3273ce2 100644 --- a/database/repo/update.go +++ b/database/repo/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with create.go package repo diff --git a/database/repo/update_test.go b/database/repo/update_test.go index 459a4325a..4cf8244bd 100644 --- a/database/repo/update_test.go +++ b/database/repo/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/database/resource_test.go b/database/resource_test.go index 328f04f58..aaa78548d 100644 --- a/database/resource_test.go +++ b/database/resource_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package database diff --git a/database/schedule/count.go b/database/schedule/count.go index 7a0d8c1ee..e86b99a41 100644 --- a/database/schedule/count.go +++ b/database/schedule/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/count_active.go b/database/schedule/count_active.go index d65315186..cc78e37a6 100644 --- a/database/schedule/count_active.go +++ b/database/schedule/count_active.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/count_active_test.go b/database/schedule/count_active_test.go index dcf9d2cb0..6fb88849f 100644 --- a/database/schedule/count_active_test.go +++ b/database/schedule/count_active_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/count_repo.go b/database/schedule/count_repo.go index da806151c..471537d8f 100644 --- a/database/schedule/count_repo.go +++ b/database/schedule/count_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/count_repo_test.go b/database/schedule/count_repo_test.go index 35c530d7c..9618f9cf8 100644 --- a/database/schedule/count_repo_test.go +++ b/database/schedule/count_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/count_test.go b/database/schedule/count_test.go index c98ba7224..98090ab8f 100644 --- a/database/schedule/count_test.go +++ b/database/schedule/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/create.go b/database/schedule/create.go index 8a5907263..9bc2079eb 100644 --- a/database/schedule/create.go +++ b/database/schedule/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with update.go package schedule diff --git a/database/schedule/create_test.go b/database/schedule/create_test.go index 272e91a41..7a2a42cc2 100644 --- a/database/schedule/create_test.go +++ b/database/schedule/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/delete.go b/database/schedule/delete.go index 765b31120..66e489d25 100644 --- a/database/schedule/delete.go +++ b/database/schedule/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/delete_test.go b/database/schedule/delete_test.go index 8dff8ad78..7a0a8ae76 100644 --- a/database/schedule/delete_test.go +++ b/database/schedule/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/get.go b/database/schedule/get.go index e4540f0f0..9f352d72b 100644 --- a/database/schedule/get.go +++ b/database/schedule/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/get_repo.go b/database/schedule/get_repo.go index d0ddc4271..6ee2e6bb7 100644 --- a/database/schedule/get_repo.go +++ b/database/schedule/get_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/get_repo_test.go b/database/schedule/get_repo_test.go index 998b58fc3..f21c11fb0 100644 --- a/database/schedule/get_repo_test.go +++ b/database/schedule/get_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/get_test.go b/database/schedule/get_test.go index bc4a61f75..55b9321ea 100644 --- a/database/schedule/get_test.go +++ b/database/schedule/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/index.go b/database/schedule/index.go index 6b88199fa..11834bf4f 100644 --- a/database/schedule/index.go +++ b/database/schedule/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/index_test.go b/database/schedule/index_test.go index 145fd5ac7..b24ef61c4 100644 --- a/database/schedule/index_test.go +++ b/database/schedule/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/interface.go b/database/schedule/interface.go index 402499ab1..8d80a7c36 100644 --- a/database/schedule/interface.go +++ b/database/schedule/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/list.go b/database/schedule/list.go index fbba87ca2..4904a1149 100644 --- a/database/schedule/list.go +++ b/database/schedule/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/list_active.go b/database/schedule/list_active.go index 0afd4ddc5..07616a7de 100644 --- a/database/schedule/list_active.go +++ b/database/schedule/list_active.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/list_active_test.go b/database/schedule/list_active_test.go index 2bce7ed06..7c604f10f 100644 --- a/database/schedule/list_active_test.go +++ b/database/schedule/list_active_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/list_repo.go b/database/schedule/list_repo.go index 9d0cfed5e..c5d7866ca 100644 --- a/database/schedule/list_repo.go +++ b/database/schedule/list_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/list_repo_test.go b/database/schedule/list_repo_test.go index 2d573448d..baddeef6a 100644 --- a/database/schedule/list_repo_test.go +++ b/database/schedule/list_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/list_test.go b/database/schedule/list_test.go index 5b4095724..463a9dfd9 100644 --- a/database/schedule/list_test.go +++ b/database/schedule/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/opts.go b/database/schedule/opts.go index cb2c89cfe..f5f596d26 100644 --- a/database/schedule/opts.go +++ b/database/schedule/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/opts_test.go b/database/schedule/opts_test.go index 6159801e3..93a2d3565 100644 --- a/database/schedule/opts_test.go +++ b/database/schedule/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/schedule.go b/database/schedule/schedule.go index 269278f52..a55bd2eb9 100644 --- a/database/schedule/schedule.go +++ b/database/schedule/schedule.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/schedule_test.go b/database/schedule/schedule_test.go index b5916b3e3..d676223a1 100644 --- a/database/schedule/schedule_test.go +++ b/database/schedule/schedule_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/table.go b/database/schedule/table.go index 9ebccf864..ea8e99cb3 100644 --- a/database/schedule/table.go +++ b/database/schedule/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/table_test.go b/database/schedule/table_test.go index c0d785ed1..40cd064eb 100644 --- a/database/schedule/table_test.go +++ b/database/schedule/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/update.go b/database/schedule/update.go index 23ab855ba..87a0e5a9e 100644 --- a/database/schedule/update.go +++ b/database/schedule/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/schedule/update_test.go b/database/schedule/update_test.go index 235ccfc43..45f9dbdf8 100644 --- a/database/schedule/update_test.go +++ b/database/schedule/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/database/secret/count.go b/database/secret/count.go index 32e646074..fd4158d8a 100644 --- a/database/secret/count.go +++ b/database/secret/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/count_org.go b/database/secret/count_org.go index abb554405..79dec8c44 100644 --- a/database/secret/count_org.go +++ b/database/secret/count_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/count_org_test.go b/database/secret/count_org_test.go index bf8134a70..500d29878 100644 --- a/database/secret/count_org_test.go +++ b/database/secret/count_org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/count_repo.go b/database/secret/count_repo.go index 698b9d0c5..8fd9b0090 100644 --- a/database/secret/count_repo.go +++ b/database/secret/count_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/count_repo_test.go b/database/secret/count_repo_test.go index 127631dd1..3e688b0c2 100644 --- a/database/secret/count_repo_test.go +++ b/database/secret/count_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/count_team.go b/database/secret/count_team.go index e42902b1e..2dcce27ef 100644 --- a/database/secret/count_team.go +++ b/database/secret/count_team.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/count_team_test.go b/database/secret/count_team_test.go index 4f67ccec8..9800b34fd 100644 --- a/database/secret/count_team_test.go +++ b/database/secret/count_team_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/count_test.go b/database/secret/count_test.go index c14174d81..127cb3371 100644 --- a/database/secret/count_test.go +++ b/database/secret/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/create.go b/database/secret/create.go index 83f54a87c..4c8853bd8 100644 --- a/database/secret/create.go +++ b/database/secret/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with update.go package secret diff --git a/database/secret/create_test.go b/database/secret/create_test.go index 80514d70a..2d86fbb0c 100644 --- a/database/secret/create_test.go +++ b/database/secret/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/delete.go b/database/secret/delete.go index 44d2f7e39..b4068faec 100644 --- a/database/secret/delete.go +++ b/database/secret/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/delete_test.go b/database/secret/delete_test.go index d56caeeb4..0c078c98f 100644 --- a/database/secret/delete_test.go +++ b/database/secret/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/get.go b/database/secret/get.go index b07c8e52b..c8cafa2df 100644 --- a/database/secret/get.go +++ b/database/secret/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/get_org.go b/database/secret/get_org.go index 759fa2c8b..950368735 100644 --- a/database/secret/get_org.go +++ b/database/secret/get_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/get_org_test.go b/database/secret/get_org_test.go index 73f4b04d8..fbdaf1f17 100644 --- a/database/secret/get_org_test.go +++ b/database/secret/get_org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/get_repo.go b/database/secret/get_repo.go index 9442aa779..b33b0d58d 100644 --- a/database/secret/get_repo.go +++ b/database/secret/get_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/get_repo_test.go b/database/secret/get_repo_test.go index 7e3a70cb0..5f8678546 100644 --- a/database/secret/get_repo_test.go +++ b/database/secret/get_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/get_team.go b/database/secret/get_team.go index 6c28fb7df..b11a9fd41 100644 --- a/database/secret/get_team.go +++ b/database/secret/get_team.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/get_team_test.go b/database/secret/get_team_test.go index 3239e2c27..30854550e 100644 --- a/database/secret/get_team_test.go +++ b/database/secret/get_team_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/get_test.go b/database/secret/get_test.go index 0698a8b32..f57232a02 100644 --- a/database/secret/get_test.go +++ b/database/secret/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/index.go b/database/secret/index.go index df728a510..f0cd1837d 100644 --- a/database/secret/index.go +++ b/database/secret/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/index_test.go b/database/secret/index_test.go index ca6a756c3..97e52f970 100644 --- a/database/secret/index_test.go +++ b/database/secret/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/interface.go b/database/secret/interface.go index bbfa608b2..e431fd458 100644 --- a/database/secret/interface.go +++ b/database/secret/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/list.go b/database/secret/list.go index b07003366..08746332c 100644 --- a/database/secret/list.go +++ b/database/secret/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/list_org.go b/database/secret/list_org.go index d337329d5..bb57d4eb3 100644 --- a/database/secret/list_org.go +++ b/database/secret/list_org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/list_org_test.go b/database/secret/list_org_test.go index 795f1409e..ecde40520 100644 --- a/database/secret/list_org_test.go +++ b/database/secret/list_org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/list_repo.go b/database/secret/list_repo.go index 584b38494..213ee9353 100644 --- a/database/secret/list_repo.go +++ b/database/secret/list_repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/list_repo_test.go b/database/secret/list_repo_test.go index 6d9dbd05a..dece5e57e 100644 --- a/database/secret/list_repo_test.go +++ b/database/secret/list_repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/list_team.go b/database/secret/list_team.go index 81d5c4589..1f5e317c5 100644 --- a/database/secret/list_team.go +++ b/database/secret/list_team.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/list_team_test.go b/database/secret/list_team_test.go index 33920ead3..40d311805 100644 --- a/database/secret/list_team_test.go +++ b/database/secret/list_team_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/list_test.go b/database/secret/list_test.go index fce58be8f..22f8ea11f 100644 --- a/database/secret/list_test.go +++ b/database/secret/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/opts.go b/database/secret/opts.go index 3de29ea71..cb1589d32 100644 --- a/database/secret/opts.go +++ b/database/secret/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/opts_test.go b/database/secret/opts_test.go index 67ea1ced1..f446c09f2 100644 --- a/database/secret/opts_test.go +++ b/database/secret/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/secret.go b/database/secret/secret.go index 97be7e3ea..7cf9981c8 100644 --- a/database/secret/secret.go +++ b/database/secret/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/secret_test.go b/database/secret/secret_test.go index 0d6a61c25..5a0e25998 100644 --- a/database/secret/secret_test.go +++ b/database/secret/secret_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/table.go b/database/secret/table.go index 4659e5afb..ed10fbdb4 100644 --- a/database/secret/table.go +++ b/database/secret/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/table_test.go b/database/secret/table_test.go index 127325075..0e7d60297 100644 --- a/database/secret/table_test.go +++ b/database/secret/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/secret/update.go b/database/secret/update.go index 447071979..04fc98b84 100644 --- a/database/secret/update.go +++ b/database/secret/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with create.go package secret diff --git a/database/secret/update_test.go b/database/secret/update_test.go index cb32fe1d4..74576535e 100644 --- a/database/secret/update_test.go +++ b/database/secret/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/database/service/clean.go b/database/service/clean.go index aa3cda50a..e9e42de58 100644 --- a/database/service/clean.go +++ b/database/service/clean.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/clean_test.go b/database/service/clean_test.go index c469a3127..a3edada5b 100644 --- a/database/service/clean_test.go +++ b/database/service/clean_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/count.go b/database/service/count.go index 2ea1d374f..dd1f63188 100644 --- a/database/service/count.go +++ b/database/service/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/count_build.go b/database/service/count_build.go index 85d7e8b9e..a70c326d2 100644 --- a/database/service/count_build.go +++ b/database/service/count_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/count_build_test.go b/database/service/count_build_test.go index 3dec30151..09b013c0c 100644 --- a/database/service/count_build_test.go +++ b/database/service/count_build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/count_test.go b/database/service/count_test.go index 9de85b5e3..bbd0b6faf 100644 --- a/database/service/count_test.go +++ b/database/service/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/create.go b/database/service/create.go index 068d9b076..dc5726dea 100644 --- a/database/service/create.go +++ b/database/service/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/create_test.go b/database/service/create_test.go index de5bd429c..b284bd4f8 100644 --- a/database/service/create_test.go +++ b/database/service/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/delete.go b/database/service/delete.go index 1fd80dfd9..90fc552f6 100644 --- a/database/service/delete.go +++ b/database/service/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/delete_test.go b/database/service/delete_test.go index adc1191e6..3600242d9 100644 --- a/database/service/delete_test.go +++ b/database/service/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/get.go b/database/service/get.go index 14a6f5698..aacda2904 100644 --- a/database/service/get.go +++ b/database/service/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/get_build.go b/database/service/get_build.go index b0d65803a..8822743f8 100644 --- a/database/service/get_build.go +++ b/database/service/get_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/get_build_test.go b/database/service/get_build_test.go index b639570b5..cd188c818 100644 --- a/database/service/get_build_test.go +++ b/database/service/get_build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/get_test.go b/database/service/get_test.go index 2d89d4433..e5d694b9c 100644 --- a/database/service/get_test.go +++ b/database/service/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/interface.go b/database/service/interface.go index 6a4ecdc64..90982afa0 100644 --- a/database/service/interface.go +++ b/database/service/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/list.go b/database/service/list.go index 4ee397e5e..5da3a06ed 100644 --- a/database/service/list.go +++ b/database/service/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/list_build.go b/database/service/list_build.go index 8dec937ca..b273835f8 100644 --- a/database/service/list_build.go +++ b/database/service/list_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/list_build_test.go b/database/service/list_build_test.go index 061f4c6f3..64ad9b1b2 100644 --- a/database/service/list_build_test.go +++ b/database/service/list_build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/list_image.go b/database/service/list_image.go index 758e8651a..f5267d5da 100644 --- a/database/service/list_image.go +++ b/database/service/list_image.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/list_image_test.go b/database/service/list_image_test.go index 5272fb742..fdf8a35fa 100644 --- a/database/service/list_image_test.go +++ b/database/service/list_image_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/list_status.go b/database/service/list_status.go index c5df5afb5..dde89795a 100644 --- a/database/service/list_status.go +++ b/database/service/list_status.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/list_status_test.go b/database/service/list_status_test.go index 54015f286..0b6e7ea1a 100644 --- a/database/service/list_status_test.go +++ b/database/service/list_status_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/list_test.go b/database/service/list_test.go index 95c9ab861..24f718e94 100644 --- a/database/service/list_test.go +++ b/database/service/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/opts.go b/database/service/opts.go index 398cdb6b0..c06c6a931 100644 --- a/database/service/opts.go +++ b/database/service/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/opts_test.go b/database/service/opts_test.go index b871ec924..043d1e290 100644 --- a/database/service/opts_test.go +++ b/database/service/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/service.go b/database/service/service.go index 4fb016f8b..0f1b92b7d 100644 --- a/database/service/service.go +++ b/database/service/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/service_test.go b/database/service/service_test.go index c9d658769..e1f6f92f3 100644 --- a/database/service/service_test.go +++ b/database/service/service_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/table.go b/database/service/table.go index fad3aae2a..7cf7561c3 100644 --- a/database/service/table.go +++ b/database/service/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/table_test.go b/database/service/table_test.go index 9897ad4df..16a4ccd3a 100644 --- a/database/service/table_test.go +++ b/database/service/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/update.go b/database/service/update.go index 8c8d229fd..677a2c71c 100644 --- a/database/service/update.go +++ b/database/service/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/service/update_test.go b/database/service/update_test.go index 29f41c66f..6e8001deb 100644 --- a/database/service/update_test.go +++ b/database/service/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/database/step/clean.go b/database/step/clean.go index 54e686e86..09c74543d 100644 --- a/database/step/clean.go +++ b/database/step/clean.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/clean_test.go b/database/step/clean_test.go index e772751ac..4384d7719 100644 --- a/database/step/clean_test.go +++ b/database/step/clean_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/count.go b/database/step/count.go index 6f8a665b4..de91f1649 100644 --- a/database/step/count.go +++ b/database/step/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/count_build.go b/database/step/count_build.go index 448e04d7d..9dfbab289 100644 --- a/database/step/count_build.go +++ b/database/step/count_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/count_build_test.go b/database/step/count_build_test.go index df5a830f4..e6561d996 100644 --- a/database/step/count_build_test.go +++ b/database/step/count_build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/count_test.go b/database/step/count_test.go index dc473bd96..be8faecba 100644 --- a/database/step/count_test.go +++ b/database/step/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/create.go b/database/step/create.go index 2d18bc9ce..7b9603a44 100644 --- a/database/step/create.go +++ b/database/step/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/create_test.go b/database/step/create_test.go index 0bf3ffca6..8910f8b21 100644 --- a/database/step/create_test.go +++ b/database/step/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/delete.go b/database/step/delete.go index d5107dea8..b5a6c9912 100644 --- a/database/step/delete.go +++ b/database/step/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/delete_test.go b/database/step/delete_test.go index d77f81a25..44def389b 100644 --- a/database/step/delete_test.go +++ b/database/step/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/get.go b/database/step/get.go index 1b07d1f6a..183f760c1 100644 --- a/database/step/get.go +++ b/database/step/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/get_build.go b/database/step/get_build.go index 49aed7551..a0f970fb8 100644 --- a/database/step/get_build.go +++ b/database/step/get_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/get_build_test.go b/database/step/get_build_test.go index 8428598f5..f1bd6715e 100644 --- a/database/step/get_build_test.go +++ b/database/step/get_build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/get_test.go b/database/step/get_test.go index b30ced1b0..18d9934ff 100644 --- a/database/step/get_test.go +++ b/database/step/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/interface.go b/database/step/interface.go index e7a377d26..a2a289aa3 100644 --- a/database/step/interface.go +++ b/database/step/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/list.go b/database/step/list.go index 3c7fedbc9..1d0976ba6 100644 --- a/database/step/list.go +++ b/database/step/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/list_build.go b/database/step/list_build.go index f338b1374..f14fdc67e 100644 --- a/database/step/list_build.go +++ b/database/step/list_build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/list_build_test.go b/database/step/list_build_test.go index 4ebe4c0be..20e13792e 100644 --- a/database/step/list_build_test.go +++ b/database/step/list_build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/list_image.go b/database/step/list_image.go index cd02af894..0a98720cc 100644 --- a/database/step/list_image.go +++ b/database/step/list_image.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/list_image_test.go b/database/step/list_image_test.go index b7170634f..6b3e6be12 100644 --- a/database/step/list_image_test.go +++ b/database/step/list_image_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/list_status.go b/database/step/list_status.go index 9b54e3b7f..470369394 100644 --- a/database/step/list_status.go +++ b/database/step/list_status.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/list_status_test.go b/database/step/list_status_test.go index 7716b02e9..c025554d4 100644 --- a/database/step/list_status_test.go +++ b/database/step/list_status_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/list_test.go b/database/step/list_test.go index c98852b1b..348d4508b 100644 --- a/database/step/list_test.go +++ b/database/step/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/opts.go b/database/step/opts.go index 80db4689c..3c783b6f5 100644 --- a/database/step/opts.go +++ b/database/step/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/opts_test.go b/database/step/opts_test.go index 4ea1d64c0..1b9a3c424 100644 --- a/database/step/opts_test.go +++ b/database/step/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/step.go b/database/step/step.go index 43e905797..9437bd118 100644 --- a/database/step/step.go +++ b/database/step/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/step_test.go b/database/step/step_test.go index 136d5ca40..bbd2a09da 100644 --- a/database/step/step_test.go +++ b/database/step/step_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/table.go b/database/step/table.go index ffd44c6c6..aa4997ffc 100644 --- a/database/step/table.go +++ b/database/step/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/table_test.go b/database/step/table_test.go index 08900c753..f39f24639 100644 --- a/database/step/table_test.go +++ b/database/step/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/update.go b/database/step/update.go index c9e5f73d0..d655e15e0 100644 --- a/database/step/update.go +++ b/database/step/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/step/update_test.go b/database/step/update_test.go index 38d8c1bdb..60907aff2 100644 --- a/database/step/update_test.go +++ b/database/step/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/database/user/count.go b/database/user/count.go index 6786f6e92..dc5554b37 100644 --- a/database/user/count.go +++ b/database/user/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/count_test.go b/database/user/count_test.go index 912e7c511..78af924aa 100644 --- a/database/user/count_test.go +++ b/database/user/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/create.go b/database/user/create.go index 33808c2e4..6010d1e8f 100644 --- a/database/user/create.go +++ b/database/user/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code in update.go package user diff --git a/database/user/create_test.go b/database/user/create_test.go index f08b1372b..283bdb443 100644 --- a/database/user/create_test.go +++ b/database/user/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/delete.go b/database/user/delete.go index 7cafb61c8..5747bf404 100644 --- a/database/user/delete.go +++ b/database/user/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/delete_test.go b/database/user/delete_test.go index 76db55ecb..c06ccf5e2 100644 --- a/database/user/delete_test.go +++ b/database/user/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/get.go b/database/user/get.go index 33f9ea7be..e488ce73f 100644 --- a/database/user/get.go +++ b/database/user/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/get_name.go b/database/user/get_name.go index c975ca883..d23ce1611 100644 --- a/database/user/get_name.go +++ b/database/user/get_name.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/get_name_test.go b/database/user/get_name_test.go index 71d72e181..855fdfaaa 100644 --- a/database/user/get_name_test.go +++ b/database/user/get_name_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/get_test.go b/database/user/get_test.go index 9a122d4e2..8ad1b3c77 100644 --- a/database/user/get_test.go +++ b/database/user/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/index.go b/database/user/index.go index eb2ef5544..25c3edef3 100644 --- a/database/user/index.go +++ b/database/user/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/index_test.go b/database/user/index_test.go index c3c96b3de..79a819009 100644 --- a/database/user/index_test.go +++ b/database/user/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/interface.go b/database/user/interface.go index ffbb62bfb..a5801d53a 100644 --- a/database/user/interface.go +++ b/database/user/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/list.go b/database/user/list.go index 70e8c26d8..aaa24644d 100644 --- a/database/user/list.go +++ b/database/user/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/list_lite.go b/database/user/list_lite.go index f5b2bc1fa..83a40be56 100644 --- a/database/user/list_lite.go +++ b/database/user/list_lite.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/list_lite_test.go b/database/user/list_lite_test.go index df279c39d..2f3a12dc5 100644 --- a/database/user/list_lite_test.go +++ b/database/user/list_lite_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/list_test.go b/database/user/list_test.go index dcf1970b4..da61b5b67 100644 --- a/database/user/list_test.go +++ b/database/user/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/opts.go b/database/user/opts.go index 135cd789f..4901e5be3 100644 --- a/database/user/opts.go +++ b/database/user/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/opts_test.go b/database/user/opts_test.go index 867b4ad9c..77c74506c 100644 --- a/database/user/opts_test.go +++ b/database/user/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/table.go b/database/user/table.go index 890e91a1b..070546435 100644 --- a/database/user/table.go +++ b/database/user/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/table_test.go b/database/user/table_test.go index 4f7b82ce2..ef84c28ce 100644 --- a/database/user/table_test.go +++ b/database/user/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/update.go b/database/user/update.go index 04d932e9d..043ed71de 100644 --- a/database/user/update.go +++ b/database/user/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code in create.go package user diff --git a/database/user/update_test.go b/database/user/update_test.go index 58a909b5c..83b455d77 100644 --- a/database/user/update_test.go +++ b/database/user/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/user.go b/database/user/user.go index 67f9413e8..2cf13feb2 100644 --- a/database/user/user.go +++ b/database/user/user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/user/user_test.go b/database/user/user_test.go index 1586103a7..8978f28ea 100644 --- a/database/user/user_test.go +++ b/database/user/user_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/database/worker/count.go b/database/worker/count.go index f85227840..eef910c36 100644 --- a/database/worker/count.go +++ b/database/worker/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/count_test.go b/database/worker/count_test.go index 00acef108..c8f246f18 100644 --- a/database/worker/count_test.go +++ b/database/worker/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/create.go b/database/worker/create.go index 4fd4a28d6..12b386319 100644 --- a/database/worker/create.go +++ b/database/worker/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/create_test.go b/database/worker/create_test.go index dcf937e55..dad81473a 100644 --- a/database/worker/create_test.go +++ b/database/worker/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/delete.go b/database/worker/delete.go index c3c29fd5b..ba846db91 100644 --- a/database/worker/delete.go +++ b/database/worker/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/delete_test.go b/database/worker/delete_test.go index 3a0b658d9..53984b4c6 100644 --- a/database/worker/delete_test.go +++ b/database/worker/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/get.go b/database/worker/get.go index b2a033983..12201d4d5 100644 --- a/database/worker/get.go +++ b/database/worker/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/get_hostname.go b/database/worker/get_hostname.go index 6a2a89796..3370620a0 100644 --- a/database/worker/get_hostname.go +++ b/database/worker/get_hostname.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/get_hostname_test.go b/database/worker/get_hostname_test.go index e20e7e43b..fc4802d70 100644 --- a/database/worker/get_hostname_test.go +++ b/database/worker/get_hostname_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/get_test.go b/database/worker/get_test.go index 9fc017f92..e5249fda1 100644 --- a/database/worker/get_test.go +++ b/database/worker/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/index.go b/database/worker/index.go index 8f6dd23c5..3220d4a63 100644 --- a/database/worker/index.go +++ b/database/worker/index.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/index_test.go b/database/worker/index_test.go index 7a55ebe57..57e43ef70 100644 --- a/database/worker/index_test.go +++ b/database/worker/index_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/interface.go b/database/worker/interface.go index 840ed21af..c594c556a 100644 --- a/database/worker/interface.go +++ b/database/worker/interface.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/list.go b/database/worker/list.go index 4ab1a4c5b..dbf8ff2a7 100644 --- a/database/worker/list.go +++ b/database/worker/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/list_test.go b/database/worker/list_test.go index 7eadb700a..9c5331fe4 100644 --- a/database/worker/list_test.go +++ b/database/worker/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/opts.go b/database/worker/opts.go index 2d07f41f9..71048282b 100644 --- a/database/worker/opts.go +++ b/database/worker/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/opts_test.go b/database/worker/opts_test.go index e2efb2997..f627d25ed 100644 --- a/database/worker/opts_test.go +++ b/database/worker/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/table.go b/database/worker/table.go index 304b1dddf..9fcfdd113 100644 --- a/database/worker/table.go +++ b/database/worker/table.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/table_test.go b/database/worker/table_test.go index 8e37f22de..652b76fab 100644 --- a/database/worker/table_test.go +++ b/database/worker/table_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/update.go b/database/worker/update.go index d84d63eaf..3cae0d164 100644 --- a/database/worker/update.go +++ b/database/worker/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/update_test.go b/database/worker/update_test.go index e8832bc37..d077bc567 100644 --- a/database/worker/update_test.go +++ b/database/worker/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/worker.go b/database/worker/worker.go index 7f9277dc1..09b69176a 100644 --- a/database/worker/worker.go +++ b/database/worker/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/database/worker/worker_test.go b/database/worker/worker_test.go index 00096c2a9..a219d1ffc 100644 --- a/database/worker/worker_test.go +++ b/database/worker/worker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/docker-compose.yml b/docker-compose.yml index 6a596e45e..8afcc496a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,4 @@ -# Copyright (c) 2022 Target Brands, Inc. All rights reserved. -# -# Use of this source code is governed by the LICENSE file in this repository. +# SPDX-License-Identifier: Apache-2.0 version: '3' diff --git a/internal/token/compose.go b/internal/token/compose.go index 61bea7a32..6e48647e2 100644 --- a/internal/token/compose.go +++ b/internal/token/compose.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/internal/token/compose_test.go b/internal/token/compose_test.go index ff01b543d..a73bf912b 100644 --- a/internal/token/compose_test.go +++ b/internal/token/compose_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/internal/token/manager.go b/internal/token/manager.go index 22daf3636..c02484b87 100644 --- a/internal/token/manager.go +++ b/internal/token/manager.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/internal/token/mint.go b/internal/token/mint.go index 7d2ff8f64..22c9599b9 100644 --- a/internal/token/mint.go +++ b/internal/token/mint.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/internal/token/parse.go b/internal/token/parse.go index ad5423ee6..c42d90686 100644 --- a/internal/token/parse.go +++ b/internal/token/parse.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/internal/token/parse_test.go b/internal/token/parse_test.go index c7dc2422f..c1e5d3ac0 100644 --- a/internal/token/parse_test.go +++ b/internal/token/parse_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/internal/token/refresh.go b/internal/token/refresh.go index 9ba8c3187..678c5ccb0 100644 --- a/internal/token/refresh.go +++ b/internal/token/refresh.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/internal/token/refresh_test.go b/internal/token/refresh_test.go index ee7a96077..dcc167bda 100644 --- a/internal/token/refresh_test.go +++ b/internal/token/refresh_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package token diff --git a/mock/server/authentication.go b/mock/server/authentication.go index ea7bb76a1..50e4cc476 100644 --- a/mock/server/authentication.go +++ b/mock/server/authentication.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/build.go b/mock/server/build.go index cc24af60c..0c19e5f8d 100644 --- a/mock/server/build.go +++ b/mock/server/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/deployment.go b/mock/server/deployment.go index 79b6bdfe3..51729476b 100644 --- a/mock/server/deployment.go +++ b/mock/server/deployment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/hook.go b/mock/server/hook.go index d2c21da46..f1c662c92 100644 --- a/mock/server/hook.go +++ b/mock/server/hook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore duplicate with user code package server diff --git a/mock/server/log.go b/mock/server/log.go index 3becfff38..fffefaedf 100644 --- a/mock/server/log.go +++ b/mock/server/log.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/pipeline.go b/mock/server/pipeline.go index 021960ea3..baaf4da4d 100644 --- a/mock/server/pipeline.go +++ b/mock/server/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/repo.go b/mock/server/repo.go index fe4ac2ca9..1cc8a9293 100644 --- a/mock/server/repo.go +++ b/mock/server/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/schedule.go b/mock/server/schedule.go index a1acc54f7..4e34e69fd 100644 --- a/mock/server/schedule.go +++ b/mock/server/schedule.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/scm.go b/mock/server/scm.go index 9b14e3c58..33021bdde 100644 --- a/mock/server/scm.go +++ b/mock/server/scm.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/secret.go b/mock/server/secret.go index eb1bcd72a..6f27a4a69 100644 --- a/mock/server/secret.go +++ b/mock/server/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore duplicate with user code package server diff --git a/mock/server/server.go b/mock/server/server.go index 7bc668719..8ad9f452d 100644 --- a/mock/server/server.go +++ b/mock/server/server.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/mock/server/service.go b/mock/server/service.go index 0d4ce36f1..4de3d5fad 100644 --- a/mock/server/service.go +++ b/mock/server/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore duplicate with user code package server diff --git a/mock/server/step.go b/mock/server/step.go index c7111aded..3e70b3879 100644 --- a/mock/server/step.go +++ b/mock/server/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore duplicate with user code package server diff --git a/mock/server/user.go b/mock/server/user.go index 85029962b..1ec672b47 100644 --- a/mock/server/user.go +++ b/mock/server/user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore duplicate with user code package server diff --git a/mock/server/worker.go b/mock/server/worker.go index 51aedfa80..2031f0992 100644 --- a/mock/server/worker.go +++ b/mock/server/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package server diff --git a/queue/context.go b/queue/context.go index e5bf48c78..405935476 100644 --- a/queue/context.go +++ b/queue/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package queue diff --git a/queue/context_test.go b/queue/context_test.go index 92218a1f4..fc2805452 100644 --- a/queue/context_test.go +++ b/queue/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package queue diff --git a/queue/doc.go b/queue/doc.go index 5c08b1b0d..c243d87ad 100644 --- a/queue/doc.go +++ b/queue/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package queue provides the ability for Vela to integrate // with different supported Queue backends. diff --git a/queue/flags.go b/queue/flags.go index 2e78b11da..6fc3a6f19 100644 --- a/queue/flags.go +++ b/queue/flags.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package queue diff --git a/queue/queue.go b/queue/queue.go index fca90b8a2..8288375e1 100644 --- a/queue/queue.go +++ b/queue/queue.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package queue diff --git a/queue/queue_test.go b/queue/queue_test.go index 61bcfd527..3ffe9b4fa 100644 --- a/queue/queue_test.go +++ b/queue/queue_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package queue diff --git a/queue/redis/doc.go b/queue/redis/doc.go index d75e65027..a95f8b4af 100644 --- a/queue/redis/doc.go +++ b/queue/redis/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package redis provides the ability for Vela to // integrate with a Redis server as a queue backend. diff --git a/queue/redis/driver.go b/queue/redis/driver.go index acec11514..5d5410bf9 100644 --- a/queue/redis/driver.go +++ b/queue/redis/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/driver_test.go b/queue/redis/driver_test.go index 2e5d4bd96..e9736d326 100644 --- a/queue/redis/driver_test.go +++ b/queue/redis/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/length.go b/queue/redis/length.go index 7ed4ecd8b..c4d7bb7c3 100644 --- a/queue/redis/length.go +++ b/queue/redis/length.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/length_test.go b/queue/redis/length_test.go index d9622594c..0049b3809 100644 --- a/queue/redis/length_test.go +++ b/queue/redis/length_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/opts.go b/queue/redis/opts.go index 5589eeb92..329577c97 100644 --- a/queue/redis/opts.go +++ b/queue/redis/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/opts_test.go b/queue/redis/opts_test.go index 3f99e3857..aa775c121 100644 --- a/queue/redis/opts_test.go +++ b/queue/redis/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/pop.go b/queue/redis/pop.go index 65a043e8b..02cbaad19 100644 --- a/queue/redis/pop.go +++ b/queue/redis/pop.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/pop_test.go b/queue/redis/pop_test.go index 9490a4a31..eb05030bd 100644 --- a/queue/redis/pop_test.go +++ b/queue/redis/pop_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/push.go b/queue/redis/push.go index 66c8a386a..b4c16c2b7 100644 --- a/queue/redis/push.go +++ b/queue/redis/push.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/push_test.go b/queue/redis/push_test.go index e61792ea9..5db7e1510 100644 --- a/queue/redis/push_test.go +++ b/queue/redis/push_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/redis.go b/queue/redis/redis.go index 4e4f68aea..643cb51e2 100644 --- a/queue/redis/redis.go +++ b/queue/redis/redis.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/redis_test.go b/queue/redis/redis_test.go index 6935a676d..328149eb7 100644 --- a/queue/redis/redis_test.go +++ b/queue/redis/redis_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/route.go b/queue/redis/route.go index 1da4b19db..a25a537c6 100644 --- a/queue/redis/route.go +++ b/queue/redis/route.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/redis/route_test.go b/queue/redis/route_test.go index 23328df43..e849f085b 100644 --- a/queue/redis/route_test.go +++ b/queue/redis/route_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package redis diff --git a/queue/service.go b/queue/service.go index 307364b50..fe39524b9 100644 --- a/queue/service.go +++ b/queue/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package queue diff --git a/queue/setup.go b/queue/setup.go index ed0f131c8..94fa66013 100644 --- a/queue/setup.go +++ b/queue/setup.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package queue diff --git a/queue/setup_test.go b/queue/setup_test.go index 4b2e35ede..13f48b044 100644 --- a/queue/setup_test.go +++ b/queue/setup_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package queue diff --git a/random/random.go b/random/random.go index 0a5953ed0..5d621a8b4 100644 --- a/random/random.go +++ b/random/random.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package random diff --git a/router/admin.go b/router/admin.go index 96764617f..9a78b2844 100644 --- a/router/admin.go +++ b/router/admin.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/build.go b/router/build.go index c8cc0d688..431c4eb1a 100644 --- a/router/build.go +++ b/router/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/deployment.go b/router/deployment.go index eabbc48c6..4269da663 100644 --- a/router/deployment.go +++ b/router/deployment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/doc.go b/router/doc.go index 17052a2b5..403d7fe7c 100644 --- a/router/doc.go +++ b/router/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package router provides the routing engine for Vela // to serve and process API requests. diff --git a/router/hook.go b/router/hook.go index f5e1aa1db..503ad77c1 100644 --- a/router/hook.go +++ b/router/hook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/log.go b/router/log.go index 71c6674c8..6fbea4888 100644 --- a/router/log.go +++ b/router/log.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/middleware/allowlist.go b/router/middleware/allowlist.go index 78fd9b2de..edfe5feb2 100644 --- a/router/middleware/allowlist.go +++ b/router/middleware/allowlist.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/allowlist_schedule.go b/router/middleware/allowlist_schedule.go index 8872d0361..d22a7aa20 100644 --- a/router/middleware/allowlist_schedule.go +++ b/router/middleware/allowlist_schedule.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/allowlist_schedule_test.go b/router/middleware/allowlist_schedule_test.go index a9b03ae28..1461b8719 100644 --- a/router/middleware/allowlist_schedule_test.go +++ b/router/middleware/allowlist_schedule_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/allowlist_test.go b/router/middleware/allowlist_test.go index abf54f273..2bc59623d 100644 --- a/router/middleware/allowlist_test.go +++ b/router/middleware/allowlist_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/auth/auth.go b/router/middleware/auth/auth.go index 968ceabfb..09e9319c2 100644 --- a/router/middleware/auth/auth.go +++ b/router/middleware/auth/auth.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/router/middleware/auth/auth_test.go b/router/middleware/auth/auth_test.go index 850309c04..7a7993a98 100644 --- a/router/middleware/auth/auth_test.go +++ b/router/middleware/auth/auth_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package auth diff --git a/router/middleware/auth/doc.go b/router/middleware/auth/doc.go index e50ae3a1a..870360cce 100644 --- a/router/middleware/auth/doc.go +++ b/router/middleware/auth/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package token provides the ability for inserting // Vela token resources into or extracting Vela token diff --git a/router/middleware/build/build.go b/router/middleware/build/build.go index 3b0b4f0d8..70eba1b9a 100644 --- a/router/middleware/build/build.go +++ b/router/middleware/build/build.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/router/middleware/build/build_test.go b/router/middleware/build/build_test.go index 40e52f52f..fb31a04d7 100644 --- a/router/middleware/build/build_test.go +++ b/router/middleware/build/build_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/router/middleware/build/context.go b/router/middleware/build/context.go index b4f753c5e..99f358add 100644 --- a/router/middleware/build/context.go +++ b/router/middleware/build/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/router/middleware/build/context_test.go b/router/middleware/build/context_test.go index 73aa0a319..43dd8fe5f 100644 --- a/router/middleware/build/context_test.go +++ b/router/middleware/build/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package build diff --git a/router/middleware/build/doc.go b/router/middleware/build/doc.go index bbe90cf70..4ae0b0851 100644 --- a/router/middleware/build/doc.go +++ b/router/middleware/build/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package build provides the ability for inserting // Vela build resources into or extracting Vela build diff --git a/router/middleware/claims/claims.go b/router/middleware/claims/claims.go index 5ba2784f6..a81a456fe 100644 --- a/router/middleware/claims/claims.go +++ b/router/middleware/claims/claims.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package claims diff --git a/router/middleware/claims/claims_test.go b/router/middleware/claims/claims_test.go index c98f191fa..02287049d 100644 --- a/router/middleware/claims/claims_test.go +++ b/router/middleware/claims/claims_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package claims diff --git a/router/middleware/claims/context.go b/router/middleware/claims/context.go index 5e51b2b4f..da800172e 100644 --- a/router/middleware/claims/context.go +++ b/router/middleware/claims/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package claims diff --git a/router/middleware/claims/context_test.go b/router/middleware/claims/context_test.go index b29fd739c..55bbf9241 100644 --- a/router/middleware/claims/context_test.go +++ b/router/middleware/claims/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package claims diff --git a/router/middleware/claims/doc.go b/router/middleware/claims/doc.go index f91ec309c..72d016e2a 100644 --- a/router/middleware/claims/doc.go +++ b/router/middleware/claims/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package claims provides the ability for inserting // token claims resources into or extracting token claims diff --git a/router/middleware/compiler.go b/router/middleware/compiler.go index bb552ac51..503040192 100644 --- a/router/middleware/compiler.go +++ b/router/middleware/compiler.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/compiler_test.go b/router/middleware/compiler_test.go index cb60685d2..8a64f5176 100644 --- a/router/middleware/compiler_test.go +++ b/router/middleware/compiler_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/database.go b/router/middleware/database.go index fbbf91eea..38755fa89 100644 --- a/router/middleware/database.go +++ b/router/middleware/database.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/database_test.go b/router/middleware/database_test.go index b0ba77b04..8b7cca49c 100644 --- a/router/middleware/database_test.go +++ b/router/middleware/database_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/default_build_limit.go b/router/middleware/default_build_limit.go index c4d2c1d65..a8d245635 100644 --- a/router/middleware/default_build_limit.go +++ b/router/middleware/default_build_limit.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/default_build_limit_test.go b/router/middleware/default_build_limit_test.go index a0ed48c2e..6ee0f1a4f 100644 --- a/router/middleware/default_build_limit_test.go +++ b/router/middleware/default_build_limit_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/default_repo_events.go b/router/middleware/default_repo_events.go index 65e5ed5b0..1b869c5b2 100644 --- a/router/middleware/default_repo_events.go +++ b/router/middleware/default_repo_events.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/default_repo_events_test.go b/router/middleware/default_repo_events_test.go index 83cfc1703..b1b7e187f 100644 --- a/router/middleware/default_repo_events_test.go +++ b/router/middleware/default_repo_events_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/default_timeout.go b/router/middleware/default_timeout.go index ba6c620e7..49c98de32 100644 --- a/router/middleware/default_timeout.go +++ b/router/middleware/default_timeout.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/default_timeout_test.go b/router/middleware/default_timeout_test.go index 2c80a9dc2..07df8fc24 100644 --- a/router/middleware/default_timeout_test.go +++ b/router/middleware/default_timeout_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/doc.go b/router/middleware/doc.go index 36ab883b0..5705c19be 100644 --- a/router/middleware/doc.go +++ b/router/middleware/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package middleware provides the ability for injecting Vela // resources into the middleware chain for the API. diff --git a/router/middleware/executors/context.go b/router/middleware/executors/context.go index 2f2a28d6a..d040fa73a 100644 --- a/router/middleware/executors/context.go +++ b/router/middleware/executors/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executors diff --git a/router/middleware/executors/context_test.go b/router/middleware/executors/context_test.go index 875c101ab..3cabdb687 100644 --- a/router/middleware/executors/context_test.go +++ b/router/middleware/executors/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executors diff --git a/router/middleware/executors/doc.go b/router/middleware/executors/doc.go index 5a75b0cf3..8602a39a2 100644 --- a/router/middleware/executors/doc.go +++ b/router/middleware/executors/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package executors provides the ability for inserting // Vela executors resources into or extracting Vela build diff --git a/router/middleware/executors/executor_test.go b/router/middleware/executors/executor_test.go index bebed311e..66006b6e2 100644 --- a/router/middleware/executors/executor_test.go +++ b/router/middleware/executors/executor_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executors diff --git a/router/middleware/executors/executors.go b/router/middleware/executors/executors.go index 9bd779223..705bac0d4 100644 --- a/router/middleware/executors/executors.go +++ b/router/middleware/executors/executors.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package executors diff --git a/router/middleware/header.go b/router/middleware/header.go index 39ae9b68c..f04180bfd 100644 --- a/router/middleware/header.go +++ b/router/middleware/header.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/header_test.go b/router/middleware/header_test.go index 86f79d41a..ab13f992a 100644 --- a/router/middleware/header_test.go +++ b/router/middleware/header_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/logger.go b/router/middleware/logger.go index a6cb7f835..44578dd1c 100644 --- a/router/middleware/logger.go +++ b/router/middleware/logger.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/logger_test.go b/router/middleware/logger_test.go index 5204763e7..57187da43 100644 --- a/router/middleware/logger_test.go +++ b/router/middleware/logger_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/max_build_limit.go b/router/middleware/max_build_limit.go index 197054d19..3bfd08a42 100644 --- a/router/middleware/max_build_limit.go +++ b/router/middleware/max_build_limit.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/max_build_limit_test.go b/router/middleware/max_build_limit_test.go index 00e3516c9..75c2facaf 100644 --- a/router/middleware/max_build_limit_test.go +++ b/router/middleware/max_build_limit_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/metadata.go b/router/middleware/metadata.go index bbea0b85b..67ed62157 100644 --- a/router/middleware/metadata.go +++ b/router/middleware/metadata.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/metadata_test.go b/router/middleware/metadata_test.go index 7d2644379..0baaee36a 100644 --- a/router/middleware/metadata_test.go +++ b/router/middleware/metadata_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/org/context.go b/router/middleware/org/context.go index ebcee9c83..03f913237 100644 --- a/router/middleware/org/context.go +++ b/router/middleware/org/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package org diff --git a/router/middleware/org/context_test.go b/router/middleware/org/context_test.go index 9a6b0f69d..8d5ff76f1 100644 --- a/router/middleware/org/context_test.go +++ b/router/middleware/org/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package org diff --git a/router/middleware/org/doc.go b/router/middleware/org/doc.go index 32c3d410a..7e34254ae 100644 --- a/router/middleware/org/doc.go +++ b/router/middleware/org/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package org provides the ability for inserting // Vela org resources into or extracting Vela org diff --git a/router/middleware/org/org.go b/router/middleware/org/org.go index 153807e4b..b53c223d8 100644 --- a/router/middleware/org/org.go +++ b/router/middleware/org/org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package org diff --git a/router/middleware/org/org_test.go b/router/middleware/org/org_test.go index 7e6007bc1..7319aa4c6 100644 --- a/router/middleware/org/org_test.go +++ b/router/middleware/org/org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package org diff --git a/router/middleware/payload.go b/router/middleware/payload.go index c2241fa9f..fff9b2263 100644 --- a/router/middleware/payload.go +++ b/router/middleware/payload.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/payload_test.go b/router/middleware/payload_test.go index 235cec5b9..6b9bc1805 100644 --- a/router/middleware/payload_test.go +++ b/router/middleware/payload_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/perm/doc.go b/router/middleware/perm/doc.go index 4cb5ad472..a0aca85cf 100644 --- a/router/middleware/perm/doc.go +++ b/router/middleware/perm/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package perm provides the ability for validating the access // control to Vela resources in the middleware chain for the API. diff --git a/router/middleware/perm/perm.go b/router/middleware/perm/perm.go index ff960a549..5bc9291e3 100644 --- a/router/middleware/perm/perm.go +++ b/router/middleware/perm/perm.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package perm diff --git a/router/middleware/perm/perm_test.go b/router/middleware/perm/perm_test.go index aa5ed7543..f27b50b15 100644 --- a/router/middleware/perm/perm_test.go +++ b/router/middleware/perm/perm_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package perm diff --git a/router/middleware/pipeline/context.go b/router/middleware/pipeline/context.go index 6aab4037e..d5218c3d7 100644 --- a/router/middleware/pipeline/context.go +++ b/router/middleware/pipeline/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/router/middleware/pipeline/context_test.go b/router/middleware/pipeline/context_test.go index ddc5b8bbd..d9379d943 100644 --- a/router/middleware/pipeline/context_test.go +++ b/router/middleware/pipeline/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/router/middleware/pipeline/doc.go b/router/middleware/pipeline/doc.go index e6f19504d..9c4c9bb14 100644 --- a/router/middleware/pipeline/doc.go +++ b/router/middleware/pipeline/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package pipeline provides the ability for inserting // Vela pipeline resources into or extracting Vela pipeline diff --git a/router/middleware/pipeline/pipeline.go b/router/middleware/pipeline/pipeline.go index 0fcecf7f3..61f308854 100644 --- a/router/middleware/pipeline/pipeline.go +++ b/router/middleware/pipeline/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/router/middleware/pipeline/pipeline_test.go b/router/middleware/pipeline/pipeline_test.go index aaff5fb1a..2a8327c9d 100644 --- a/router/middleware/pipeline/pipeline_test.go +++ b/router/middleware/pipeline/pipeline_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package pipeline diff --git a/router/middleware/queue.go b/router/middleware/queue.go index bce53650a..0ebbe72ca 100644 --- a/router/middleware/queue.go +++ b/router/middleware/queue.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/queue_test.go b/router/middleware/queue_test.go index 80c22ce07..2f6a05fa6 100644 --- a/router/middleware/queue_test.go +++ b/router/middleware/queue_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/repo/context.go b/router/middleware/repo/context.go index 00c72c321..620aaf0c8 100644 --- a/router/middleware/repo/context.go +++ b/router/middleware/repo/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/router/middleware/repo/context_test.go b/router/middleware/repo/context_test.go index 90dbef902..ebcadf01e 100644 --- a/router/middleware/repo/context_test.go +++ b/router/middleware/repo/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/router/middleware/repo/doc.go b/router/middleware/repo/doc.go index 028ebe70b..40710054a 100644 --- a/router/middleware/repo/doc.go +++ b/router/middleware/repo/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package repo provides the ability for inserting // Vela repo resources into or extracting Vela repo diff --git a/router/middleware/repo/repo.go b/router/middleware/repo/repo.go index fcc898f9e..748a17bb7 100644 --- a/router/middleware/repo/repo.go +++ b/router/middleware/repo/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/router/middleware/repo/repo_test.go b/router/middleware/repo/repo_test.go index 0274db0ec..8e5674833 100644 --- a/router/middleware/repo/repo_test.go +++ b/router/middleware/repo/repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package repo diff --git a/router/middleware/schedule/context.go b/router/middleware/schedule/context.go index 7ce62871c..258c243ca 100644 --- a/router/middleware/schedule/context.go +++ b/router/middleware/schedule/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/router/middleware/schedule/context_test.go b/router/middleware/schedule/context_test.go index fb73d0b32..c75974fa0 100644 --- a/router/middleware/schedule/context_test.go +++ b/router/middleware/schedule/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/router/middleware/schedule/schedule.go b/router/middleware/schedule/schedule.go index 65f78c4e0..59de83e41 100644 --- a/router/middleware/schedule/schedule.go +++ b/router/middleware/schedule/schedule.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package schedule diff --git a/router/middleware/schedule_frequency.go b/router/middleware/schedule_frequency.go index 243c2ad06..4b9d50e22 100644 --- a/router/middleware/schedule_frequency.go +++ b/router/middleware/schedule_frequency.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/schedule_frequency_test.go b/router/middleware/schedule_frequency_test.go index 171f96ad3..6ed5dd869 100644 --- a/router/middleware/schedule_frequency_test.go +++ b/router/middleware/schedule_frequency_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/scm.go b/router/middleware/scm.go index 43573f1c9..3f6ddee87 100644 --- a/router/middleware/scm.go +++ b/router/middleware/scm.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/scm_test.go b/router/middleware/scm_test.go index a0752c41d..2c37a3de9 100644 --- a/router/middleware/scm_test.go +++ b/router/middleware/scm_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/secret.go b/router/middleware/secret.go index 66f28af78..449d28de7 100644 --- a/router/middleware/secret.go +++ b/router/middleware/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/secret_test.go b/router/middleware/secret_test.go index 9ca21fd24..544cd28cf 100644 --- a/router/middleware/secret_test.go +++ b/router/middleware/secret_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/secure_cookie.go b/router/middleware/secure_cookie.go index 6c8de9ba2..3291a1c66 100644 --- a/router/middleware/secure_cookie.go +++ b/router/middleware/secure_cookie.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/secure_cookie_test.go b/router/middleware/secure_cookie_test.go index 60fa73eb4..c7ceb83b9 100644 --- a/router/middleware/secure_cookie_test.go +++ b/router/middleware/secure_cookie_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/service/context.go b/router/middleware/service/context.go index eeae1ba64..7083879ea 100644 --- a/router/middleware/service/context.go +++ b/router/middleware/service/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/router/middleware/service/context_test.go b/router/middleware/service/context_test.go index d944ceff3..6751bc92f 100644 --- a/router/middleware/service/context_test.go +++ b/router/middleware/service/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/router/middleware/service/doc.go b/router/middleware/service/doc.go index 698d41aaa..eb2b2973a 100644 --- a/router/middleware/service/doc.go +++ b/router/middleware/service/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package service provides the ability for inserting // Vela service resources into or extracting Vela service diff --git a/router/middleware/service/service.go b/router/middleware/service/service.go index e6ef94c59..1d974f4e6 100644 --- a/router/middleware/service/service.go +++ b/router/middleware/service/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/router/middleware/service/service_test.go b/router/middleware/service/service_test.go index 4d21cb122..0cc42813f 100644 --- a/router/middleware/service/service_test.go +++ b/router/middleware/service/service_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package service diff --git a/router/middleware/signing.go b/router/middleware/signing.go index 05c63b8e5..942684f0d 100644 --- a/router/middleware/signing.go +++ b/router/middleware/signing.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/step/context.go b/router/middleware/step/context.go index deba61a33..f8c13740d 100644 --- a/router/middleware/step/context.go +++ b/router/middleware/step/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/router/middleware/step/context_test.go b/router/middleware/step/context_test.go index cd5b91e01..1b7932db2 100644 --- a/router/middleware/step/context_test.go +++ b/router/middleware/step/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/router/middleware/step/doc.go b/router/middleware/step/doc.go index 45ddd7e61..5738b3329 100644 --- a/router/middleware/step/doc.go +++ b/router/middleware/step/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package step provides the ability for inserting // Vela step resources into or extracting Vela step diff --git a/router/middleware/step/step.go b/router/middleware/step/step.go index 27d517efe..54fbfc1af 100644 --- a/router/middleware/step/step.go +++ b/router/middleware/step/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/router/middleware/step/step_test.go b/router/middleware/step/step_test.go index 9ca2c8faf..b44571149 100644 --- a/router/middleware/step/step_test.go +++ b/router/middleware/step/step_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package step diff --git a/router/middleware/token_manager.go b/router/middleware/token_manager.go index 0d8d78108..5fdc67c41 100644 --- a/router/middleware/token_manager.go +++ b/router/middleware/token_manager.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/token_manager_test.go b/router/middleware/token_manager_test.go index 2ba6e23f2..9a26f9b43 100644 --- a/router/middleware/token_manager_test.go +++ b/router/middleware/token_manager_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/user/context.go b/router/middleware/user/context.go index 944a1f3ee..0b4a54891 100644 --- a/router/middleware/user/context.go +++ b/router/middleware/user/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/router/middleware/user/context_test.go b/router/middleware/user/context_test.go index 6cfe188ab..ced7cd896 100644 --- a/router/middleware/user/context_test.go +++ b/router/middleware/user/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/router/middleware/user/doc.go b/router/middleware/user/doc.go index 42181f07d..2583d6c0e 100644 --- a/router/middleware/user/doc.go +++ b/router/middleware/user/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package user provides the ability for inserting // Vela user resources into or extracting Vela user diff --git a/router/middleware/user/user.go b/router/middleware/user/user.go index 9717e7fa6..71fdc1a2d 100644 --- a/router/middleware/user/user.go +++ b/router/middleware/user/user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/router/middleware/user/user_test.go b/router/middleware/user/user_test.go index 74bdd412e..b089d50ab 100644 --- a/router/middleware/user/user_test.go +++ b/router/middleware/user/user_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package user diff --git a/router/middleware/webhook_validation.go b/router/middleware/webhook_validation.go index d1534513a..7c54a17a0 100644 --- a/router/middleware/webhook_validation.go +++ b/router/middleware/webhook_validation.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/webhook_validation_test.go b/router/middleware/webhook_validation_test.go index cb0f432fe..cb8a65639 100644 --- a/router/middleware/webhook_validation_test.go +++ b/router/middleware/webhook_validation_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/worker.go b/router/middleware/worker.go index 75b253de4..df7d11efe 100644 --- a/router/middleware/worker.go +++ b/router/middleware/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/middleware/worker/context.go b/router/middleware/worker/context.go index 7e8930383..a7780a3e8 100644 --- a/router/middleware/worker/context.go +++ b/router/middleware/worker/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/router/middleware/worker/context_test.go b/router/middleware/worker/context_test.go index d48f0cd26..76efd687b 100644 --- a/router/middleware/worker/context_test.go +++ b/router/middleware/worker/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/router/middleware/worker/doc.go b/router/middleware/worker/doc.go index 44eaaa675..e01fdd8af 100644 --- a/router/middleware/worker/doc.go +++ b/router/middleware/worker/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package worker provides the ability for inserting // Vela worker resources into or extracting Vela worker diff --git a/router/middleware/worker/worker.go b/router/middleware/worker/worker.go index 2d5dc71cb..11586af9c 100644 --- a/router/middleware/worker/worker.go +++ b/router/middleware/worker/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/router/middleware/worker/worker_test.go b/router/middleware/worker/worker_test.go index 53443e65b..4de2db921 100644 --- a/router/middleware/worker/worker_test.go +++ b/router/middleware/worker/worker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package worker diff --git a/router/middleware/worker_test.go b/router/middleware/worker_test.go index 5c141bdbb..7717d03c5 100644 --- a/router/middleware/worker_test.go +++ b/router/middleware/worker_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package middleware diff --git a/router/pipeline.go b/router/pipeline.go index b523f9495..7d11a4e2e 100644 --- a/router/pipeline.go +++ b/router/pipeline.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/repo.go b/router/repo.go index 7b7859f6a..0ed7d1be1 100644 --- a/router/repo.go +++ b/router/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/router.go b/router/router.go index f95c6bf4b..a140c6a70 100644 --- a/router/router.go +++ b/router/router.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package router Vela server // diff --git a/router/schedule.go b/router/schedule.go index 7c73e30c2..4a94f7737 100644 --- a/router/schedule.go +++ b/router/schedule.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/scm.go b/router/scm.go index 40d745087..a8ce5745b 100644 --- a/router/scm.go +++ b/router/scm.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/search.go b/router/search.go index 62e3542db..f5679048d 100644 --- a/router/search.go +++ b/router/search.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/secret.go b/router/secret.go index 0ce94d982..419a0cab6 100644 --- a/router/secret.go +++ b/router/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/service.go b/router/service.go index 7b81e7af7..683a38b6f 100644 --- a/router/service.go +++ b/router/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with step package router diff --git a/router/step.go b/router/step.go index 9a53e4e97..d26f70385 100644 --- a/router/step.go +++ b/router/step.go @@ -1,6 +1,4 @@ -// Copyright (c) 2023 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 //nolint:dupl // ignore similar code with service package router diff --git a/router/user.go b/router/user.go index 31abe2d92..8f8e68fcc 100644 --- a/router/user.go +++ b/router/user.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/router/worker.go b/router/worker.go index f85a84c45..9ab61ead0 100644 --- a/router/worker.go +++ b/router/worker.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package router diff --git a/scm/context.go b/scm/context.go index 6a831eb56..10337a0fa 100644 --- a/scm/context.go +++ b/scm/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/scm/context_test.go b/scm/context_test.go index d3031d9a7..e98afa30c 100644 --- a/scm/context_test.go +++ b/scm/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/scm/doc.go b/scm/doc.go index e30a7bcee..4376e55ca 100644 --- a/scm/doc.go +++ b/scm/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // package scm provides the ability for Vela to integrate // with different supported SCM providers. diff --git a/scm/flags.go b/scm/flags.go index 3dc36d139..84a9e879c 100644 --- a/scm/flags.go +++ b/scm/flags.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/scm/github/access.go b/scm/github/access.go index 8733a73a4..d8e6edc58 100644 --- a/scm/github/access.go +++ b/scm/github/access.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/access_test.go b/scm/github/access_test.go index 79648baa0..804715790 100644 --- a/scm/github/access_test.go +++ b/scm/github/access_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/authentication.go b/scm/github/authentication.go index fe9080497..a9d6069cf 100644 --- a/scm/github/authentication.go +++ b/scm/github/authentication.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/authentication_test.go b/scm/github/authentication_test.go index 3965430eb..d4936cf94 100644 --- a/scm/github/authentication_test.go +++ b/scm/github/authentication_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/changeset.go b/scm/github/changeset.go index 22cb5326e..40a7ec565 100644 --- a/scm/github/changeset.go +++ b/scm/github/changeset.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/changeset_test.go b/scm/github/changeset_test.go index ee0db6083..2fefbad93 100644 --- a/scm/github/changeset_test.go +++ b/scm/github/changeset_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/deployment.go b/scm/github/deployment.go index a3717d765..56d2068f4 100644 --- a/scm/github/deployment.go +++ b/scm/github/deployment.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/deployment_test.go b/scm/github/deployment_test.go index 35b4415cb..4558bb783 100644 --- a/scm/github/deployment_test.go +++ b/scm/github/deployment_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/doc.go b/scm/github/doc.go index e47f97555..1c6627dc0 100644 --- a/scm/github/doc.go +++ b/scm/github/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package github provides the ability for Vela to // integrate with GitHub or GitHub Enterprise as a scm provider. diff --git a/scm/github/driver.go b/scm/github/driver.go index 2a0065f73..1a17f5f0f 100644 --- a/scm/github/driver.go +++ b/scm/github/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/driver_test.go b/scm/github/driver_test.go index 1567ef4c1..42b9f8f1e 100644 --- a/scm/github/driver_test.go +++ b/scm/github/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/github.go b/scm/github/github.go index f516d15a1..be92cf3a1 100644 --- a/scm/github/github.go +++ b/scm/github/github.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/github_test.go b/scm/github/github_test.go index 4a23cee67..dc386814a 100644 --- a/scm/github/github_test.go +++ b/scm/github/github_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/opts.go b/scm/github/opts.go index 79d128142..df6d46506 100644 --- a/scm/github/opts.go +++ b/scm/github/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/opts_test.go b/scm/github/opts_test.go index 2419bc528..40ed4da87 100644 --- a/scm/github/opts_test.go +++ b/scm/github/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/org.go b/scm/github/org.go index 2f9963720..48b3701a8 100644 --- a/scm/github/org.go +++ b/scm/github/org.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/org_test.go b/scm/github/org_test.go index 35492c7e3..b9d64e84a 100644 --- a/scm/github/org_test.go +++ b/scm/github/org_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/repo.go b/scm/github/repo.go index 3280c9a2a..a7676726e 100644 --- a/scm/github/repo.go +++ b/scm/github/repo.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/repo_test.go b/scm/github/repo_test.go index 80a97afbb..cc6725420 100644 --- a/scm/github/repo_test.go +++ b/scm/github/repo_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/webhook.go b/scm/github/webhook.go index e4fc94db1..f51bc2b1e 100644 --- a/scm/github/webhook.go +++ b/scm/github/webhook.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/github/webhook_test.go b/scm/github/webhook_test.go index 05a346474..323e3d9c7 100644 --- a/scm/github/webhook_test.go +++ b/scm/github/webhook_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package github diff --git a/scm/scm.go b/scm/scm.go index 2bd5c8170..1614d80ea 100644 --- a/scm/scm.go +++ b/scm/scm.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/scm/scm_test.go b/scm/scm_test.go index d99b8bbac..233108758 100644 --- a/scm/scm_test.go +++ b/scm/scm_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/scm/service.go b/scm/service.go index 7d015dca2..a4cee7f7d 100644 --- a/scm/service.go +++ b/scm/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/scm/setup.go b/scm/setup.go index 16cfb14f3..b779e8ab2 100644 --- a/scm/setup.go +++ b/scm/setup.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/scm/setup_test.go b/scm/setup_test.go index c11717107..f3ad759a4 100644 --- a/scm/setup_test.go +++ b/scm/setup_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package scm diff --git a/secret/context.go b/secret/context.go index f685d99a0..b1b6eb458 100644 --- a/secret/context.go +++ b/secret/context.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/secret/context_test.go b/secret/context_test.go index 87f6afe06..4e92573e7 100644 --- a/secret/context_test.go +++ b/secret/context_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/secret/doc.go b/secret/doc.go index b15a4b102..96fa79046 100644 --- a/secret/doc.go +++ b/secret/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package secret provides the ability for Vela to integrate // with different supported Secret backends. diff --git a/secret/flags.go b/secret/flags.go index d2544600b..58ed6a42e 100644 --- a/secret/flags.go +++ b/secret/flags.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/secret/native/count.go b/secret/native/count.go index 94ae5b994..d76da83cc 100644 --- a/secret/native/count.go +++ b/secret/native/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/count_test.go b/secret/native/count_test.go index dc0f7a8d8..389599c81 100644 --- a/secret/native/count_test.go +++ b/secret/native/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/create.go b/secret/native/create.go index 3f865ef34..7d0f026c8 100644 --- a/secret/native/create.go +++ b/secret/native/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/create_test.go b/secret/native/create_test.go index b0e7df1fa..a90f9ac9f 100644 --- a/secret/native/create_test.go +++ b/secret/native/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/delete.go b/secret/native/delete.go index 1b92406c4..54662a9f6 100644 --- a/secret/native/delete.go +++ b/secret/native/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/delete_test.go b/secret/native/delete_test.go index 4d8120182..2d6f683e8 100644 --- a/secret/native/delete_test.go +++ b/secret/native/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/doc.go b/secret/native/doc.go index 7cd54caec..a45a668a1 100644 --- a/secret/native/doc.go +++ b/secret/native/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package native provides the ability for Vela to // integrate with the Database as a secret backend. diff --git a/secret/native/driver.go b/secret/native/driver.go index babd04d64..022967d53 100644 --- a/secret/native/driver.go +++ b/secret/native/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/driver_test.go b/secret/native/driver_test.go index ec0038df5..a18369e86 100644 --- a/secret/native/driver_test.go +++ b/secret/native/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/get.go b/secret/native/get.go index 81fc43266..ae80f1d09 100644 --- a/secret/native/get.go +++ b/secret/native/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/get_test.go b/secret/native/get_test.go index 5a85ce001..cbb348456 100644 --- a/secret/native/get_test.go +++ b/secret/native/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/list.go b/secret/native/list.go index 8ce639e77..6e153c422 100644 --- a/secret/native/list.go +++ b/secret/native/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/list_test.go b/secret/native/list_test.go index 0f47e4122..2bf8de37f 100644 --- a/secret/native/list_test.go +++ b/secret/native/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/native.go b/secret/native/native.go index 99b015715..fb4319673 100644 --- a/secret/native/native.go +++ b/secret/native/native.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/native_test.go b/secret/native/native_test.go index 0a5e3ee49..17cd465fd 100644 --- a/secret/native/native_test.go +++ b/secret/native/native_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/opts.go b/secret/native/opts.go index 0c4396348..1278b2bb5 100644 --- a/secret/native/opts.go +++ b/secret/native/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/opts_test.go b/secret/native/opts_test.go index 0d9d968df..fc101fc49 100644 --- a/secret/native/opts_test.go +++ b/secret/native/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/update.go b/secret/native/update.go index 805528a04..cd928de8c 100644 --- a/secret/native/update.go +++ b/secret/native/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/native/update_test.go b/secret/native/update_test.go index 612794c86..ef798ac66 100644 --- a/secret/native/update_test.go +++ b/secret/native/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package native diff --git a/secret/secret.go b/secret/secret.go index edeec6c93..75496e449 100644 --- a/secret/secret.go +++ b/secret/secret.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/secret/secret_test.go b/secret/secret_test.go index 21ab33ee4..da399fab8 100644 --- a/secret/secret_test.go +++ b/secret/secret_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/secret/service.go b/secret/service.go index 39b718c45..6357dad05 100644 --- a/secret/service.go +++ b/secret/service.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/secret/setup.go b/secret/setup.go index e0a28a8a8..2e6e4b6b7 100644 --- a/secret/setup.go +++ b/secret/setup.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/secret/setup_test.go b/secret/setup_test.go index ef4492681..887943104 100644 --- a/secret/setup_test.go +++ b/secret/setup_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/secret/vault/count.go b/secret/vault/count.go index 9cbc2b217..a6995d2ee 100644 --- a/secret/vault/count.go +++ b/secret/vault/count.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/count_test.go b/secret/vault/count_test.go index 97a9e8f4c..3589011f1 100644 --- a/secret/vault/count_test.go +++ b/secret/vault/count_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/create.go b/secret/vault/create.go index 5bf2b16bf..6666d0f85 100644 --- a/secret/vault/create.go +++ b/secret/vault/create.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/create_test.go b/secret/vault/create_test.go index ea263e378..bcb41b60a 100644 --- a/secret/vault/create_test.go +++ b/secret/vault/create_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/delete.go b/secret/vault/delete.go index 68b94c880..ef3521c54 100644 --- a/secret/vault/delete.go +++ b/secret/vault/delete.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/delete_test.go b/secret/vault/delete_test.go index a509e1301..4fbe02473 100644 --- a/secret/vault/delete_test.go +++ b/secret/vault/delete_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/doc.go b/secret/vault/doc.go index 12b1d8332..8a4f5e2a5 100644 --- a/secret/vault/doc.go +++ b/secret/vault/doc.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 // Package vault provides the ability for Vela to // integrate with HashiCorp Vault as a secret backend. diff --git a/secret/vault/driver.go b/secret/vault/driver.go index f51bbdbc8..ad9a4858c 100644 --- a/secret/vault/driver.go +++ b/secret/vault/driver.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/driver_test.go b/secret/vault/driver_test.go index 9e4589fe8..4a0975766 100644 --- a/secret/vault/driver_test.go +++ b/secret/vault/driver_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/get.go b/secret/vault/get.go index df03641d9..eeba1e996 100644 --- a/secret/vault/get.go +++ b/secret/vault/get.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/get_test.go b/secret/vault/get_test.go index 1739dbab6..66f582727 100644 --- a/secret/vault/get_test.go +++ b/secret/vault/get_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/list.go b/secret/vault/list.go index 1243afbd6..be5638e41 100644 --- a/secret/vault/list.go +++ b/secret/vault/list.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/list_test.go b/secret/vault/list_test.go index d93ef985f..127a127a2 100644 --- a/secret/vault/list_test.go +++ b/secret/vault/list_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/opts.go b/secret/vault/opts.go index 575049203..5bc500ded 100644 --- a/secret/vault/opts.go +++ b/secret/vault/opts.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/opts_test.go b/secret/vault/opts_test.go index a7e0f77df..050187e23 100644 --- a/secret/vault/opts_test.go +++ b/secret/vault/opts_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/refresh.go b/secret/vault/refresh.go index 461d49fe8..ba5f06319 100644 --- a/secret/vault/refresh.go +++ b/secret/vault/refresh.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/refresh_test.go b/secret/vault/refresh_test.go index 33b41fa35..9fa3f62d1 100644 --- a/secret/vault/refresh_test.go +++ b/secret/vault/refresh_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/update.go b/secret/vault/update.go index f5a7b4068..9082b2ff4 100644 --- a/secret/vault/update.go +++ b/secret/vault/update.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/update_test.go b/secret/vault/update_test.go index 78774d46d..c17c2c936 100644 --- a/secret/vault/update_test.go +++ b/secret/vault/update_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/vault.go b/secret/vault/vault.go index 997ff46f5..c1b0c9508 100644 --- a/secret/vault/vault.go +++ b/secret/vault/vault.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/secret/vault/vault_test.go b/secret/vault/vault_test.go index 7ba0ac254..1e61c7941 100644 --- a/secret/vault/vault_test.go +++ b/secret/vault/vault_test.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package vault diff --git a/util/util.go b/util/util.go index 31cdd1104..840dbc04f 100644 --- a/util/util.go +++ b/util/util.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package util diff --git a/version/version.go b/version/version.go index 30312ee24..f6dfde329 100644 --- a/version/version.go +++ b/version/version.go @@ -1,6 +1,4 @@ -// Copyright (c) 2022 Target Brands, Inc. All rights reserved. -// -// Use of this source code is governed by the LICENSE file in this repository. +// SPDX-License-Identifier: Apache-2.0 package version