Skip to content


Subversion checkout URL

You can clone with
Download ZIP


PEAR Repository Information Misleading #50

jnovack opened this Issue · 4 comments

2 participants


This isn't specifically php-markdown related, but it does affect it.

According to your homepage, your pear statement is pear channel-discover However, according to the baseurl is

This causes an error when attempting to channel-discover twice or attempting to see if exists as a channel. Notice that was added.

# pear channel-discover
Adding Channel "" succeeded
Discovery of channel "" succeeded
# pear channel-discover
Discovery of channel "" failed (channel-add: Channel 
"" exists, use channel-update to update entry)

Hum, looks like this was only half-moved when I moved my site to the .ca domain. Currently, the pear channel is available on both domains, and I wonder if there is a clean way to migrate it from one to the other without breaking things for anyone.


It is available from both, as I can pear channel-discover to both domains, however, because the channel.xml file says, it thinks the "real" domain is

Why not make a play to submit to Once you lib it up, they probably would be happy to accept it from the original maintainer. They have repos right here on github, all you need to do is push there.


Right now, maintaining three packages by merging changes between each other, two of those package being compatible all the way back to PHP 4, while trying to adhere to PEAR's coding standard is not an exercise I want to try. Beside, if wants everything in a PEAR2 namespace, that'd make it a fourth package to maintain.


I realize I shouldn't have tried to change the domain to .ca in the first place: it causes problems because the domain name is too well rooted in every file, including package archives, and because there is no transition path for those who were using the old domain.

I could fix it by creating two channels, but that'd be too complicated (I did try). So I reverted the channel domain back to, because it seems like the channel never really worked. Should work fine now, but you might have to make pear forget and rediscover the channel.

@michelf michelf closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.