Reading a Git repository, without Git

前端 未结 4 1636
有刺的猬
有刺的猬 2020-12-07 15:24

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.

相关标签:
4条回答
  • 2020-12-07 15:38

    Try also glip, a pure php implementation of git, which was extracted from eWiki.

    0 讨论(0)
  • 2020-12-07 15:44

    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
    0 讨论(0)
  • 2020-12-07 15:48

    I think that best start in such case could be Interfaces Frontends And Tools page on Git Wiki.
    You can find there link to eWiki (github) which supposedly uses native (in PHP) access to Git.

    0 讨论(0)
  • 2020-12-07 15:53

    You may also want to check out the Cgit project since they've done something similar (except they build their own git library -- also to avoid running git directly).

    There's JGit, a pure Java implementation, that may be useful to you.

    0 讨论(0)
提交回复
热议问题