* Indicate how we're sorting new contributors
* Don't fork for `date` checks
* Include reference in the manpage
Signed-off-by: Ben Cotton <bcotton@funnelfiasco.com>
This reports generates a list of all contributors whose first commit was
after a specified date.
Fixes#169
Signed-off-by: Ben Cotton <bcotton@funnelfiasco.com>
* Added additional information to better explain how to use this
on macOS.
* Updated some of the deps used
* Minor adjustments in the README.md
Addresses Issue #166
* When running "make test" in the root directory of this codebase,
an error will occur as this shell script requires a repo to be
initialized before it can properly execute.
This was done in the past, but at some point, it was removed.
This adds the feature back, tests if we are in a git directory
by using a built-in git command, and only performs this action
if a git repo doesn't already exist. All actions are sent to
/dev/null so the testing should look opaque to the end user.
Note that tests will still fail if a user is missing a required
utility to perform the functionality of git-quick-stats.
* Fixed a typo in the man page
Fixes#162
* Users on macOS and other older distributions of Linux and Unix
cannot fully utilize this application as a handful of date/time
strings in here are specific to the GNU utility found on most
modern version of Linux.
Until every date/time case is handled between the BSD version of
date and the GNU version of date, let's error out akin to how we
do it if the user doesn't have every utility installed to run
this script.
Users can get around this by using package managers on macOS such
as homebrew, macports, etc and making sure that 'date' points to
the GNU version of date instead of the BSD version. Linux and
Unix users can get around this by installing the GNU version of
date, as well.
* Removed checking OSTYPE in the format_date() function as checking
if someone is on a machine that identifies as Darwin is not enough
to handle other edge cases where an older version of BSD date
might be present on the system.
* Added the ability to see git stats both per weekday, as well as
by author per weekday. It should respect all global options.
* Updated tests, README.md, and man page to reflect the new changes
- Added commits-by-year graph/statistics.
- Made 'since' use first reachable commit, instead of GIT epoch (May
2005). To avoid empty bars in the new 'Commits by years' graph.
- Removed start-/end-year filter: on -by-weekday, -hour and -month. Instead
made each `grep` look for its date tag fixed in a more specific sequence
so as to not match commit message.
Was giving problems if a since/until date-span larger than one year was given
(ie. #135, #130, #123).
Maybe should look at removing commit message from log listing entirely.
Not sure why `grep -E "($startYear|$endYear)"` was ever introduced yet.
- Made tests run properly, updated test with usage output.
Added a test-case with LC_TIME=POSIX.
* The README.md contained inline HTML for the contributors, backers,
and sponsors section. This technically works when the README.md is
rendered within a webpage, but other Markdown readers, such as those
that are built into GUIs, may or may not render them correctly.
This changes those inline HTML hyperlinks to pure Markdown as
specified by Markdown Lint rule MD033. For more info, see:
https://github.com/DavidAnson/markdownlint/blob/v0.23.1/doc/Rules.md#md033
* Fixes some other small whitespace and inconsistency issues
* Added the ability to see git stats both per timezone, as well as
by author per timezone. It should respect all global options.
* Adjusted the non-interactive menu as it was missed during the
reorganization effort
* Updated tests, README.md, man page, and screenshots to reflect the
new changes
* Resolves#128
* Before, we had various functions in a different order from the
interactive menu in the code base. This changes our ordering of
the functions and aligns the interactive menu, man pages, README.md,
and code base so that they are all following the same paradigm.
Also fixes some minor missing keywords
* Did some minor clean up of white space to try to adhere to the
classic 80 characters per line standard that is typically found
in shell code. It isn't perfect, but it's getting us closer.
* Added some extra notes and todos for adjustments that can be made
and potential future work for others to jump in on.
* With pull request #131, we add new functionality for both interactive and non-interactive modes.
This change updates the README.md to reflect our new menu option for outputting the stats in CSV