Quillion / GameEngine

A game engine, enough said
Creative Commons Zero v1.0 Universal
3 stars 1 forks source link

The project cleanup #1

Closed Quillion closed 10 years ago

Quillion commented 11 years ago

We need to clean up the files that get checked to git. Most likely some of the files are completely unnecessary (like workspace.xml and others). Also packages have to be reshuffled in a nicer way. In general project needs a cleanup. And I lack the insight to do it.

Jovani commented 11 years ago

I can take a look at this, but If I'm going to do so, going forward, I want ALL additions to code done through branches and pull requests. Including you, Edgar. I know it's your codebase but if we're gonna get in this together, there needs to be good management and code peer review.

My proposed steps are: Make a branch in the form of either bug- feature-

For example: feature-jumping bug-prevent_negative_gravity

Furthermore, when you push code, wait for someone to review it, and comment on it; and then merge it into master.

Quillion commented 11 years ago

I agree. Now the problem is that I am a noob when it comes to branches or anything of the kind. I have never done any branching. At both Evertz and my current job I am the sole master, so I need to learn this branch thing, and I would be very open to any tutorials or anything. Also negative gravity and jumping is a feature and works pretty well :-) I tested it. So basically then how this works is I branch the code, then I work on whatever it is, then I wait for review and then merge into master? Sounds pretty cool :-)

Jovani commented 11 years ago

Ok, I'll make this a guide for anyone else that's going to participate as well. Note, I'm assuming that you're on some form of Unix based machine. If you're not, you should be.

Pre-req: You are in the directory under master branch. (Or any other branch for that matter).

All < and > are there just for style purposes. Do not include those as part of your command.
haahmad commented 11 years ago

http://git-scm.com/book Chapters 3-5

http://en.m.wikipedia.org/wiki/Integrator_workflow Master is blessed, don't merge breaking changes into it. Some sort of automated regression tests would help here.