Submitting patches.

Official forum for the Chipmunk2D Physics Library.
Post Reply
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Submitting patches.

Post by slembcke »

If you want to submit a patch to Chipmunk, it saves me a great deal of time and energy if you send me a pull request on GitHub. Sending a zip file of the modified source or a hand typed list of changes can be very tedious to integrate. A lot of times when given a patch of this form I won't have the time to look at it right away and I end up forgetting entirely. Given a proper patch file, I can apply the patch in a second or two and then easily browse the changes made to see what you changed.

Probably the best place to learn about Git is GitHub. They have a lot of walkthroughs that are better than anything I could write:
https://github.com

Chipmunk's GitHub page:
https://github.com/slembcke/Chipmunk-Physics
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
supertommy
Posts: 56
Joined: Tue Sep 11, 2007 2:30 pm
Contact:

Re: Submitting patches.

Post by supertommy »

FYI: I had to remove the 's' from https in the svn checkout command line, or googlecode would insist on a username and password.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Submitting patches.

Post by slembcke »

Ah yes. Good catch. The http url is read-only, but does not require authentication.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
blachman
Posts: 4
Joined: Thu Jan 08, 2009 12:23 pm
Contact:

Re: Submitting patches.

Post by blachman »

Just to note. Chipmunk now lives in its own google code project so the subversion URL is now:

Code: Select all

svn checkout http://chipmunk-physics.googlecode.com/svn/trunk/ Chipmunk
PeskyJ
Posts: 19
Joined: Fri Apr 24, 2009 4:24 pm
Location: Reading, UK
Contact:

Re: Submitting patches.

Post by PeskyJ »

I submitted a patch to the issue tracker... how do you change the type from "defect" in that thing?

Anyhow, hope that's the right place, if not let me know and I can re-post here as an attachment or email or whatever.

J
Games games games... I love games. Check out my games: [url]http://www.tinyplay.com/games.html[/url]
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Submitting patches.

Post by slembcke »

I did not realize that they added an issue tracker to google projects... (or maybe I just never noticed it existed at all). :oops: Shame it doesn't notify you by email or something when an issue is submitted.

I'll take a look at it.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
viblo
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm
Contact:

Re: Submitting patches.

Post by viblo »

Its been there for a very long time :)
If you go to the issues admin part you can set an email adr that will get a notification each time an issue is created/updated
(for pymunk this is located at http://code.google.com/p/pymunk/adminIssues )
http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app
jeapostrophe
Posts: 13
Joined: Thu Jul 23, 2009 7:54 am
Contact:

Re: Submitting patches.

Post by jeapostrophe »

I sent you a patch.
Beoran
Posts: 19
Joined: Sat Apr 12, 2008 2:02 pm
Contact:

Re: Submitting patches.

Post by Beoran »

Here's a patch for issue 35 I reported. I tested it and it solves the problem I discovered in with the chipmunk ruby bindings.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Submitting patches.

Post by slembcke »

Woo. This was *waaay* out of date. I guess people already know to look at Github.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests