[GH-ISSUE #37] make monolog installable through pear #8

Closed
opened 2026-03-04 02:11:17 +03:00 by kerem · 15 comments
Owner

Originally created by @Tyrael on GitHub (Jul 10, 2011).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/37

as @fabpot planning to provide a pear package for Silex, it was brought up, that it would be good, if the dependencies could be also provided through pear:
https://github.com/fabpot/Silex/issues/82
I know that Monolog is/will be available through composer, but I think it would be a good idea, if the dependencies for Symfony2/Silex could be managed through one tool.
As Symfony2 and most of its dependencies available through pear, I think it would be logical to have a pear package for Monolog.

Originally created by @Tyrael on GitHub (Jul 10, 2011). Original GitHub issue: https://github.com/Seldaek/monolog/issues/37 as @fabpot planning to provide a pear package for Silex, it was brought up, that it would be good, if the dependencies could be also provided through pear: https://github.com/fabpot/Silex/issues/82 I know that Monolog is/will be available through composer, but I think it would be a good idea, if the dependencies for Symfony2/Silex could be managed through one tool. As Symfony2 and most of its dependencies available through pear, I think it would be logical to have a pear package for Monolog.
kerem closed this issue 2026-03-04 02:11:18 +03:00
Author
Owner

@till commented on GitHub (Jul 11, 2011):

I'd propose to use pyrus. Creating the necessary files is trivial with it and it supports both pear1 and pear2 style.

I can send you a pull request later today.

<!-- gh-comment-id:1545348 --> @till commented on GitHub (Jul 11, 2011): I'd propose to use pyrus. Creating the necessary files is trivial with it and it supports both pear1 and pear2 style. I can send you a pull request later today.
Author
Owner

@stof commented on GitHub (Jul 11, 2011):

I don't see what a pull request should have to do with this. The pear channel does not need to be in the github repo as the PEAR file is useless for all people getting it using git. If you look at Symfony2 for instance, there is no PEAR files in the components.

<!-- gh-comment-id:1545424 --> @stof commented on GitHub (Jul 11, 2011): I don't see what a pull request should have to do with this. The pear channel does not need to be in the github repo as the PEAR file is useless for all people getting it using git. If you look at Symfony2 for instance, there is no PEAR files in the components.
Author
Owner

@till commented on GitHub (Jul 11, 2011):

You'll need a package.xml and a couple .php files for pear/pyrus to work. I'd contribute that basically and document how it works. Is that acceptable for you? ;-)

<!-- gh-comment-id:1545873 --> @till commented on GitHub (Jul 11, 2011): You'll need a package.xml and a couple .php files for pear/pyrus to work. I'd contribute that basically and document how it works. Is that acceptable for you? ;-)
Author
Owner

@stof commented on GitHub (Jul 11, 2011):

@til What I say is that I'm really not sure that these file should be placed in the github repo as they are not needed for all people using git instead of PEAR to install Monolog. Symfony does not put these files in the github repos either.
@Seldaek what do you think about it ?

<!-- gh-comment-id:1545890 --> @stof commented on GitHub (Jul 11, 2011): @til What I say is that I'm really not sure that these file should be placed in the github repo as they are not needed for all people using git instead of PEAR to install Monolog. Symfony does not put these files in the github repos either. @Seldaek what do you think about it ?
Author
Owner

@Seldaek commented on GitHub (Jul 11, 2011):

The package will be hosted at http://pearhub.org/projects/Monolog - once they crawl the repo.

<!-- gh-comment-id:1546013 --> @Seldaek commented on GitHub (Jul 11, 2011): The package will be hosted at http://pearhub.org/projects/Monolog - once they crawl the repo.
Author
Owner

@Tyrael commented on GitHub (Jul 11, 2011):

nice, thanks.

<!-- gh-comment-id:1546037 --> @Tyrael commented on GitHub (Jul 11, 2011): nice, thanks.
Author
Owner

@stof commented on GitHub (Jul 11, 2011):

Note that according to the page, Monolog 1.0.0 is available through pearhub. @Seldaek you should maybe add a link in the readme.

Edit: the release failed for pearhub

<!-- gh-comment-id:1546082 --> @stof commented on GitHub (Jul 11, 2011): Note that according to the page, Monolog 1.0.0 is available through pearhub. @Seldaek you should maybe add a link in the readme. Edit: the release failed for pearhub
Author
Owner

@Seldaek commented on GitHub (Jul 11, 2011):

Yeah I don't know why the build failed, it's not very descriptive. I tried changing the repo url to http scheme instead of git, doesn't seem to help. I'll message the guy.

<!-- gh-comment-id:1546106 --> @Seldaek commented on GitHub (Jul 11, 2011): Yeah I don't know why the build failed, it's not very descriptive. I tried changing the repo url to http scheme instead of git, doesn't seem to help. I'll message the guy.
Author
Owner

@till commented on GitHub (Jul 11, 2011):

[ Real men run their own pear channel. ;-)) ]

@Jordi: I didn't know symfony didn't commit their XMLs. Do they just live outside the repo period, or what's the idea? Having them in the repository allows people to run code from trunk (or master) and manage it via PEAR as well.

@stof: The name is TILL. Two L.

<!-- gh-comment-id:1546381 --> @till commented on GitHub (Jul 11, 2011): [ _Real men run their own pear channel. ;-))_ ] @Jordi: I didn't know symfony didn't commit their XMLs. Do they just live outside the repo period, or what's the idea? Having them in the repository allows people to run code from _trunk_ (or _master_) and manage it via PEAR as well. @stof: The name is TILL. Two L.
Author
Owner

@stof commented on GitHub (Jul 11, 2011):

sorry for the name.

For your first point, I don't understand what you mean. Do you imply that someone willing to use the master branch for monolog would setup its own pear channel ?

<!-- gh-comment-id:1546414 --> @stof commented on GitHub (Jul 11, 2011): sorry for the name. For your first point, I don't understand what you mean. Do you imply that someone willing to use the master branch for monolog would setup its own pear channel ?
Author
Owner

@Tyrael commented on GitHub (Jul 11, 2011):

you don't have to set up a channel to build and install a package.

<!-- gh-comment-id:1546470 --> @Tyrael commented on GitHub (Jul 11, 2011): you don't have to set up a channel to build and install a package.
Author
Owner

@adeolemon commented on GitHub (Jul 11, 2011):

@till yes? :P

<!-- gh-comment-id:1546821 --> @adeolemon commented on GitHub (Jul 11, 2011): @till yes? :P
Author
Owner

@till commented on GitHub (Jul 11, 2011):

@stof:

So assuming you guys would use pyrus to manage the required XML's etc..

Whenever you guys update and push, you do pyrus make this updates the include XMLs etc.. You commit those changes and push to github.

Then, when I pull on my side I can use pyrus or pear to install the code from github:

pyrus install package.xml

Or:

pear install package_compatible.xml

Does that make sense?

<!-- gh-comment-id:1546834 --> @till commented on GitHub (Jul 11, 2011): @stof: So assuming you guys would use pyrus to manage the required XML's etc.. Whenever you guys update and push, you do `pyrus make` this updates the include XMLs etc.. You commit those changes and push to github. Then, when I pull on my side I can use `pyrus` or `pear` to install the code from github: ``` pyrus install package.xml ``` Or: ``` pear install package_compatible.xml ``` Does that make sense?
Author
Owner

@till commented on GitHub (Jul 11, 2011):

@jordi: ;-), I meant @seldaek.

<!-- gh-comment-id:1546854 --> @till commented on GitHub (Jul 11, 2011): @jordi: ;-), I meant @seldaek.
Author
Owner

@Seldaek commented on GitHub (Jul 13, 2011):

Pearhub is now fixed

<!-- gh-comment-id:1562839 --> @Seldaek commented on GitHub (Jul 13, 2011): Pearhub is now fixed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#8
No description provided.