git-metrics icon indicating copy to clipboard operation
git-metrics copied to clipboard

Working example input

Open aschuhl opened this issue 4 years ago • 2 comments

Given this input:

python git_metrics.py release-lead-time [--tag-pattern=<fn_match>] [--earliest-date=<timestamp>] <path_to_git_repo> > repo_data.csv

I don't understand what an example tag-pattern would be etc

aschuhl avatar May 11 '21 19:05 aschuhl

it's a fn_match pattern, https://docs.python.org/3/library/fnmatch.html.

So a example would be v* this would match all tags starting with a v like v1.2.0

Neppord avatar May 12 '21 12:05 Neppord

@Neppord Can you tell me what I am doing wrong here?

git tag output: d0.1.0_deploy_dev d0.1.0_deploy_stg v0.1.0

running: python git-metrics/git_metrics.py release-lead-time --tag-pattern="*" .

outputs: commit timestamp,tag timestamp,previous release tag,release tag,repo name

what should <path_to_git_repo> be? I am running it at the root level of the repo that has a .git folder.

aschuhl avatar May 27 '21 18:05 aschuhl