读Git仓库,不用Git [英] Reading a Git repository, without Git
问题描述
我正在研究构建超小型(最好是PHP)web应用程序的想法,该应用程序将(作为其他用途)用作git存储库的最小前端。
阅读git存储库(.git文件夹)的任何库/文章不必执行git过程我在寻找用于管理git存储库的API。我只对基本功能感兴趣,比如阅读最后提交(提交者的名称,提交记录,日期),显示和遍历分支...
谢谢,
ANaimi
这个(git API文档)有什么帮助吗?
有关扩展php的资源列表(即提供围绕其他库代码的包装):
另外,这些也是相关的:
I'm researching the idea of building a super-small (preferably PHP) web app, which will serve (among other things) as a minimal front-end to a git repository.
Any library/article for reading a git repository (".git" folder) without having to execute the "git" process? I'm looking for an API to manage a git repository. I'm only interested in basic functions, such as reading last commits (name of commiter, commit note, date), displaying and traversing branches...
Thanks, ANaimi
Would this (git API documents) be of any help?
Here's a list of resources about extending php (i.e. to to provide wrappers around other library code):
- extending php - an overview
- writing php extension modules in C
- PHP extension writing
- writing extensions
- Practical PHP Programming:Writing extensions
- Extending PHP: examples
- Writing a PHP Extension
- Extension Writing Part I: Introduction to PHP and Zend
- Zend API: Hacking the Core of PHP
- PHP at the Core: A Hacker's Guide to the Zend Engine
- Creating a PHP5 Extension with MS VC++ 2005
- Writing a PHP Extension (C++)
Also, these would seem relevant, too:
- git-php
- git library?
- Pure-Python Git Library
- Git library?
- libgit2 - a true git library & libgit2 source code at GitHub
- php-git, a libgit2 binding
- ActionScript3 git library
这篇关于读Git仓库,不用Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!