svn2git.php | Subversion to Git migration tool | Data Migration library
kandi X-RAY | svn2git.php Summary
kandi X-RAY | svn2git.php Summary
Subversion to Git migration tool
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Clone a subversion repository .
- Executes a shell command .
- Configure the command .
- Get subversion tags .
- Get subversion branches .
- Run a shell command .
- Get the list of subversion authors
- Get the error message
- Get the field name .
svn2git.php Key Features
svn2git.php Examples and Code Snippets
Community Discussions
Trending Discussions on svn2git.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 svn2git.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