diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b18c07..69b72f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,8 +34,51 @@ ## Changelog + +## [v0.11.0] - 2024-02-02 +### Features +- suggest-coauthors accepts filters +- git mob -p prints location of co-authors file + +### Build +- add preconditions for the install task +- fix typo in tools.go +- set custom sort order for commit groups +- read tool versions from lockfiles +- upgrade to go1.20 +- upgrade goreleaser flags +- upgrade goreleaser syntax +- upgrade to go1.19 +- add .tool-versions to support asdf-managed golang +- **deps:** bump ruby/setup-ruby from 1.150.0 to 1.171.0 +- **deps:** bump github.com/onsi/gomega from 1.20.2 to 1.31.1 +- **deps:** bump ruby/setup-ruby from 1.139.0 to 1.150.0 +- **deps:** bump github.com/spf13/cobra from 1.6.1 to 1.7.0 +- **deps:** bump actions/setup-go from 3 to 4 + +### Pull Requests +- Merge pull request [#132](https://github.com/davidalpert/go-git-mob/issues/132) from davidalpert/sort-release-notes-commit-groups +- Merge pull request [#131](https://github.com/davidalpert/go-git-mob/issues/131) from davidalpert/126-filter-suggested-coauthors +- Merge pull request [#129](https://github.com/davidalpert/go-git-mob/issues/129) from davidalpert/dependabot/go_modules/github.com/onsi/gomega-1.31.1 +- Merge pull request [#128](https://github.com/davidalpert/go-git-mob/issues/128) from davidalpert/dependabot/github_actions/ruby/setup-ruby-1.171.0 +- Merge pull request [#127](https://github.com/davidalpert/go-git-mob/issues/127) from davidalpert/125-print-coauthors-file-location +- Merge pull request [#130](https://github.com/davidalpert/go-git-mob/issues/130) from davidalpert/read-tool-versions-from-lockfiles +- Merge pull request [#118](https://github.com/davidalpert/go-git-mob/issues/118) from davidalpert/dependabot/go_modules/github.com/spf13/cobra-1.7.0 +- Merge pull request [#115](https://github.com/davidalpert/go-git-mob/issues/115) from davidalpert/dependabot/github_actions/actions/setup-go-4 +- Merge pull request [#120](https://github.com/davidalpert/go-git-mob/issues/120) from davidalpert/dependabot/github_actions/ruby/setup-ruby-1.150.0 + + ## [v0.10.0] - 2023-03-10 +### Features +- better handling of anonymous github email addresses +- show a nice message when you know all the author suggestions +- coauthor suggestions now filters out known coauthors +- suggest coauthor initials as lowercase + +### Test Coverage +- co-author suggestion feature uses long form + ### Bug Fixes - build the correct cmd/git-mob package on release - goreleaser script had old make targets @@ -54,15 +97,6 @@ - **deps:** bump github.com/spf13/cobra from 1.5.0 to 1.6.1 - **deps:** bump ruby/setup-ruby from 1.117.0 to 1.120.0 -### Features -- better handling of anonymous github email addresses -- show a nice message when you know all the author suggestions -- coauthor suggestions now filters out known coauthors -- suggest coauthor initials as lowercase - -### Test Coverage -- co-author suggestion feature uses long form - ### Pull Requests - Merge pull request [#113](https://github.com/davidalpert/go-git-mob/issues/113) from davidalpert/106-suggesting-coauthors-generates-output-which-is-not-copypastable - Merge pull request [#112](https://github.com/davidalpert/go-git-mob/issues/112) from davidalpert/78-explore-task-and-taskfiles-as-an-alternative-to-makemakefiles @@ -78,6 +112,14 @@ ## [v0.9.2] - 2022-10-25 +### Test Coverage +- fix feature specs to align with [#89](https://github.com/davidalpert/go-git-mob/issues/89) +- example bug feature + +### Features +- rename feature file +- added feature spec for expected git-mob behaviour + ### Bug Fixes - [#88](https://github.com/davidalpert/go-git-mob/issues/88) co-authors not cleared from message template when returning to git solo - colons break square brackets, added them before instead @@ -86,6 +128,9 @@ - colons break square brackets, added them before instead - lint, add period and colon consistency to README.md +### Code Refactoring +- rename a feature file + ### Build - don't install goreleaser as [@latest](https://github.com/latest) requires go1.17 - doctor script exit code should reflect doctor status @@ -93,17 +138,6 @@ - reviewdog token needs write permissions on issues - **deps:** bump ruby/setup-ruby from 1.115.3 to 1.117.0 -### Code Refactoring -- rename a feature file - -### Features -- rename feature file -- added feature spec for expected git-mob behaviour - -### Test Coverage -- fix feature specs to align with [#89](https://github.com/davidalpert/go-git-mob/issues/89) -- example bug feature - ### Pull Requests - Merge pull request [#94](https://github.com/davidalpert/go-git-mob/issues/94) from davidalpert/88-bug-co-authors-not-cleared-from-message-template-when-returning-to-git-solo - Merge pull request [#89](https://github.com/davidalpert/go-git-mob/issues/89) from teezzan/fix/co-authors_not_cleared_from_message_template_on_switch @@ -123,10 +157,6 @@ ## [v0.9.0] - 2022-09-27 -### Build -- **deps:** bump ruby/setup-ruby from 1.114.0 to 1.115.3 -- **deps:** bump github.com/onsi/gomega from 1.20.0 to 1.20.2 - ### Docs - improve post-install docs - add shell one-liner to verify that GOPATH bin is in your PATH @@ -134,6 +164,10 @@ ### Features - git mob now works outside a working tree +### Build +- **deps:** bump ruby/setup-ruby from 1.114.0 to 1.115.3 +- **deps:** bump github.com/onsi/gomega from 1.20.0 to 1.20.2 + ### Pull Requests - Merge pull request [#85](https://github.com/davidalpert/go-git-mob/issues/85) from davidalpert/docs - Merge pull request [#84](https://github.com/davidalpert/go-git-mob/issues/84) from davidalpert/81-go-install-doesnt-put-git-mob-in-my-path @@ -144,24 +178,24 @@ ## [v0.8.0] - 2022-08-23 +### Test Coverage +- reproduce issue [#41](https://github.com/davidalpert/go-git-mob/issues/41) +- add support for an [@announce](https://github.com/announce)-gitmessage tag +- verify duplicate coauthor initials thows error + +### Features +- write duplicates initials to stderr +- raise error on duplicate coauthors initials + ### Bug Fixes - [#41](https://github.com/davidalpert/go-git-mob/issues/41) coauthors accumulate in gitmessage -### Chore -- remove [@wip](https://github.com/wip) tag and clean up whitespace - ### Code Refactoring - extract method to put replaceCoauthors under test - sentinal error to custom error -### Features -- write duplicates initials to stderr -- raise error on duplicate coauthors initials - -### Test Coverage -- reproduce issue [#41](https://github.com/davidalpert/go-git-mob/issues/41) -- add support for an [@announce](https://github.com/announce)-gitmessage tag -- verify duplicate coauthor initials thows error +### Chore +- remove [@wip](https://github.com/wip) tag and clean up whitespace ### Pull Requests - Merge pull request [#77](https://github.com/davidalpert/go-git-mob/issues/77) from davidalpert/41-bug-gitgitmessage-accumulates-authors @@ -170,21 +204,21 @@ ## [v0.7.3] - 2022-08-22 -### Build -- ignore windows/arm64 -- downgrade dependencies to go1.16 - -### Code Refactoring -- replace explode/implode with rehash/uninstall - -### Docs -- add how-to for showing mob in your shell prompt - ### Test Coverage - uninstall command can break hook scripts - fix typo in announced paths - remove {project}/bin from aruba command_search_paths +### Docs +- add how-to for showing mob in your shell prompt + +### Code Refactoring +- replace explode/implode with rehash/uninstall + +### Build +- ignore windows/arm64 +- downgrade dependencies to go1.16 + ### Pull Requests - Merge pull request [#75](https://github.com/davidalpert/go-git-mob/issues/75) from davidalpert/71-feat-add-more-documentation-to-feature-specs - Merge pull request [#72](https://github.com/davidalpert/go-git-mob/issues/72) from davidalpert/70-support-install-with-earlier-golang-versions-eg-117-or-116 @@ -192,16 +226,16 @@ ## [v0.7.2] - 2022-08-16 -### Bug Fixes -- ignore missing config keys when getting the current mob -- expose better error detail from underlying git config calls -- return the actual exit code from utils.SilentRun +### Test Coverage +- reproduce [#67](https://github.com/davidalpert/go-git-mob/issues/67) and [#68](https://github.com/davidalpert/go-git-mob/issues/68) ### Docs - add issue templates -### Test Coverage -- reproduce [#67](https://github.com/davidalpert/go-git-mob/issues/67) and [#68](https://github.com/davidalpert/go-git-mob/issues/68) +### Bug Fixes +- ignore missing config keys when getting the current mob +- expose better error detail from underlying git config calls +- return the actual exit code from utils.SilentRun ### Pull Requests - Merge pull request [#69](https://github.com/davidalpert/go-git-mob/issues/69) from davidalpert/67-getallglobalgit-mobco-author-nonzero-exit-code-1-when-soloing @@ -209,6 +243,13 @@ ## [v0.7.1] - 2022-08-15 +### Docs +- fix broken license badges +- add troubleshooting guidance + +### Test Coverage +- enable [@announce](https://github.com/announce)-gitmob-log + ### Bug Fixes - log better error detail when SilentRun fails - print log destination to diagnostics.Log instead of STDOUT @@ -217,19 +258,12 @@ ### Build - configure dependabot.yml - **deps:** bump actions/setup-go from 2 to 3 +- **deps:** bump github.com/onsi/gomega from 1.10.1 to 1.20.0 - **deps:** bump github.com/stretchr/testify from 1.7.1 to 1.8.0 - **deps:** bump github.com/spf13/cobra from 1.4.0 to 1.5.0 - **deps:** bump ruby/setup-ruby from 1.110.0 to 1.114.0 - **deps:** bump actions/checkout from 2 to 3 - **deps:** bump goreleaser/goreleaser-action from 2 to 3 -- **deps:** bump github.com/onsi/gomega from 1.10.1 to 1.20.0 - -### Docs -- fix broken license badges -- add troubleshooting guidance - -### Test Coverage -- enable [@announce](https://github.com/announce)-gitmob-log ### Pull Requests - Merge pull request [#61](https://github.com/davidalpert/go-git-mob/issues/61) from davidalpert/dependabot/github_actions/actions/checkout-3 @@ -238,26 +272,26 @@ ## [v0.7.0] - 2022-08-14 +### Features +- --override-author overrides git author for current and future commands +- edit-coauthor lets you edit an existing coauthor +- delete-coauthor removes an existing coauthor by initials +- add-coauthor adds a new coauthor to ~/.git-coauthors +- print added co-authors to the terminal + +### Docs +- improve warning message around commit.template + ### Bug Fixes - error message reversed when adding a coauthor -### Build -- improve release notes content - ### Code Refactoring - remove commented code - extract the map of shims to it's own file - standardize feature specs -### Docs -- improve warning message around commit.template - -### Features -- --override-author overrides git author for current and future commands -- edit-coauthor lets you edit an existing coauthor -- delete-coauthor removes an existing coauthor by initials -- add-coauthor adds a new coauthor to ~/.git-coauthors -- print added co-authors to the terminal +### Build +- improve release notes content ### Pull Requests - Merge pull request [#58](https://github.com/davidalpert/go-git-mob/issues/58) from davidalpert/improve-release-notes @@ -270,39 +304,39 @@ ## [v0.6.1] - 2022-08-12 +### Test Coverage +- ensure that git mob with no args prints the mob +- ensure that coauthors file exists + ### Bug Fixes - commit templates are stored globally - git mob with no args should print mob +### Code Refactoring +- format .git-coauthors file +- reorganize code to better match latest git-mob src + ### Build - don't remove branchName when workspace is dirty ### Chore - go mod tidy with go1.18 found the missing dependencies -### Code Refactoring -- format .git-coauthors file -- reorganize code to better match latest git-mob src - -### Test Coverage -- ensure that git mob with no args prints the mob -- ensure that coauthors file exists - ### Pull Requests - Merge pull request [#52](https://github.com/davidalpert/go-git-mob/issues/52) from davidalpert/update-parity ## [v0.6.0] - 2022-08-07 +### Docs +- update readme to simplify install instructions + ### Build - add a git-mob cmd wrapper - remove build-all target - align formatting - inject release notes commit summary into version details -### Docs -- update readme to simplify install instructions - ### Pull Requests - Merge pull request [#51](https://github.com/davidalpert/go-git-mob/issues/51) from davidalpert/rename-installed-cmd - Merge pull request [#50](https://github.com/davidalpert/go-git-mob/issues/50) from davidalpert/commit-version @@ -316,6 +350,19 @@ ## [v0.5.0] - 2022-08-06 +### Features +- git mob init-all --dry-run +- git mob init-all [base-path] + +### Docs +- clean up RELEASE_NOTES +- clean up language to vale standards +- update binary install instructions + +### Code Refactoring +- update go-printers and streamline printing +- factor out go-printers + ### Build - ensure that version tags are available for PR builds - use git-mob as the project name @@ -325,19 +372,6 @@ - clean up diagnostic output when overriding the branch name - print provided version as a string, not a byte array -### Code Refactoring -- update go-printers and streamline printing -- factor out go-printers - -### Docs -- clean up RELEASE_NOTES -- clean up language to vale standards -- update binary install instructions - -### Features -- git mob init-all --dry-run -- git mob init-all [base-path] - ### Pull Requests - Merge pull request [#48](https://github.com/davidalpert/go-git-mob/issues/48) from davidalpert/[GH-43](https://github.com/davidalpert/go-git-mob/issues/43)-fix-packaged-version - Merge pull request [#49](https://github.com/davidalpert/go-git-mob/issues/49) from davidalpert/refactor-to-use-go-printers @@ -348,6 +382,12 @@ ## [v0.4.1] - 2022-07-17 +### Docs +- update installation instructions + +### Code Refactoring +- rename github action workflows + ### Build - don't need to use branchName when it's 'main' - assume 'main' branch when rev-list bewteen origin/main and HEAD is 0 @@ -357,21 +397,35 @@ - simplify release notes commit message - add test target to document testing push events with act -### Code Refactoring -- rename github action workflows + +## [v0.4.0] - 2022-07-16 ### Docs +- release notes for v0.4.0 - update installation instructions +- update license to match original MIT +### Features +- update version command to print semver format +- allow FAST=1 releases + +### Test Coverage +- fix up failing features +- set GIT_CEILING_DIRECTORIES before all features - -## [v0.4.0] - 2022-07-16 ### Bug Fixes - generate release notes before running goreleaser - build before releasing to update the version number - update url for the conform tool - git mob outside a working tree should fail +### Code Refactoring +- calculate semantic version at generate, not runtime +- use git CLI instead of go-git for revParse commands +- show better errors when executing setMob +- move SilentRun into a new shell package +- import git step defs from my blog post sample + ### Build - enable preview of release notes - tune goreleaser workflow @@ -389,26 +443,6 @@ ### Chore - go mod tidy -### Code Refactoring -- calculate semantic version at generate, not runtime -- use git CLI instead of go-git for revParse commands -- show better errors when executing setMob -- move SilentRun into a new shell package -- import git step defs from my blog post sample - -### Docs -- release notes for v0.4.0 -- update installation instructions -- update license to match original MIT - -### Features -- update version command to print semver format -- allow FAST=1 releases - -### Test Coverage -- fix up failing features -- set GIT_CEILING_DIRECTORIES before all features - ### Pull Requests - Merge pull request [#36](https://github.com/davidalpert/go-git-mob/issues/36) from davidalpert/32-improve-install-story - Merge pull request [#34](https://github.com/davidalpert/go-git-mob/issues/34) from davidalpert/32-improve-install-story @@ -418,42 +452,6 @@ ## [v0.3.0] - 2022-06-14 -### Bug Fixes -- remove debugging output -- change initials-only to initials -- update path to doctor.sh -- app version is always 0.0.0 -- given a simple repo with commits do not create an initial commit -- propagate helper args to the subcommands -- git mob overwrites template instead of appending coauthors -- re-add the 'install' alias -- remove the test .gitmessage path from the version command -- match subcommands on aliases as well as names -- start mob with coauthor who didn't exist would work - -### Build -- ignore the actual deploy scripts -- build-all before deploying all :rollsafe: -- add a list-ignored target -- add an implode make target -- add explicit gen dependency to build targets -- fix the install target and add an uninstall target -- add valedation into the ci target -- add guard-process to auto-run valedation on md file change -- add valedation as a make target -- add vale config and a set of initial .styles -- add vale as a build requirement -- remove irrelevant scopes - -### Code Refactoring -- don't need to load the primary user more than once -- reorganize subcommands -- standardize & improve usage text -- replace go-git with git CLI -- collect git paths into a revParse module -- remove duplication in explode.feature -- rearrange suggest subcommand as a coauthors subcommand - ### Docs - release notes for v0.3.0 - add reference for BDD via cucumber/aruba @@ -467,20 +465,6 @@ - add link to github project v1.0 - improve setup and contributing guidance -### Features -- set .git/.gitmessage only when inside a working tree -- set .git/.gitmessage as the commit template -- write diagnostic logs to file -- append coauthor to a commit with the message flag -- initialize a local repo with a prepare-commit-msg script -- allow format "text" by the format printers -- add a prepare-commit-msg subcommand -- print commit SHA and a dirty flag (when built from a dirty repo) -- implode/uninstall -- explode/rehash -- suggest co-authors from git history -- list all coauthors - ### Test Coverage - add/delete/edit-coauthors.spec - git-suggest-coauthors.spec @@ -509,6 +493,56 @@ - prove that amending commits adds coauthors - ignore featues with an [@ignore](https://github.com/ignore) flag +### Features +- set .git/.gitmessage only when inside a working tree +- set .git/.gitmessage as the commit template +- write diagnostic logs to file +- append coauthor to a commit with the message flag +- initialize a local repo with a prepare-commit-msg script +- allow format "text" by the format printers +- add a prepare-commit-msg subcommand +- print commit SHA and a dirty flag (when built from a dirty repo) +- implode/uninstall +- explode/rehash +- suggest co-authors from git history +- list all coauthors + +### Bug Fixes +- remove debugging output +- change initials-only to initials +- update path to doctor.sh +- app version is always 0.0.0 +- given a simple repo with commits do not create an initial commit +- propagate helper args to the subcommands +- git mob overwrites template instead of appending coauthors +- re-add the 'install' alias +- remove the test .gitmessage path from the version command +- match subcommands on aliases as well as names +- start mob with coauthor who didn't exist would work + +### Code Refactoring +- don't need to load the primary user more than once +- reorganize subcommands +- standardize & improve usage text +- replace go-git with git CLI +- collect git paths into a revParse module +- remove duplication in explode.feature +- rearrange suggest subcommand as a coauthors subcommand + +### Build +- ignore the actual deploy scripts +- build-all before deploying all :rollsafe: +- add a list-ignored target +- add an implode make target +- add explicit gen dependency to build targets +- fix the install target and add an uninstall target +- add valedation into the ci target +- add guard-process to auto-run valedation on md file change +- add valedation as a make target +- add vale config and a set of initial .styles +- add vale as a build requirement +- remove irrelevant scopes + ### Pull Requests - Merge pull request [#31](https://github.com/davidalpert/go-git-mob/issues/31) from HugeIRL/29-fix-initials-flag - Merge pull request [#30](https://github.com/davidalpert/go-git-mob/issues/30) from HugeIRL/patch-1 @@ -527,20 +561,6 @@ ## [v0.2.0] - 2022-05-31 -### Bug Fixes -- doctor would constantly regenerate chglog config - -### Build -- go mod tidy -- add depgraph target -- ignore doctor.sh fixes - -### Code Refactoring -- replicate git-authors specs from git-mob -- replace firefly names with git-mob examples -- move Author into the cfg package -- extract env helpers to an env package - ### Docs - release notes for v0.2.0 @@ -555,15 +575,23 @@ - add step def to create a git repo - add aruba/cucumber specs +### Bug Fixes +- doctor would constantly regenerate chglog config + +### Code Refactoring +- replicate git-authors specs from git-mob +- replace firefly names with git-mob examples +- move Author into the cfg package +- extract env helpers to an env package - -## v0.1.0 - 2022-05-31 ### Build -- add a makefile to tie it all together -- add baseline tool config -- add initial doctor.sh script -- add vscode workspace +- go mod tidy +- add depgraph target +- ignore doctor.sh fixes + + +## v0.1.0 - 2022-05-31 ### Docs - release notes for v0.1.0 - add initial project README @@ -571,8 +599,15 @@ ### Features - add basic CLI framework +### Build +- add a makefile to tie it all together +- add baseline tool config +- add initial doctor.sh script +- add vscode workspace + -[Unreleased]: https://github.com/davidalpert/go-git-mob/compare/v0.10.0...HEAD +[Unreleased]: https://github.com/davidalpert/go-git-mob/compare/v0.11.0...HEAD +[v0.11.0]: https://github.com/davidalpert/go-git-mob/compare/v0.10.0...v0.11.0 [v0.10.0]: https://github.com/davidalpert/go-git-mob/compare/v0.9.2...v0.10.0 [v0.9.2]: https://github.com/davidalpert/go-git-mob/compare/v0.9.1...v0.9.2 [v0.9.1]: https://github.com/davidalpert/go-git-mob/compare/v0.9.0...v0.9.1 diff --git a/internal/version/detail.go b/internal/version/detail.go index 1682710..e173d8e 100644 --- a/internal/version/detail.go +++ b/internal/version/detail.go @@ -1,5 +1,5 @@ // Code generated by go generate; DO NOT EDIT. -// This file was generated by robots at 2023-03-10 07:51:03.650135 -0600 CST m=+0.036639917 +// This file was generated by robots at 2024-02-02 16:41:28.500293 -0600 CST m=+0.060513584 package version import ( @@ -17,16 +17,16 @@ var Detail = NewVersionDetail() func NewVersionDetail() DetailStruct { s := DetailStruct{ AppName: "git-mob", - BuildDate: "2023-03-10 07:51:03.650135 -0600 CST m=+0.036639917", - CoreVersion: "0.10.0", + BuildDate: "2024-02-02 16:41:28.500293 -0600 CST m=+0.060513584", + CoreVersion: "0.11.0", GitBranch: "main", - GitCommit: "851165e", - GitCommitSummary: "fix: build the correct cmd/git-mob package on release", + GitCommit: "86cd3a0", + GitCommitSummary: "build: upgrade goreleaser flags", GitDirty: false, GitDirtyHasModified: false, GitDirtyHasStaged: false, GitDirtyHasUntracked: false, - Version: "0.10.0+851165e", + Version: "0.11.0+86cd3a0", } s.UserAgentString = s.ToUserAgentString() if s.GitDirty {