1 |
On 06/07/2016 01:09 PM, James wrote: |
2 |
> |
3 |
> |
4 |
>> https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-admin/ |
5 |
>> rackview/?hideattic=0 |
6 |
> |
7 |
>> rackview-0.09-r3.ebuild seems to have been removed from the attic? |
8 |
> |
9 |
> |
10 |
> I have to revert to using 'wget' to snag the files and a copy |
11 |
> of the latest ebuild. I thought the command string given the the page:: |
12 |
> |
13 |
> vs -d :pserver:anonymous@××××××××××××××.org:/var/cvsroot co |
14 |
> gentoo-x86/app-admin/rackview/files |
15 |
> |
16 |
> was support to download the files and the ebuild, manifest etc etc.? |
17 |
> |
18 |
> Is there a single (anoncvs) command syntax to use, in general to pull |
19 |
> complete (theoretically compilable) sources from the archive? It's been |
20 |
> a while so my cvs could easily be incorrect.... |
21 |
> |
22 |
> wget is a champ..... |
23 |
> |
24 |
> curiously, |
25 |
> James |
26 |
> |
27 |
|
28 |
Because the entire directory in question is (now) empty, the |
29 |
requirements are a bit different. |
30 |
|
31 |
First, you must do the `cvs co` *without* the "-P" flag (check your |
32 |
~/.cvsrc). You can bypass a ~/.cvsrc by passing "-f" to cvs, like so: |
33 |
|
34 |
CVSROOT=":pserver:anonymous@××××××××××××××.org:/var/cvsroot" |
35 |
cvs -f -d "$CVSROOT" co gentoo-x86/app-admin/rackview |
36 |
|
37 |
You can then cd into the directory in question |
38 |
(gentoo-x86/app-admin/rackview), and for each file that you want, |
39 |
determine the revision of the file just before it was removed (subtract |
40 |
0.1 from the revision shown on the web view, or read the output of `cvs |
41 |
log`). |
42 |
|
43 |
You can then do `cvs up -r1.X file`, replacing "1.X" with the CVS |
44 |
revision and "file" with the filename in question. Note that CVS |
45 |
tracked every file separately, so the revisions will differ between files. |
46 |
|
47 |
-- |
48 |
Jonathan Callen |