Posts: 2,094
Threads: 54
Joined: Jan 2011
For those of you who - want to backup their files to your webspace instead of Dropbox & Co and
- want to keep older version of these files without effort, or
- need a simple version control system - e.g. for their GetSimple plugins ;-) -
- want to easily access their files and older versions by a file browser like Explorer
- don't have or want a database on their webspace
you might want to try phpEasyVCS, the only version control system (VCS) - implemented in pure PHP,
- storing data in the file system and needing no database, and
- offering access by web and WebDAV.
I've implemented this VCS in the last week and hope that some of you might find it useful.
Questions and Bugs: https://sourceforge.net/projects/phpeasyvcs/.
Posts: 1,848
Threads: 86
Joined: Aug 2009
looks useful... i will add this to my list of scripts to try out eventually. thanks!
- Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 2,094
Threads: 54
Joined: Jan 2011
phpEasyVCS version 0.9.4 is now available!
Posts: 1,848
Threads: 86
Joined: Aug 2009
is this your project mvlcek?
- Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 2,094
Threads: 54
Joined: Jan 2011
ccagle8 Wrote:is this your project mvlcek?
Yes. I wanted to have a "GetSimple" VCS - pure PHP without database (but with simple WebDAV access).
Posts: 661
Threads: 52
Joined: Feb 2011
This is awesome! Thank you, I have been looking for something like this for quite some time.
I tested it out and it works flawlessly so far.
One suggestion would be to allow for more advanced versioning for files. Maybe allowing the version to be changed to a custom value upon upload.
Posts: 2,094
Threads: 54
Joined: Jan 2011
2012-01-19, 21:17:58
(This post was last modified: 2012-01-19, 21:20:09 by nime.)
mikeh Wrote:One suggestion would be to allow for more advanced versioning for files. Maybe allowing the version to be changed to a custom value upon upload.
Why would you want to do this?
To view past versions or the whole repository, you just create a tag for the date/time - or enter the date/time directly in the URL.
It would be possible to add a global revision number, which is incremented for each change, to a file version.
But the individual file's version number is an integral part of the functionality: show the number of versions, sort them, etc.
Posts: 661
Threads: 52
Joined: Feb 2011
mvlcek Wrote:mikeh Wrote:One suggestion would be to allow for more advanced versioning for files. Maybe allowing the version to be changed to a custom value upon upload.
Why would you want to do this?
To view past versions or the whole repository, you just create a tag for the date/time - or enter the date/time directly in the URL.
It would be possible to add a global revision number, which is incremented for each change, to a file version.
But the individual file's version number is an integral part of the functionality: show the number of versions, sort them, etc.
You are correct, it is not needed.
Posts: 661
Threads: 52
Joined: Feb 2011
It would be great if it allowed you to view the files in the browser.
Or even better view the files and compare to past versions
Posts: 2,094
Threads: 54
Joined: Jan 2011
mikeh Wrote:It would be great if it allowed you to view the files in the browser.
Or even better view the files and compare to past versions
Which version are you using? This is already included.
And let's move the feature discussion and bug reports to Sourceforge.
Posts: 2,094
Threads: 54
Joined: Jan 2011
I've released version 1.0 of phpEasyVCS: - now includes a user management and read-only access to the VCS
- upload and download multiple files/directories at once (with Java applet or as zip with pure HTML)
- delete, copy, move multiple files/directories with the web interface
Posts: 59
Threads: 0
Joined: Mar 2012
Thank you, mr. Vlcek, I wanted to test it
Posts: 6,266
Threads: 181
Joined: Sep 2011
Posts: 161
Threads: 6
Joined: Jan 2010
Very nice.
Am I correct in thinking you mount this with WebDAV and work out of there? The only problem I find with this process is the delay, sometimes several seconds, upon saving files. Is there a better way to work locally and lazily sync using phpEasyVCS, similar to how it works with Dropbox, etc.?
Posts: 2,094
Threads: 54
Joined: Jan 2011
sal Wrote:Very nice.
Am I correct in thinking you mount this with WebDAV and work out of there? The only problem I find with this process is the delay, sometimes several seconds, upon saving files. Is there a better way to work locally and lazily sync using phpEasyVCS, similar to how it works with Dropbox, etc.?
I'm using it like a version control system or as backup for small projects: copy everything from remote to local, work with it, copy it back - if the file was changed, phpEasyVCS will create a new version on the server, otherwise it doesn't change the server file.
You can use any synchronization tool supporting WebDAV to sync local and remote files. Or use a tool to mount the WebDAV as drive and use any synchronization tool.
I might create an Eclipse plugin (like the CVS or SVN plugins) to synchronize projects - have to check though how difficult this is.
Posts: 161
Threads: 6
Joined: Jan 2010
I found DSynchronize (midway down the page), a freeware sync utility for Windows which has a real-time mode that seems to do the job. I now realise however you don't really need to sync on every save so the timed sync option that DSynchronize has may be more useful.
Posts: 2,094
Threads: 54
Joined: Jan 2011
phpEasyVCS version 2.0:- features a synchronization view, where you see the differences between the remote VCS and your local working copy - you can view and merge files and specify what to do with each file.
- Additionally it now includes a REST interface you can use from your own applications.
- Multiple users, multiple repositories, and more...
|