Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package git-town for openSUSE:Factory checked in at 2026-09-28 10:48:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/git-town (Old) and /work/SRC/openSUSE:Factory/.git-town.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "git-town" Mon Sep 28 10:48:11 2026 rev:20 rq:1381021 version:24.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/git-town/git-town.changes 2026-07-24 22:06:34.608295056 +0200 +++ /work/SRC/openSUSE:Factory/.git-town.new.383539/git-town.changes 2026-09-28 10:49:12.903896817 +0200 @@ -1,0 +2,10 @@ +Mon Sep 28 04:45:30 UTC 2026 - Johannes Kastl <[email protected]> + +- Update to version 24.1.0: + * New Features + - git town diff-parent --name-only now omits the Git command to + make the output easier to parse. + - The website now provides instructions to install Git Town via + mise. + +------------------------------------------------------------------- Old: ---- git-town-24.0.0.obscpio New: ---- git-town-24.1.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ git-town.spec ++++++ --- /var/tmp/diff_new_pack.m6ryiv/_old 2026-09-28 10:49:14.880979653 +0200 +++ /var/tmp/diff_new_pack.m6ryiv/_new 2026-09-28 10:49:14.884979820 +0200 @@ -17,7 +17,7 @@ Name: git-town -Version: 24.0.0 +Version: 24.1.0 Release: 0 Summary: Git branches made easy License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.m6ryiv/_old 2026-09-28 10:49:14.973983549 +0200 +++ /var/tmp/diff_new_pack.m6ryiv/_new 2026-09-28 10:49:14.980983843 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/git-town/git-town.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">refs/tags/v24.0.0</param> + <param name="revision">refs/tags/v24.1.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.m6ryiv/_old 2026-09-28 10:49:15.032986022 +0200 +++ /var/tmp/diff_new_pack.m6ryiv/_new 2026-09-28 10:49:15.041986399 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/git-town/git-town.git</param> - <param name="changesrevision">0f3e55f5a6bae5b319dd713a0606263d0551af66</param></service></servicedata> + <param name="changesrevision">2fabf99bfd18f6ddc4e80e23f970df4ce3de9ff5</param></service></servicedata> (No newline at EOF) ++++++ git-town-24.0.0.obscpio -> git-town-24.1.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/CHANGELOG.md new/git-town-24.1.0/CHANGELOG.md --- old/git-town-24.0.0/CHANGELOG.md 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/CHANGELOG.md 2026-09-26 15:40:51.000000000 +0200 @@ -1,5 +1,16 @@ # Git Town Changelog +## 24.1.0 (2026-09-26) + +#### New Features + +- `git town diff-parent --name-only` now omits the Git command to make the output easier to parse. +- The website now provides instructions to install Git Town via `mise`. + +#### Contributors + +Big thanks to @AllySummers, @LouisDeconinck, @genx7up, @kevgo, @mw00120 for contributing 13 shipped pull requests to 3 resolved issues! + ## 24.0.0 (2026-07-22) #### BREAKING CHANGES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/Makefile new/git-town-24.1.0/Makefile --- old/git-town-24.0.0/Makefile 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/Makefile 2026-09-26 15:40:51.000000000 +0200 @@ -2,7 +2,7 @@ # internal data and state .DEFAULT_GOAL := help -RELEASE_VERSION := "24.0.0" +RELEASE_VERSION := "24.1.0" GO_TEST_ARGS = LANG=C GOGC=off RTA = tools/rta@$(RTA_VERSION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/docs/RELEASE.md new/git-town-24.1.0/docs/RELEASE.md --- old/git-town-24.0.0/docs/RELEASE.md 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/docs/RELEASE.md 2026-09-26 15:40:51.000000000 +0200 @@ -12,8 +12,8 @@ the README file - verify that the website content reflects all the changes made - search-and-replace the old version with the new version - - triple-digits: `24.0.0` - - double-digits: `24.0` + - triple-digits: `24.1.0` + - double-digits: `24.1` - its best to do this manually so that you don't change unrelated version numbers in CHANGELOG.md, lockfiles, and data files - if bumping the major version: @@ -21,7 +21,7 @@ - update `github.com/git-town/git-town/v24` (without trailing slash) - update the changelog with links to the website - ship the branch -- `git sync --all && git checkout main && git tag v24.0.0 && git push --tags` +- `git sync --all && git checkout main && git tag v24.1.0 && git push --tags` - wait for CI to finish the release: <https://github.com/git-town/git-town/actions> - edit the new unpublished release: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/features/diff_parent/name_only/enabled.feature new/git-town-24.1.0/features/diff_parent/name_only/enabled.feature --- old/git-town-24.0.0/features/diff_parent/name_only/enabled.feature 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/features/diff_parent/name_only/enabled.feature 2026-09-26 15:40:51.000000000 +0200 @@ -15,9 +15,7 @@ | feature-2 | local | commit 2 | file-2.txt | And the current branch is "feature-1" When I run "git-town diff-parent --name-only" - Then Git Town runs the commands - | BRANCH | COMMAND | - | feature-1 | git diff --name-only --merge-base main feature-1 | + Then Git Town runs no commands And Git Town prints: """ file-1A.txt @@ -37,9 +35,7 @@ | child | local | commit 2B | file-2B.txt | And the current branch is "child" When I run "git-town diff-parent --name-only" - Then Git Town runs the commands - | BRANCH | COMMAND | - | child | git diff --name-only --merge-base parent child | + Then Git Town runs no commands And Git Town prints: """ file-2A.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/features/version/version.feature new/git-town-24.1.0/features/version/version.feature --- old/git-town-24.0.0/features/version/version.feature 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/features/version/version.feature 2026-09-26 15:40:51.000000000 +0200 @@ -6,5 +6,5 @@ When I run "git-town --version" Then Git Town prints: """ - Git Town 24.0.0 + Git Town 24.1.0 """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/internal/cmd/diff_parent.go new/git-town-24.1.0/internal/cmd/diff_parent.go --- old/git-town-24.0.0/internal/cmd/diff_parent.go 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/internal/cmd/diff_parent.go 2026-09-26 15:40:51.000000000 +0200 @@ -80,8 +80,8 @@ repo, err := execute.OpenRepo(execute.OpenRepoArgs{ CliConfig: cliConfig, IgnoreUnknown: false, - PrintBranchNames: true, - PrintCommands: true, + PrintBranchNames: nameOnly.GetOr(false).Disabled(), + PrintCommands: nameOnly.GetOr(false).Disabled(), ValidateGitRepo: true, ValidateIsOnline: false, }) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/internal/config/configdomain/name_only.go new/git-town-24.1.0/internal/config/configdomain/name_only.go --- old/git-town-24.0.0/internal/config/configdomain/name_only.go 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/internal/config/configdomain/name_only.go 2026-09-26 15:40:51.000000000 +0200 @@ -2,3 +2,7 @@ // NameOnly indicates whether git diff-parent should display only the names of changed files. type NameOnly bool + +func (self NameOnly) Disabled() bool { + return !bool(self) +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/internal/config/version.go new/git-town-24.1.0/internal/config/version.go --- old/git-town-24.0.0/internal/config/version.go 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/internal/config/version.go 2026-09-26 15:40:51.000000000 +0200 @@ -1,4 +1,4 @@ package config // GitTownVersion provides the current Git Town version. -const GitTownVersion = "24.0.0" +const GitTownVersion = "24.1.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/tools/generate_json_schema/go.mod new/git-town-24.1.0/tools/generate_json_schema/go.mod --- old/git-town-24.0.0/tools/generate_json_schema/go.mod 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/tools/generate_json_schema/go.mod 2026-09-26 15:40:51.000000000 +0200 @@ -3,7 +3,7 @@ go 1.26.1 require ( - github.com/git-town/git-town/v24 v24.0.0 + github.com/git-town/git-town/v24 v24.1.0 github.com/invopop/jsonschema v0.13.0 github.com/shoenig/test v1.12.2 ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/vendor/modules.txt new/git-town-24.1.0/vendor/modules.txt --- old/git-town-24.0.0/vendor/modules.txt 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/vendor/modules.txt 2026-09-26 15:40:51.000000000 +0200 @@ -95,7 +95,7 @@ # github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f ## explicit; go 1.16 github.com/erikgeiser/coninput -# github.com/git-town/git-town/v24 v24.0.0 => . +# github.com/git-town/git-town/v24 v24.1.0 => . ## explicit; go 1.26.1 # github.com/go-fed/httpsig v1.1.0 ## explicit; go 1.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/website/book.toml new/git-town-24.1.0/website/book.toml --- old/git-town-24.0.0/website/book.toml 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/website/book.toml 2026-09-26 15:40:51.000000000 +0200 @@ -3,7 +3,7 @@ description = "Git Town user manual" language = "en" src = "src" -title = "Git Town 24.0" +title = "Git Town 24.1" [preprocessor.gittown] command = "../tools/rta node ../tools/mdbook_preprocessor/mdbook_preprocessor.js" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/website/src/install.md new/git-town-24.1.0/website/src/install.md --- old/git-town-24.0.0/website/src/install.md 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/website/src/install.md 2026-09-26 15:40:51.000000000 +0200 @@ -100,6 +100,34 @@ [freshports](https://www.freshports.org/devel/git-town) or by downloading the matching binaries from the GitHub release. +## Cross-platform installation with `mise` + +You can install Git Town on Windows, +Linux and macOS with [`mise`](https://mise.jdx.dev/) using the +[GitHub tool backend](https://mise.jdx.dev/dev-tools/backends/github.html). +Make sure you have [installed `mise`](https://mise.jdx.dev/installing-mise.html) +according to your operating system and shell first. + +```sh +# for a global install +mise use -g github:git-town/git-town + +# for a project-specific install +cd path/to/your/project +mise use github:git-town/git-town +``` + +You can also manually add it to the `[tools]` section of either a global +or project-local `mise` +[configuration file](https://mise.jdx.dev/configuration.html). + +```toml +[tools] +"github:git-town/git-town" = "latest" +# or a specific version +"github:git-town/git-town" = "24.1.0" +``` + ## Manual installation ```sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/website/src/install.sh new/git-town-24.1.0/website/src/install.sh --- old/git-town-24.0.0/website/src/install.sh 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/website/src/install.sh 2026-09-26 15:40:51.000000000 +0200 @@ -3,7 +3,7 @@ # This script installs the Git Town executable in the user's HOME directory. -VERSION=24.0.0 # the version of Git Town to install +VERSION=24.1.0 # the version of Git Town to install DEST=$HOME/.local/bin # the folder into which to install the Git Town executable TMP_DIR=.git-town-download # temporary folder to use diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-town-24.0.0/website/src/stacked-changes.md new/git-town-24.1.0/website/src/stacked-changes.md --- old/git-town-24.0.0/website/src/stacked-changes.md 2026-07-23 15:15:35.000000000 +0200 +++ new/git-town-24.1.0/website/src/stacked-changes.md 2026-09-26 15:40:51.000000000 +0200 @@ -21,7 +21,8 @@ Suppose you are adding a new feature to an existing codebase. Before we can do that cleanly, you need to prepare the code base: -1. Refactor the architecture to make it easier to add the new feature cleanly +1. [Prefactor](https://testing.googleblog.com/2026/07/prefactoring-clear-way-for-your-new.html) + the architecture to make it easier to add the new feature cleanly 2. Clean up technical drift: rename variables, functions, etc 3. Build the feature on top of the improved codebase ++++++ git-town.obsinfo ++++++ --- /var/tmp/diff_new_pack.m6ryiv/_old 2026-09-28 10:49:17.974109250 +0200 +++ /var/tmp/diff_new_pack.m6ryiv/_new 2026-09-28 10:49:17.982109585 +0200 @@ -1,5 +1,5 @@ name: git-town -version: 24.0.0 -mtime: 1784812535 -commit: 0f3e55f5a6bae5b319dd713a0606263d0551af66 +version: 24.1.0 +mtime: 1790430051 +commit: 2fabf99bfd18f6ddc4e80e23f970df4ce3de9ff5
