Change file conf name, fix peer url

This commit is contained in:
plm 2025-01-15 09:49:00 +01:00
parent 451c8aceec
commit c7d6308c09
8 changed files with 47 additions and 78 deletions

View File

@ -1,31 +0,0 @@
Extension Discovery Cache
=========================
This folder is used by `package:extension_discovery` to cache lists of
packages that contains extensions for other packages.
DO NOT USE THIS FOLDER
----------------------
* Do not read (or rely) the contents of this folder.
* Do write to this folder.
If you're interested in the lists of extensions stored in this folder use the
API offered by package `extension_discovery` to get this information.
If this package doesn't work for your use-case, then don't try to read the
contents of this folder. It may change, and will not remain stable.
Use package `extension_discovery`
---------------------------------
If you want to access information from this folder.
Feel free to delete this folder
-------------------------------
Files in this folder act as a cache, and the cache is discarded if the files
are older than the modification time of `.dart_tool/package_config.json`.
Hence, it should never be necessary to clear this cache manually, if you find a
need to do please file a bug.

View File

@ -1 +0,0 @@
{"version":2,"entries":[{"package":"flutter_flow_chart","rootUri":"../library/flutter_flow_chart/","packageUri":"lib/"},{"package":"oc_front","rootUri":"../","packageUri":"lib/"}]}

View File

@ -51,9 +51,9 @@
}, },
{ {
"name": "collection", "name": "collection",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.18.0", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.19.0",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "2.18" "languageVersion": "3.4"
}, },
{ {
"name": "convert", "name": "convert",
@ -201,9 +201,9 @@
}, },
{ {
"name": "flutter_lints", "name": "flutter_lints",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-5.0.0", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "3.5" "languageVersion": "3.1"
}, },
{ {
"name": "flutter_map", "name": "flutter_map",
@ -315,13 +315,13 @@
}, },
{ {
"name": "leak_tracker", "name": "leak_tracker",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.7",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "3.2" "languageVersion": "3.2"
}, },
{ {
"name": "leak_tracker_flutter_testing", "name": "leak_tracker_flutter_testing",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "3.2" "languageVersion": "3.2"
}, },
@ -333,9 +333,9 @@
}, },
{ {
"name": "lints", "name": "lints",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-5.0.0", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-4.0.0",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "3.5" "languageVersion": "3.1"
}, },
{ {
"name": "lists", "name": "lists",
@ -555,9 +555,9 @@
}, },
{ {
"name": "stack_trace", "name": "stack_trace",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.11.1", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.12.0",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "2.18" "languageVersion": "3.4"
}, },
{ {
"name": "star_menu", "name": "star_menu",
@ -573,9 +573,9 @@
}, },
{ {
"name": "string_scanner", "name": "string_scanner",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.2.0", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.3.0",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "2.18" "languageVersion": "3.1"
}, },
{ {
"name": "super_clipboard", "name": "super_clipboard",
@ -627,9 +627,9 @@
}, },
{ {
"name": "test_api", "name": "test_api",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.2", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.3",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "3.2" "languageVersion": "3.4"
}, },
{ {
"name": "timezone", "name": "timezone",
@ -681,7 +681,7 @@
}, },
{ {
"name": "vm_service", "name": "vm_service",
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.2.5", "rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.3.0",
"packageUri": "lib/", "packageUri": "lib/",
"languageVersion": "3.3" "languageVersion": "3.3"
}, },
@ -728,10 +728,10 @@
"languageVersion": "3.3" "languageVersion": "3.3"
} }
], ],
"generated": "2024-12-18T09:02:08.495042Z", "generated": "2025-01-09T14:13:17.895902Z",
"generator": "pub", "generator": "pub",
"generatorVersion": "3.5.4", "generatorVersion": "3.6.0",
"flutterRoot": "file:///home/opencloud/Tools/flutter", "flutterRoot": "file:///home/opencloud/Tools/flutter",
"flutterVersion": "3.24.5", "flutterVersion": "3.27.1",
"pubCache": "file:///home/opencloud/.pub-cache" "pubCache": "file:///home/opencloud/.pub-cache"
} }

View File

@ -31,9 +31,9 @@ clock
file:///home/opencloud/.pub-cache/hosted/pub.dev/clock-1.1.1/ file:///home/opencloud/.pub-cache/hosted/pub.dev/clock-1.1.1/
file:///home/opencloud/.pub-cache/hosted/pub.dev/clock-1.1.1/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/clock-1.1.1/lib/
collection collection
2.18 3.4
file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.18.0/ file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.19.0/
file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.18.0/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.19.0/lib/
convert convert
2.18 2.18
file:///home/opencloud/.pub-cache/hosted/pub.dev/convert-3.1.1/ file:///home/opencloud/.pub-cache/hosted/pub.dev/convert-3.1.1/
@ -123,9 +123,9 @@ flutter_event_calendar
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0/ file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0/
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0/lib/
flutter_lints flutter_lints
3.5 3.1
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-5.0.0/ file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0/
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-5.0.0/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0/lib/
flutter_map flutter_map
3.0 3.0
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_map-7.0.2/ file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_map-7.0.2/
@ -192,20 +192,20 @@ file:///home/opencloud/.pub-cache/hosted/pub.dev/latlong2-0.9.1/
file:///home/opencloud/.pub-cache/hosted/pub.dev/latlong2-0.9.1/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/latlong2-0.9.1/lib/
leak_tracker leak_tracker
3.2 3.2
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/ file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.7/
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.7/lib/
leak_tracker_flutter_testing leak_tracker_flutter_testing
3.2 3.2
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/ file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8/
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8/lib/
leak_tracker_testing leak_tracker_testing
3.2 3.2
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/ file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/lib/
lints lints
3.5 3.1
file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-5.0.0/ file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-4.0.0/
file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-5.0.0/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-4.0.0/lib/
lists lists
2.12 2.12
file:///home/opencloud/.pub-cache/hosted/pub.dev/lists-1.0.1/ file:///home/opencloud/.pub-cache/hosted/pub.dev/lists-1.0.1/
@ -347,9 +347,9 @@ sprintf
file:///home/opencloud/.pub-cache/hosted/pub.dev/sprintf-7.0.0/ file:///home/opencloud/.pub-cache/hosted/pub.dev/sprintf-7.0.0/
file:///home/opencloud/.pub-cache/hosted/pub.dev/sprintf-7.0.0/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/sprintf-7.0.0/lib/
stack_trace stack_trace
2.18 3.4
file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/ file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.12.0/
file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.12.0/lib/
star_menu star_menu
3.2 3.2
file:///home/opencloud/.pub-cache/hosted/pub.dev/star_menu-4.0.1/ file:///home/opencloud/.pub-cache/hosted/pub.dev/star_menu-4.0.1/
@ -359,9 +359,9 @@ stream_channel
file:///home/opencloud/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/ file:///home/opencloud/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/
file:///home/opencloud/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/
string_scanner string_scanner
2.18 3.1
file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/ file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.3.0/
file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.3.0/lib/
super_clipboard super_clipboard
3.0 3.0
file:///home/opencloud/.pub-cache/hosted/pub.dev/super_clipboard-0.8.19/ file:///home/opencloud/.pub-cache/hosted/pub.dev/super_clipboard-0.8.19/
@ -395,9 +395,9 @@ term_glyph
file:///home/opencloud/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/ file:///home/opencloud/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/
file:///home/opencloud/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/
test_api test_api
3.2 3.4
file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.2/ file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.3/
file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.2/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.3/lib/
timezone timezone
2.19 2.19
file:///home/opencloud/.pub-cache/hosted/pub.dev/timezone-0.9.4/ file:///home/opencloud/.pub-cache/hosted/pub.dev/timezone-0.9.4/
@ -432,8 +432,8 @@ file:///home/opencloud/.pub-cache/hosted/pub.dev/vector_math-2.1.4/
file:///home/opencloud/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/
vm_service vm_service
3.3 3.3
file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.2.5/ file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.3.0/
file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.2.5/lib/ file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.3.0/lib/
web web
3.3 3.3
file:///home/opencloud/.pub-cache/hosted/pub.dev/web-0.5.1/ file:///home/opencloud/.pub-cache/hosted/pub.dev/web-0.5.1/

View File

@ -1 +1 @@
3.24.5 3.27.1

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
"ITEM_HOST": "http://beta.opencloud.com/item/oc", "ITEM_HOST": "http://beta.opencloud.com/item/oc",
"SCHEDULER_HOST": "http://beta.opencloud.com/workspace/scheduler/oc", "SCHEDULER_HOST": "http://beta.opencloud.com/workspace/scheduler/oc",
"LOGS_HOST": "http://localhost:3100", "LOGS_HOST": "http://localhost:3100",
"PEER_HOST": "http://beta.opencloud.com/peer/oc", "PEER_HOST": "http://beta.opencloud.com/peers/oc",
"DATACENTER_HOST": "http://beta.opencloud.com/datacenter/oc", "DATACENTER_HOST": "http://beta.opencloud.com/datacenter/oc",
"COLLABORATIVE_AREA_HOST": "http://beta.opencloud.com/shared/oc", "COLLABORATIVE_AREA_HOST": "http://beta.opencloud.com/shared/oc",
"HOST": "http://beta.opencloud.com/oc", "HOST": "http://beta.opencloud.com/oc",

View File

@ -10,7 +10,8 @@ class AppConfig {
factory AppConfig() => _instance; factory AppConfig() => _instance;
Future<void> loadConfig() async { Future<void> loadConfig() async {
final response = await rootBundle.loadString('assets/config/front.json'); final response =
await rootBundle.loadString('assets/config/front_k8s.json');
_config = Map<String, String>.from(json.decode(response)); _config = Map<String, String>.from(json.decode(response));
print('Config loaded: $_config'); print('Config loaded: $_config');
} }