From 0e1536b405d0f5d460470144bb66b39a52cd6be3 Mon Sep 17 00:00:00 2001 From: James Maes Date: Wed, 11 Nov 2026 06:59:39 -0600 Subject: [PATCH] feat(app): the next version is 1.2.0, and gclo describes itself as for GitHub and Gitea alike - VersionPrefix is 1.2.0: a build from the line that brings Gitea support says 1.2.0-dev, not 1.1.1-dev. - The Share invitation and its subject, the command line's help line, the README's tagline and the engine package's description say GitHub or Gitea where they said GitHub. Closes #211 Co-Authored-By: Claude Fable 5.2 Signed-off-by: James Maes --- Directory.Build.props | 5 +++-- README.md | 2 +- gclo.Cli/Program.cs | 5 +++-- gclo.Engine.Tests/ShareInvitationTests.cs | 4 ++-- gclo.Engine/gclo.Engine.csproj | 2 +- gclo.ViewModels/ShareInvitation.cs | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index dfb2023..09d3131 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -53,9 +53,10 @@ built-in SourceLink appends the git commit as "+" build metadata on AssemblyInformationalVersion, which the About dialog and the CLI's version output surface as the short hash. Prefix tracks the next expected - release after the last stable tag (v1.1.0). --> + release: 1.2.0, the version that brings Gitea support (1.1.1 is cut from + the line before it). --> - 1.1.1 + 1.2.0 dev diff --git a/README.md b/README.md index 3c58236..2e671c6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ gclo — Git Clone Large Organizations

-

Clone an entire GitHub organization. Keep it up to date. In parallel.

+

Clone an entire GitHub or Gitea organization. Keep it up to date. In parallel.

OpenSSF Scorecard diff --git a/gclo.Cli/Program.cs b/gclo.Cli/Program.cs index e5f7858..8b9d032 100644 --- a/gclo.Cli/Program.cs +++ b/gclo.Cli/Program.cs @@ -21,7 +21,8 @@ namespace gclo.Cli; internal static class Program { private const string RootHelp = """ - gclo (Git Clone Large Organizations) - clone or update every repository of a GitHub organization or user account. + gclo (Git Clone Large Organizations) - clone or update every repository of an organization or user account + on GitHub or on a Gitea server. Usage: gclo sync --org --target [options] @@ -60,7 +61,7 @@ internal static class Program Exit codes: 0 success, 1 completed with failures or canceled, 2 usage or fatal error, - 3 token rejected or access denied, 4 rate limit, network or GitHub-side + 3 token rejected or access denied, 4 rate limit, network or server-side failure (retry later), 70 unexpected error (details in the activity log). """; diff --git a/gclo.Engine.Tests/ShareInvitationTests.cs b/gclo.Engine.Tests/ShareInvitationTests.cs index 39ce220..c055953 100644 --- a/gclo.Engine.Tests/ShareInvitationTests.cs +++ b/gclo.Engine.Tests/ShareInvitationTests.cs @@ -27,8 +27,8 @@ public sealed class ShareInvitationTests { ShareInvitation invitation = Invitation(); - Assert.Equal("Try gclo: clone and update every repository of a GitHub organization", invitation.Subject); - Assert.Contains("clones every repository of a GitHub organization or account", invitation.Body); + Assert.Equal("Try gclo: clone and update every repository of a GitHub or Gitea organization", invitation.Subject); + Assert.Contains("clones every repository of an organization or account on GitHub or on a Gitea server", invitation.Body); Assert.Contains(Repository + "/releases/latest", invitation.Body); Assert.Contains("gclo-stable-Setup.exe", invitation.Body); Assert.Contains("scoop bucket add gclo " + Repository, invitation.Body); diff --git a/gclo.Engine/gclo.Engine.csproj b/gclo.Engine/gclo.Engine.csproj index 7900453..fb72ecf 100644 --- a/gclo.Engine/gclo.Engine.csproj +++ b/gclo.Engine/gclo.Engine.csproj @@ -13,7 +13,7 @@ enable enable true - Core engine for gclo (Git Clone Large Organizations): lists every repository in a GitHub organization or user account and clones or fast-forward-pulls them all in parallel, with Windows path validation and rename/skip recovery. + Core engine for gclo (Git Clone Large Organizations): lists every repository of an organization or user account on GitHub or on a Gitea server and clones or fast-forward-pulls them all in parallel, with Windows path validation and rename/skip recovery. James Maes MIT https://git.kof22.com/KofTwentyTwo/gclo diff --git a/gclo.ViewModels/ShareInvitation.cs b/gclo.ViewModels/ShareInvitation.cs index f3fcd23..96dcb6a 100644 --- a/gclo.ViewModels/ShareInvitation.cs +++ b/gclo.ViewModels/ShareInvitation.cs @@ -93,7 +93,7 @@ public sealed class ShareInvitation "Hi,", "", "I use gclo and thought you might like it. It is a small Windows app (with a command-line version) that " - + "clones every repository of a GitHub organization or account into a folder and keeps them up to date.", + + "clones every repository of an organization or account on GitHub or on a Gitea server into a folder and keeps them up to date.", "", "Download the latest release:", repository + "/releases/latest", @@ -110,6 +110,6 @@ public sealed class ShareInvitation "(sent from gclo " + version.Trim() + ")", ]; return new ShareInvitation( - "Try gclo: clone and update every repository of a GitHub organization", string.Join("\r\n", lines)); + "Try gclo: clone and update every repository of a GitHub or Gitea organization", string.Join("\r\n", lines)); } } -- 2.54.0