Skip to content

Commit 9d621f6

Browse files
Merge branch 'main' of github.com:QuentinLemCode/recognize into switch-human
2 parents 7e259fd + 4119532 commit 9d621f6

File tree

20 files changed

+242
-183
lines changed

20 files changed

+242
-183
lines changed

.github/workflows/cluster-faces-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,21 +140,21 @@ jobs:
140140
id: photos-cache
141141
with:
142142
path: data/admin/files/
143-
key: https://cloud.marcelklehr.de/s/PkNYbmKnwMiQMFD/download/IMDb-Face.zip
143+
key: https://cloud.nextcloud.com/s/4JqQdPy3dicQRPr/download/IMDb-Face.zip
144144

145145
- name: Upload photos
146146
if: steps.photos-cache.outputs.cache-hit != 'true'
147147
run: |
148148
mkdir -p data/admin/files/
149149
cd data/admin/files
150-
wget https://cloud.marcelklehr.de/s/PkNYbmKnwMiQMFD/download/IMDb-Face.zip
150+
wget https://cloud.nextcloud.com/s/4JqQdPy3dicQRPr/download/IMDb-Face.zip
151151
unzip IMDb-Face.zip
152152
rm IMDb-Face.zip
153153
154154
- uses: actions/cache/save@v3
155155
with:
156156
path: data/admin/files/
157-
key: https://cloud.marcelklehr.de/s/PkNYbmKnwMiQMFD/download/IMDb-Face.zip
157+
key: https://cloud.nextcloud.com/s/4JqQdPy3dicQRPr/download/IMDb-Face.zip
158158

159159
- name: Set config
160160
run: |
@@ -259,7 +259,7 @@ jobs:
259259
- name: Download IMDb-Face.csv
260260
working-directory: apps/${{ env.APP_NAME }}/tests/res
261261
run: |
262-
wget https://cloud.marcelklehr.de/s/ZKe7MY7gZRRxBPq/download/IMDb-Face-csv.zip
262+
wget https://cloud.nextcloud.com/s/4JqQdPy3dicQRPr/download/IMDb-Face-csv.zip
263263
unzip IMDb-Face-csv.zip
264264
rm IMDb-Face-csv.zip
265265

.github/workflows/psalm-matrix.yml

Lines changed: 16 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,27 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
jobs:
24-
matrix:
25-
runs-on: ubuntu-latest-low
26-
outputs:
27-
ocp-matrix: ${{ steps.versions.outputs.ocp-matrix }}
28-
steps:
29-
- name: Checkout app
30-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
31-
- name: Get version matrix
32-
id: versions
33-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
34-
3524
static-analysis:
3625
runs-on: ubuntu-latest
37-
needs: matrix
38-
strategy:
39-
# do not stop on another job's failure
40-
fail-fast: false
41-
matrix: ${{ fromJson(needs.matrix.outputs.ocp-matrix) }}
4226

43-
name: static-psalm-analysis ${{ matrix.ocp-version }}
27+
name: static-psalm-analysis
4428
steps:
4529
- name: Checkout
46-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
with:
32+
persist-credentials: false
33+
34+
- name: Get php version
35+
id: versions
36+
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
4737

48-
- name: Set up php${{ matrix.php-versions }}
38+
- name: Check enforcement of minimum PHP version ${{ steps.versions.outputs.php-min }} in psalm.xml
39+
run: grep 'phpVersion="${{ steps.versions.outputs.php-min }}' psalm.xml
40+
41+
- name: Set up php${{ steps.versions.outputs.php-available }}
4942
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
5043
with:
51-
php-version: ${{ matrix.php-versions }}
44+
php-version: ${{ steps.versions.outputs.php-available }}
5245
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
5346
coverage: none
5447
ini-file: development
@@ -60,21 +53,8 @@ jobs:
6053
composer remove nextcloud/ocp --dev
6154
composer i
6255
63-
64-
- name: Install dependencies
65-
run: composer require --dev 'nextcloud/ocp:${{ matrix.ocp-version }}' --ignore-platform-reqs --with-dependencies
56+
- name: Install nextcloud/ocp
57+
run: composer require --dev nextcloud/ocp:dev-${{ steps.versions.outputs.branches-max }} --ignore-platform-reqs --with-dependencies
6658

6759
- name: Run coding standards check
68-
run: composer run psalm
69-
70-
summary:
71-
runs-on: ubuntu-latest-low
72-
needs: static-analysis
73-
74-
if: always()
75-
76-
name: static-psalm-analysis-summary
77-
78-
steps:
79-
- name: Summary status
80-
run: if ${{ needs.static-analysis.result != 'success' }}; then exit 1; fi
60+
run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github

appinfo/info.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Requirements:
7676
The app does not send any sensitive data to cloud providers or similar services. All processing is done on your Nextcloud machine, using Tensorflow.js running in Node.js.
7777
7878
]]></description>
79-
<version>9.0.0-dev.0</version>
79+
<version>10.0.0-dev.0</version>
8080
<licence>agpl</licence>
8181
<author mail="[email protected]">Marcel Klehr</author>
8282
<types>
@@ -92,7 +92,7 @@ The app does not send any sensitive data to cloud providers or similar services.
9292
<screenshot>https://raw.githubusercontent.com/nextcloud/recognize/main/screenshots/Logo.png</screenshot>
9393
<screenshot>https://raw.githubusercontent.com/nextcloud/recognize/main/screenshots/imagenet_examples.jpg</screenshot>
9494
<dependencies>
95-
<nextcloud min-version="31" max-version="31" />
95+
<nextcloud min-version="32" max-version="32" />
9696
</dependencies>
9797
<background-jobs>
9898
<job>OCA\Recognize\BackgroundJobs\MaintenanceJob</job>

l10n/da.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ OC.L10N.register(
3030
"Pizza" : "Pizza",
3131
"Info" : "Info",
3232
"Document" : "Dokument",
33-
"Bucket" : "Bucket",
33+
"Bucket" : "Spand",
3434
"Festival" : "Festival",
3535
"Event" : "Begivenhed",
3636
"Gallery" : "Galleri",

l10n/da.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"Pizza" : "Pizza",
2929
"Info" : "Info",
3030
"Document" : "Dokument",
31-
"Bucket" : "Bucket",
31+
"Bucket" : "Spand",
3232
"Festival" : "Festival",
3333
"Event" : "Begivenhed",
3434
"Gallery" : "Galleri",

0 commit comments

Comments
 (0)