Skip to content

Commit

Permalink
neon_spreed: Init
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin committed Jun 7, 2023
1 parent 3bfb0cc commit 7ca91a6
Show file tree
Hide file tree
Showing 35 changed files with 3,160 additions and 24 deletions.
102 changes: 83 additions & 19 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,38 @@ jobs:
needs:
- job_001
job_011:
name: "all; PKG: packages/neon/neon_spreed; `dart format --output=none --set-exit-if-changed --line-length 120 .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_spreed;commands:format"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_spreed
os:ubuntu-latest;pub-cache-hosted;sdk:stable
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Flutter SDK
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: stable
- id: checkout
name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- id: packages_neon_neon_spreed_pub_upgrade
name: packages/neon/neon_spreed; flutter pub upgrade
run: flutter pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: packages/neon/neon_spreed
- name: "packages/neon/neon_spreed; dart format --output=none --set-exit-if-changed --line-length 120 ."
run: "dart format --output=none --set-exit-if-changed --line-length 120 ."
if: "always() && steps.packages_neon_neon_spreed_pub_upgrade.conclusion == 'success'"
working-directory: packages/neon/neon_spreed
needs:
- job_001
job_012:
name: "all; PKG: packages/nextcloud; `dart format --output=none --set-exit-if-changed --line-length 120 .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -356,7 +388,7 @@ jobs:
working-directory: packages/nextcloud
needs:
- job_001
job_012:
job_013:
name: "all; PKG: packages/settings; `dart format --output=none --set-exit-if-changed --line-length 120 .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -388,7 +420,7 @@ jobs:
working-directory: packages/settings
needs:
- job_001
job_013:
job_014:
name: "all; PKG: packages/sort_box; `dart format --output=none --set-exit-if-changed --line-length 120 .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -420,7 +452,7 @@ jobs:
working-directory: packages/sort_box
needs:
- job_001
job_014:
job_015:
name: "all; PKG: packages/spec_templates; `dart format --output=none --set-exit-if-changed --line-length 120 .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -452,7 +484,7 @@ jobs:
working-directory: packages/spec_templates
needs:
- job_001
job_015:
job_016:
name: "all; PKG: packages/app; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -484,7 +516,7 @@ jobs:
working-directory: packages/app
needs:
- job_001
job_016:
job_017:
name: "all; PKG: packages/file_icons; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -516,7 +548,7 @@ jobs:
working-directory: packages/file_icons
needs:
- job_001
job_017:
job_018:
name: "all; PKG: packages/neon/neon; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -548,7 +580,7 @@ jobs:
working-directory: packages/neon/neon
needs:
- job_001
job_018:
job_019:
name: "all; PKG: packages/neon/neon_files; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -580,7 +612,7 @@ jobs:
working-directory: packages/neon/neon_files
needs:
- job_001
job_019:
job_020:
name: "all; PKG: packages/neon/neon_news; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -612,7 +644,7 @@ jobs:
working-directory: packages/neon/neon_news
needs:
- job_001
job_020:
job_021:
name: "all; PKG: packages/neon/neon_notes; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -644,7 +676,7 @@ jobs:
working-directory: packages/neon/neon_notes
needs:
- job_001
job_021:
job_022:
name: "all; PKG: packages/neon/neon_notifications; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -676,7 +708,39 @@ jobs:
working-directory: packages/neon/neon_notifications
needs:
- job_001
job_022:
job_023:
name: "all; PKG: packages/neon/neon_spreed; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_spreed;commands:analyze_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_spreed
os:ubuntu-latest;pub-cache-hosted;sdk:stable
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Flutter SDK
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: stable
- id: checkout
name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- id: packages_neon_neon_spreed_pub_upgrade
name: packages/neon/neon_spreed; flutter pub upgrade
run: flutter pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: packages/neon/neon_spreed
- name: "packages/neon/neon_spreed; flutter analyze --fatal-infos ."
run: flutter analyze --fatal-infos .
if: "always() && steps.packages_neon_neon_spreed_pub_upgrade.conclusion == 'success'"
working-directory: packages/neon/neon_spreed
needs:
- job_001
job_024:
name: "all; PKG: packages/settings; `flutter analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -708,7 +772,7 @@ jobs:
working-directory: packages/settings
needs:
- job_001
job_023:
job_025:
name: "all; PKG: packages/dynamite/dynamite; `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -740,7 +804,7 @@ jobs:
working-directory: packages/dynamite/dynamite
needs:
- job_001
job_024:
job_026:
name: "all; PKG: packages/dynamite/dynamite_runtime; `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -772,7 +836,7 @@ jobs:
working-directory: packages/dynamite/dynamite_runtime
needs:
- job_001
job_025:
job_027:
name: "all; PKG: packages/nextcloud; `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -804,7 +868,7 @@ jobs:
working-directory: packages/nextcloud
needs:
- job_001
job_026:
job_028:
name: "all; PKG: packages/sort_box; `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -836,7 +900,7 @@ jobs:
working-directory: packages/sort_box
needs:
- job_001
job_027:
job_029:
name: "all; PKG: packages/spec_templates; `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -868,7 +932,7 @@ jobs:
working-directory: packages/spec_templates
needs:
- job_001
job_028:
job_030:
name: "all; PKG: packages/neon/neon; `flutter test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -900,7 +964,7 @@ jobs:
working-directory: packages/neon/neon
needs:
- job_001
job_029:
job_031:
name: "all; PKG: packages/nextcloud; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -932,7 +996,7 @@ jobs:
working-directory: packages/nextcloud
needs:
- job_001
job_030:
job_032:
name: "all; PKG: packages/sort_box; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ See [here](packages/app/README.md) for screenshots.
| News | :heavy_check_mark: |
| Notes | :heavy_check_mark: |
| Notifications | :heavy_check_mark: |
| Talk | :heavy_check_mark: |
| Activity | :rocket: |
| Calendar | :rocket: |
| Contacts | :rocket: |
| Cookbook | :rocket: |
| Dashboard | :rocket: |
| Photos | :rocket: |
| Talk | :rocket: |
| Tasks | :rocket: |

## Problems with other clients and how this project tries to solve them
Expand Down
5 changes: 4 additions & 1 deletion docs/architecture.puml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ package "App implementations" {
component neon_news
component neon_notes
component neon_notifications
component neon_spreed
}

package "OpenAPI" {
Expand All @@ -26,11 +27,13 @@ app ..> neon_files
app ..> neon_news
app ..> neon_notes
app ..> neon_notifications
app ..> neon_spreed

neon_files --> neon
neon_news --> neon
neon_notes --> neon
neon_notifications --> neon
neon_spreed --> neon


neon --> nextcloud
Expand All @@ -41,4 +44,4 @@ neon --> file_icons
dynamite --> nextcloud
specs --> nextcloud

@enduml
@enduml
Loading

0 comments on commit 7ca91a6

Please sign in to comment.