Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COMPLIANCE] Add Copyright and License Headers #13103

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .ci/spec/clean-packet.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


csource="${BASH_SOURCE[0]}"
while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done
Expand Down
3 changes: 3 additions & 0 deletions .ci/spec/create-hosts.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


csource="${BASH_SOURCE[0]}"
while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done
Expand Down
3 changes: 3 additions & 0 deletions .ci/spec/create-packet.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


export PACKET_EXEC_PREFER_FACILITIES="${PACKET_EXEC_PREFER_FACILITIES:-iad2,dfw2,dfw1,ny5,ny7,ewr1,la4,lax1,lax2,tr2,ch3,ord1,ord4}"

Expand Down
3 changes: 3 additions & 0 deletions .ci/spec/env.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


# packet and job configuration
export SLACK_USERNAME="Vagrant"
Expand Down
3 changes: 3 additions & 0 deletions .ci/spec/notify-success.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


csource="${BASH_SOURCE[0]}"
while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done
Expand Down
3 changes: 3 additions & 0 deletions .ci/spec/pull-log.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


csource="${BASH_SOURCE[0]}"
while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done
Expand Down
3 changes: 3 additions & 0 deletions .ci/spec/run-test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


csource="${BASH_SOURCE[0]}"
while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done
Expand Down
3 changes: 3 additions & 0 deletions .ci/sync.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


csource="${BASH_SOURCE[0]}"
while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done
Expand Down
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT

contact_links:
- name: Ask a Question
url: https://discuss.hashicorp.com/c/vagrant
Expand Down
3 changes: 3 additions & 0 deletions .runner.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


set -e

Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# syntax = docker.mirror.hashicorp.services/docker/dockerfile:experimental
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


FROM docker.mirror.hashicorp.services/golang:alpine AS builder

Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT

source "https://rubygems.org"

gemspec
Expand Down
3 changes: 3 additions & 0 deletions builtin/configvagrant/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package configvagrant

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/httpdownloader/downloader/downloader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package downloader

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/httpdownloader/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package httpdownloader

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/command/command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/command/dothing.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/command/host.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/command/info.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/command/interactive.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/communicator/communicator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package communicator

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/host/alwaystrue.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package host

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/host/cap/write_hello.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cap

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/locales/locales.go

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

3 changes: 3 additions & 0 deletions builtin/myplugin/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package myplugin

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/mappers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package myplugin

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/proto/plugin.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

syntax = "proto3";

package myplugin;
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/provider/happy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package provider

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/myplugin/push/encouragement.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package push

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/otherplugin/command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package otherplugin

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/otherplugin/guest/alwaystrue.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package guest

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/otherplugin/guest/cap/write_hello.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cap

import (
Expand Down
3 changes: 3 additions & 0 deletions builtin/otherplugin/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package otherplugin

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/vagrant/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions contrib/emacs/vagrant.el
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright (c) HashiCorp, Inc.
;; SPDX-License-Identifier: MIT

;;--------------------------------------------------------------------
;; Teach emacs to syntax highlight Vagrantfile as Ruby.
;;
Expand Down
3 changes: 3 additions & 0 deletions contrib/zsh/generate_zsh_completion.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT

require 'open3'

HEAD = """#compdef _vagrant vagrant
Expand Down
3 changes: 3 additions & 0 deletions ext/vagrant/vagrant_ssl/extconf.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env ruby
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MIT


require "mkmf"
require "shellwords"
Expand Down
5 changes: 5 additions & 0 deletions ext/vagrant/vagrant_ssl/vagrant_ssl.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MIT
*/

#include "vagrant_ssl.h"

#if defined(_VAGRANT_SSL_PROVIDER_)
Expand Down
5 changes: 5 additions & 0 deletions ext/vagrant/vagrant_ssl/vagrant_ssl.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MIT
*/

#if !defined(_VAGRANT_SSL_H_)
#define _VAGRANT_SSL_H_

Expand Down
3 changes: 3 additions & 0 deletions gen.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package main

// NOTE: This file is here as a nicety for being able to run `go generate` at
Expand Down
3 changes: 3 additions & 0 deletions internal/assets/dev.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

//go:generate go-bindata -dev -pkg assets -o dev_assets.go -tags !assetsembedded ceb

package assets
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/base.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/base_init.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/dynamic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/help.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

//go:generate go-bindata -nomemcopy -nometadata -pkg datagen -o datagen/datagen.go -prefix data/ data/...
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/option.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/plugin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/ui.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cli/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package cli

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/clicontext/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package clicontext

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/clicontext/storage.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package clicontext

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/clicontext/storage_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package clicontext

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/clicontext/testing.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package clicontext

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/client/basis.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MIT

package client

import (
Expand Down
Loading