Bug 91086

Summary: Don't fetch ${INDEXFILE}.bz2 if not neccessary + respect FETCH_ENV
Product: Ports & Packages Reporter: Alexander Leidinger <netchild>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Alexander Leidinger freebsd_committer freebsd_triage 2005-12-30 11:40:02 UTC
The current implementation of fetchindex removes the bz2 file when it generates the INDEXFILE. This defeats the purpose of -m flag (mirror mode) for fetch.

The included implementation separates the fetch from the unpacking. The unpacking is done in a way which doesn't remove the bz2 file. This way multiple fetchindex runs without any change to the master INDEXFILE on the website doesn't result in downloads. This should reduce the traffic and the time needed for the user.

Additionally this also respects FETCH_ENV for the FETCHINDEX command.
Comment 1 Alexander Leidinger freebsd_committer freebsd_triage 2005-12-30 12:46:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Over to maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2006-01-12 04:17:07 UTC
State Changed
From-To: open->closed



http://www.freebsd.org/cgi/query-pr.cgi?pr=91086 

Adding manually to audit trail:

Please see the combined patch in ports/89809 which attempts to fix
multiple problems in this area.