PDA

View Full Version : A simple way download from the cvs server


EKS
03-08-2004, 20:59
http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx
Is the best place to get what you want.

This file downloads the content of the amxmodx cvs server. Its not realy needed
since you can download it from their webpage anyways ( witch is exacly what these batch files does )

Its proberbly gonna fail on none english OS`es. But it might work. You can download the content yourself

http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx

The batch files simply open IE to the download link of the batch files. Its a crappy solution ( compared to the cvs downloader :) )

Q)Its does not work on my computer
A) Use: http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx

Q) Cant use use the cvs.exe method on the amxx cvs serveR?
A) no, you cant do a anonymous checkout on it.

Q) Its blocks you cant do checkouts
A) It would preffere if i could, but instead of them fixing that. Id rather have a updated version of AMXX.

xeroblood
03-08-2004, 21:03
NICE!! Very Simple Batch Files!!

How thoughtfull, thx!!

MagicShot
03-08-2004, 21:05
This Sounds Quite Intresting...

I Will check it out after Testing tonight if I have time..
Thanx For the Nice Post..

Johnny got his gun
03-09-2004, 08:58
I am looking for a way to get everything from a module (or whole cvs) from a specified point in time. Say I want the cstrike sources exactly as they was last Thursday at 5:05 am. Is there any way to pull this off?
I'd hate have to go through revísions for every single source file trying to find the version closest to that time, but not newer than it. (its really impossible to do)

DopeFish
03-09-2004, 09:32
@EKS: the easiest way to download all files is to click on "Download tarball" ;)

@JGHG with the -D flag. e.g.

[ryan@bahnhof:~/test2 ] $ export CVSROOT=":pserver:user:pass@host:/path"
[ryan@bahnhof:~/test2 ] $ cvs login
[ryan@bahnhof:~/test2 ] $ cvs -z 3 checkout -D "Feb 2, 2004" module/
cvs server: Updating src
U src/changelog.txt
U src/installer.txt
U src/readme.txt
U src/upgrading.txt
cvs server: Updating src/examples
.
.
.



man cvs

-D date_spec
Use the most recent revision no later than date_spec (a single argument, date
description specifying a date in the past). A wide variety of date formats are sup*********
ported, in particular ISO ("1972-09-24 20:05") or Internet ("24 Sep 1972 20:05").
The date_spec is interpreted as being in the local timezone, unless a specific time*********
zone is specified. The specification is ``sticky'' when you use it to make a private
copy of a source file; that is, when you get a working file using -D, cvs records the
date you specified, so that further updates in the same directory will use the same
date (unless you explicitly override it; see the description of the update command).
-D is available with the checkout, diff, history, export, rdiff, rtag, and update
commands. Examples of valid date specifications include:
1 month ago
2 hours ago
400000 seconds ago
last year
last Monday
yesterday
a fortnight ago
3/31/92 10:00:07 PST
January 23, 1987 10:05pm
22:00 GMT

Johnny got his gun
03-09-2004, 09:40
thx a bunch

DopeFish
03-09-2004, 09:52
somwthing I forgot. the -D flag is normally "sticky" so the next time you try to update, it will still only get the version from that date. If that happens you can tell it to revert back to "the latest version" with "cvs update -A"
There is a pretty extensive documentation of cvs here: http://developer.apple.com/documentation/DeveloperTools/cvs/cvs_toc.html

Johnny got his gun
03-09-2004, 10:34
Btw I found a much easier way using Tortoise, you just make a dir and when checking out, theres another page where you can specify a date to retrieve from, no exact hour+minute though.

DopeFish
03-09-2004, 11:39
I really should have a look at Tortoise, I am still using wincvs when programming at my windows machine.

mICKE
03-09-2004, 12:23
This batch is great!
It's just one problem, but it is no problem with the batch: :)
The Plugins folder is empty.

EKS
03-09-2004, 21:39
There is one huge flaw with my batch file, the devs dotn keep sf.net updated :)

Their cvs is here:
http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx/plugins/

To download the content of their cvs here: http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx/plugins/plugins.tar.gz?tarball=1

mICKE
03-11-2004, 14:50
can you update this to the new server?

EKS
03-11-2004, 17:15
I updated the batch files, now they simply use ie to download from the webpage.
Its crappy but a simple way to do it.

Please remember if it fails, just open IE and download from: http://www.tcwonline.org/cgi-bin/viewcvs.cgi/amxmodx

ibm86
03-11-2004, 18:22
Could someone give me the CVSROOT ? It's frustrating to download the whole tarball each time I want the changes :?

MagicShot
03-11-2004, 23:00
Could someone give me the CVSROOT ? It's frustrating to download the whole tarball each time I want the changes :?

That would be nice lol..

Dono if they give root to the cvs though...