Files
Chronos/Directory.Build.props
Alby96andClaude Opus 5.5 f33bcac32e
CI / Build and test (push) Successful in 13m44s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 16s
Release / Build, test and publish (push) Successful in 26m34s
CI / PostgreSQL 16 integration (push) Failing after 17m36s
CI / PostgreSQL 17 integration (push) Failing after 15m36s
CI / Docker image (push) Successful in 1m12s
Release / Server image (push) Failing after 15s
feat(copies): matches between this PC and the server, Integrate and merge (owner review 6, v1.2.0) (#74)
The same time-lapse on a server and on this PC under different ids, or twice on this PC, is recognised,
compared and settled as the owner asked in owner review 6.

Matches are found after each sync refresh, through the server's new photo lookup, and after the jobs that
change photos. The default is to ask every time. Server › Matches offers:
- Keep apart, which is remembered;
- Link only and Unlink;
- the Compare dialog: photos, details line by line, projects and the plan.

Integrate completes both sides. Photos default to Union, projects are copied across, and a losing version
goes to the trash only after a hash check. Afterwards new photos move by themselves, and deletions wait for
the user.

A merge of two local sequences verifies every photo before the other sequence goes to its archive's trash.
Upload all local skips suspected matches and flags them.

Migration 0012 adds the found_copies and copy_probes tables. Jobs 25 (Integrate) and 26 (MergeSequences) are
new, and so are the server capabilities photo-lookup and upload-into.

Refs #73

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
2026-11-18 15:20:29 +01:00

65 lines
3.3 KiB
XML

<Project>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<ChronosVersion Condition="'$(ChronosVersion)' == ''">1.2.0</ChronosVersion>
<Version>$(ChronosVersion)</Version>
<AssemblyVersion>$([System.Text.RegularExpressions.Regex]::Match($(ChronosVersion), '^\d+\.\d+\.\d+').Value).0</AssemblyVersion>
<FileVersion>$(AssemblyVersion)</FileVersion>
<InformationalVersion>$(ChronosVersion)</InformationalVersion>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Product>Chronos</Product>
<Company>Chronos</Company>
<Copyright>© Chronos</Copyright>
<NeutralLanguage>en</NeutralLanguage>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<Deterministic>true</Deterministic>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<InvariantGlobalization>false</InvariantGlobalization>
<SatelliteResourceLanguages>en;it;de;fr;es;pt-BR;pt-PT;nl;pl;cs;sk;hu;ro;sv;da;nb;fi;ru;uk;tr;el;bg;hr;sl;lt;lv;et;ja;zh-Hans;zh-Hant;ko;ar;he;hi;id;ms;vi;th</SatelliteResourceLanguages>
<!-- Lets Linux build the Windows projects (compile check); runtime remains Windows-only. -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<!-- No package feeds are used; restore only fetches SDK targeting/runtime packs. -->
<NuGetAudit>false</NuGetAudit>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<IsPackable>false</IsPackable>
<DebugType>embedded</DebugType>
</PropertyGroup>
<!-- Design-time builds (C# Dev Kit, Visual Studio) of a fresh clone: WPF's markup compile cannot load project
references not built yet (MC1000, a warning there that warnings as errors would turn back into an error). -->
<PropertyGroup Condition="'$(DesignTimeBuild)' == 'true'">
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);MC1000</MSBuildWarningsAsMessages>
</PropertyGroup>
<PropertyGroup>
<!-- Gitea repository that hosts releases, update checks, the licence and the issues (BRIEF §19.4, amended
2026-10-23, R2); release.yml passes the repository it publishes to. Keep ProductLinks.DefaultRepository equal. -->
<ChronosReleasesUrl Condition="'$(ChronosReleasesUrl)' == ''">https://gitea.encke-hake.ts.net/BalboSoft/Chronos</ChronosReleasesUrl>
</PropertyGroup>
<ItemGroup>
<AssemblyMetadata Include="ChronosReleasesUrl" Value="$(ChronosReleasesUrl)" />
</ItemGroup>
<PropertyGroup>
<!-- Monetization (BRIEF §21) ships disabled; the human's own builds pass -p:ChronosAdsEnabled=true. -->
<ChronosAdsEnabled Condition="'$(ChronosAdsEnabled)' != 'true'">false</ChronosAdsEnabled>
</PropertyGroup>
<ItemGroup>
<AssemblyMetadata Include="ChronosAdsEnabled" Value="$(ChronosAdsEnabled)" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Optimize>true</Optimize>
</PropertyGroup>
</Project>