-
Notifications
You must be signed in to change notification settings - Fork 20
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
Committing binaries when executing git fat via python processor. #64
Comments
Would you happen to have your filter and hook configs available to share? |
No hooks and here's my attributes file:
|
Okay, then we'll still need some more info. Can you provide the |
Hi Alan, So I hope this is all useful information... https://gist.github.com/henrydobson/6cbe3ef15341480ac2a4eae75819452e I've included what you asked for using the following: If you need anything else, please let me know! |
This is an excellent log! Thanks! However I forgot one thing. Can you Sorry for the extra hassle. |
No problem! I've revised the original and put the output whilst GIT_TRACE=1 at the top. https://gist.github.com/henrydobson/6cbe3ef15341480ac2a4eae75819452e Edit: I realised I had forgotten to alter the processor to collect the trace output... and that's the important bit! As you can see from the logs, git-fat is not found. I can confirm that if the PATH is managed to add git-fat's parent directory, the processor works! |
The only thing I can think of at this point is the git that Munki is using is different from your system git. It doesn't look like the GIT_TRACE environment variable made it into the context of the munki plugin either. It's possible that the version of git that munki is using doesn't support git-filters yet. That's my best bet given the current information. If you can figure out a way to get that data, then we might be able to move forward. |
Hi guys,
git fat is commonly used in the macOS sys admin community and I'm working on a project that users a python processor to automatically git add, commit, fat push and regular push however git fat is seemingly being completely bypassed and the result is the newly added binaries are being committed.
Here's the project: https://github.com/henrydobson/ygini-recipes/tree/master/GitFatCommitAndPush
If I run the subprocess call commands directly in bash at the correct point in the workflow, git fat works perfectly. Not sure what I'm missing... Can you help?
H
The text was updated successfully, but these errors were encountered: