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

Include git repository information in the script execution summary #91

Open
jmgate opened this issue Sep 5, 2024 · 0 comments
Open
Assignees
Labels
Type: Feature A new capability we need added to the code.

Comments

@jmgate
Copy link
Collaborator

jmgate commented Sep 5, 2024

For scripts that are run from within a git repository, it'd be real nice to include some git details. E.g.,

Detail So users realize
Repository path They're using this local clone vs that one
Remotes configured They've cloned from this remote vs that one
Commit checked out Which version of the script was executed
Branch/tag information Which branch they're on, as they probably won't recognize a SHA1
Any changes in the index What they're running locally may differ from someone else using the same commit

If the script isn't being run from within a repository, then this extra section should just be omitted.

@jmgate jmgate added the Type: Feature A new capability we need added to the code. label Sep 5, 2024
@jmgate jmgate self-assigned this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature A new capability we need added to the code.
Projects
None yet
Development

No branches or pull requests

1 participant