git-php | Robust PHP web interface to git repositories
kandi X-RAY | git-php Summary
kandi X-RAY | git-php Summary
Robust PHP web interface to git repositories.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse the code
- Parse a non - string part
- Clean up parsed code
- Get the stylesheet
- Build the cache
- Optimize regexp list
- Indents the result .
- Load a language file
- Get language name from extension .
- Get header html
git-php Key Features
git-php Examples and Code Snippets
Community Discussions
Trending Discussions on git-php
QUESTION
I have a LOT ( almost 300 ) old SVN repositories to migrate to git using git2svn.
After considering GOLANG and PYTHON, I finally decided that the easiest way is to use PHP . Might be a bad questionable decision, but it's seemed easy.
So, after 15 minutes , I did have a script that is more or less running ok in tests . Ugly script , but it is a one-timer.
The problem is that the process takes a lot of time , even for simple almost empty repos is can take 30sec. and even a minute. On big ones - even 10min - so before taking it into production, I would like to have some feedback mechanism - so I can actually see what is going on .
..as of now ,the script does output the command feedback like so :
...ANSWER
Answered 2017-Jan-02 at 03:36I suggest instead running a script or program in the background that runs the command and then updates a record in a database, you could then use AJAX or whatever to poll the server for record changes. This allows a nice environment for the user.
The column in the database table could be named something like "finished" and once that boolean is true then you know its complete and the output could be stored in the database.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install git-php
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page