libgit2 / php-git

PHP bindings for libgit2
http://libgit2.github.com
MIT License
565 stars 118 forks source link

Is further development stopped? #50

Closed kingkorf closed 2 years ago

kingkorf commented 11 years ago

Hi all,

For some time I'm tryin' to use this extension in a little project of mine. I like the functionality so far and really appreciate the work you guys did.

But if i'm not mistaking the project is dead for about 7 months now, and there is still pretty much work to be done to fully couple libgit2. I'll try to do some coding myself and I hope there's gonna be some activity here again!

Cheers!

chobie commented 11 years ago

Actually, I stopped development php-git about 7 months. there are some reasons:

anyway, patches and pull request are welcome :octocat:

kingkorf commented 11 years ago

Thanks for your quick response! I'll try to look at it myself although I do not have much experience with C or PHP extensions. I do though have a lot of experience in general programming, so I should get my hand around this pretty quick.

Thanks in advance, and I hope I can help out a little bit!

chobie commented 11 years ago

@kingkorf I recommend this book

you can also read the book with safari books online.

also you should read pro git book.

Do you have suggestions where to start coding in this extension? for now, play with php-git. modify some codes and build. and do make test.

Honestly, contributing php-git is not a good start as it requires many knowledges (building php, low level git...) and my code is messy.

probably, you need a couple of month to learn about php extension. keep hacking.

opensaurusrex commented 10 years ago

Hi, I would like to help out if I can. I am very interested in this extension.

kingkorf commented 10 years ago

I myself am struggling with the patch output from diffs between commits. For now I just copied the diff function from repository.c and changed some stuff, and that is working for now by the way. I would like to do this in a better fashion. I'll send a pull request this week so you guys can look at it.

I further found some small bugs in the code which I will post here too.

chobie commented 10 years ago

@kingkorf sounds good. You've continued PHP internal study.

btw, have you seen https://github.com/libgit2/php-git/pull/53#issuecomment-31862697 ? I'm preparing non OOP branch. this change impact is very big. please watch current development status.

chobie commented 10 years ago

@deth4uall probably I'll push new branch in a few days. could you play with new one when pushed? it's not OOP style but It makes easy to keep development.

opensaurusrex commented 10 years ago

Yeah I will. Just let me know when it's available. I can probably wrap a class around the functions to utilize the non-OOP characteristics in an OOP manner. Will they use at least references?

chobie commented 10 years ago

for now, I'm working functions branch (https://github.com/libgit2/php-git/tree/functions) for investigating switching feasibility.

Almost functions were generated by program (and fix by hand). it's not smart but works fine. I'll improve that codes in a few weeks. It has more than 500 PHP functions. Contributing are welcome! :octocat:

chobie commented 10 years ago

@deth4uall probably you can play in March. (you can also play latest libgit2 with functions branch. but it doesn't have documents).

I can't promise at this time as wrapping php-git is really tough work. It requires deep knowledge of git internal, libgit2 and PHP internals. for now, can you play rugged (https://github.com/libgit2/rugged) at first? it's very good reference of OOP with libgit2.