Skip to content

Commit a10e06e

Browse files
authored
Merge branch 'apache:main' into main
2 parents 6e3fb3e + 34b8870 commit a10e06e

File tree

1,424 files changed

+14506
-10552
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,424 files changed

+14506
-10552
lines changed

.github/CODEOWNERS

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
/plugins/storage/volume/linstor @rp-
19+
/plugins/storage/volume/storpool @slavkap
20+
21+
.pre-commit-config.yaml @jbampton
22+
/.github/linters/ @jbampton

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
# To get started with Dependabot version updates, you'll need to specify which
19+
# package ecosystems to update and where the package manifests are located.
20+
# Please see the documentation for all configuration options:
21+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
22+
23+
version: 2
24+
updates:
25+
- package-ecosystem: "maven" # See documentation for possible values
26+
directory: "/" # Location of package manifests
27+
schedule:
28+
interval: "daily"

.github/linters/.yamllint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
---
18-
extends: relaxed
18+
extends: default
1919

2020
rules:
2121
line-length:
2222
max: 400 # Very forgiving for GitHub Actions and infrastructure files
2323
indentation: disable # Disable indentation checking for existing files
2424
comments: disable # Disable comment formatting checks
25+
braces: disable
2526
brackets: disable # Disable bracket spacing checks
2627
colons:
2728
max-spaces-after: -1 # Allow any number of spaces after colon

.github/linters/codespell.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ ingore
255255
initalize
256256
initator
257257
inspite
258-
instace
259258
instal
260259
instnace
261260
intefaces
@@ -376,7 +375,6 @@ renabling
376375
reponse
377376
reqest
378377
reqiured
379-
requried
380378
reserv
381379
reserverd
382380
reseted

.github/workflows/main-sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ jobs:
4444
cache: 'maven'
4545

4646
- name: Cache SonarCloud packages
47-
uses: actions/cache@v4
47+
uses: actions/cache@v5
4848
with:
4949
path: ~/.sonar/cache
5050
key: ${{ runner.os }}-sonar
5151
restore-keys: ${{ runner.os }}-sonar
5252

5353
- name: Cache local Maven repository
54-
uses: actions/cache@v4
54+
uses: actions/cache@v5
5555
with:
5656
path: ~/.m2/repository
5757
key: ${{ runner.os }}-m2-${{ hashFiles('pom.xml', '*/pom.xml', '*/*/pom.xml', '*/*/*/pom.xml') }}

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
pip install pre-commit
4040
- name: Set PY
4141
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
42-
- uses: actions/cache@v4
42+
- uses: actions/cache@v5
4343
with:
4444
path: ~/.cache/pre-commit
4545
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
cache: 'maven'
4747

4848
- name: Cache SonarCloud packages
49-
uses: actions/cache@v4
49+
uses: actions/cache@v5
5050
with:
5151
path: ~/.sonar/cache
5252
key: ${{ runner.os }}-sonar
5353
restore-keys: ${{ runner.os }}-sonar
5454

5555
- name: Cache local Maven repository
56-
uses: actions/cache@v4
56+
uses: actions/cache@v5
5757
with:
5858
path: ~/.m2/repository
5959
key: ${{ runner.os }}-m2-${{ hashFiles('pom.xml', '*/pom.xml', '*/*/pom.xml', '*/*/*/pom.xml') }}

.github/workflows/stale.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
name: 'Close stale issues and PRs'
19+
on:
20+
schedule:
21+
- cron: '30 1 * * *'
22+
23+
jobs:
24+
stale:
25+
runs-on: ubuntu-latest
26+
permissions:
27+
actions: write
28+
issues: write
29+
pull-requests: write
30+
steps:
31+
- uses: actions/stale@v10
32+
with:
33+
stale-issue-message: 'This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.'
34+
stale-pr-message: 'This PR is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.'
35+
close-issue-message: 'This issue was closed because it has been stale for 120 days with no activity.'
36+
close-pr-message: 'This PR was closed because it has been stale for 120 days with no activity.'
37+
stale-issue-label: 'no-issue-activity'
38+
stale-pr-label: 'no-pr-activity'
39+
days-before-stale: 120
40+
exempt-issue-labels: 'gsoc,good-first-issue,long-term-plan'
41+
exempt-pr-labels: 'status:ready-for-merge,status:needs-testing,status:on-hold'

.pre-commit-config.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ repos:
8181
- --license-filepath
8282
- .github/workflows/license-templates/LICENSE.txt
8383
- --fuzzy-match-generates-todo
84+
- id: insert-license
85+
name: add license for all Vue files
86+
files: \.vue$
87+
args:
88+
- --comment-style
89+
- '|//|'
90+
- --license-filepath
91+
- .github/workflows/license-templates/LICENSE.txt
92+
- --fuzzy-match-generates-todo
8493
- id: insert-license
8594
name: add license for all YAML files
8695
description: automatically adds a licence header to all YAML files that don't have a license header
@@ -132,7 +141,7 @@ repos:
132141
- id: forbid-submodules
133142
- id: mixed-line-ending
134143
- id: trailing-whitespace
135-
files: \.(bat|cfg|cs|css|gitignore|header|in|install|java|md|properties|py|rb|rc|sh|sql|te|template|txt|ucls|vue|xml|xsl|yaml|yml)$|^cloud-cli/bindir/cloud-tool$|^debian/changelog$
144+
files: ^(LICENSE|NOTICE)$|\.(bat|cfg|cs|css|gitignore|header|in|install|java|md|properties|py|rb|rc|sh|sql|te|template|txt|ucls|vue|xml|xsl|yaml|yml)$|^cloud-cli/bindir/cloud-tool$|^debian/changelog$
136145
args: [--markdown-linebreak-ext=md]
137146
exclude: ^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
138147
- repo: https://github.com/codespell-project/codespell

0 commit comments

Comments
 (0)