tag:github.com,2008:https://github.com/github/git-sizer/releasesRelease notes from git-sizer2021-11-16T14:45:36Ztag:github.com,2008:Repository/119228008/v1.5.02021-11-16T16:14:39ZRelease 1.5.0<p>The emphasis of this release is making it easy to select exactly what references should be included in the analysis, and also to output counts of references by type (e.g., branches vs. tags vs. pull request heads).</p>
<h2>What's new:</h2>
<ul>
<li>Allow several options to be set via gitconfig:
<ul>
<li><code>sizer.jsonVersion</code></li>
<li><code>sizer.threshold</code></li>
<li><code>sizer.names</code></li>
<li><code>sizer.progress</code></li>
</ul>
</li>
<li>Add more reference selection options:
<ul>
<li><code>--no-branches</code> (the opposite of <code>--branches</code>)</li>
<li><code>--no-tags</code> (the opposite of <code>--tags</code>)</li>
<li><code>--no-remotes</code> (the opposite of <code>--remotes</code>)</li>
<li><code>--notes</code>/<code>--no-notes</code></li>
<li><code>--stash</code>/<code>--no-stash</code></li>
</ul>
</li>
<li>Allow references to be selected by prefix or by regular expression:
<ul>
<li><code>--include=PREFIX</code>, <code>--exclude=PREFIX</code></li>
<li><code>--include=/REGEXP/</code>, <code>--exclude=/REGEXP/</code></li>
</ul>
</li>
<li>Make it possible to define groups of references via gitconfig:
<ul>
<li><code>refgroup.REFGROUP.name=NAME</code></li>
<li><code>refgroup.REFGROUP.include=PREFIX</code></li>
<li><code>refgroup.REFGROUP.includeRegexp=REGEXP</code></li>
<li><code>refgroup.REFGROUP.exclude=PREFIX</code></li>
<li><code>refgroup.REFGROUP.excludeRegexp=REGEXP</code></li>
</ul>
</li>
<li>Make it possible to include/exclude references by refgroup:
<ul>
<li><code>--include=@REFGROUP</code>, <code>--exclude=@REFGROUP</code></li>
</ul>
</li>
<li>Create some predefined refgroups: <code>branches</code>, <code>tags</code>, <code>remotes</code>, <code>pulls</code>, <code>changes</code>, <code>notes</code>, and <code>stash</code>.</li>
<li>Include, in the output, the numbers of references in each defined refgroup, including the predefined refgroups like <code>branches</code> and <code>tags</code>.</li>
</ul>
<h2>Internal changes:</h2>
<ul>
<li>Use a new <code>pipe</code> package for managing command pipelines. This fixes some error-handling paths.</li>
<li>Set up an action to run a linter over the code.</li>
<li>Clean up a bunch of linter-reported warnings.</li>
<li>Set up automated testing under Windows.</li>
<li>Build with the Go 1.17.3 toolchain.</li>
</ul>mhaggertag:github.com,2008:Repository/119228008/v1.4.02021-04-23T13:06:28ZRelease 1.4.0<p>What's new:</p>
<ul>
<li>Add support for building on and for Darwin:arm64.</li>
<li>Change <code>git-sizer --help</code> to return success.</li>
<li>Allow arbitrary references to be included/excluded from the analysis.</li>
<li>Use a safer method to locate the <code>git</code> executable.</li>
</ul>
<p>Internal changes:</p>
<ul>
<li>Upgrade to the Go 1.16 toolchain and the use of Go modules.</li>
<li>Better decouple the test and production code.</li>
</ul>mhaggertag:github.com,2008:Repository/119228008/v1.3.02018-09-25T12:53:22ZRelease 1.3.0<p>What's new:</p>
<ul>
<li>Suppress the warning that <code>info/grafts</code> is deprecated</li>
<li>Handle commits and tags that have no log messages</li>
<li>Generate better JSON output (selected using <code>--json-version=2</code>). Add:
<ul>
<li>A prose description of each quantity</li>
<li>The quantity's value and units</li>
<li>The prefix style that should be used for the quantity</li>
<li>The "reference value" against which the value is compared</li>
<li>The "level of concern", as a floating-point number</li>
<li>The OID and description of the object in question, when applicable</li>
</ul>
</li>
</ul>mhaggertag:github.com,2008:Repository/119228008/v1.2.02018-04-12T11:55:22ZRelease 1.2.0<p>Changes since release 1.1.0:</p>
<ul>
<li>Lower the threshold for the maximum tree size to 1000</li>
<li>Mention <code>git-annex</code> as another possibility (along with Git-LFS) for dealing with large files</li>
<li>Add a <code>--version</code> option to display the version of <code>git-sizer</code></li>
<li>Don't consider a "maximum tag depth" of 1 to be concerning</li>
</ul>
<p>Fixes:</p>
<ul>
<li>Disable grafts and replace references when analyzing repository</li>
<li>Change the instructions to work even if <code>git-sizer</code> is <em>not</em> in <code>PATH</code></li>
</ul>mhaggertag:github.com,2008:Repository/119228008/v1.1.02018-03-11T15:29:12ZRelease 1.1.0<p>Changes since release 1.0.0:</p>
<ul>
<li>Don't count the root tree in <code>MaxPathDepth</code> (this probably agrees better with user expectations)</li>
</ul>
<p>Fixes:</p>
<ul>
<li>Fix formatting of README</li>
<li>Fix failure when started from a subdirectory within the working tree or from a submodule</li>
<li>Specify the minimum required Git version (which is 2.6) in the README</li>
<li>Prevent a panic that could occur if one annotated tag pointed at another and they were not processed in parent→child order</li>
<li>Add more automated tests</li>
</ul>mhaggertag:github.com,2008:Repository/119228008/v1.0.02018-03-02T15:56:18ZRelease 1.0.0<p>This is the first public release of <code>git-sizer</code>.</p>mhagger