about summary refs log tree commit diff
path: root/tools/git-blame-stats (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rename `tools` to `packages` to follow conventionFranck Cuny2024-03-062-121/+0
| | | | | | The convention is to use `pkgs` or `packages` for overlays and definition of custom packages. Since I'm already using `pkg` for go, I prefer to use `packages` for my scripts.
* various fixes for errors reported by deadnixFranck Cuny2023-12-151-1/+1
|
* fix(tools): install dependencies correctlyFranck Cuny2022-10-291-0/+1
| | | | | | | For the python tools, we need the python runtime to be available. For this we need to specify the dependencies in `propagatedBuildInputs`. The same is true for flamegraph and perf.
* ref(tools/python): make mypy happyFranck Cuny2022-10-171-8/+8
|
* ref(tools/git-blame-stats): rewrite the tool in pythonFranck Cuny2022-10-164-96/+112
| | | | | | The tool can calculate some stats about authors in a git repository. It computes the number of lines that are authored by authors at a given revision (HEAD by default), and the number of commits.
* ref(tools): simplify the import of toolsFranck Cuny2022-08-061-2/+2
| | | | | | | | | | | In the `mkSystem` function, instead of defining each tools, let's import all of them at once. This works both with installing a tool from a module or running them from the CLI. Change-Id: Ia44ff9a45b54a1ecea6f6b02b4cad2956799f627 Reviewed-on: https://cl.fcuny.net/c/world/+/682 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(tools/git-blame-stats): add a CLI to report git blame statisticsFranck Cuny2022-06-183-0/+104
Running this command in a repository will report how many lines in the current paths were created by different author, for a given revision. If no revision is specific, HEAD is assumed. Change-Id: I3fbed4f35a05e12fef22a72d7231727c05c50c96 Reviewed-on: https://cl.fcuny.net/c/world/+/445 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>