-
Notifications
You must be signed in to change notification settings - Fork 3
Zpm msg #33
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
base: master
Are you sure you want to change the base?
Zpm msg #33
Conversation
|
I think we should merge it as soon as reviewed, and all all |
|
Could you grant me some rigths on this repo, so that I can handle issues, labels, request reviews... |
|
@desyncr wrote:
I think just having zpm check the environment is fine. |
|
You should have those rights already as you're a org member. I'm gonna see what's going on later. |
|
Current argument parsing is a bit rudimentary so we could look into it. |
I quit like it like that 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small things to review.
| free(hash); | ||
| } else { | ||
| printf("\n"); | ||
| if(zpm_has_color) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the need to for this condition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- because bold relates to fancy output.
- because bold messes with cram 😕
| vsnprintf(msg, 256, fmt, arg); | ||
| if (type != ZPM_NONE) { | ||
| if(zpm_has_color) { | ||
| int color = type == ZPM_ERR ? 31 : 32; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check coding style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, I mostly pasted untested code from the issue, so while fixing I forgot that 😕
|
Well, we should be able to extend I think for now it's OK to use env vars, I'll keep on the backlog to investigate option parting libs. |
|
@fennecdjay Re: permissions, sorry my bad. I miss configured permissions for members. Now you should have write access. 👍 |
It should benefit from something about in the README, like