Re: Access to Git Repos within PHP
| From: | Marcos Almeida Azevedo | Date: | Mon, 30 Mar 2015 07:45:18 +0000 |
| Subject: | Re: Access to Git Repos within PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324725@lists.php.net to get a copy of this message | ||
On Tue, Mar 24, 2015 at 12:48 AM, Paul M Foster <paulf@quillandmouse.com>
wrote:
> I haven't noticed this question asked before, so I'll ask it.
>
> Is there a "fully-baked" solution for using git to manage, say, blog
> posts and manage the whole thing via PHP?
>
> Seems to me like you could use git to fetch and store datestamped and
> incremental blog posts. And thus, one could build a blog infrastruction
> around this. Problem is, what if the hosting company doesn't provide the
> git program on its servers, or it doesn't allow running external git
> commands via a shell?
>
Since it is git, most webhosting don't support it. I prefer using a VPS to
host it. It is more flexible, but you handle your own security, etc
>
> The solution would be some sort of "module" written in PHP which would
> allow access to git objects, both the fetching, creation and updating of
> them. The question then becomes, is there any PHP-based solution to
> doing this, which is "fully-baked", as in, not half-built and then
> abandoned?
>
> Paul
>
> --
> Paul M. Foster
> http://noferblatz.com
> http://quillandmouse.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Marcos | I love PHP, Linux, and Java
<http://javadevnotes.com/java-integer-to-string-with-commas>