Skip to content

Commit

Permalink
Add MIT license and REUSE compliance (#599)
Browse files Browse the repository at this point in the history
Signed-off-by: Tristan Partin <[email protected]>
  • Loading branch information
tristan957 authored Feb 7, 2023
1 parent 91b1201 commit b8239eb
Show file tree
Hide file tree
Showing 942 changed files with 3,269 additions and 2,460 deletions.
5 changes: 4 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2020 Micron Technology, Inc.

Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: DontAlign
Expand Down
5 changes: 4 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

# https://clang.llvm.org/extra/clang-tidy/checks/list.html
Checks: >
clang-diagnostic-*,
Expand Down
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

* text=auto

# https://github.com/github/linguist/blob/master/docs/overrides.md
Expand Down
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

name: Bug Report
description: Create a bug report to help us improve the project.
labels: [bug]
Expand Down Expand Up @@ -41,6 +45,6 @@ body:
attributes:
label: Other System details
placeholder: |
CPU: 6 cores
Memory: 32 GB
CPU: 6 cores
Memory: 32 GB
Storage: 512 GB SSD
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

blank_issues_enabled: false
contact_links:
- name: HSE Discussions
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

name: Feature Request
labels: [feature-request]
description: Describe the feature you would like added
Expand Down
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-License-Identifier: Apache-2.0 OR MIT
SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.
-->

## Description
<!-- Describe the changes in this PR and add any information helpful for reviewing. -->

Expand Down
4 changes: 4 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

version: 2

updates:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/abicheck.ignore.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: ABI

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/abicheck.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: ABI

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/builds.ignore.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: Builds

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/builds.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

name: Builds

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/checkoss.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: checkoss

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/clang-tidy.ignore.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: clang-tidy

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/clang-tidy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: clang-tidy

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql.ignore.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: CodeQL

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: CodeQL

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.ignore.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: Docs

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: Docs

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nightly_testing.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

name: Nightly Testing

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/openapi.ignore.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: OpenAPI

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

name: OpenAPI

on:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/reuse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2023 Micron Technology, Inc.

name: REUSE

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
reuse:
runs-on: ubuntu-latest
steps:
- name: Checkout HSE
uses: actions/checkout@v3

- name: Lint
uses: fsfe/reuse-action@v1
with:
args: --include-meson-subprojects lint
4 changes: 4 additions & 0 deletions .github/workflows/shellcheck.ignore.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

name: ShellCheck

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/shellcheck.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

name: ShellCheck

on:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2015 Micron Technology, Inc.

*~
TAGS
GPATH
Expand Down
53 changes: 53 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/hse-project/hse

Files: docs/openapi.json
Copyright: Copyright 2022 Micron Technology, Inc.
License: Apache-2.0 OR MIT

Files: docs/doxygen/doxyfile.in docs/doxygen/doxyfile_layout.xml docs/doxygen/*
Copyright: Copyright 2021 Micron Technology, Inc.
License: Apache-2.0 OR MIT

Files: scripts/dev/checkoss-ignore-words.txt
Copyright: Copyright 2021 Micron Technology, Inc.
License: Apache-2.0 OR MIT

Files: subprojects/crc32c/*
Copyright: 2013, 2015 Mark Adler <[email protected]>
License: Zlib

Files: subprojects/rbtree/rbtree.c
Copyright: 2010 Isilon Systems, Inc.
2010 iX Systems, Inc.
2010 Panasas, Inc.
2013, 2014 Mellanox Technologies, Ltd.
License: BSD-2-Clause

Files: subprojects/cjson.wrap subprojects/xxhash.wrap
Copyright: The Meson development team
License: MIT

Files: tests/unit/cn/mblock_images/README.txt tests/unit/cn/mblock_images/*.xz
Copyright: Copyright 2021 Micron Technology, Inc.
License: Apache-2.0 OR MIT

Files: tests/unit/cn/merge-test-cases/*.json
Copyright: Copyright 2020 Micron Technology, Inc.
License: Apache-2.0 OR MIT

Files: tests/unit/kvdb/kvdb-conf-files/*/kvdb.conf
Copyright: Copyright 2021 Micron Technology, Inc.
License: Apache-2.0 OR MIT

Files: tests/unit/kvdb/kvdb-meta-files/*/kvdb.meta
Copyright: Copyright 2021 Micron Technology, Inc.
License: Apache-2.0 OR MIT

Files: tests/unit/pidfile/*/kvdb.pid
Copyright: Copyright 2022 Micron Technology, Inc.
License: Apache-2.0 OR MIT

Files: VERSION
Copyright: Copyright 2022 Micron Technology, Inc.
License: Apache-2.0 OR MIT
4 changes: 4 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2021 Micron Technology, Inc.

disable=SC2001
disable=SC2016
disable=SC2119
Expand Down
4 changes: 4 additions & 0 deletions .spectral.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# SPDX-FileCopyrightText: Copyright 2022 Micron Technology, Inc.

# Used for validating the docs/openapi.json file
extends: [[spectral:oas, recommended]]
rules:
Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-License-Identifier: Apache-2.0 OR MIT
SPDX-FileCopyrightText: Copyright 2020 Micron Technology, Inc.
-->

# Contributing to the HSE Project

We welcome your contributions to the HSE project.
Expand Down
6 changes: 6 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-License-Identifier: Apache-2.0 OR MIT
SPDX-FileCopyrightText: Copyright 2020 Micron Technology, Inc.
-->

# Installing

## HSE Dependencies
Expand Down
Loading

0 comments on commit b8239eb

Please sign in to comment.