Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 12870] New: sorcery could detect that cvs url was changed

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 12870] New: sorcery could detect that cvs url was changed
  • Date: 17 Jul 2006 10:40:53 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=12870

Summary: sorcery could detect that cvs url was changed
Product: Sorcery
Version: Untargetted future release
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Summon
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: hgr AT vabo.cz


If cvs url is changed in DETAILS file (for example Bug 11880) and there is old
source tarball in /var/spool/sorcery, sorcery is not able to download from new
cvs server.

Moreover sorcery prints false message.
Even if DETAILS is fixed (evidence.cvs.sourceforge.net):

root@matrix:~# gaze DETAILS evidence
...
SOURCE_URL[0]=cvs://:pserver:anonymous AT evidence.cvs.sourceforge.net:/cvsroot/evidence:$SPELL
...

Summon still trying old cvs url (cvs.sourceforge.net) and prints "No route to
host", it is not true:

root@matrix:~# summon -d evidence
Downloading source file evidence-cvs.tar.bz2 for spell evidence
Unpacking source file evidence-cvs.tar.bz2 for spell evidence.
Running cvs update...
cvs [update aborted]: connect to cvs.sourceforge.net(66.35.250.207):2401
failed:
No route to host
Update of evidence-cvs.tar.bz2 failed, falling back to old version

root@matrix:~# ping cvs.sourceforge.net
PING cvs.sourceforge.net (66.35.250.207): 56 octets data
64 octets from 66.35.250.207: icmp_seq=0 ttl=63 time=180.2 ms
64 octets from 66.35.250.207: icmp_seq=1 ttl=63 time=177.5 ms


If I remove old source tarbal summon is OK (use new cvs url).

Seems CVS sources have file CVS/Root.
Old sources:
:pserver:anonymous AT cvs.sourceforge.net:/cvsroot/evidence
New sources:
:pserver:anonymous AT evidence.cvs.sourceforge.net:/cvsroot/evidence

So, if source tarball exist in /var/spool/sorcery, sorcery could check if cvs
url in DETAILS and cvs url in CVS/Root are the same and if they are different,
sorcery could write message about that and suggest to remove (or remove if
user
agree) old sources.

Just idea. :-)

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 12870] New: sorcery could detect that cvs url was changed, bugzilla-daemon, 07/17/2006

Archive powered by MHonArc 2.6.24.

Top of Page