Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/firstrunwizard.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-09-26 20:54:52 +0300
committerJoas Schilling <coding@schilljs.com>2022-09-26 20:56:31 +0300
commit83d9395346ceaa29b2c35e2653cd6f125537840b (patch)
tree4ed438f8c774eb5fc7549b3f089fc4c2fade6933
parent2a09b3fd5d1f902e895db342cdc52a16526b3c03 (diff)
Migrate to nextcloud/OCP package in mastermigrate-master-christophwurst-package
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--.github/workflows/update-nextcloud-ocp.yml65
-rw-r--r--composer.json9
-rw-r--r--composer.lock93
3 files changed, 118 insertions, 49 deletions
diff --git a/.github/workflows/update-nextcloud-ocp.yml b/.github/workflows/update-nextcloud-ocp.yml
new file mode 100644
index 00000000..a396b6f8
--- /dev/null
+++ b/.github/workflows/update-nextcloud-ocp.yml
@@ -0,0 +1,65 @@
+# 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
+
+name: Update nextcloud/ocp
+
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: "5 4 * * 0"
+
+jobs:
+ update-nextcloud-ocp:
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ branches: ["master", "stable25", "stable24", "stable23"]
+
+ name: update-nextcloud-ocp-${{ matrix.branches }}
+
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ ref: ${{ matrix.branches }}
+ submodules: true
+
+ - name: Set up php7.4
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: 7.4
+ extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
+ coverage: none
+
+ - name: Composer install
+ run: composer install
+
+ - name: Composer update nextcloud/ocp
+ run: composer require --dev nextcloud/ocp:dev-${{ matrix.branches }}
+ continue-on-error: true
+
+ - name: Reset checkout dirs
+ run: |
+ git clean -f 3rdparty
+ git clean -f vendor
+ git checkout 3rdparty vendor
+ continue-on-error: true
+
+ - name: Create Pull Request
+ uses: peter-evans/create-pull-request@v3
+ with:
+ token: ${{ secrets.COMMAND_BOT_PAT }}
+ commit-message: Update psalm baseline
+ committer: GitHub <noreply@github.com>
+ author: nextcloud-command <nextcloud-command@users.noreply.github.com>
+ signoff: true
+ branch: automated/noid/${{ matrix.branches }}-update-nextcloud-ocp
+ title: "[${{ matrix.branches }}] Update nextcloud/ocp dependency"
+ body: |
+ Auto-generated update of [nextcloud/ocp](https://github.com/nextcloud-deps/ocp/) dependency
+ labels: |
+ dependencies
+ 3. to review
diff --git a/composer.json b/composer.json
index e2384ce6..d5575bc7 100644
--- a/composer.json
+++ b/composer.json
@@ -12,12 +12,17 @@
"require-dev": {
"phpunit/phpunit": "^9.5",
"nextcloud/coding-standard": "^1.0.0",
- "christophwurst/nextcloud": "dev-master@dev",
- "vimeo/psalm": "^4.3.2"
+ "vimeo/psalm": "^4.3.2",
+ "nextcloud/ocp": "dev-master"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix"
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "OCP\\": "vendor/nextcloud/ocp/OCP"
+ }
}
}
diff --git a/composer.lock b/composer.lock
index 44670faa..ba58c72f 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "d9007a41c6673eede7cf63638a3352ec",
+ "content-hash": "33c4af42447d2583764f0ccda340a6fa",
"packages": [],
"packages-dev": [
{
@@ -174,50 +174,6 @@
"time": "2021-03-30T17:13:30+00:00"
},
{
- "name": "christophwurst/nextcloud",
- "version": "dev-master",
- "source": {
- "type": "git",
- "url": "https://github.com/ChristophWurst/nextcloud_composer.git",
- "reference": "07ca35fed2423e4ee89bb1da98a637fd0f89d272"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ChristophWurst/nextcloud_composer/zipball/07ca35fed2423e4ee89bb1da98a637fd0f89d272",
- "reference": "07ca35fed2423e4ee89bb1da98a637fd0f89d272",
- "shasum": ""
- },
- "require": {
- "php": "^7.3 || ~8.0.0",
- "psr/container": "^1.0",
- "psr/event-dispatcher": "^1.0",
- "psr/log": "^1.1"
- },
- "default-branch": true,
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "24.0.0-dev"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "AGPL-3.0-or-later"
- ],
- "authors": [
- {
- "name": "Christoph Wurst",
- "email": "christoph@winzerhof-wurst.at"
- }
- ],
- "description": "Composer package containing Nextcloud's public API (classes, interfaces)",
- "support": {
- "issues": "https://github.com/ChristophWurst/nextcloud_composer/issues",
- "source": "https://github.com/ChristophWurst/nextcloud_composer/tree/master"
- },
- "time": "2022-01-29T01:05:52+00:00"
- },
- {
"name": "composer/package-versions-deprecated",
"version": "1.11.99.5",
"source": {
@@ -1103,6 +1059,49 @@
"time": "2021-11-10T08:44:10+00:00"
},
{
+ "name": "nextcloud/ocp",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nextcloud-deps/ocp.git",
+ "reference": "35711a5c821cc9589d58efa0ded87ae948ab71ed"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/35711a5c821cc9589d58efa0ded87ae948ab71ed",
+ "reference": "35711a5c821cc9589d58efa0ded87ae948ab71ed",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.4 || ~8.0 || ~8.1",
+ "psr/container": "^1.1.1",
+ "psr/event-dispatcher": "^1.0",
+ "psr/log": "^1.1"
+ },
+ "default-branch": true,
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "26.0.0-dev"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "AGPL-3.0-or-later"
+ ],
+ "authors": [
+ {
+ "name": "Christoph Wurst",
+ "email": "christoph@winzerhof-wurst.at"
+ }
+ ],
+ "description": "Composer package containing Nextcloud's public API (classes, interfaces)",
+ "support": {
+ "source": "https://github.com/nextcloud-deps/ocp/tree/master"
+ },
+ "time": "2022-09-22T12:49:25+00:00"
+ },
+ {
"name": "nikic/php-parser",
"version": "v4.13.2",
"source": {
@@ -4842,7 +4841,7 @@
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
- "christophwurst/nextcloud": 20
+ "nextcloud/ocp": 20
},
"prefer-stable": false,
"prefer-lowest": false,
@@ -4851,5 +4850,5 @@
"platform-overrides": {
"php": "7.4"
},
- "plugin-api-version": "2.1.0"
+ "plugin-api-version": "2.3.0"
}