Issue 1852 Issue1503 prefer local caches to remote ones

Title Issue1503 prefer local caches to remote ones
Priority feature Status duplicate
Milestone Resolved in
Superseder prefer local caches to remote ones
View: 1503
Nosy List abuiles, dmitry.kurochkin, kowey
Assigned To

Created on 2010-05-25.21:59:35 by builes.adolfo, last changed 2010-06-06.12:52:43 by admin.

File name Uploaded Type Edit Remove
log builes.adolfo, 2010-05-25.21:59:31 application/octet-stream
log10 builes.adolfo, 2010-05-25.21:59:31 application/octet-stream
unnamed builes.adolfo, 2010-05-25.21:59:31 text/html
msg11113 (view) Author: abuiles Date: 2010-05-25.21:59:31
After scratching my head a bit with this issue, I finally found what's going
on here, seems that what is causing all the  mess is the
_dacrs/prefs/sources file and the fact that they are tried before the
repository we are pulling (even if local),  so a work around which could
work is checking first if the repo we are pulling is local, and then adding
it to the sources file, also we have to notice that It tries from top to
bottom, so, why we don't keep the sources files sorted ?  keeping locals
first and so on. (I'm still asking if   this would break something ?  )

I used the test cases Eric put before and put the R repo in a server,
(trying to make it look to the original report).

I'm attaching two files, in the file "log", you can see how it goes to the
server looking for the missing patches/inventories :(.. then I manually
wrote down in the sources file the repo S, and you can see that the result
is different when trying to pull (file "log10") ,  it  looks like this :

abuiles@abuiles-laptop:~/linkProg/gsoc2010/testRepo$ cat
msg11114 (view) Author: kowey Date: 2010-05-25.22:07:11
This was meant to be part of issue1503.  I've added the messages and
attachments there accordingly.
Date User Action Args
2010-05-25 21:59:36builes.adolfocreate
2010-05-25 22:07:12koweysetpriority: feature
status: unknown -> duplicate
superseder: + prefer local caches to remote ones
messages: + msg11114
2010-06-06 12:52:43adminsetnosy: + abuiles, - builes.adolfo