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

[next] Add SPDX identifiers #5700

Merged
merged 5 commits into from
Jun 13, 2024
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: CC0-1.0

root = true

[*]
Expand Down
6 changes: 2 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: CC0-1.0

version: 2
updates:
Expand Down
2 changes: 2 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: CC0-1.0
changelog:
exclude:
authors:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/command-l10n-update.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Command L10n Update
on:
issue_comment:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Cypress

on:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/dependabot-approve-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Dependabot

Expand All @@ -21,14 +24,14 @@ concurrency:

jobs:
auto-approve-merge:
if: github.actor == 'dependabot[bot]'
if: github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]'
runs-on: ubuntu-latest
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write

steps:
# Github actions bot approve
# GitHub actions bot approve
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/fixup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Block fixup and squash commits

Expand All @@ -28,6 +31,6 @@ jobs:

steps:
- name: Run check
uses: skjnldsv/block-fixup-merge-action@42d26e1b536ce61e5cf467d65fb76caf4aa85acf # v1
uses: skjnldsv/block-fixup-merge-action@c138ea99e45e186567b64cf065ce90f7158c236a # v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/l10n.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: L10n
on: pull_request

Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/lint-eslint-when-unrelated.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Lint eslint

Expand All @@ -25,7 +25,7 @@ jobs:
src: ${{ steps.changes.outputs.src}}

steps:
- uses: dorny/paths-filter@ebc4d7e9ebcb0b1eb21480bb8f43113e996ac77a # v3.0.1
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
Expand Down Expand Up @@ -53,22 +53,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^9'
fallbackNpm: '^10'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'

- name: Install dependencies
env:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/lint-stylelint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Lint stylelint

Expand All @@ -22,22 +25,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^9'
fallbackNpm: '^10'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'

- name: Install dependencies
env:
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Node tests

on:
Expand All @@ -23,7 +31,7 @@ jobs:
src: ${{ steps.changes.outputs.src}}

steps:
- uses: dorny/paths-filter@ebc4d7e9ebcb0b1eb21480bb8f43113e996ac77a # v3.0.1
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
Expand All @@ -49,22 +57,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^9'
fallbackNpm: '^10'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'

- name: Install dependencies & build
env:
Expand All @@ -80,7 +88,7 @@ jobs:
run: npm run test:coverage --if-present

- name: Collect coverage
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
with:
files: ./coverage/lcov.info

Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Publish

Expand All @@ -23,22 +26,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^9'
fallbackNpm: '^10'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'

- name: Install dependencies & build
env:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0

name: REUSE Compliance Check

on: pull_request

jobs:
reuse-compliance-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: REUSE Compliance Check
uses: fsfe/reuse-action@a46482ca367aef4454a87620aa37c2be4b2f8106 # v3.0.0
2 changes: 2 additions & 0 deletions .github/workflows/server-styling-update.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update server styling

on:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/transifex-approve-merge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Transifex
on: pull_request

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: CC0-1.0

/dist
/src/fonts

Expand Down
36 changes: 36 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Nextcloud Vue components library
Upstream-Contact: Nextcloud GmbH <https://nextcloud.com/impressum/>
Source: https://github.com/nextcloud-libraries/nextcloud-vue

Files: package.json package-lock.json .github/pull_request_template.md
Copyright: Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: styleguide/assets/icons.css styleguide/assets/server.css cypress/snapshots/* tests/unit/functions/usernameToColor/__snapshots__/usernameToColor.spec.js.snap
Copyright: Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: l10n/*.pot
Copyright: 2020-2024 Nextcloud translators
License: AGPL-3.0-or-later

Files: tsconfig.json tsconfig.webpack.json cypress/tsconfig.json tests/tsconfig.json .eslintrc.json cypress/.eslintrc.json
Copyright: 2022-2024 Nextcloud GmbH and Nextcloud contributors
License: CC0-1.0

Files: styleguide/assets/img/favicon*.* styleguide/assets/img/logo/logo*.* styleguide/assets/img/categories/dashboard.svg
Copyright: 2016-2024 Nextcloud GmbH
License: LicenseRef-NextcloudTrademarks

Files: styleguide/assets/close.svg styleguide/assets/img/rss.svg styleguide/assets/img/breadcrumb.svg styleguide/assets/img/actions/add.svg styleguide/assets/img/actions/address.svg styleguide/assets/img/actions/arrow-left.svg styleguide/assets/img/actions/arrow-right.svg styleguide/assets/img/actions/audio-off.svg styleguide/assets/img/actions/audio.svg styleguide/assets/img/actions/caret-white.svg styleguide/assets/img/actions/caret.svg styleguide/assets/img/actions/checkbox-mark-dark.svg styleguide/assets/img/actions/checkbox-mark-white.svg styleguide/assets/img/actions/checkbox-mark.svg styleguide/assets/img/actions/checkbox-mixed-dark.svg styleguide/assets/img/actions/checkbox-mixed-white.svg styleguide/assets/img/actions/checkbox-mixed.svg styleguide/assets/img/actions/checkmark-white.svg styleguide/assets/img/actions/checkmark.png styleguide/assets/img/actions/checkmark.svg styleguide/assets/img/actions/clippy.svg styleguide/assets/img/actions/close.svg styleguide/assets/img/actions/comment.png styleguide/assets/img/actions/comment.svg styleguide/assets/img/actions/confirm-fade.svg styleguide/assets/img/actions/confirm-white.svg styleguide/assets/img/actions/confirm.svg styleguide/assets/img/actions/delete.svg styleguide/assets/img/actions/details.svg styleguide/assets/img/actions/disabled-user.svg styleguide/assets/img/actions/disabled-users.svg styleguide/assets/img/actions/download.svg styleguide/assets/img/actions/edit.svg styleguide/assets/img/actions/error-white.svg styleguide/assets/img/actions/error.svg styleguide/assets/img/actions/external.svg styleguide/assets/img/actions/filter.svg styleguide/assets/img/actions/fullscreen.svg styleguide/assets/img/actions/group.svg styleguide/assets/img/actions/history.png styleguide/assets/img/actions/history.svg styleguide/assets/img/actions/info-white.svg styleguide/assets/img/actions/info.svg styleguide/assets/img/actions/logout.svg styleguide/assets/img/actions/mail.svg styleguide/assets/img/actions/menu-sidebar.svg styleguide/assets/img/actions/menu.svg styleguide/assets/img/actions/more-white.svg styleguide/assets/img/actions/more.svg styleguide/assets/img/actions/password-white.svg styleguide/assets/img/actions/password.png styleguide/assets/img/actions/password.svg styleguide/assets/img/actions/pause.svg styleguide/assets/img/actions/play-add.svg styleguide/assets/img/actions/play-next.svg styleguide/assets/img/actions/play-previous.svg styleguide/assets/img/actions/play.svg styleguide/assets/img/actions/projects.svg styleguide/assets/img/actions/public-white.svg styleguide/assets/img/actions/public.svg styleguide/assets/img/actions/quota.svg styleguide/assets/img/actions/rename.svg styleguide/assets/img/actions/screen-off.svg styleguide/assets/img/actions/screen.svg styleguide/assets/img/actions/search.svg styleguide/assets/img/actions/settings-dark.svg styleguide/assets/img/actions/settings.svg styleguide/assets/img/actions/share.png styleguide/assets/img/actions/share.svg styleguide/assets/img/actions/shared.svg styleguide/assets/img/actions/sound-off.svg styleguide/assets/img/actions/sound.svg styleguide/assets/img/actions/star-dark.svg styleguide/assets/img/actions/star.png styleguide/assets/img/actions/star.svg styleguide/assets/img/actions/starred.png styleguide/assets/img/actions/starred.svg styleguide/assets/img/actions/tag.png styleguide/assets/img/actions/tag.svg styleguide/assets/img/actions/timezone.svg styleguide/assets/img/actions/toggle-background.svg styleguide/assets/img/actions/toggle-filelist.svg styleguide/assets/img/actions/toggle-pictures.svg styleguide/assets/img/actions/toggle.svg styleguide/assets/img/actions/triangle-e.svg styleguide/assets/img/actions/triangle-n.svg styleguide/assets/img/actions/triangle-s.svg styleguide/assets/img/actions/upload.svg styleguide/assets/img/actions/user.svg styleguide/assets/img/actions/verified.svg styleguide/assets/img/actions/verify.svg styleguide/assets/img/actions/verifying.svg styleguide/assets/img/actions/video-off.svg styleguide/assets/img/actions/video-switch.svg styleguide/assets/img/actions/video.svg styleguide/assets/img/actions/view-close.svg styleguide/assets/img/actions/view-download.svg styleguide/assets/img/actions/view-next.svg styleguide/assets/img/actions/view-pause.svg styleguide/assets/img/actions/view-play.svg styleguide/assets/img/actions/view-previous.svg styleguide/assets/img/categories/auth.svg styleguide/assets/img/categories/bundles.svg styleguide/assets/img/categories/customization.svg styleguide/assets/img/categories/files.svg styleguide/assets/img/categories/games.svg styleguide/assets/img/categories/integration.svg styleguide/assets/img/categories/monitoring.svg styleguide/assets/img/categories/multimedia.svg styleguide/assets/img/categories/office.svg styleguide/assets/img/categories/organization.svg styleguide/assets/img/categories/social.svg styleguide/assets/img/categories/workflow.svg styleguide/assets/img/filetypes/application-pdf.svg styleguide/assets/img/filetypes/application.svg styleguide/assets/img/filetypes/audio.svg styleguide/assets/img/filetypes/file.svg styleguide/assets/img/filetypes/folder-drag-accept.svg styleguide/assets/img/filetypes/folder-encrypted.svg styleguide/assets/img/filetypes/folder-external.svg styleguide/assets/img/filetypes/folder-public.svg styleguide/assets/img/filetypes/folder-shared.svg styleguide/assets/img/filetypes/folder-starred.svg styleguide/assets/img/filetypes/folder.svg styleguide/assets/img/filetypes/font.svg styleguide/assets/img/filetypes/image.svg styleguide/assets/img/filetypes/link.svg styleguide/assets/img/filetypes/location.svg styleguide/assets/img/filetypes/mindmap.svg styleguide/assets/img/filetypes/package-x-generic.svg styleguide/assets/img/filetypes/text-calendar.svg styleguide/assets/img/filetypes/text-code.svg styleguide/assets/img/filetypes/text-vcard.svg styleguide/assets/img/filetypes/text.svg styleguide/assets/img/filetypes/video.svg styleguide/assets/img/filetypes/x-office-document.svg styleguide/assets/img/filetypes/x-office-drawing.svg styleguide/assets/img/filetypes/x-office-form-template.svg styleguide/assets/img/filetypes/x-office-form.svg styleguide/assets/img/filetypes/x-office-presentation.svg styleguide/assets/img/filetypes/x-office-spreadsheet.svg styleguide/assets/img/places/calendar-dark.png styleguide/assets/img/places/calendar.png styleguide/assets/img/places/calendar.svg styleguide/assets/img/places/contacts-dark.png styleguide/assets/img/places/contacts.svg styleguide/assets/img/places/default-app-icon.svg styleguide/assets/img/places/files.svg styleguide/assets/img/places/home.svg styleguide/assets/img/places/link.svg styleguide/assets/img/places/music.svg styleguide/assets/img/places/picture.svg
Copyright: 2018-2024 Google Inc.
License: Apache-2.0

Files: styleguide/assets/img/loading*
Copyright: 2017-2024 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later

Files: styleguide/assets/img/background styleguide/assets/img/app-background.jpg
Copyright: Kamil Porembiński
License: CC-BY-SA-4.0
Loading
Loading