-
Notifications
You must be signed in to change notification settings - Fork 9
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
Show warning when git is not initialized #39
Comments
Did you try |
I left you comment regarding this in another post |
You said:
I don't think this is necessarily an issue with guppy. It seems to me more like an issue with how your CI is set up. You should probably check out the branch in your CI, rather than (what I assume you're doing is) copying your codebase to CI. That way you have the The first option is probably the best approach, because then you can simply write your gulp I'm just not fully convinced the responsibility is on guppy. |
So you claim that plugin rather then throw warning should hang whole process? |
No, I'm telling you that it seems like your CI is not properly set up. If it were properly set up, you wouldn't have an issue. |
Can you fix that it would not hang the process because it is a matter of one if exists check, and we will improve our build process? |
I can look into it and see if it's a useful change. It's going to be pretty low priority, though, considering it's easy to resolve with a proper CI setup. |
I know what you mean but in large corporations where you do not have rights to influence build process such simple lib change can safe loads of time while banging head to get permissions or describe problems to devops. So i would be really greatfull if you add that 5mins fix. |
You're welcome to submit a PR for review. Unfortunately, I have a lot of other things that are higher priority for me, so I won't be able to give this attention right away. I'm sorry. |
I think i would not have time for PR, if devops wpuld not change build way i will have to look fol alternative lib. However i think it is good developement practice to make isolated libs to not break whole chain 😏 |
Again, sorry you're having issues with your build. You keep asserting that guppy is breaking your build, unfortunately I don't agree with that assertion. It sounds like your build is not correctly configured. I don't mind adding it as an enhancement, but it's pretty low priority considering you're the only one requesting the enhancement. Sorry if it sounds insensitive to your situation, it's just that I have a lot of other things on my plate that are more urgent. If you or someone else can work on this in a more timely manner than I can, I would definitely appreciate the contribution. |
This issue also broke our CI build. If you are using TeamCity with the built-in git configuration the .git folder is not copied to the agents working directory. You can fix the issue by installing the latest version of Git which does seem to create the .git folder in the working directory. |
also getting this issue |
When installing guppy-pre commit (not surr about others) show warning message if git folder is missing instead of hanging whole npm i process
The text was updated successfully, but these errors were encountered: