问题
How do I download a ZIP file of an entire project from Google Code when there are no prepared downloads available?
This is what I see on the checkout page:
Command-line access
Use this command to anonymously check out the latest project source code:
svn checkout http://myproject.googlecode.com/svn/trunk/ myproject-read-only
But I\'m working on Windows and I don\'t have the svn binaries ... do I need these?
I can access individual source code file or view the Subversion HTML pages, but that just allows me to access source code files one-by-one.
回答1:
If you don't want to install anything but do want to download an SVN or GIT repository, then you can use this: http://downloadsvn.codeplex.com/
I have nothing to do with this project, but I just used it now and it saved me a few minutes. Maybe it will help someone.
回答2:
If you install TortoiseSVN you can use SVN under windows. It also gives you the SVN binaries. You needn't do the checkout from the command-line though as it integrates into Windows Explorer for you.
回答3:
If you don't want to install TortoiseSVN, you can simply install 'Subversion for Windows' from here:
http://sourceforge.net/projects/win32svn/
After installing, just open up a command prompt, go the folder you want to download into, then past in the checkout command as indicated on the project's 'source' page. E.g.
svn checkout http://projectname.googlecode.com/svn/trunk/ projectname-read-only
Note the space between the URL and the last string is intentional, the last string is the folder name into which the source will be downloaded.
回答4:
Thanks Mr. Tom Chantler adding that to get the exe http://downloadsvn.codeplex.com/ to pull the SVN source
just note that suppose you're downloading the below project: you have to enter exactly the following to donwload it in the exe URL:
http://myproject.googlecode.com/svn/trunk/
developer not taking care of appending the h t t p : / / if it does not exist. Hope it saves somebody's time.
回答5:
Another simple solution without the TortoiseSVN overhead is RapidSVN. It is a lightweight open-source SVN client that is easy to install and easy to use.
The Download SVN tool did also work quite well, but it had problems with SVN repositories that don't provide a web interface. RapidSVN works fine with those.
回答6:
If you have a github account and don't want to download software, you can export to github, then download a zip from github.
来源:https://stackoverflow.com/questions/1900786/how-to-download-checkout-a-project-from-google-code-in-windows