Skip to content

Conversation

@jeremybennett
Copy link
Member

This is the first stage, making the scripts generic across projects and automatically creating the graphs.

* .gitignore: Ignore directories with generated results.
* README.md: Update to describe the new script.
* count-commits-all-releases.sh: Created.
* count-commits-all-years.sh: Created.
* count-commits-gcc.sh: Subsumed into count-commits-per-release.sh and count-commits-per-year.sh.
* count-commits-one-release.sh: Created.
* count-commits-one-year.sh: Created.
* count-commits-per-release.sh: renamed from count-commits.sh, generalized, per-year counting split out into count-commits-per-year.sh and generation of graphs using Gnuplot added.
* count-commits-per-year.sh: Created.
* gen-rels-gcc.sh: Created.
* gen-rels-llvm.sh: Created.
* plot-one-line.gnuplot: Created.

This is the first stage, making the scripts generic across projects and
automatically creating the graphs.

	* .gitignore: Ignore directories with generated results.
	* README.md: Update to describe the new script.
	* count-commits-all-releases.sh: Created.
	* count-commits-all-years.sh: Created.
	* count-commits-gcc.sh: Subsumed into count-commits-per-release.sh
	and count-commits-per-year.sh.
	* count-commits-one-release.sh: Created.
	* count-commits-one-year.sh: Created.
	* count-commits-per-release.sh: renamed from count-commits.sh,
	generalized, per-year counting split out into
	count-commits-per-year.sh and generation of graphs using Gnuplot
	added.
	* count-commits-per-year.sh: Created.
	* gen-rels-gcc.sh: Created.
	* gen-rels-llvm.sh: Created.
	* plot-one-line.gnuplot: Created.

Signed-off-by: Jeremy Bennett <jeremy.bennett@embecosm.com>
@jeremybennett jeremybennett self-assigned this Sep 18, 2025
@jeremybennett jeremybennett marked this pull request as draft September 18, 2025 15:17
In this commit, we add scripts to count commits for various parts of
repositories, allowing us to break down results by back end or front
end. We add the GNU plot script to generate a histogram.

	* README.md: Describe the new scripts, add examples.
	* count-commits-per-frontend.sh: Deleted. Replaced by the more
	generic count-commits-per-release-split.sh.
	* count-commits-per-release-split.sh: Created.
	* count-commits-per-release.sh: Make usage function more generic,
	remove redundant test for numbr of arguments, general clean up of
	code.
	* count-commits-per-year.sh: Likewise.
	* get-gcc-backend.sh: Created.
	* get-gcc-frontend.sh: Created.
	* plot-histogram.gnuplot: Created.
	* plot-one-line.gnuplot: Clarify the purpose of the script in its
	first line.

Signed-off-by: Jeremy Bennett <jeremy.bennett@embecosm.com>
In this commit, we generalize the argument processing and add a script to
count authors.

	* count-authors-all-releases.sh: Created.
	* count-authors-one-release.sh: Created.
	* count-authors-per-release.sh: Created.
	* count-authors.sh: Replaced by count-authors-all-releases.sh
	* count-commits-one-release.sh: Replace argument processing by
	get-args.sh.
	* count-commits-per-release-split.sh: Likewise.
	* count-commits-per-release.sh: Likewise.
	* count-commits-per-year.sh: Likewise.
	* get-args.sh: Created.
	* plot-histogram.gnuplot: Specify zero based Y range.
	* plot-one-line.gnuplot: Likewise.

Signed-off-by: Jeremy Bennett <jeremy.bennett@embecosm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants