Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update contributing and conventions #1386

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

Merged
merged 3 commits into from
Mar 2, 2013
Merged

Conversation

arrbee
Copy link
Member

@arrbee arrbee commented Mar 2, 2013

The discussion on #1384 made me want to write a "starter projects" list, so I put that into CONTRIBUTING.md and then went a little crazy updating that file and the CONVENTIONS.md file as well. I'm not sure if you'll agree 100% with my proposed changes, but please take a look.

I also bundled in another commit with a simplification to the examples/diff.c code.

arrbee added 3 commits March 2, 2013 13:51
The discussion about converting some of our foreach-style APIs to
use iterator objects got me wanting to make a list of good starter
projects.  I put it in CONTRIBUTING.md and then went crazy with
updates to that file and to CONVENTIONS.md.
When the examples/diff.c was written, there was not yet a revparse
API.  Now we can use it to make command line parsing way better
with less code.  Yay!
@scunz
Copy link
Contributor

scunz commented Mar 2, 2013

@arrbee, may I kindly ask you whether you're serious about this C89-compilance statement? Did you ever try a make -k with -std=c89 enabled?

@vmg
Copy link
Member

vmg commented Mar 2, 2013

@scunz: We're very serious. It's not C89, pure, but it's the version of C89 that builds in MSVC. If it doesn't build there, we cannot merge it. And that's the version of the standard that MSVC supports.

@carlosmn
Copy link
Member

carlosmn commented Mar 2, 2013

C89 refers to whatever MSVC will let us get way with.

@vmg
Copy link
Member

vmg commented Mar 2, 2013

Looking good @arrbee. <3

vmg pushed a commit that referenced this pull request Mar 2, 2013
Update contributing and conventions
@vmg vmg merged commit bb19532 into libgit2:development Mar 2, 2013
@scunz
Copy link
Contributor

scunz commented Mar 2, 2013

I can understand the MSVC requirement. However, then we should write it like that: Ansi-C89 with either MSVC or GNU-Extensions. The whole code base isn't compilable without the inline keyword and there are many more one-line comments as one would expect...

@arrbee arrbee deleted the update-docs branch November 22, 2013 08:27
phatblat pushed a commit to phatblat/libgit2 that referenced this pull request Sep 13, 2014
Update contributing and conventions
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.

4 participants