Skip to content

Commit 29d2ecf

Browse files
authored
docs: standardize license headers (#381)
1 parent b9dbb27 commit 29d2ecf

File tree

178 files changed

+535
-1
lines changed

Some content is hidden

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

178 files changed

+535
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.bin/
12
.idea/
23
node_modules/
34
*.iml

Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
format: node_modules # formats the source code
1+
format: .bin/ory node_modules # formats the source code
2+
.bin/ory dev headers license
23
gofmt -l -s -w .
34
npm exec -- prettier --write .
45

@@ -11,6 +12,10 @@ licenses: .bin/licenses node_modules # checks open-source licenses
1112
.bin/licenses: Makefile
1213
curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh
1314

15+
.bin/ory: Makefile
16+
curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.47
17+
touch .bin/ory
18+
1419
node_modules: package-lock.json
1520
npm install
1621
touch node_modules

docker/auth.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2015 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/change.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2014 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/client.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2013 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/client_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2016 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/client_windows.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2016 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/container.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2013 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/distribution.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2017 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/env.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2014 Docker authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the DOCKER-LICENSE file.

docker/event.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2014 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/exec.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2014 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/image.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2013 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/misc.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2013 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/network.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// Copyright 2015 go-dockerclient authors. All rights reserved.
25
// Use of this source code is governed by a BSD-style
36
// license that can be found in the LICENSE file.

docker/opts/env.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
import (

docker/opts/hosts.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
import (

docker/opts/hosts_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !windows
25
// +build !windows
36

docker/opts/hosts_windows.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
// DefaultHost constant defines the default host string used by docker on Windows

docker/opts/ip.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
import (

docker/opts/opts.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
import (

docker/opts/opts_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !windows
25
// +build !windows
36

docker/opts/opts_windows.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
// TODO Windows. Identify bug in GOLang 1.5.1+ and/or Windows Server 2016 TP5.

docker/opts/quotedstring.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
// QuotedString is a string that may have extra quotes around the value. The

docker/opts/runtime.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
import (

docker/opts/ulimit.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package opts
25

36
import (

docker/pkg/archive/archive.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/archive_linux.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/archive_other.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !linux
25
// +build !linux
36

docker/pkg/archive/archive_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !windows
25
// +build !windows
36

docker/pkg/archive/archive_windows.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/changes.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/changes_linux.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/changes_other.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !linux
25
// +build !linux
36

docker/pkg/archive/changes_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !windows
25
// +build !windows
36

docker/pkg/archive/changes_windows.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/copy.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/copy_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !windows
25
// +build !windows
36

docker/pkg/archive/copy_windows.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/diff.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/example_changes.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build ignore
25
// +build ignore
36

docker/pkg/archive/time_linux.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/archive/time_unsupported.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !linux
25
// +build !linux
36

docker/pkg/archive/whiteouts.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
// Whiteouts are files with a special meaning for the layered filesystem.

docker/pkg/archive/wrap.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive"
25

36
import (

docker/pkg/fileutils/fileutils.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package fileutils // import "github.com/ory/dockertest/v3/docker/pkg/fileutils"
25

36
import (

docker/pkg/fileutils/fileutils_darwin.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package fileutils // import "github.com/ory/dockertest/v3/docker/pkg/fileutils"
25

36
import (

docker/pkg/fileutils/fileutils_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build linux || freebsd
25
// +build linux freebsd
36

docker/pkg/fileutils/fileutils_windows.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package fileutils // import "github.com/ory/dockertest/v3/docker/pkg/fileutils"
25

36
// GetTotalUsedFds Returns the number of used File Descriptors. Not supported

docker/pkg/homedir/homedir_linux.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package homedir // import "github.com/ory/dockertest/v3/docker/pkg/homedir"
25

36
import (

docker/pkg/homedir/homedir_others.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !linux
25
// +build !linux
36

docker/pkg/homedir/homedir_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !windows
25
// +build !windows
36

docker/pkg/homedir/homedir_windows.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package homedir // import "github.com/ory/dockertest/v3/docker/pkg/homedir"
25

36
import (

docker/pkg/idtools/idtools.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package idtools // import "github.com/ory/dockertest/v3/docker/pkg/idtools"
25

36
import (

docker/pkg/idtools/idtools_unix.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright © 2022 Ory Corp
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//go:build !windows
25
// +build !windows
36

0 commit comments

Comments
 (0)