Comments (10)
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
from php-git.
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.
@kingkorf I recommend this book
- Extending and Embedding PHP
http://www.amazon.com/dp/067232704X
you can also read the book with safari books online.
- pro git book
http://git-scm.com/book
also you should read pro git book.
- libgit2 api reference
http://libgit2.github.com/libgit2/#HEAD
Do you have suggestions where to start coding in this extension?
for now, play with php-git. modify some codes and build. and domake 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.
Hi, I would like to help out if I can. I am very interested in this extension.
from php-git.
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.
@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.
@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.
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.
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!
from php-git.
@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)
- this project will update? HOT 2
- error on make: make: *** [reference.lo] Error 1 HOT 8
- PHP extension is not loaded HOT 6
- git_tree_lookup - The requested type does not match the type in the ODB HOT 2
- README instructions for compiling HOT 2
- Version bump to 0.3.0 ?
- Getting php-git up to date HOT 8
- Automated make test failed submission HOT 1
- [run-test.php report]
- How can I stage lines and hunks?
- HELP: Cannot run any of the PHP Git related commands! HOT 2
- Cmake File Error
- Undefined function git_branch_name() HOT 1
- Calling git_treebuilder_create causes seg fault
- git_remote_connect returns false
- working on PHP7 version of php-git HOT 2
- Unable to load dynamic library - http_errno_description is Unknown
- Bindings updated to a recent version libgit2?
- git_clone Segmentation fault
- PHP 8 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-git.