Skip to content

Commit b56b780

Browse files
Merge pull request #3194 from nextcloud/chore/remove-nextcloud-package
2 parents 465cc12 + 8433a5f commit b56b780

495 files changed

Lines changed: 24 additions & 542792 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.

.github/renovate.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,6 @@
8282
"groupName": "unifiedpush",
8383
"matchPackageNames": ["/^unifiedpush/"]
8484
},
85-
{
86-
"groupName": "xml_serializable",
87-
"matchPackageNames": [
88-
"xml_annotation",
89-
"xml_serializable"
90-
]
91-
},
9285
{
9386
"groupName": "test",
9487
"matchPackageNames": [

.github/workflows/dart.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,8 @@ jobs:
5959
packages_glob="$(printf ",%s" "${packages[@]}")"
6060
packages_glob="${packages_glob:1}"
6161
if [ -n "$packages_glob" ]; then
62-
if [[ "$packages_glob" == *"nextcloud"* ]]; then
63-
if [[ "${{ github.event.pull_request.head.repo.full_name }}" == "${{ github.repository }}" ]]; then
64-
export PUSH_IMAGES="1"
65-
fi
66-
./tool/build-dev-container.sh
67-
fi
6862
MELOS_PACKAGES="$packages_glob" melos test
6963
else
70-
./tool/build-dev-container.sh
7164
melos test
7265
fi
7366

.github/workflows/generate.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- external/**
2424
- tool/**
2525
- packages/dynamite/**
26-
- packages/nextcloud/**
2726
- .fvmrc
2827
2928
dart:
@@ -55,36 +54,3 @@ jobs:
5554
run: |
5655
./tool/generate-dynamite-petstore-example.sh
5756
git --no-pager diff --exit-code
58-
59-
- name: Generate nextcloud
60-
run: |
61-
./tool/generate-nextcloud.sh
62-
git --no-pager diff --exit-code
63-
64-
openapi:
65-
name: OpenAPI
66-
runs-on: ubuntu-24.04
67-
needs: changes
68-
if: needs.changes.outputs.src != 'false'
69-
steps:
70-
- name: Checkout
71-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
72-
with:
73-
fetch-depth: 0
74-
- name: Submodules
75-
run: git submodule update --init --depth 0
76-
77-
- name: Install php
78-
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
79-
with:
80-
php-version: "8.1"
81-
tools: composer
82-
83-
# Use https://github.com/kislyuk/yq
84-
- name: Install yq
85-
run: pip install yq --break-system-packages
86-
87-
- name: Generate specs
88-
run: |
89-
./tool/generate-specs.sh
90-
git --no-pager diff --exit-code

.github/workflows/update_presets.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.gitmodules

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,6 @@
2222
path = external/openapi-specification
2323
url = https://github.com/OAI/OpenAPI-Specification.git
2424
branch = 3.1.1
25-
[submodule "external/nextcloud-drop_account"]
26-
path = external/nextcloud-drop_account
27-
url = https://framagit.org/framasoft/nextcloud/drop_account.git
28-
branch = 2.7.1
29-
[submodule "external/nextcloud-cookbook"]
30-
path = external/nextcloud-cookbook
31-
url = https://github.com/nextcloud/cookbook.git
32-
branch = v0.11.6
33-
[submodule "external/nextcloud-tables"]
34-
path = external/nextcloud-tables
35-
url = https://github.com/nextcloud/tables
36-
branch = v0.9.9
3725
[submodule "external/emoji-metadata"]
3826
path = external/emoji-metadata
3927
url = https://github.com/googlefonts/emoji-metadata
40-
[submodule "external/nextcloud-password_policy"]
41-
path = external/nextcloud-password_policy
42-
url = https://github.com/nextcloud/password_policy.git
43-
branch = v31.0.14
44-
[submodule "external/nextcloud-terms_of_service"]
45-
path = external/nextcloud-terms_of_service
46-
url = https://github.com/nextcloud/terms_of_service.git
47-
branch = v4.6.1

CONTRIBUTING.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,9 @@ To set up all these tools run the `./tool/setup.sh` script.
1111
Note that you need to have Dart installed and [`~/.pub-cache/bin/` needs to be in your PATH](https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path) before running the script.
1212

1313
You will need to have the following dependencies installed to get the app running:
14-
- [yq](https://github.com/kislyuk/yq)
1514
- [sqlite3](https://pub.dev/packages/sqflite_common_ffi#getting-started)
1615

17-
For working with lower levels like generating the OpenAPI specifications a few more dependencies are required:
18-
- [jsonpatch](https://pypi.org/project/jsonpatch)
19-
- [PHP](https://www.php.net)
20-
- [composer](https://getcomposer.org)
21-
Make sure to initialize the git submodules by running `git submodule update --init --recursive`.
22-
This will add our external dependencies to `external/` so scripts can use them for generation.
23-
24-
For running a development Nextcloud instance:
25-
- Install [docker](https://www.docker.com/get-started)
26-
- Run the `./tool/dev.sh` script to start the server
27-
- Development instance running on http://localhost. To access it in an Android Emulator use http://10.0.2.2
16+
For running a development Nextcloud instance see https://github.com/provokateurin/nextcloud.dart/blob/main/DEVELOPMENT.md#run-a-test-instance.
2817

2918
## Picking an issue
3019
You may wish to start with our list of [good first issues](https://github.com/nextcloud/neon/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The Neon project has three main goals:
3131

3232
The Neon project uses [Dart](https://dart.dev/) and [Flutter](https://flutter.dev/) to help mobile client developers building apps. Flutter allows us to build convergent cross-platform clients that feel native.
3333
We are a 100% FOSS framework and do not rely on any proprietary libraries making it easy for developers to publish their apps in places like the [F-Droid](https://f-droid.org/) store.
34-
We provide a generated [Nextcloud Dart client](packages/nextcloud) that is generated from the new OpenAPI specifications shipped with Nextcloud and is already being used by other Dart and Flutter projects. Gone are the days of looking at the PHP code and implementing an API client by hand which can be time-consuming and very error-prone.
34+
We provide a generated [Nextcloud Dart client](https://github.com/provokateurin/nextcloud.dart) that is generated from the new OpenAPI specifications shipped with Nextcloud and is already being used by other Dart and Flutter projects. Gone are the days of looking at the PHP code and implementing an API client by hand which can be time-consuming and very error-prone.
3535
For more details on generating the OpenAPI specifications you can watch the following lightning talk from the Nextcloud Conference 2023: https://www.youtube.com/watch?v=lI9PrOOMLzE
3636

3737
We provide abstractions, common utilities and prebuilt UI components (called Widgets in Flutter) that can be re-used. This allows Neon to make developing a new Nextcloud client as easy as adding a few custom UI elements and the necessary state management, while everything else is already taken care of for you.

commitlint.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ rules:
2828
- neon_rich_text
2929
- neon_storage
3030
- news_app
31-
- nextcloud
32-
- nextcloud_test
33-
- nextcloud_test_presets
3431
- notes_app
3532
- notifications_app
3633
- notifications_push_repository

cspell.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
"packages/neon_framework/example/web/sqflite_sw.js",
2121
"packages/neon_framework/example/web/sqlite3.wasm",
2222
"packages/neon_lints/lib",
23-
"packages/nextcloud/packages/nextcloud_test_presets/docker/static",
24-
"packages/nextcloud/test/files",
25-
"packages/nextcloud/test/fixtures"
2623
],
2724
"dictionaries": [
2825
"bash",

external/nextcloud-cookbook

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)