Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working example input #8

Open
aschuhl opened this issue May 11, 2021 · 2 comments
Open

Working example input #8

aschuhl opened this issue May 11, 2021 · 2 comments

Comments

@aschuhl
Copy link

aschuhl commented May 11, 2021

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

@Neppord
Copy link
Contributor

Neppord commented May 12, 2021

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

@aschuhl
Copy link
Author

aschuhl commented May 27, 2021

@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.

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

No branches or pull requests

2 participants