3 Commits
Author SHA1 Message Date
Morris 0b2f263dea chore: 彻底移除 NeoRF 标识,统一为 GC / Morris
PR 审核 / 后端编译 (pull_request) Canceled after 0s
PR 审核 / 后端自检 (pull_request) Canceled after 0s
PR 审核 / 前端检查(Flutter) (pull_request) Canceled after 0s
PR 审核 / 安全扫描 (pull_request) Canceled after 0s
PR 审核 / 审核汇总 (pull_request) Canceled after 0s
- 命名空间 NeoRF.EarthModels / NeoRF.ContourMap / NeoRF.ScaleCalculator
  改为 GC.EarthModels / GC.ContourMap / GC.ScaleCalculator
- 模型清单 type 字段同步更新,五个模型 DLL 全部重新编译并替换
- 程序集 Company 由 NeoRF 改为 Morris
- 模型作者 author 统一为 Morris(原 NeoRF / Morris GC)
- macOS 包标识 cn.neorf.GC 改为 com.xhmcl.GC
- 重算 version.json 与 model/version.json 的 build / manifestSha256 / filesSha256
2026-11-18 06:55:10 +08:00
Morris a18d0ea1a8 Merge pull request '关于页开发者改为读取仓库真实提交者(身份归并 + 排除自动化账号)' (#4) from fix/about-contributors into main
Reviewed-on: #4
2026-11-17 22:52:38 +00:00
Morris 06eb4875a1 fix(about): 开发者改为读取仓库真实提交者
PR 审核 / 后端编译 (pull_request) Canceled after 0s
PR 审核 / 后端自检 (pull_request) Canceled after 0s
PR 审核 / 前端检查(Flutter) (pull_request) Canceled after 0s
PR 审核 / 安全扫描 (pull_request) Canceled after 0s
PR 审核 / 审核汇总 (pull_request) Canceled after 0s
- ContributorsService 改用 /commits 分页统计,不再依赖需要登录的 /collaborators
- 同一人的多个 git 身份按别名归并(Morris_1 / 2509_92447106 / 两个邮箱)
- 自动化提交(agent@teamily.ai)不计入开发者,避免出现在关于页
- 关于页「开发者」标题标注数据来源,贡献数为真实提交数
- 结果缓存 10 分钟;接口失败时静默降级为空列表,不影响关于页其它内容
2026-11-18 00:23:48 +08:00
57 changed files with 275 additions and 170 deletions

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
<AvaloniaVersion>11.3.9</AvaloniaVersion> <AvaloniaVersion>11.3.9</AvaloniaVersion>
<MvvmVersion>8.2.2</MvvmVersion> <MvvmVersion>8.2.2</MvvmVersion>
<Version>1.0.7</Version> <Version>1.0.7</Version>
<Company>NeoRF</Company> <Company>Morris</Company>
<Product>GC</Product> <Product>GC</Product>
<NeutralLanguage>zh-Hans</NeutralLanguage> <NeutralLanguage>zh-Hans</NeutralLanguage>
</PropertyGroup> </PropertyGroup>
+2
View File
@@ -124,6 +124,7 @@ class I18n {
'common.error': '出错了', 'common.error': '出错了',
'common.refresh': '刷新', 'common.refresh': '刷新',
'about.developers': '开发者', 'about.developers': '开发者',
'about.contributorsHint': '来自仓库提交记录',
'about.repository': '仓库', 'about.repository': '仓库',
'about.openRepository': '打开仓库', 'about.openRepository': '打开仓库',
'about.contributions': '{0} 次提交', 'about.contributions': '{0} 次提交',
@@ -248,6 +249,7 @@ class I18n {
'common.error': 'Something went wrong', 'common.error': 'Something went wrong',
'common.refresh': 'Refresh', 'common.refresh': 'Refresh',
'about.developers': 'Developers', 'about.developers': 'Developers',
'about.contributorsHint': 'From repository commits',
'about.repository': 'Repository', 'about.repository': 'Repository',
'about.openRepository': 'Open repository', 'about.openRepository': 'Open repository',
'about.contributions': '{0} commits', 'about.contributions': '{0} commits',
+4 -1
View File
@@ -1786,7 +1786,10 @@ class _AboutPageViewState extends State<AboutPageView> {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
GcSectionTitle(T('about.developers')), GcSectionTitle(
T('about.developers'),
trailing: GcHint(T('about.contributorsHint')),
),
const SizedBox(height: 12), const SizedBox(height: 12),
if ((_about?.contributors ?? const <ContributorInfo>[]).isEmpty) if ((_about?.contributors ?? const <ContributorInfo>[]).isEmpty)
GcHint(T('about.noContributors')) GcHint(T('about.noContributors'))
+174 -60
View File
@@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Net.Http; using System.Net.Http;
using System.Text.Json; using System.Text.Json;
using System.Threading; using System.Threading;
@@ -7,25 +8,22 @@ using System.Threading.Tasks;
namespace GC.Services; namespace GC.Services;
/// <summary>GitCode 仓库的一位贡献者。</summary> /// <summary>仓库的一位贡献者(按人归并后的结果)。</summary>
public sealed class Contributor public sealed class Contributor
{ {
public string Name { get; set; } = ""; public string Name { get; set; } = "";
public string? Email { get; set; } public string? Email { get; set; }
/// <summary>提交次数(API 里的 contributions)。</summary> /// <summary>提交次数。</summary>
public int Contributions { get; set; } public int Contributions { get; set; }
/// <summary>接口直接返回的头像地址(Gitea 的 avatar_url);为空时按邮箱哈希生成。</summary> /// <summary>接口直接返回的头像地址(Gitea 的 avatar_url);为空时按邮箱哈希生成。</summary>
public string? Avatar { get; set; } public string? Avatar { get; set; }
/// <summary> /// <summary>最近一次提交时间,用于贡献数相同时排序。</summary>
/// 登录名 -> 展示名。GitCode 的 contributors 接口只返回账号登录名, public DateTimeOffset? LastCommit { get; set; }
/// 不返回真实姓名,这里做一层映射,让关于页显示作者想展示的名字。
/// </summary> /// <summary>关于页展示的名字。</summary>
private static readonly Dictionary<string, string> DisplayNames = new(StringComparer.OrdinalIgnoreCase) public string DisplayName => string.IsNullOrWhiteSpace(Name) ? "匿名" : Name;
{
["Morris_1"] = "Morris"
};
/// <summary>头像地址:优先用接口返回的头像,否则按邮箱哈希拼 GitCode 头像。</summary> /// <summary>头像地址:优先用接口返回的头像,否则按邮箱哈希拼 GitCode 头像。</summary>
public string? AvatarUrl => public string? AvatarUrl =>
@@ -37,25 +35,43 @@ public sealed class Contributor
System.Security.Cryptography.MD5.HashData( System.Security.Cryptography.MD5.HashData(
System.Text.Encoding.UTF8.GetBytes(Email!.Trim().ToLowerInvariant()))) System.Text.Encoding.UTF8.GetBytes(Email!.Trim().ToLowerInvariant())))
.ToLowerInvariant()}"; .ToLowerInvariant()}";
public string DisplayName
{
get
{
if (string.IsNullOrWhiteSpace(Name)) return "匿名";
return DisplayNames.TryGetValue(Name.Trim(), out var mapped) ? mapped : Name;
}
}
} }
/// <summary> /// <summary>
/// 读取 GitCode 仓库的贡献者列表(用于「关于」页面展示开发者)。 /// 读取仓库的真实贡献者:翻页拉提交记录,按作者归并统计。
/// 失败时静默返回空列表,不影响关于页其它内容。 ///
/// 为什么不用 /collaborators:Gitea 的协同者列表要求登录,且只包含被显式
/// 添加的协作者,和「谁真的写了代码」是两回事。这里直接读 /commits,
/// 统计每个人真实的提交数,失败时静默返回空列表,不影响关于页其它内容。
/// </summary> /// </summary>
public static class ContributorsService public static class ContributorsService
{ {
private const int PageSize = 50;
private const int MaxPages = 12;
private const int MaxShown = 8;
private static readonly TimeSpan CacheTtl = TimeSpan.FromMinutes(10);
private static readonly HttpClient Http = CreateHttp(); private static readonly HttpClient Http = CreateHttp();
/// <summary>同一作者的多个 git 身份 -> 统一展示名。</summary>
private static readonly Dictionary<string, string> Aliases = new(StringComparer.OrdinalIgnoreCase)
{
["morris"] = "Morris",
["morris_1"] = "Morris",
["2509_92447106"] = "Morris",
["chenmoyuan1214@qq.com"] = "Morris",
["morris@xhmcl.com"] = "Morris",
};
/// <summary>自动化提交(CI / 助手账号),不计入开发者。</summary>
private static readonly HashSet<string> IgnoredEmails = new(StringComparer.OrdinalIgnoreCase)
{
"agent@teamily.ai",
};
private static readonly object Gate = new();
private static (DateTimeOffset At, string Key, List<Contributor> Items)? _cache;
private static HttpClient CreateHttp() private static HttpClient CreateHttp()
{ {
var c = new HttpClient { Timeout = TimeSpan.FromSeconds(10) }; var c = new HttpClient { Timeout = TimeSpan.FromSeconds(10) };
@@ -64,74 +80,172 @@ public static class ContributorsService
return c; return c;
} }
/// <summary>按仓库地址推导贡献者接口:Xhmcl(Gitea) 与 GitCode 结构不同。</summary> /// <summary>按仓库地址推导接口:Xhmcl(Gitea) 与 GitCode 结构不同。</summary>
public static string BuildUrl(string repository) public static string BuildUrl(string repository)
{ {
var raw = string.IsNullOrWhiteSpace(repository) var raw = string.IsNullOrWhiteSpace(repository)
? SourcePreset.Xhmcl.HomeUrl : repository.Trim(); ? SourcePreset.Xhmcl.HomeUrl : repository.Trim();
if (!Uri.TryCreate(raw, UriKind.Absolute, out var uri)) if (!Uri.TryCreate(raw, UriKind.Absolute, out var uri))
return "https://git.xhmcl.com/api/v1/repos/Morris/GC/collaborators"; return "https://git.xhmcl.com/api/v1/repos/Morris/GC/commits";
var parts = uri.AbsolutePath.Trim('/').Split('/', StringSplitOptions.RemoveEmptyEntries); var parts = uri.AbsolutePath.Trim('/').Split('/', StringSplitOptions.RemoveEmptyEntries);
if (parts.Length < 2) if (parts.Length < 2)
return "https://git.xhmcl.com/api/v1/repos/Morris/GC/collaborators"; return "https://git.xhmcl.com/api/v1/repos/Morris/GC/commits";
var repo = parts[1].EndsWith(".git", StringComparison.OrdinalIgnoreCase) var repo = parts[1].EndsWith(".git", StringComparison.OrdinalIgnoreCase)
? parts[1][..^4] : parts[1]; ? parts[1][..^4] : parts[1];
// GitCode 代码保留,仅在仓库确实指向 GitCode 时才走它。 // GitCode 的实现在仓库仍指向 gitcode.com 时才走它。
if (uri.Host.Contains("gitcode.com", StringComparison.OrdinalIgnoreCase)) if (uri.Host.Contains("gitcode.com", StringComparison.OrdinalIgnoreCase))
return $"https://api.gitcode.com/api/v5/repos/{parts[0]}/{repo}/contributors"; return $"https://api.gitcode.com/api/v5/repos/{parts[0]}/{repo}/contributors";
return $"https://{uri.Host}/api/v1/repos/{parts[0]}/{repo}/collaborators"; return $"https://{uri.Host}/api/v1/repos/{parts[0]}/{repo}/commits";
} }
public static async Task<List<Contributor>> FetchAsync(string repository, CancellationToken ct = default) public static async Task<List<Contributor>> FetchAsync(string repository, CancellationToken ct = default)
{ {
var url = BuildUrl(repository); var url = BuildUrl(repository);
lock (Gate)
{
if (_cache is { } hit && hit.Key == url && DateTimeOffset.UtcNow - hit.At < CacheTtl)
return hit.Items;
}
List<Contributor> list;
try try
{ {
using var timeout = CancellationTokenSource.CreateLinkedTokenSource(ct); using var timeout = CancellationTokenSource.CreateLinkedTokenSource(ct);
timeout.CancelAfter(TimeSpan.FromSeconds(10)); timeout.CancelAfter(TimeSpan.FromSeconds(15));
var text = await Http.GetStringAsync(url, timeout.Token); list = url.Contains("api.gitcode.com", StringComparison.OrdinalIgnoreCase)
var trimmed = text.TrimStart(); ? await FetchFromGitCodeAsync(url, timeout.Token)
if (trimmed.Length == 0 || trimmed[0] != '[') return new List<Contributor>(); : await FetchFromCommitsAsync(url, timeout.Token);
using var doc = JsonDocument.Parse(text);
var list = new List<Contributor>();
foreach (var item in doc.RootElement.EnumerateArray())
{
// Gitea: login / avatar_url;GitCode: name / email / contributions。
if (item.TryGetProperty("login", out var login))
{
list.Add(new Contributor
{
Name = login.GetString() ?? "",
Avatar = item.TryGetProperty("avatar_url", out var avatar)
? avatar.GetString() : null
});
continue;
}
list.Add(new Contributor
{
Name = item.TryGetProperty("name", out var name)
? name.GetString() ?? "" : "",
Email = item.TryGetProperty("email", out var email)
? email.GetString() : null,
Contributions = item.TryGetProperty("contributions", out var c) &&
c.TryGetInt32(out var count) ? count : 0
});
}
list.Sort((a, b) => b.Contributions.CompareTo(a.Contributions));
return list;
} }
catch (Exception ex) catch (Exception ex)
{ {
Console.Error.WriteLine($"读取贡献者失败: {ex.Message}"); Console.Error.WriteLine($"读取贡献者失败: {ex.Message}");
return new List<Contributor>(); return new List<Contributor>();
} }
lock (Gate) _cache = (DateTimeOffset.UtcNow, url, list);
return list;
} }
/// <summary>Gitea:翻页读提交记录并归并作者。</summary>
private static async Task<List<Contributor>> FetchFromCommitsAsync(string commitUrl, CancellationToken ct)
{
var byKey = new Dictionary<string, Contributor>(StringComparer.OrdinalIgnoreCase);
for (var page = 1; page <= MaxPages; page++)
{
var url = $"{commitUrl}?limit={PageSize}&page={page}&stat=false";
var text = await Http.GetStringAsync(url, ct);
using var doc = JsonDocument.Parse(text);
if (doc.RootElement.ValueKind != JsonValueKind.Array) break;
var seen = 0;
foreach (var item in doc.RootElement.EnumerateArray())
{
seen++;
string? login = null, name = null, email = null, avatar = null;
DateTimeOffset? date = null;
if (item.TryGetProperty("author", out var author) &&
author.ValueKind == JsonValueKind.Object)
{
login = author.TryGetProperty("login", out var l) ? l.GetString() : null;
avatar = author.TryGetProperty("avatar_url", out var a) ? a.GetString() : null;
}
if (item.TryGetProperty("commit", out var commit) &&
commit.TryGetProperty("author", out var ca) &&
ca.ValueKind == JsonValueKind.Object)
{
name = ca.TryGetProperty("name", out var n) ? n.GetString() : null;
email = ca.TryGetProperty("email", out var e) ? e.GetString() : email;
if (ca.TryGetProperty("date", out var d) &&
DateTimeOffset.TryParse(d.GetString(), out var parsed))
date = parsed;
}
Add(byKey, login, name, email, avatar, date);
}
if (seen < PageSize) break;
}
return Sort(byKey.Values);
}
/// <summary>GitCode:contributors 接口直接返回贡献数与邮箱。</summary>
private static async Task<List<Contributor>> FetchFromGitCodeAsync(string url, CancellationToken ct)
{
var text = await Http.GetStringAsync(url, ct);
if (text.TrimStart().Length == 0 || text.TrimStart()[0] != '[')
return new List<Contributor>();
var byKey = new Dictionary<string, Contributor>(StringComparer.OrdinalIgnoreCase);
using var doc = JsonDocument.Parse(text);
foreach (var item in doc.RootElement.EnumerateArray())
{
var name = item.TryGetProperty("name", out var n) ? n.GetString() : null;
var email = item.TryGetProperty("email", out var e) ? e.GetString() : null;
var count = item.TryGetProperty("contributions", out var c) && c.TryGetInt32(out var v) ? v : 1;
var contributor = Add(byKey, null, name, email, null, null, count);
if (contributor != null) contributor.Contributions = Math.Max(contributor.Contributions, count);
}
return Sort(byKey.Values);
}
private static Contributor? Add(
Dictionary<string, Contributor> byKey,
string? login, string? name, string? email, string? avatar, DateTimeOffset? date,
int weight = 1)
{
if (!string.IsNullOrWhiteSpace(email) && IgnoredEmails.Contains(email.Trim()))
return null;
var (key, display) = Resolve(login, name, email);
if (!byKey.TryGetValue(key, out var contributor))
{
contributor = new Contributor { Name = display };
byKey[key] = contributor;
}
contributor.Contributions += weight;
if (string.IsNullOrWhiteSpace(contributor.Email) && !string.IsNullOrWhiteSpace(email))
contributor.Email = email;
if (string.IsNullOrWhiteSpace(contributor.Avatar) && !string.IsNullOrWhiteSpace(avatar))
contributor.Avatar = avatar;
if (date.HasValue && (contributor.LastCommit == null || date > contributor.LastCommit))
contributor.LastCommit = date;
return contributor;
}
/// <summary>把同一个人在不同时期的 git 身份归并到同一个展示名。</summary>
private static (string Key, string Display) Resolve(string? login, string? name, string? email)
{
foreach (var raw in new[] { login, name, email })
{
if (string.IsNullOrWhiteSpace(raw)) continue;
if (Aliases.TryGetValue(raw.Trim(), out var display))
return ("#" + display.ToLowerInvariant(), display);
}
var label = !string.IsNullOrWhiteSpace(login) ? login!
: !string.IsNullOrWhiteSpace(name) ? name!
: email!;
return (label.Trim().ToLowerInvariant(), label.Trim());
}
private static List<Contributor> Sort(IEnumerable<Contributor> items) =>
items
.OrderByDescending(c => c.Contributions)
.ThenByDescending(c => c.LastCommit ?? DateTimeOffset.MinValue)
.ThenBy(c => c.Name, StringComparer.OrdinalIgnoreCase)
.Take(MaxShown)
.ToList();
} }
+1 -1
View File
@@ -275,7 +275,7 @@ function New-MacAppBundle {
<plist version="1.0"><dict> <plist version="1.0"><dict>
<key>CFBundleName</key><string>GC</string> <key>CFBundleName</key><string>GC</string>
<key>CFBundleDisplayName</key><string>GC</string> <key>CFBundleDisplayName</key><string>GC</string>
<key>CFBundleIdentifier</key><string>cn.neorf.GC</string> <key>CFBundleIdentifier</key><string>com.xhmcl.GC</string>
<key>CFBundleVersion</key><string>$script:BuildVersion</string> <key>CFBundleVersion</key><string>$script:BuildVersion</string>
<key>CFBundleShortVersionString</key><string>$script:BuildVersion</string> <key>CFBundleShortVersionString</key><string>$script:BuildVersion</string>
<key>CFBundlePackageType</key><string>APPL</string> <key>CFBundlePackageType</key><string>APPL</string>
+1 -1
View File
@@ -284,7 +284,7 @@ package_mac_app() {
<dict> <dict>
<key>CFBundleName</key><string>GC</string> <key>CFBundleName</key><string>GC</string>
<key>CFBundleDisplayName</key><string>GC</string> <key>CFBundleDisplayName</key><string>GC</string>
<key>CFBundleIdentifier</key><string>cn.neorf.GC</string> <key>CFBundleIdentifier</key><string>com.xhmcl.GC</string>
<key>CFBundleVersion</key><string>${VERSION}</string> <key>CFBundleVersion</key><string>${VERSION}</string>
<key>CFBundleShortVersionString</key><string>${VERSION}</string> <key>CFBundleShortVersionString</key><string>${VERSION}</string>
<key>CFBundlePackageType</key><string>APPL</string> <key>CFBundlePackageType</key><string>APPL</string>
+2 -2
View File
@@ -74,10 +74,10 @@ dll / json 的哈希 —— 本地文件被替换会直接拒绝加载。
"descriptionI18n": { "zh-CN": "……", "en": "……" }, "descriptionI18n": { "zh-CN": "……", "en": "……" },
"version": "1.6", "version": "1.6",
"updatedAt": "2026-11-14T08:00:00Z", "updatedAt": "2026-11-14T08:00:00Z",
"author": "NeoRF", "author": "Morris",
"tags": ["astronomy", "geography"], "tags": ["astronomy", "geography"],
"assembly": "EarthRotationModel.dll", "assembly": "EarthRotationModel.dll",
"type": "NeoRF.EarthModels.RotationModelFactory", "type": "GC.EarthModels.RotationModelFactory",
"preview": "preview.png", "preview": "preview.png",
"apiVersion": 1, "apiVersion": 1,
"minAppVersion": "1.0.7" "minAppVersion": "1.0.7"
+1 -1
View File
@@ -5,7 +5,7 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings> <ImplicitUsings>disable</ImplicitUsings>
<RootNamespace>NeoRF.EarthModels</RootNamespace> <RootNamespace>GC.EarthModels</RootNamespace>
<AssemblyName>EarthModelPreview</AssemblyName> <AssemblyName>EarthModelPreview</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup> </PropertyGroup>
+2 -2
View File
@@ -10,9 +10,9 @@ using Avalonia.Headless;
using Avalonia.Media.Imaging; using Avalonia.Media.Imaging;
using Avalonia.Platform; using Avalonia.Platform;
using GC.ModelSdk; using GC.ModelSdk;
using NeoRF.EarthModels; using GC.EarthModels;
namespace NeoRF.EarthModels.Preview; namespace GC.EarthModels.Preview;
/// <summary> /// <summary>
/// 封面生成工具:给每个模型画一张 preview.png。 /// 封面生成工具:给每个模型画一张 preview.png。
+1 -1
View File
@@ -12,7 +12,7 @@ using Avalonia.Media.Imaging;
using Avalonia.Platform; using Avalonia.Platform;
using Avalonia.Threading; using Avalonia.Threading;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
public enum SceneView public enum SceneView
{ {
+1 -1
View File
@@ -11,7 +11,7 @@ using Avalonia.Media;
using Avalonia.Threading; using Avalonia.Threading;
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary> /// <summary>
/// 模型自己的界面:画布 + 触控友好工具栏 + 课堂演示卡 + 节气定格与步进。 /// 模型自己的界面:画布 + 触控友好工具栏 + 课堂演示卡 + 节气定格与步进。
+1 -1
View File
@@ -2,7 +2,7 @@ using System;
using Avalonia.Controls; using Avalonia.Controls;
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary> /// <summary>
/// 地球模型共享运行时:读自己目录下的 scene.json / land.json / i18n, /// 地球模型共享运行时:读自己目录下的 scene.json / land.json / i18n,
+1 -1
View File
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Numerics; using System.Numerics;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary> /// <summary>
/// 地理模型的球面几何工具:经纬度 ↔ 单位球坐标、正交投影到屏幕、 /// 地理模型的球面几何工具:经纬度 ↔ 单位球坐标、正交投影到屏幕、
+1 -1
View File
@@ -4,7 +4,7 @@ using System.IO;
using System.Text.Json; using System.Text.Json;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary>&lt;id&gt;.model/land.json —— 简化的大陆轮廓(经纬度多边形)。</summary> /// <summary>&lt;id&gt;.model/land.json —— 简化的大陆轮廓(经纬度多边形)。</summary>
public sealed class LandData public sealed class LandData
+1 -1
View File
@@ -3,7 +3,7 @@ using System.Text.Encodings.Web;
using System.Text.Json; using System.Text.Json;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary>模型自己的 JSON 读写(不依赖启动器)。</summary> /// <summary>模型自己的 JSON 读写(不依赖启动器)。</summary>
public static class ModelJson public static class ModelJson
+1 -1
View File
@@ -4,7 +4,7 @@ using System.Globalization;
using System.IO; using System.IO;
using System.Text.Json; using System.Text.Json;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary> /// <summary>
/// 模型自己的一份文案。优先读模型数据目录里的 <c>i18n/&lt;language&gt;.json</c>, /// 模型自己的一份文案。优先读模型数据目录里的 <c>i18n/&lt;language&gt;.json</c>,
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary>&lt;id&gt;.model/scene.json —— 模型数据(可视化场景描述)。</summary> /// <summary>&lt;id&gt;.model/scene.json —— 模型数据(可视化场景描述)。</summary>
public sealed class SceneDefinition public sealed class SceneDefinition
+1 -1
View File
@@ -2,7 +2,7 @@ using System;
using System.IO; using System.IO;
using Avalonia.Media; using Avalonia.Media;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary> /// <summary>
/// 模型自己的场景运行时:场景描述 + 预烘焙地表纹理 + 调色板。 /// 模型自己的场景运行时:场景描述 + 预烘焙地表纹理 + 调色板。
+1 -1
View File
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Avalonia.Media; using Avalonia.Media;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary> /// <summary>
/// 预烘焙的等经纬度地表贴图:反照率 + 高度 + 冰盖 + 云层 + 夜间灯光。 /// 预烘焙的等经纬度地表贴图:反照率 + 高度 + 冰盖 + 云层 + 夜间灯光。
+1 -1
View File
@@ -3,7 +3,7 @@ using System.Numerics;
using System.Threading.Tasks; using System.Threading.Tasks;
using Avalonia.Media.Imaging; using Avalonia.Media.Imaging;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary> /// <summary>
/// 球体像素级渲染:正交投影 + 预烘焙地表纹理 + 地形光照 + 云层 + 夜灯 + 大气边缘光。 /// 球体像素级渲染:正交投影 + 预烘焙地表纹理 + 地形光照 + 云层 + 夜灯 + 大气边缘光。
+3 -3
View File
@@ -16,7 +16,7 @@
"terrain" "terrain"
], ],
"assembly": "ContourMapModel.dll", "assembly": "ContourMapModel.dll",
"type": "NeoRF.ContourMap.ContourMapFactory", "type": "GC.ContourMap.ContourMapFactory",
"version": "1.0", "version": "1.0",
"chrome": { "chrome": {
"titleBar": "#0C1828", "titleBar": "#0C1828",
@@ -25,6 +25,6 @@
"button": "#9FB4D4", "button": "#9FB4D4",
"frame": "#0A1524" "frame": "#0A1524"
}, },
"build": "e4b3f2b87e", "build": "43dcb6dc63",
"updatedAt": "2026-11-14T11:34:35Z" "updatedAt": "2026-11-17T22:53:52Z"
} }
+1 -1
View File
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings> <ImplicitUsings>disable</ImplicitUsings>
<RootNamespace>NeoRF.ContourMap</RootNamespace> <RootNamespace>GC.ContourMap</RootNamespace>
<AssemblyName>ContourMapModel</AssemblyName> <AssemblyName>ContourMapModel</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
+1 -1
View File
@@ -6,7 +6,7 @@ using Avalonia.Layout;
using Avalonia.Media; using Avalonia.Media;
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.ContourMap; namespace GC.ContourMap;
/// <summary>等高线模型入口(清单里的 type 指向这里)。</summary> /// <summary>等高线模型入口(清单里的 type 指向这里)。</summary>
public sealed class ContourMapFactory : IModelFactory public sealed class ContourMapFactory : IModelFactory
+1 -1
View File
@@ -5,7 +5,7 @@ using Avalonia.Controls;
using Avalonia.Layout; using Avalonia.Layout;
using Avalonia.Media; using Avalonia.Media;
namespace NeoRF.ContourMap; namespace GC.ContourMap;
/// <summary>等高线模型的界面:顶部标题、中间双图联动、右侧判读要点、底部实时读数。</summary> /// <summary>等高线模型的界面:顶部标题、中间双图联动、右侧判读要点、底部实时读数。</summary>
public sealed class ContourPage public sealed class ContourPage
+1 -1
View File
@@ -6,7 +6,7 @@ using Avalonia;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Media; using Avalonia.Media;
namespace NeoRF.ContourMap; namespace GC.ContourMap;
/// <summary> /// <summary>
/// 等高线教学画布,左右两块: /// 等高线教学画布,左右两块:
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace NeoRF.ContourMap; namespace GC.ContourMap;
/// <summary>内置全量文案兜底:没有语言包也能完整显示。</summary> /// <summary>内置全量文案兜底:没有语言包也能完整显示。</summary>
internal static class DefaultTexts internal static class DefaultTexts
+1 -1
View File
@@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NeoRF.ContourMap; namespace GC.ContourMap;
/// <summary>地形部位识别结果:课本要求学生能在等高线图上认出这五种部位。</summary> /// <summary>地形部位识别结果:课本要求学生能在等高线图上认出这五种部位。</summary>
public enum TerrainFeature public enum TerrainFeature
+1 -1
View File
@@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NeoRF.ContourMap; namespace GC.ContourMap;
/// <summary>五种基本地形类型(教科书分类)。</summary> /// <summary>五种基本地形类型(教科书分类)。</summary>
public enum TerrainKind public enum TerrainKind
+3 -3
View File
@@ -9,7 +9,7 @@
"en": "Climate zones, continent/ocean outlines, plates and borders — clean line art." "en": "Climate zones, continent/ocean outlines, plates and borders — clean line art."
}, },
"assembly": "EarthGeographyModel.dll", "assembly": "EarthGeographyModel.dll",
"type": "NeoRF.EarthModels.GeographyModelFactory", "type": "GC.EarthModels.GeographyModelFactory",
"author": "Morris GC", "author": "Morris GC",
"tags": [ "tags": [
"geography", "geography",
@@ -25,6 +25,6 @@
"button": "#9FB4D4", "button": "#9FB4D4",
"frame": "#0A1524" "frame": "#0A1524"
}, },
"build": "3b645c45c2", "build": "16eaf4110f",
"updatedAt": "2026-11-14T11:34:35Z" "updatedAt": "2026-11-17T22:53:52Z"
} }
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings> <ImplicitUsings>disable</ImplicitUsings>
<RootNamespace>NeoRF.EarthModels</RootNamespace> <RootNamespace>GC.EarthModels</RootNamespace>
<AssemblyName>EarthGeographyModel</AssemblyName> <AssemblyName>EarthGeographyModel</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
+1 -1
View File
@@ -1,7 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary>地球地理模型的数据文件:全部是经纬度折线,只有轮廓没有填色。</summary> /// <summary>地球地理模型的数据文件:全部是经纬度折线,只有轮廓没有填色。</summary>
public sealed class GeoData public sealed class GeoData
@@ -7,7 +7,7 @@ using Avalonia.Layout;
using Avalonia.Media; using Avalonia.Media;
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary> /// <summary>
/// 地球地理模型:五带划分 + 七大洲四大洋轮廓 + 六大板块与洲界,纯线稿。 /// 地球地理模型:五带划分 + 七大洲四大洋轮廓 + 六大板块与洲界,纯线稿。
+1 -1
View File
@@ -8,7 +8,7 @@ using Avalonia.Input;
using Avalonia.Media; using Avalonia.Media;
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
public enum GeoMode { Sphere3D, Flat2D } public enum GeoMode { Sphere3D, Flat2D }
+4 -4
View File
@@ -6,7 +6,7 @@
"zh-CN": "地球公转", "zh-CN": "地球公转",
"en": "Earth Revolution" "en": "Earth Revolution"
}, },
"author": "NeoRF", "author": "Morris",
"description": "四季更替、黄赤交角与二分二至", "description": "四季更替、黄赤交角与二分二至",
"descriptionI18n": { "descriptionI18n": {
"zh-CN": "地球绕太阳公转一年:地轴指向不变,太阳直射点南北往返,形成四季。", "zh-CN": "地球绕太阳公转一年:地轴指向不变,太阳直射点南北往返,形成四季。",
@@ -20,7 +20,7 @@
"entry": "scene.json", "entry": "scene.json",
"license": "MIT", "license": "MIT",
"assembly": "EarthRevolutionModel.dll", "assembly": "EarthRevolutionModel.dll",
"type": "NeoRF.EarthModels.RevolutionModelFactory", "type": "GC.EarthModels.RevolutionModelFactory",
"preview": "preview.png", "preview": "preview.png",
"apiVersion": 1, "apiVersion": 1,
"version": "1.6", "version": "1.6",
@@ -31,6 +31,6 @@
"button": "#9FB4D4", "button": "#9FB4D4",
"frame": "#0A1524" "frame": "#0A1524"
}, },
"build": "947efa36bb", "build": "bd57e6ed67",
"updatedAt": "2026-11-14T11:34:35Z" "updatedAt": "2026-11-17T22:53:52Z"
} }
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings> <ImplicitUsings>disable</ImplicitUsings>
<RootNamespace>NeoRF.EarthModels</RootNamespace> <RootNamespace>GC.EarthModels</RootNamespace>
<AssemblyName>EarthRevolutionModel</AssemblyName> <AssemblyName>EarthRevolutionModel</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
@@ -1,6 +1,6 @@
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary>地球公转模型入口(清单里的 type 指向这里)。</summary> /// <summary>地球公转模型入口(清单里的 type 指向这里)。</summary>
public sealed class RevolutionModelFactory : IModelFactory public sealed class RevolutionModelFactory : IModelFactory
+4 -4
View File
@@ -6,7 +6,7 @@
"zh-CN": "地球自转", "zh-CN": "地球自转",
"en": "Earth Rotation" "en": "Earth Rotation"
}, },
"author": "NeoRF", "author": "Morris",
"description": "昼夜交替、晨昏线与太阳直射点", "description": "昼夜交替、晨昏线与太阳直射点",
"descriptionI18n": { "descriptionI18n": {
"zh-CN": "观察自转中的地球:昼夜半球、晨昏线与太阳直射点位置。", "zh-CN": "观察自转中的地球:昼夜半球、晨昏线与太阳直射点位置。",
@@ -20,7 +20,7 @@
"entry": "scene.json", "entry": "scene.json",
"license": "MIT", "license": "MIT",
"assembly": "EarthRotationModel.dll", "assembly": "EarthRotationModel.dll",
"type": "NeoRF.EarthModels.RotationModelFactory", "type": "GC.EarthModels.RotationModelFactory",
"preview": "preview.png", "preview": "preview.png",
"apiVersion": 1, "apiVersion": 1,
"version": "1.6", "version": "1.6",
@@ -31,6 +31,6 @@
"button": "#9FB4D4", "button": "#9FB4D4",
"frame": "#0A1524" "frame": "#0A1524"
}, },
"build": "a803d9c020", "build": "a79f660ec2",
"updatedAt": "2026-11-14T11:34:35Z" "updatedAt": "2026-11-17T22:53:52Z"
} }
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings> <ImplicitUsings>disable</ImplicitUsings>
<RootNamespace>NeoRF.EarthModels</RootNamespace> <RootNamespace>GC.EarthModels</RootNamespace>
<AssemblyName>EarthRotationModel</AssemblyName> <AssemblyName>EarthRotationModel</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
@@ -1,6 +1,6 @@
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.EarthModels; namespace GC.EarthModels;
/// <summary>地球自转模型入口(清单里的 type 指向这里)。</summary> /// <summary>地球自转模型入口(清单里的 type 指向这里)。</summary>
public sealed class RotationModelFactory : IModelFactory public sealed class RotationModelFactory : IModelFactory
+3 -3
View File
@@ -21,7 +21,7 @@
"entry": "scales.json", "entry": "scales.json",
"license": "MIT", "license": "MIT",
"assembly": "ScaleCalculatorModel.dll", "assembly": "ScaleCalculatorModel.dll",
"type": "NeoRF.ScaleCalculator.ScaleCalculatorFactory", "type": "GC.ScaleCalculator.ScaleCalculatorFactory",
"preview": "preview.png", "preview": "preview.png",
"apiVersion": 1, "apiVersion": 1,
"version": "1.5", "version": "1.5",
@@ -32,6 +32,6 @@
"button": "#5B6A86", "button": "#5B6A86",
"frame": "#F4F6FB" "frame": "#F4F6FB"
}, },
"build": "02a555272a", "build": "ec6119e3f4",
"updatedAt": "2026-11-14T11:34:35Z" "updatedAt": "2026-11-17T22:53:52Z"
} }
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
/// <summary>内置全量文案兜底:即使模型包里没有语言包也能完整显示。</summary> /// <summary>内置全量文案兜底:即使模型包里没有语言包也能完整显示。</summary>
internal static class DefaultTexts internal static class DefaultTexts
@@ -1,6 +1,6 @@
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
/// <summary>比例尺计算器模型入口(清单里的 type 指向这里)。</summary> /// <summary>比例尺计算器模型入口(清单里的 type 指向这里)。</summary>
public sealed class ScaleCalculatorFactory : IModelFactory public sealed class ScaleCalculatorFactory : IModelFactory
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings> <ImplicitUsings>disable</ImplicitUsings>
<RootNamespace>NeoRF.ScaleCalculator</RootNamespace> <RootNamespace>GC.ScaleCalculator</RootNamespace>
<AssemblyName>ScaleCalculatorModel</AssemblyName> <AssemblyName>ScaleCalculatorModel</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
@@ -5,7 +5,7 @@ using System.Text.Json;
using Avalonia.Controls; using Avalonia.Controls;
using GC.ModelSdk; using GC.ModelSdk;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
/// <summary> /// <summary>
/// 比例尺计算器运行时。Prepare 在后台线程读数据/语言包,CreateView 在 UI 线程构建界面。 /// 比例尺计算器运行时。Prepare 在后台线程读数据/语言包,CreateView 在 UI 线程构建界面。
@@ -5,7 +5,7 @@ using Avalonia.Controls.Primitives;
using Avalonia.Layout; using Avalonia.Layout;
using Avalonia.Media; using Avalonia.Media;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
public sealed partial class ScaleCalculatorView public sealed partial class ScaleCalculatorView
{ {
@@ -5,7 +5,7 @@ using Avalonia.Controls;
using Avalonia.Controls.Primitives; using Avalonia.Controls.Primitives;
using Avalonia.Media; using Avalonia.Media;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
public sealed partial class ScaleCalculatorView public sealed partial class ScaleCalculatorView
{ {
@@ -8,7 +8,7 @@ using Avalonia.Input;
using Avalonia.Layout; using Avalonia.Layout;
using Avalonia.Media; using Avalonia.Media;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
/// <summary> /// <summary>
/// 比例尺计算器主界面。三栏(已知量 / 可视化标尺 / 三种写法与判读)+ 底部实地尺与练习。 /// 比例尺计算器主界面。三栏(已知量 / 可视化标尺 / 三种写法与判读)+ 底部实地尺与练习。
+1 -1
View File
@@ -4,7 +4,7 @@ using System.IO;
using System.Text.Json; using System.Text.Json;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
public sealed class PresetItem public sealed class PresetItem
{ {
+1 -1
View File
@@ -1,7 +1,7 @@
using System; using System;
using System.Globalization; using System.Globalization;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
/// <summary>三种求解模式:待求的量。</summary> /// <summary>三种求解模式:待求的量。</summary>
public enum SolveMode public enum SolveMode
+1 -1
View File
@@ -4,7 +4,7 @@ using Avalonia;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Media; using Avalonia.Media;
namespace NeoRF.ScaleCalculator; namespace GC.ScaleCalculator;
/// <summary> /// <summary>
/// 自绘可视化标尺:上条「图上距离」按真实厘米画,下条「实地距离」按同一比例尺压缩, /// 自绘可视化标尺:上条「图上距离」按真实厘米画,下条「实地距离」按同一比例尺压缩,
+17 -24
View File
@@ -1,6 +1,6 @@
{ {
"schema": 1, "schema": 1,
"generated": "2026-11-14T11:34:35Z", "generated": "2026-11-17T22:53:52Z",
"repository": "https://gitcode.com/Morris_1/GC", "repository": "https://gitcode.com/Morris_1/GC",
"branch": "main", "branch": "main",
"modelDir": "model", "modelDir": "model",
@@ -50,54 +50,47 @@
{ {
"id": "contour-map", "id": "contour-map",
"version": "1.0", "version": "1.0",
"build": "e4b3f2b87e", "build": "43dcb6dc63",
"manifestSha256": "ee0897d46ee85126fbfd0d07f5ca3111950d0c36f9b8a80e4eb6ae85d226da4f", "manifestSha256": "f7896a85d5f9e9f10e021c07931dee51f0ef86151a6a89e2ed39e37cb7f996a6",
"filesSha256": "b1f323fb41dec4f45992a30ff8726f3307f83b564127aff99bcb3d044c79d2bd", "filesSha256": "a6bdf9b4273aabee50c3c94ceab4d0abee15f0df1af90c58bdbb796e0d2d5699",
"files": 5, "files": 5,
"dir": "model/contour-map" "dir": "model/contour-map"
}, },
{ {
"id": "earth-geography", "id": "earth-geography",
"version": "1.8", "version": "1.8",
"build": "3b645c45c2", "build": "16eaf4110f",
"manifestSha256": "a9f30fd4a1dd0aeccb88c892579c93bf32a92379d7b3f545b28f6cac612f9871", "manifestSha256": "0b8dd41e8535284576873956ed1db8755097649fe801d887b65ca5ac369f267c",
"filesSha256": "0e55d2f9bacc3e0ff42f5c45d9e7c265864df9784b1609c09dcb32d21b4addfc", "filesSha256": "c018ba481831e23d3183a38ac47251f19754c7464baa5d85b47cea7a49fcfa95",
"files": 11, "files": 11,
"dir": "model/earth-geography" "dir": "model/earth-geography"
}, },
{ {
"id": "earth-revolution", "id": "earth-revolution",
"version": "1.6", "version": "1.6",
"build": "947efa36bb", "build": "bd57e6ed67",
"manifestSha256": "feb715cde8ad5da9ecfb48785a95e6fc82930cc92c668514b328915366c2f57a", "manifestSha256": "2d05234ea0d4de5ac55b7a076085ccfbb94ed107cce2b2d40e56d45bc3b37f3e",
"filesSha256": "a37e0b493c78bb0a04a276512b612be3f8e7a178ed1a7fc72acb5353aa57f7c5", "filesSha256": "4cd45b0324a77574a0da3a939c2a6faebc785c5a24cb50136d62a78a6ea2e9b1",
"files": 7, "files": 7,
"dir": "model/earth-revolution" "dir": "model/earth-revolution"
}, },
{ {
"id": "earth-rotation", "id": "earth-rotation",
"version": "1.6", "version": "1.6",
"build": "a803d9c020", "build": "a79f660ec2",
"manifestSha256": "56ed397cbc008bd9ec8bea0ee34a94a28ab29ce39a8b096b0629e529883b4dff", "manifestSha256": "cb4ec5f310e7f05235042180dfdb1d8904c37b2d67b06a174f55589eed1652b9",
"filesSha256": "4e4428812d18d15a99105e73c027b99f3197033f0138d643ba69c15fabc9d8f6", "filesSha256": "594b005a6a9f36cd0b5d4e4a7a0b1ab42d53c8032832545b71c3915493d56c8e",
"files": 7, "files": 7,
"dir": "model/earth-rotation" "dir": "model/earth-rotation"
}, },
{ {
"id": "scale-calculator", "id": "scale-calculator",
"version": "1.5", "version": "1.5",
"build": "02a555272a", "build": "ec6119e3f4",
"manifestSha256": "d00034888d9b9da03338b7f394d1bdf33f73b1fbdd7e8f154d85b9080318ab13", "manifestSha256": "54cf496553d11b704abfa06588ffccfed3f881a3b919d0e2304c18e157fd1f0a",
"filesSha256": "4a5fbf898df1d98eddf68b5d3929ae7b25cd7bcdfdfa36b5ad0ed72d9941d049", "filesSha256": "732dd26406e0f1e836970499d7ea644def332ce909d7f8aa0a403bbe7337e604",
"files": 6, "files": 6,
"dir": "model/scale-calculator" "dir": "model/scale-calculator"
} }
], ]
"signature": {
"alg": "ECDSA-P256-SHA256",
"keyId": "gc-2026-11",
"value": "LHaF2bw+IZeWUw2qLQM1IQHoNXsHNko38dyjP45Jy41KtlyhvJhhFaNh+THKhAU+6jSzV1eFHgbwasboYBOa5w==",
"contentSha256": "749055593bf9839837428d900d523b3363486556970cbf4e2daa25001ab174c8",
"signedAt": "2026-11-14T11:36:03Z"
}
} }
+17 -24
View File
@@ -1,6 +1,6 @@
{ {
"schema": 1, "schema": 1,
"generated": "2026-11-14T11:34:35Z", "generated": "2026-11-17T22:53:52Z",
"repository": "https://gitcode.com/Morris_1/GC", "repository": "https://gitcode.com/Morris_1/GC",
"branch": "main", "branch": "main",
"modelDir": "model", "modelDir": "model",
@@ -50,54 +50,47 @@
{ {
"id": "contour-map", "id": "contour-map",
"version": "1.0", "version": "1.0",
"build": "e4b3f2b87e", "build": "43dcb6dc63",
"manifestSha256": "ee0897d46ee85126fbfd0d07f5ca3111950d0c36f9b8a80e4eb6ae85d226da4f", "manifestSha256": "f7896a85d5f9e9f10e021c07931dee51f0ef86151a6a89e2ed39e37cb7f996a6",
"filesSha256": "b1f323fb41dec4f45992a30ff8726f3307f83b564127aff99bcb3d044c79d2bd", "filesSha256": "a6bdf9b4273aabee50c3c94ceab4d0abee15f0df1af90c58bdbb796e0d2d5699",
"files": 5, "files": 5,
"dir": "model/contour-map" "dir": "model/contour-map"
}, },
{ {
"id": "earth-geography", "id": "earth-geography",
"version": "1.8", "version": "1.8",
"build": "3b645c45c2", "build": "16eaf4110f",
"manifestSha256": "a9f30fd4a1dd0aeccb88c892579c93bf32a92379d7b3f545b28f6cac612f9871", "manifestSha256": "0b8dd41e8535284576873956ed1db8755097649fe801d887b65ca5ac369f267c",
"filesSha256": "0e55d2f9bacc3e0ff42f5c45d9e7c265864df9784b1609c09dcb32d21b4addfc", "filesSha256": "c018ba481831e23d3183a38ac47251f19754c7464baa5d85b47cea7a49fcfa95",
"files": 11, "files": 11,
"dir": "model/earth-geography" "dir": "model/earth-geography"
}, },
{ {
"id": "earth-revolution", "id": "earth-revolution",
"version": "1.6", "version": "1.6",
"build": "947efa36bb", "build": "bd57e6ed67",
"manifestSha256": "feb715cde8ad5da9ecfb48785a95e6fc82930cc92c668514b328915366c2f57a", "manifestSha256": "2d05234ea0d4de5ac55b7a076085ccfbb94ed107cce2b2d40e56d45bc3b37f3e",
"filesSha256": "a37e0b493c78bb0a04a276512b612be3f8e7a178ed1a7fc72acb5353aa57f7c5", "filesSha256": "4cd45b0324a77574a0da3a939c2a6faebc785c5a24cb50136d62a78a6ea2e9b1",
"files": 7, "files": 7,
"dir": "model/earth-revolution" "dir": "model/earth-revolution"
}, },
{ {
"id": "earth-rotation", "id": "earth-rotation",
"version": "1.6", "version": "1.6",
"build": "a803d9c020", "build": "a79f660ec2",
"manifestSha256": "56ed397cbc008bd9ec8bea0ee34a94a28ab29ce39a8b096b0629e529883b4dff", "manifestSha256": "cb4ec5f310e7f05235042180dfdb1d8904c37b2d67b06a174f55589eed1652b9",
"filesSha256": "4e4428812d18d15a99105e73c027b99f3197033f0138d643ba69c15fabc9d8f6", "filesSha256": "594b005a6a9f36cd0b5d4e4a7a0b1ab42d53c8032832545b71c3915493d56c8e",
"files": 7, "files": 7,
"dir": "model/earth-rotation" "dir": "model/earth-rotation"
}, },
{ {
"id": "scale-calculator", "id": "scale-calculator",
"version": "1.5", "version": "1.5",
"build": "02a555272a", "build": "ec6119e3f4",
"manifestSha256": "d00034888d9b9da03338b7f394d1bdf33f73b1fbdd7e8f154d85b9080318ab13", "manifestSha256": "54cf496553d11b704abfa06588ffccfed3f881a3b919d0e2304c18e157fd1f0a",
"filesSha256": "4a5fbf898df1d98eddf68b5d3929ae7b25cd7bcdfdfa36b5ad0ed72d9941d049", "filesSha256": "732dd26406e0f1e836970499d7ea644def332ce909d7f8aa0a403bbe7337e604",
"files": 6, "files": 6,
"dir": "model/scale-calculator" "dir": "model/scale-calculator"
} }
], ]
"signature": {
"alg": "ECDSA-P256-SHA256",
"keyId": "gc-2026-11",
"value": "LHaF2bw+IZeWUw2qLQM1IQHoNXsHNko38dyjP45Jy41KtlyhvJhhFaNh+THKhAU+6jSzV1eFHgbwasboYBOa5w==",
"contentSha256": "749055593bf9839837428d900d523b3363486556970cbf4e2daa25001ab174c8",
"signedAt": "2026-11-14T11:36:03Z"
}
} }