Re: Pyrus: xsd is broken
| From: | David Coallier | Date: | Fri, 12 Mar 2010 17:24:28 +0000 |
| Subject: | Re: Pyrus: xsd is broken | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53330@lists.php.net to get a copy of this message | ||
On 12 March 2010 16:56, till <klimpong@gmail.com> wrote:
> On Fri, Mar 12, 2010 at 5:50 PM, till <klimpong@gmail.com> wrote:
>> On Thu, Mar 11, 2010 at 5:35 PM, Brett Bieber <brett.bieber@gmail.com> wrote:
>>> On Thu, Mar 11, 2010 at 9:53 AM, Brett Bieber <brett.bieber@gmail.com> wrote:
>>>> On Thu, Mar 11, 2010 at 1:36 AM, Christian Weiske <cweiske@cweiske.de> wrote:
>>>>>
>>>>>
>>>>>> The package-2.0.xsd is broken: No directories without files are
>>>>>> allowed.
>>>>>> Short: Currently it is not allowed to have <dir> elements without a
>>>>>> single <file> in them.
>>>>> Patch to fix this:
>>>> <snip>
>>>>
>>>> Not having the xsd file versioned, and in multiple places is causing a
>>>> bit of confusion. The .xsd bundled with pyrus already allows this.
>>>>
>>>>
>>>> http://svn.php.net/viewvc/pear2/Pyrus/trunk/data/package-2.0.xsd?view=markup
>>>>
>>>> We may need to get the .xsd files in pearweb synchronized with what is
>>>> bundled with Pyrus.
>>>
>>> OK. I've updated the channel and package xsd files included in pearweb
>>> to what is in Pyrus, which allows for much more flexibility. If those
>>> that were concerned about the strictness of the xsd could try with the
>>> latest available and report any major issues that would be great.
>>>
>>> Ideally we would have one location for these files (pearweb), and
>>> Pyrus would reference those (svn:externals ?). This may take some work
>>> within Pyrus, but definitely something doable.
>>>
>>
>> Could updating have lead to:
>>
>> Updating channel "pear.php.net"
>> Cannot retrieve channel.xml for channel "pear.php.net" (File
>> http://pear.php.net:80/channel.xml not valid (received:
>> HTTP/1.1 404
>> Not Found))
>>
>> ? =)
>>
>> I can't really verify it, is this an old pear? My local installs work.
>>
>> Till
>>
>
> Nevermind what I thought worked:
> sudo pear channel-update pear.php.net
> Updating channel "pear.php.net"
> Channel "pear.php.net" is not responding over
> http://, failed with
> message: File http://pear.php.net:80/channel.xml not valid
> (received:
> HTTP/1.1 404 Not Found
> )
> Trying channel "pear.php.net" over https:// instead
> Cannot retrieve channel.xml for channel "pear.php.net" (File
> https://pear.php.net:443/channel.xml not valid (received:
> HTTP/1.1 404
> Not Found))
>
Ok the channel.xml from SVN has been put back on pear.php.net. I'll
track down what happened and see if a solution exists or a reason
exists for the disappearance of the channel file.
Thanks and sorry,
--
Slan,
David