[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761863: marked as done (debsources: use relative paths in cache/sources.txt)



Your message dated Sat, 4 Oct 2014 19:30:59 +0200
with message-id <20141004173059.GA18971@upsilon.cc>
and subject line Re: Bug#: debsources: use relative paths in cache/sources.txt
has caused the Debian Bug report #761863,
regarding debsources: use relative paths in cache/sources.txt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
761863: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761863
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qa.debian.org
Severity: minor
User: qa.debian.org@packages.debian.org
Usertags: debsources

A typical cache/sources.txt line currently looks like this:

  susv3	  6.1		    contrib /srv/debsources/testdata/mirror/pool/contrib/s/susv3/susv3_6.1.dsc /srv/debsources/sources/contrib/s/susv3/6.1 jessie,squeeze,wheezy,sid

the use of absolute paths is undesirable and has no good reason to exist.
We should use relative paths:

- 4th field should be relative to conf['mirror_dir']
- 5th field should be relative to conf['sources_dir']

(see test_updater.py for reference)

bin/foreach should then be adapted to work properly with relative paths
sources.txt.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
On Tue, Sep 16, 2014 at 02:22:24PM +0200, Stefano Zacchiroli wrote:
> A typical cache/sources.txt line currently looks like this:
> 
>   susv3	  6.1		    contrib /srv/debsources/testdata/mirror/pool/contrib/s/susv3/susv3_6.1.dsc /srv/debsources/sources/contrib/s/susv3/6.1 jessie,squeeze,wheezy,sid
> 
> the use of absolute paths is undesirable and has no good reason to exist.
> We should use relative paths:

Thanks to Akshita Jha, this bug has now been fixed in Git.

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: