Skip to content
Merged
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ This indicates that the contribution is made pursuant to the [Developer Certific

## License information

New **code files** should include a [short-form SPDX ID](https://spdx.org/ids) at the top, indicating the project license for code, which is AGPL-3.0-or-later. This should look like the following:
New **code files** should include a [short-form SPDX ID](https://spdx.org/ids) at the top, indicating the project license for code, which is MIT. This should look like the following:

```
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT
```

New **documentation files** should include a [short-form SPDX ID](https://spdx.org/ids) at the top, indicating the project license for code, which is CC-BY-4.0. This should look like the following:
Expand Down
679 changes: 18 additions & 661 deletions LICENSE-code.txt

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ CLA frontend consists of three independent SPA build with

Copyright The Linux Foundation and each contributor to CommunityBridge.

This project’s source code is licensed under the GNU Affero General
Public License, either version 3 or (at your option) any later version
(AGPL-3.0-or-later). A copy of the license is available in LICENSE-
code.txt.
This project’s source code is licensed under the MIT License. A copy of the
license is available in LICENSE-code.txt.

This project’s documentation is licensed under the Creative Commons Attribution
4.0 International License (CC-BY-4.0). A copy of the license is available in
Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/auth/auth0.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package auth

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/auth/authorizer.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package auth

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package cmd

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/cmd/server.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package cmd

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/cmd/server_aws_lambda.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// +build aws_lambda

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

package cmd

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/cmd/server_standalone.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// +build !aws_lambda

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

package cmd

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/config/config.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package config

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/config/local.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package config

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/config/ssm.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package config

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/contractgroup/handlers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package contractgroup

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/contractgroup/repository.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package contractgroup

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/contractgroup/service.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package contractgroup

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/docraptor/client.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package docraptor

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/github/handlers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package github

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/health/handlers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package health

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/health/service.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package health

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package main

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/project/handlers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package project

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/project/repository.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package project

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/project/service.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package project

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/template/handlers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package template

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/template/repository.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package template

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/template/service.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package template

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/user/repository.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package user

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/user/service.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package user

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/user/user.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package user

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/whitelist/handlers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package whitelist

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/whitelist/repository.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package whitelist

Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/whitelist/service.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT

package whitelist

Expand Down
2 changes: 1 addition & 1 deletion cla-backend/auth/authorizer/domain.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT
package authorizer

// TokenInfo represents claims present in the token
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/auth/authorizer/interfaces.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT
package authorizer

import (
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/auth/authorizer/interfaces_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT
package authorizer

import (
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/auth/authorizer/usecases.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT
package authorizer

import (
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/auth/authorizer/usecases_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT
package authorizer

import (
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/auth/authorizer/validator.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT
package authorizer

import (
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/auth/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: MIT
package main

import (
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
CLA-specific global variables and configuration.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/auth.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
auth.py contains all necessary objects and functions to perform authentication and authorization.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Application configuration options.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/company.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to company operations.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/gerrit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to repository operations.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/github.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to the github application (CLA GitHub App).
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/github_application.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

import time
import cla
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/lf_group.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

import requests
import json
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/project.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to project operations.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/project_logo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

import os
from urllib.parse import urlsplit, urljoin
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/repository.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to repository operations.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/repository_service.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to repository service provider activity.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/signature.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to signature operations.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/signing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to the signed callback.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/controllers/user.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Controller related to user operations.
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/hug_types.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: MIT

"""
Hug types.
Expand Down
Loading