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

WIP: Git config name and email #301

Closed

Conversation

Profpatsch
Copy link
Member

git requires an user.name and user.email to be set for most actions. ofborg shouldn’t depend on the system’s --global settings, instead it should provide config options.

This PR is not yet doing that for clone.rs:
https://github.com/NixOS/ofborg/blob/released/ofborg/src/clone.rs#L64-L69

ofborg tests added 2 commits January 14, 2019 17:33
Otherwise the tests can’t find nix when run inside a pure shell.
@Profpatsch
Copy link
Member Author

Setting

GIT_AUTHOR_NAME
GIT_AUTHOR_EMAIL

for each git operation ofborg does should be the way to go (see man git-commit-tree).

@@ -76,6 +76,7 @@ let
name = "gh-event-forwarder";
buildInputs = with pkgs; [
bash
nix
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this PR need to add nix?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See commit description of the corresponding commit: 5d73c77

@Artturin
Copy link
Member

Can be closed, fixed by e64d033

@cole-h cole-h closed this Dec 10, 2022
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.

None yet

4 participants