1 |
on 07/11/2013 10:50 AM Martin Vaeth wrote the following: |
2 |
> Thanasis <thanasis@××××××××××.org> wrote: |
3 |
>> on 07/10/2013 09:38 AM Martin Vaeth wrote the following: |
4 |
>>> |
5 |
>>> This has nothing to do with the necessity to call "eix-remote add" |
6 |
>>> after eix-sync |
7 |
> |
8 |
> With eix-0.29.0 which just entered the tree, eix-sync will |
9 |
> by default do this for you, so you usually do not need to |
10 |
> care about. |
11 |
|
12 |
I have eix-0.29.0 |
13 |
|
14 |
> |
15 |
>> My goal is to be able to query both local and remote data with one |
16 |
>> command. |
17 |
> |
18 |
> Either you use eix -R ... (or eix -Z ...) or, alternatively, |
19 |
> you set REMOTE_DEFAULT=1 (or -2) to avoid typing -R/-Z. |
20 |
> (You have to type -R/-Z then if you want *only* a local query). |
21 |
> |
22 |
>> what would the sequence of commands be for updating |
23 |
> |
24 |
> With >=eix-0.29.0, if you use eix-sync, this will completely |
25 |
> care about updating the local data. |
26 |
> |
27 |
> If you call eix-update manually (e.g. after changing some |
28 |
> local overlay manually) you should call afterwards |
29 |
> eix-remote add1 (and/or eix-remote add2, depending on whether |
30 |
> you use -R or -Z, i.e. depending which remote data you use). |
31 |
> |
32 |
> For updating the remote data you just use as usual |
33 |
> eix-remote update1 (and/or eix-remote update2), |
34 |
> |
35 |
> If you want to do the latter automatically with every eix-sync, |
36 |
> put e.g. the following lines into your /etc/eix-sync.conf: |
37 |
> |
38 |
> @StatusInfo Downloading remote1 |
39 |
> @eix-remote fetch1 |
40 |
> |
41 |
> (Of course, you can replace 1 by 2 and/or add corresponding |
42 |
> lines for 2 to fetch the alternative remote data). |
43 |
> |
44 |
> (In /etc/eix-sync.conf it suffices to call "eix-remote fetch" |
45 |
> because the "eix-remote add" is called automatically |
46 |
> after the call of eix-update). |
47 |
> |
48 |
|
49 |
So in /etc/eix-sync.conf I've set the following 2 lines |
50 |
@StatusInfo Downloading remote1 |
51 |
@eix-remote fetch1 |
52 |
|
53 |
and the following 1 line in /etc/eixrc/00-eixrc |
54 |
REMOTE_DEFAULT=1 |
55 |
|
56 |
(Thanks for your patience Martin) |