Edit report at http://pear.php.net/bugs/bug.php?id=17349&edit=1
ID: 17349
Updated by: [email protected]
Reported By: evert at rooftopsolutions dot nl
Summary: Pyrus: Improve check to see if channel must be
updated.
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: PEAR
Package Version: SVN
PHP Version: 5.3.2
-Assigned To:
+Assigned To: mfonda
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: mfonda
This has been migrated to the new Pyrus bug tracker on github: see
https://github.com/pear2/PEAR2_Pyrus/issues/41
Previous Comments:
------------------------------------------------------------------------
[2010-04-27 04:43:50] evert
Description:
------------
pear currently checks the status using the Last-Modified: header. It
would be quite nice if another mechanism could be added.
The logical thing that comes to mind is a Content-MD5 header, but it
might be a bit difficult for pear-servers such as Pirum (which is based
on static files).
So perhaps the easiest thing is to just download the channel file if the
last-modified header changed, and do an md5 locally to see if it's
indeed the same as it was.
This, because many of the pear channels i use report they need an
update-channel whenever a new version of a package is added.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17349&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.