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

refac(cross): #0 add license info #917

Merged
merged 1 commit into from
Sep 22, 2022
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .envrc.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions .github/workflows/dev.yml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions .github/workflows/prod.yml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions .github/workflows/scorecards-analysis.yaml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions .gitlab-ci.yaml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions .mailmap.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions .reuse/dep5.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
6 changes: 6 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
-->

# Contributor Covenant Code of Conduct

## Our Pledge
Expand Down
3 changes: 3 additions & 0 deletions LICENSE.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions LICENSES/MIT.txt.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
-->

# 🦄 Makes

A software supply chain framework
Expand Down
6 changes: 6 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
-->

# Security Policy

Just create an issue in the repository with what you've found
Expand Down
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{system ? builtins.currentSystem}: let
args = import ./src/args/agnostic.nix {inherit system;};
makesVersion = "22.10";
Expand Down
3 changes: 3 additions & 0 deletions docs/.gitignore.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
4 changes: 4 additions & 0 deletions docs/book.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

[book]
authors = ["Fluid Attacks"]
language = "en"
Expand Down
6 changes: 6 additions & 0 deletions docs/src/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
-->

# 🦄 Makes

A software supply chain framework powered by Nix.
6 changes: 6 additions & 0 deletions docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
-->

- [Introduction](./README.md)
- [Security](./security/README.md)
- [SLSA](./security/slsa.md)
6 changes: 6 additions & 0 deletions docs/src/security/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
-->

# Security

This section evaluates Makes using various standards.
6 changes: 6 additions & 0 deletions docs/src/security/slsa.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
-->

# Supply Chain Levels for Software Artifacts

The [SLSA framework](https://slsa.dev/)
Expand Down
3 changes: 3 additions & 0 deletions flake.lock.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
description = "A DevSecOps framework powered by Nix!";

Expand Down
3 changes: 3 additions & 0 deletions justfile.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
4 changes: 4 additions & 0 deletions makes.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
__nixpkgs__,
fetchNixpkgs,
Expand Down Expand Up @@ -47,6 +50,7 @@
bin = [
inputs.nixpkgs.just
inputs.nixpkgs.mdbook
inputs.nixpkgs.reuse
];
source = [outputs."/cli/pypi"];
};
Expand Down
3 changes: 3 additions & 0 deletions makes/cli/pypi/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{makePythonPypiEnvironment, ...}:
makePythonPypiEnvironment {
name = "cli-pypi";
Expand Down
3 changes: 3 additions & 0 deletions makes/cli/pypi/pypi-deps.yaml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions makes/cli/pypi/pypi-sources.yaml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
4 changes: 4 additions & 0 deletions makes/container-image/builder.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

# shellcheck shell=bash

function configure_nix {
Expand Down
3 changes: 3 additions & 0 deletions makes/container-image/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
makeContainerImage,
makeDerivation,
Expand Down
4 changes: 4 additions & 0 deletions makes/docs/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

# shellcheck shell=bash

mdbook build docs
3 changes: 3 additions & 0 deletions makes/docs/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
inputs,
makeScript,
Expand Down
3 changes: 1 addition & 2 deletions makes/license/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# shellcheck shell=bash

function main {
local success=false
local license=(
reuse addheader
--copyright 'Fluid Attacks and Makes contributors'
Expand All @@ -29,7 +28,7 @@ function main {
--year="$(date +%Y)"
) \
&& if reuse lint; then
sucess=true
return 0
fi \
&& for extension in "${!languages[@]}"; do
find . -type f -name "*.${extension}" \
Expand Down
3 changes: 3 additions & 0 deletions makes/main.nix
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{projectPath, ...}:
import (projectPath "/") {}
3 changes: 3 additions & 0 deletions makes/nested/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
inputs,
makeSearchPaths,
Expand Down
3 changes: 3 additions & 0 deletions makes/nested/nested/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{makeScript, ...}:
makeScript {
entrypoint = "echo Hello from Makes!";
Expand Down
3 changes: 3 additions & 0 deletions makes/tests/calculateCvss3/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
# /path/to/my/project/makes/example/main.nix
{calculateCvss3, ...}:
calculateCvss3
Expand Down
3 changes: 3 additions & 0 deletions makes/tests/makeSearchPaths/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{makeDerivation, ...}:
makeDerivation {
builder = "touch $out";
Expand Down
4 changes: 4 additions & 0 deletions makes/tests/makeSearchPaths/template.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

# shellcheck shell=bash

set -x \
Expand Down
3 changes: 3 additions & 0 deletions makes/tests/makeTemplate/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
fromYaml,
makeTemplate,
Expand Down
3 changes: 3 additions & 0 deletions makes/tests/makeTemplate/template.txt.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
1 change: 1 addition & 0 deletions makes/tests/makeTemplate/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ testTitle: >-




‘ ’ “ ” • – — ˜ ™ š › œ ž Ÿ
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯
° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
Expand Down
3 changes: 3 additions & 0 deletions makes/tests/makeTemplate/test.yaml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
6 changes: 6 additions & 0 deletions makes/tests/scriptWithHelp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
-->

# A Script With a Help

- This is `makes/tests/scriptWithHelp/README.md`
Expand Down
3 changes: 3 additions & 0 deletions makes/tests/scriptWithHelp/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{makeScript, ...}:
makeScript {
entrypoint = "echo A script with a help, call with --help or -h to see it!";
Expand Down
3 changes: 3 additions & 0 deletions makes/tests/secretsForGpgFromEnv/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
makeScript,
outputs,
Expand Down
3 changes: 3 additions & 0 deletions makes/tests/secretsForGpgFromEnv/pgp.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions makes/tests/secretsForGpgFromEnv/pgp.pub.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions makes/tests/secretsForGpgFromEnv/secrets.yaml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
4 changes: 4 additions & 0 deletions makes/utils/makeNodeJsLock/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

# shellcheck shell=bash

function main {
Expand Down
3 changes: 3 additions & 0 deletions makes/utils/makeNodeJsLock/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
__nixpkgs__,
makeNodeJsVersion,
Expand Down
4 changes: 4 additions & 0 deletions makes/utils/makePythonLock/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

# shellcheck shell=bash

function main {
Expand Down
3 changes: 3 additions & 0 deletions makes/utils/makePythonLock/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
__nixpkgs__,
makePythonVersion,
Expand Down
4 changes: 4 additions & 0 deletions makes/utils/makePythonLock/update.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

# shellcheck shell=bash

function main {
Expand Down
4 changes: 4 additions & 0 deletions makes/utils/makeSopsEncryptedFile/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT

# shellcheck shell=bash

function main {
Expand Down
3 changes: 3 additions & 0 deletions makes/utils/makeSopsEncryptedFile/main.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors
#
# SPDX-License-Identifier: MIT
{
__nixpkgs__,
makeScript,
Expand Down
3 changes: 3 additions & 0 deletions makes/utils/makeSopsEncryptedFile/template.yaml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Fluid Attacks and Makes contributors

SPDX-License-Identifier: MIT
Loading