Skip to content

Commit

Permalink
Added License Header to Additional Files (#27)
Browse files Browse the repository at this point in the history
* Added license header to .gitignore, Makefile, *.go, *.sh/*.bat, *.sql, *.yaml, *.js, *.xml

Signed-off-by: David Deal <dealako@gmail.com>
  • Loading branch information
dealako authored Jul 11, 2019
1 parent 26df4f8 commit 0bb58ed
Show file tree
Hide file tree
Showing 65 changed files with 174 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
version: 2.1

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
*.pem
.mypy_cache

Expand Down
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
# Node
node_modules/*
npm-debug.log
Expand Down
2 changes: 2 additions & 0 deletions cla-backend-go/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
# Project specific ignores
cla-backend-go
cla
Expand Down
3 changes: 3 additions & 0 deletions cla-backend-go/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT

# Gopkg.toml example
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
Expand Down
2 changes: 2 additions & 0 deletions cla-backend-go/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
SERVICE = cla
LINT_TOOL=$(shell go env GOPATH)/bin/golangci-lint
GO_PKGS=$(shell go list ./... | grep -v /vendor/ | grep -v /node_modules/)
Expand Down
2 changes: 2 additions & 0 deletions cla-backend-go/company/handlers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT
package company

import (
Expand Down
2 changes: 2 additions & 0 deletions cla-backend-go/company/repository.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT
package company

import (
Expand Down
2 changes: 2 additions & 0 deletions cla-backend-go/company/service.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT
package company

import (
Expand Down
4 changes: 3 additions & 1 deletion cla-backend-go/database_erd.er
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
title {label: "CLA Entity-Relationship Diagram", size: "20"}

# red #fcecec
Expand Down Expand Up @@ -121,4 +123,4 @@ contract_group 1--* contract_template
contract_group 1--* github_organization
contract_group 1--* gerrit_instance
corporate_cla 1--1 docusign
individual_cla 1--1 docusign
individual_cla 1--1 docusign
3 changes: 2 additions & 1 deletion cla-backend-go/db/demoData.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

-- Copyright The Linux Foundation and each contributor to CommunityBridge.
-- SPDX-License-Identifier: MIT
--USERS

INSERT INTO cla."user" (user_id, "name")
Expand Down
2 changes: 2 additions & 0 deletions cla-backend-go/db/migrations/20190213234226_init.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-- Copyright The Linux Foundation and each contributor to CommunityBridge.
-- SPDX-License-Identifier: MIT
-- migrate:up
CREATE SCHEMA cla;
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
Expand Down
2 changes: 2 additions & 0 deletions cla-backend-go/swagger/cla.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
swagger: '2.0'
info:
title: CLA API
Expand Down
2 changes: 2 additions & 0 deletions cla-backend-go/user/repository_dynamo.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT
package user

import (
Expand Down
2 changes: 2 additions & 0 deletions cla-backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
wsgi.py
serverless_wsgi.py
.wsgi_app
Expand Down
3 changes: 3 additions & 0 deletions cla-backend/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT

.PHONY: setup
setup:
npm install;
Expand Down
3 changes: 2 additions & 1 deletion cla-backend/auth/authorizer/mocks/InterfacesInteractor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Code generated by mockery v1.0.0. DO NOT EDIT.
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT
package mocks

import context "context"
Expand Down
3 changes: 2 additions & 1 deletion cla-backend/auth/authorizer/mocks/TokenValidator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Code generated by mockery v1.0.0. DO NOT EDIT.
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT
package mocks

import http "net/http"
Expand Down
8 changes: 6 additions & 2 deletions cla-backend/dev.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT


if [ $1 = 'install' ]; then
echo '======> installing npm dependencies..'
npm install &&\
Expand Down Expand Up @@ -47,8 +51,8 @@ elif [ $1 = 'start:dynamodb' ]; then
elif [ $1 = 'start:s3' ]; then
echo '======> running local s3 server'
sls s3 start -s 'local'

else
echo "option not valid"
exit 0
fi
fi
2 changes: 2 additions & 0 deletions cla-backend/docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
_build
2 changes: 2 additions & 0 deletions cla-backend/docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
# Minimal makefile for Sphinx documentation
#

Expand Down
2 changes: 2 additions & 0 deletions cla-backend/docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
# -*- coding: utf-8 -*-
#
# This file is execfile()d with the current directory set to its
Expand Down
2 changes: 2 additions & 0 deletions cla-backend/docs/make.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:: Copyright The Linux Foundation and each contributor to CommunityBridge.
:: SPDX-License-Identifier: MIT
@ECHO OFF

pushd %~dp0
Expand Down
2 changes: 2 additions & 0 deletions cla-backend/serverless-dynamodb-backups/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
# Distribution / packaging
.Python
env/
Expand Down
2 changes: 2 additions & 0 deletions cla-frontend-contributor-console/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
.PHONY: setup
setup:
yarn install-frontend
Expand Down
2 changes: 2 additions & 0 deletions cla-frontend-contributor-console/edge/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
dist
3 changes: 3 additions & 0 deletions cla-frontend-contributor-console/src/config.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright The Linux Foundation and each contributor to CommunityBridge. -->
<!-- SPDX-License-Identifier: MIT -->

<widget id="com.cla.app609485" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>cla-app</name>
<content src="index.html"/>
Expand Down
2 changes: 2 additions & 0 deletions cla-frontend-corporate-console/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
.PHONY: setup
setup:
yarn install-frontend
Expand Down
2 changes: 2 additions & 0 deletions cla-frontend-corporate-console/edge/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
dist
3 changes: 3 additions & 0 deletions cla-frontend-corporate-console/src/config.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright The Linux Foundation and each contributor to CommunityBridge. -->
<!-- SPDX-License-Identifier: MIT -->

<widget id="com.pmc.app609485" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>cla-corporate-console</name>
<content src="index.html"/>
Expand Down
3 changes: 3 additions & 0 deletions cla-frontend-project-console/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT

.PHONY: setup
setup:
yarn install-frontend
Expand Down
2 changes: 2 additions & 0 deletions cla-frontend-project-console/edge/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
dist
3 changes: 3 additions & 0 deletions cla-frontend-project-console/edge/security-headers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

function getHeaders(env, isDevServer) {
return {
'X-Content-Type-Options': 'nosniff',
Expand Down
3 changes: 3 additions & 0 deletions cla-frontend-project-console/src/config.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright The Linux Foundation and each contributor to CommunityBridge. -->
<!-- SPDX-License-Identifier: MIT -->

<widget id="com.pmc.app609485" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>project-management-console</name>
<content src="index.html"/>
Expand Down
2 changes: 2 additions & 0 deletions cla-next/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
# Created by https://www.gitignore.io/api/node,macos,visualstudiocode

### macOS ###
Expand Down
3 changes: 3 additions & 0 deletions cla-next/next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

require('dotenv').config()

const path = require('path')
Expand Down
3 changes: 3 additions & 0 deletions cla-next/server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

const express = require('express');
const helmet = require('helmet')
const dev = process.env.NODE_ENV !== 'production';
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/Button.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';

const Button = ({ children , variant }) => {
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/CLAStep.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';
import Button from './Button';

Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/CLASummary.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';

const CLASummary = () => {
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/Diagram.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';

const Diagram = () => {
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';

const Footer = () => {
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/HamburgerIcon.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';

const HamburgerIcon = () => {
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/Head.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react'
import NextHead from 'next/head'
import { string } from 'prop-types'
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/Hero.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';
import ShapeDivider from './shape-divider';

Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/HowCLAWorks.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';

const HowCLAWorks = () => {
Expand Down
7 changes: 5 additions & 2 deletions cla-next/src/components/Menu.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';

const Menu = () => {
return (
<div>

</div>
);
};

export default Menu;
export default Menu;
3 changes: 3 additions & 0 deletions cla-next/src/components/Nav.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react'
import Link from 'next/link'
import HamburgerIcon from './HamburgerIcon';
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/components/shape-divider.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react';

const ShapeDivider = () => {
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import App, { Container } from 'next/app';
import React from 'react';
import '../styles/styles.scss';
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/pages/home.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

import React from 'react'
import Link from 'next/link'
import Head from '../components/Head'
Expand Down
5 changes: 4 additions & 1 deletion cla-next/src/routes.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

const routes = require('next-routes')
module.exports = routes()
.add('home', '/')
.add('notfound', '/*')
.add('notfound', '/*')
3 changes: 3 additions & 0 deletions cla-next/src/styles/_home.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

.section {
padding-top: 5rem
}
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/styles/_reset.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
Expand Down
3 changes: 3 additions & 0 deletions cla-next/src/styles/components/_button.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT

.btn-wrapper {
margin-top: 25px;
}
Expand Down
Loading

0 comments on commit 0bb58ed

Please sign in to comment.