Skip to content

Commit 61a3132

Browse files
Merge pull request #27649 from nextcloud/techdebt/noid/stable22-version-fixing
Fix branch selection in stable22
2 parents 57a4ef9 + 99b7b82 commit 61a3132

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
codecov:
2-
branch: master
2+
branch: stable22
33
ci:
44
- drone.nextcloud.com
55
- !scrutinizer-ci.com

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ steps:
14031403
commands:
14041404
# JavaScript files are not used in integration tests so it is not needed to
14051405
# build them.
1406-
- git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
1406+
- git clone --depth 1 --branch stable22 https://github.com/nextcloud/spreed apps/spreed
14071407
- name: integration-sharing-v1-video-verification
14081408
image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:integration-php7.3-2
14091409
commands:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Nextcloud Server ☁
2-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=master)
3-
[![codecov](https://codecov.io/gh/nextcloud/server/branch/master/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
2+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=stable22)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=stable22)
3+
[![codecov](https://codecov.io/gh/nextcloud/server/branch/stable22/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
44
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/209/badge)](https://bestpractices.coreinfrastructure.org/projects/209)
55

66
**A safe home for all your data.**

build/update-apps.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
2-
# Update Nextcloud apps from latest git master
2+
# Update Nextcloud apps from latest git stable22
33
# For local development environment
44
# Use from Nextcloud server folder with `./build/update-apps.sh`
55
#
66
# It automatically:
77
# - goes through all apps which are not shipped via server
88
# - shows the app name in bold and uses whitespace for separation
9-
# - changes to master and pulls quietly
9+
# - changes to stable22 and pulls quietly
1010
# - shows the 3 most recent commits for context
11-
# - removes branches merged into master
11+
# - removes branches merged into stable22
1212
# - … could even do the build steps if they are consistent for the apps (like `make`)
1313

14-
find apps* -maxdepth 2 -name .git -exec sh -c 'cd {}/../ && printf "\n\033[1m${PWD##*/}\033[0m\n" && git checkout master && git pull --quiet -p && git --no-pager log -3 --pretty=format:"%h %Cblue%ar%x09%an %Creset%s" && printf "\n" && git branch --merged master | grep -v "master$" | xargs git branch -d && cd ..' \;
14+
find apps* -maxdepth 2 -name .git -exec sh -c 'cd {}/../ && printf "\n\033[1m${PWD##*/}\033[0m\n" && git checkout stable22 && git pull --quiet -p && git --no-pager log -3 --pretty=format:"%h %Cblue%ar%x09%an %Creset%s" && printf "\n" && git branch --merged stable22 | grep -v "stable22$" | xargs git branch -d && cd ..' \;

build/update.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/bin/bash
2-
# Update Nextcloud server and apps from latest git master
2+
# Update Nextcloud server and apps from latest git stable22
33
# For local development environment
44
# Use from Nextcloud server folder with `./build/update.sh`
55

66
# Update server
77
printf "\n\033[1m${PWD##*/}\033[0m\n"
8-
git checkout master
8+
git checkout stable22
99
git pull --quiet -p
1010
git --no-pager log -3 --pretty=format:"%h %Cblue%ar%x09%an %Creset%s"
1111
printf "\n"
12-
git branch --merged master | grep -v "master$" | xargs git branch -d
12+
git branch --merged stable22 | grep -v "stable22$" | xargs git branch -d
1313
git submodule update --init
1414

1515
# Update apps

tests/acceptance/run-local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if [ "$1" = "--acceptance-tests-dir" ]; then
6464
fi
6565

6666
ACCEPTANCE_TESTS_CONFIG_DIR="../../$ACCEPTANCE_TESTS_DIR/config"
67-
DEV_BRANCH="master"
67+
DEV_BRANCH="stable22"
6868

6969
# "--timeout-multiplier N" option can be provided to set the timeout multiplier
7070
# to be used in ActorContext.

0 commit comments

Comments
 (0)