Skip to content

Commit b6c58da

Browse files
authored
Merge pull request #197 from ConductionNL/development
Release: merge development into beta
2 parents 7b784d6 + 6b4477c commit b6c58da

764 files changed

Lines changed: 159033 additions & 86314 deletions

File tree

Some content is hidden

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

.coverage-baseline

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
13.01

.editorconfig

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# https://editorconfig.org
2+
3+
# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
4+
# SPDX-License-Identifier: AGPL-3.0-or-later
5+
6+
root = true
7+
8+
[*]
9+
charset = utf-8
10+
end_of_line = lf
11+
indent_size = 4
12+
indent_style = tab
13+
insert_final_newline = true
14+
trim_trailing_whitespace = true
15+
16+
[*.yml]
17+
indent_size = 2
18+
indent_style = space
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
23+
[*.svg]
24+
insert_final_newline = false
25+
26+
[package*.json]
27+
indent_size = 2
28+
indent_style = space
29+
30+
[build/psalm-baseline.xml]
31+
indent_size = 2
32+
indent_style = space
33+
34+
[config/*config.php]
35+
indent_size = 2
36+
indent_style = space

.forgejo/workflows/pre-merge-check-strict.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
apt-get install -y --no-install-recommends \
3333
git curl ca-certificates gnupg jq unzip zip \
3434
libzip-dev libpng-dev python3
35+
# Node is required by actions/checkout@v4 (a JS action) which runs
36+
# inside this php:8.3-cli container; the stock image ships no node.
37+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
38+
apt-get install -y --no-install-recommends nodejs
3539
docker-php-ext-install -j"$(nproc)" zip gd
3640
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
3741

.forgejo/workflows/tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ jobs:
7575
apt-get install -y --no-install-recommends \
7676
git curl ca-certificates gnupg jq unzip zip \
7777
libzip-dev libpng-dev python3
78+
# Node is required by actions/checkout@v4 (a JS action) which runs
79+
# inside this php:8.3-cli container; the stock image ships no node.
80+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
81+
apt-get install -y --no-install-recommends nodejs
7882
docker-php-ext-install -j"$(nproc)" zip gd
7983
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
8084
@@ -149,6 +153,10 @@ jobs:
149153
apt-get install -y --no-install-recommends \
150154
git curl ca-certificates gnupg jq unzip zip \
151155
libzip-dev libpng-dev python3
156+
# Node is required by actions/checkout@v4 (a JS action) which runs
157+
# inside this php:8.3-cli container; the stock image ships no node.
158+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
159+
apt-get install -y --no-install-recommends nodejs
152160
docker-php-ext-install -j"$(nproc)" zip gd
153161
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
154162

.git-blame-ignore-revs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
# Retrofit annotation commit (opsx-annotate, 2026-05-24)
2-
e7a6be7bfd26417b65dbca481ff0468821434f61
1+
# Revisions to skip in `git blame`.
2+
#
3+
# Enable locally, once:
4+
# git config blame.ignoreRevsFile .git-blame-ignore-revs
5+
#
6+
# GitHub reads this file automatically. Your terminal does not, until you run
7+
# the line above.
8+
#
9+
# Only ever add commits that change formatting and NOTHING else. A commit listed
10+
# here becomes invisible to blame, so a behaviour change hidden inside one would
11+
# be very hard to find later.
12+
13+
# style: reformat with nextcloud/coding-standard — whitespace only
14+
# The fleet-wide move from a PEAR-derived PHPCS ruleset (4 spaces, next-line
15+
# braces) to Nextcloud's own standard (tabs, same-line braces).
16+
a78e00aa9f0e963156dc4c58277776c783837a2d

.github/dependabot.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,36 @@
11
version: 2
2+
3+
# ⚠️ `target-branch: development` is load-bearing, not cosmetic.
4+
#
5+
# Without it Dependabot targets the repository DEFAULT branch, which is `main`.
6+
# `main` is currently **729 commits behind `development`** and carries an
7+
# entirely different lockfile, so the PRs Dependabot raised there were:
8+
#
9+
# • measured against a tree nobody develops on — the open alerts claimed
10+
# 5 critical / 51 high, while `development` actually had 1 critical /
11+
# 2 high (npm) and ZERO composer advisories; and
12+
# • ungated — `code-quality.yml` on `main` is a stale, self-contained
13+
# workflow, and PRs #368 and #369 collected **no check runs at all**
14+
# beyond a neutral CodeQL. A dependency PR that nothing builds is exactly
15+
# how this fleet previously shipped an unbuildable image for two months.
16+
#
17+
# Pointing Dependabot at `development` puts its PRs in front of the real
18+
# shared quality workflow (build, unit tests, SBOM, licence and audit legs).
19+
#
20+
# Trade-off, stated explicitly: GitHub only raises Dependabot SECURITY updates
21+
# against the default branch, so setting `target-branch` converts these to
22+
# VERSION updates. That is a net gain here — a version update on `development`
23+
# is verified and mergeable, whereas a security update on `main` was neither.
24+
# The alert list itself still tracks `main` and will only shrink as
25+
# `development` is released forward.
26+
#
27+
# Matches the fleet convention already in place on nldesign, decidesk,
28+
# openbuild, procest and shillinq.
29+
230
updates:
331
- package-ecosystem: "npm"
432
directory: "/"
33+
target-branch: "development"
534
schedule:
635
interval: "weekly"
736
open-pull-requests-limit: 10
@@ -11,3 +40,34 @@ updates:
1140
- "*"
1241
exclude:
1342
- "@conduction/*"
43+
44+
# composer had no entry at all, so the only composer PRs this repo ever saw
45+
# were security updates against `main` (e.g. #369, which bumped twig to
46+
# 3.27.0 — a version `development` already had).
47+
#
48+
# default-days corrected 1 -> 2 and exclude added: this entry had a cooldown
49+
# window but no first-party exclusion, so a fresh conduction/* release would
50+
# have waited the same one day as any third-party package instead of being
51+
# exempt — the fleet-wide floor gate-93 (composer-cooldown-config) enforces
52+
# is 2 days plus a conduction/* exclude, matching the npm entry above's
53+
# exclude and the fleet's `conduction/hydra-gates` / `conduction/coding-standard`
54+
# first-party dependencies.
55+
- package-ecosystem: "composer"
56+
directory: "/"
57+
target-branch: "development"
58+
schedule:
59+
interval: "weekly"
60+
open-pull-requests-limit: 10
61+
cooldown:
62+
default-days: 2
63+
include:
64+
- "*"
65+
exclude:
66+
- "conduction/*"
67+
68+
- package-ecosystem: "github-actions"
69+
directory: "/"
70+
target-branch: "development"
71+
schedule:
72+
interval: "weekly"
73+
open-pull-requests-limit: 5

.github/workflows/branch-protection.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ on:
88

99
jobs:
1010
protect:
11-
uses: Conduction/.github/.github/workflows/branch-protection.yml@main
11+
# The callee's `check-branch` job is a single bash comparison of
12+
# `github.base_ref` against `github.head_ref` — no checkout, no network, no
13+
# API call. It needs nothing, so it gets nothing. `{}` is an explicit empty
14+
# grant, which is what satisfies actions/missing-workflow-permissions; an
15+
# ABSENT block means "whatever the repo default is", which is the finding.
16+
permissions: {}
17+
uses: ConductionNL/.github/.github/workflows/branch-protection.yml@main

0 commit comments

Comments
 (0)