FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17349&edit=1

ID: 17349
Updated by: mfonda@php.net
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.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 24, '11 at 4:53p
activeJun 24, '11 at 4:53p
posts1
users1
websitepear.php.net

1 user in discussion

Mfonda: 1 post

People

Translate

site design / logo © 2022 Grokbase