Skip to content

Commit

Permalink
fix license identifier & violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Hoß authored and sebhoss committed Aug 12, 2022
1 parent 0e0c635 commit 30f1e5f
Show file tree
Hide file tree
Showing 51 changed files with 66 additions and 46 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: 0BSD

# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: 0BSD

########################################################################################################################
# Terraform GitIgnore #
# Based on: https://github.com/toptal/gitignore/blob/master/templates/Terraform.gitignore #
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: 0BSD

before:
hooks:
- go mod tidy
Expand Down
5 changes: 2 additions & 3 deletions .idea/copyright/terraform_provider_git.xml

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

3 changes: 3 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: 0BSD

cff-version: 1.2.0
title: terraform-provider-git
message: If you use this software, please cite it as below.
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: 0BSD

###############################################################################
# PROLOGUE #
###############################################################################
Expand Down
3 changes: 3 additions & 0 deletions dev/Containerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: 0BSD

FROM metio/devcontainers-go:latest

RUN go install github.com/hashicorp/terraform@main
2 changes: 1 addition & 1 deletion examples/resources/git_init/import.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: BSD0
# SPDX-License-Identifier: 0BSD
#

# git_init resources can be imported by specifying the path to the Git repository.
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/git_remote/import.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: BSD0
# SPDX-License-Identifier: 0BSD
#

# git_remote resources can be imported by specifying the directory of the Git repository and the name of the remote to
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/git_tag/import.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: BSD0
# SPDX-License-Identifier: 0BSD
#

# git_tag resources can be imported by specifying the directory of the Git repository and the name of the tag to
Expand Down
2 changes: 1 addition & 1 deletion internal/modifiers/attribute.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package modifiers
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/common_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_branch.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_branch_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_branches.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_branches_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_commit.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_commit_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_config_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_remote.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_remote_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_remotes.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_remotes_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_repository.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_repository_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_status.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_status_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_statuses.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_statuses_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_tag.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_tag_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_tags.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_git_tags_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/git_config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/git_remote.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/git_repository.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/git_tag.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/git_worktree.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
2 changes: 1 addition & 1 deletion internal/provider/resource_git_init.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_git_init_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_git_remote.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_git_remote_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_git_tag.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_git_tag_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider_test
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/terraform.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package provider
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
* SPDX-License-Identifier: BSD0
* SPDX-License-Identifier: 0BSD
*/

package main
Expand Down
3 changes: 3 additions & 0 deletions project.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Sebastian Hoß <seb@hoß.de>
# SPDX-License-Identifier: 0BSD

.PHONY: build
build:
go build -o out/terraform-provider-git
Expand Down
Loading

0 comments on commit 30f1e5f

Please sign in to comment.