darcs

Issue 1923 bad source warning mechanism warns about sources outside your control

Title bad source warning mechanism warns about sources outside your control
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List abuiles, dagit, dmitry.kurochkin, fx, kowey
Assigned To abuiles
Topics Regression, UI

Created on 2010-08-15.18:39:19 by kowey, last changed 2010-10-19.22:19:25 by kowey.

Messages
msg12193 (view) Author: kowey Date: 2010-08-15.18:39:18
This is a user interface regression introduced by the fix for issue1599.

We have http://darcs.net/releases/branch-2.5 with the sources:
repo:/home/darcs-unstable/darcs
thisrepo:/home/darcs-unstable/releases/branch-2.5
cache:/home/darcs-unstable/.darcs/cache

On my local branch-2.5, I have the sources:
repo:http://darcs.net
thisrepo:/Users/kowey/darcs-project/branch-2.5

Which seems to be clean, yet doing a darcs pull causes Darcs to complain
that

I could not reach the following repositories:
/home/darcs-unstable/.darcs/cache
/home/darcs-unstable/releases/branch-2.5
/home/darcs-unstable/darcs
If you're not using them, you should probably delete
the corresponding entries from _darcs/prefs/sources.

Note that this may be related to both issue1559 and issue1159 (yes those
bug numbers sure look the same, don't they?).  

We need somebody to investigate the cause for this behaviour and
determine if it's something we fix.  Do we have to tag sources by their
origin or something?

BTS training: I'm making Adolfo nosy to this because he may be
interested, due to his issue1599 work when he was a GSoC student.  Hope
you don't mind, Adolfo!  Feel free to un-nosy yourself or tell me to
stop doing that...
msg12216 (view) Author: abuiles Date: 2010-08-17.12:55:00
Hi,

>
> BTS training: I'm making Adolfo nosy to this because he may be
> interested, due to his issue1599 work when he was a GSoC student.  Hope
> you don't mind, Adolfo!  Feel free to un-nosy yourself or tell me to
> stop doing that...
>

No worries, please make me noisy in the issues you think I might be
interested in.
I can have a look during at this one during this week - weekend.

--
Adolfo
msg12326 (view) Author: dagit Date: 2010-08-27.01:48:05
I have a repo that I use as my staging repository before pushing things to darcs.net.  
My _darcs/prefs/sources in that repo thus references things not on this machine 
(things only accessible over ssh).

I keep seeing warnings about those paths.  The warnings seem silly.

As a user it seems like the only sane options is placing --ignore-unrelated-repos in 
my global defaults.
msg12352 (view) Author: dagit Date: 2010-08-28.17:12:30
Oh, --ignore-unrelated-repos is not what I thought it was.  I misread it 
as "ignore unrechable repos".

Is there an option to disable the unreachable repo warning?
msg12354 (view) Author: kowey Date: 2010-08-28.17:35:04
The last two messages from Jason are from issue1935
msg12772 (view) Author: kowey Date: 2010-10-19.22:19:25
Adolfo's patch fixes this issue.

Fri Sep 17 22:06:53 BST 2010  Adolfo Builes <builes.adolfo@googlemail.com>
  * Solve issue1923: cache mechanism warns about sources outside your
control

Adolfo, for the future, you may want to refer to 
http://wiki.darcs.net/Development/GettingStarted for the patch naming
guide (in this case, it should have been "Resolve issue1923: ..."),
which helps our automated bts-darcs integration.

Thanks!
History
Date User Action Args
2010-08-15 18:39:19koweycreate
2010-08-17 12:55:01abuilessetmessages: + msg12216
2010-08-17 13:05:36abuilessetassignedto: abuiles
2010-08-27 10:39:14koweysetnosy: + dagit
2010-08-28 17:34:24adminsetmessages: + msg12326, msg12352
2010-08-28 17:35:05koweysetmessages: + msg12354
2010-09-06 12:31:59koweylinkissue1947 superseder
2010-09-06 12:32:12koweysetstatus: needs-reproduction -> has-patch
nosy: + fx
2010-10-19 22:19:25koweysetstatus: has-patch -> resolved
messages: + msg12772