feat: work board, no usage data, archive folder tree, deploy guide (owner review 4 + owner review 1 phase 6) (#62)
CI / Build and test (push) Successful in 10m37s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 16m19s
CI / PostgreSQL 16 integration (push) Successful in 10m19s
CI / PostgreSQL 17 integration (push) Successful in 11m27s
CI / Docker image (push) Successful in 57s
Release / Server image (push) Successful in 1m34s
CI / Build and test (push) Successful in 10m37s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 16m19s
CI / PostgreSQL 16 integration (push) Successful in 10m19s
CI / PostgreSQL 17 integration (push) Successful in 11m27s
CI / Docker image (push) Successful in 57s
Release / Server image (push) Successful in 1m34s
Owner review 4 and owner review 1 phase 6. - Work board in Videos (desktop and admin panel): Published and Workspace lanes (#29). - Anonymous usage counts removed: Chronos sends nothing about its use (#30). - The archive's whole folder tree is created inside any archive root, on the server and the desktop (#31). - Video cards start with the preset; sizes keep number and unit together (#28). - Deploy guide docs/deploy (Docker, Unraid, desktop), BRIEF §24, original documentation in docs/reference/original (#22). Closes #22 #28 #29 #30 #31 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #62.
This commit is contained in:
1 parent
728ffa35cb
commit
0075065884
304 files changed
+6892
-325
No files matched your search
@@ -1,5 +1,6 @@
|
||||
using System.IO;
|
||||
using Chronos.App.Archiving;
|
||||
using Chronos.Core.Archiving;
|
||||
using Chronos.Core.Diagnostics;
|
||||
using Chronos.Data.Archiving;
|
||||
|
||||
@@ -35,8 +36,14 @@ public sealed class EngineArchiveSetup(AppServices services) : IArchiveSetup
|
||||
var defaults = services.Settings.ArchiveDefaults();
|
||||
var archive = await Task.Run(async () =>
|
||||
{
|
||||
Directory.CreateDirectory(root);
|
||||
return await archives.AdoptAsync(root, defaults, cancellationToken).ConfigureAwait(false);
|
||||
// A new archive is made with its whole layout (the folder itself included), or not at all; an existing one gets
|
||||
// the folders it lacks. One that can be written but not completed is refused with the reason, before it becomes
|
||||
// the archive of this PC; a read-only one opens as before, to be browsed.
|
||||
var opened = await archives.AdoptAsync(root, defaults, cancellationToken).ConfigureAwait(false);
|
||||
var paths = new ArchivePaths(root);
|
||||
if (ArchiveStructure.Ensure(paths) is { IsComplete: false } structure && ArchiveVolume.Probe(paths) == ArchiveAvailability.Online)
|
||||
throw new ArchiveStructureException(structure);
|
||||
return opened;
|
||||
}, cancellationToken);
|
||||
services.Settings.LastArchivePath = root;
|
||||
services.SaveSettings();
|
||||
|
||||
Reference in new issue
Block a user