Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make monolog installable through pear #37

Closed
Tyrael opened this issue Jul 10, 2011 · 15 comments
Closed

make monolog installable through pear #37

Tyrael opened this issue Jul 10, 2011 · 15 comments

Comments

@Tyrael
Copy link

Tyrael commented Jul 10, 2011

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.

@till
Copy link

till commented 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.

@stof
Copy link
Contributor

stof commented 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.

@till
Copy link

till commented 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? ;-)

@stof
Copy link
Contributor

stof commented 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 ?

@Seldaek
Copy link
Owner

Seldaek commented Jul 11, 2011

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

@Seldaek Seldaek closed this as completed Jul 11, 2011
@Tyrael
Copy link
Author

Tyrael commented Jul 11, 2011

nice, thanks.

@stof
Copy link
Contributor

stof commented 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

@Seldaek
Copy link
Owner

Seldaek commented 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.

@Seldaek Seldaek reopened this Jul 11, 2011
@till
Copy link

till commented 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.

@stof
Copy link
Contributor

stof commented 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 ?

@Tyrael
Copy link
Author

Tyrael commented Jul 11, 2011

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

@notlaforge
Copy link

@till yes? :P

@till
Copy link

till commented 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?

@till
Copy link

till commented Jul 11, 2011

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

@Seldaek
Copy link
Owner

Seldaek commented Jul 13, 2011

Pearhub is now fixed

@Seldaek Seldaek closed this as completed Jul 13, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants