Code Monkey home page Code Monkey logo

Comments (10)

chobie avatar chobie commented on June 21, 2024

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

  • my work is very hard in these few years.
  • I have many php extensions to maintain (sundown, uv, libgit2, protocolbuffers ...etc).
    specifically, libgit2 sometimes changes their api (I know this is needed for library). thinking OOP interface is one of tough work. so i'll add simple wrapping functions if i have time.
    I'll do php-git work when I finish some OSS work. (currently I work for protocolbuffers).
  • Honestly, wrapping libgit2 is very tough for oneself. i need someone to help development.

anyway, patches and pull request are welcome :octocat:

from php-git.

kingkorf avatar kingkorf commented on June 21, 2024

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.

  • Can you point me to a good tutorial on the subject of C and PHP extensions?
  • Do you have suggestions where to start coding in this extension?

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

from php-git.

chobie avatar chobie commented on June 21, 2024

@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.

from php-git.

opensaurusrex avatar opensaurusrex commented on June 21, 2024

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

from php-git.

kingkorf avatar kingkorf commented on June 21, 2024

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.

from php-git.

chobie avatar chobie commented on June 21, 2024

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

btw, have you seen #53 (comment) ?
I'm preparing non OOP branch. this change impact is very big. please watch current development status.

from php-git.

chobie avatar chobie commented on June 21, 2024

@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.

from php-git.

opensaurusrex avatar opensaurusrex commented on June 21, 2024

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?

from php-git.

chobie avatar chobie commented on June 21, 2024

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:

from php-git.

chobie avatar chobie commented on June 21, 2024

@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.

from php-git.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.