Comments (15)
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.
from monolog.
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.
from monolog.
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? ;-)
from monolog.
@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 ?
from monolog.
The package will be hosted at http://pearhub.org/projects/Monolog - once they crawl the repo.
from monolog.
nice, thanks.
from monolog.
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
from monolog.
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.
from monolog.
[ 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.
from monolog.
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 ?
from monolog.
you don't have to set up a channel to build and install a package.
from monolog.
@till yes? :P
from monolog.
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?
from monolog.
@jordi: ;-), I meant @Seldaek.
from monolog.
Pearhub is now fixed
from monolog.
Related Issues (20)
- Add support for Elasticsearch with Bulk API and data stream HOT 1
- Could a new release be considered to remove the 0.7MB logo from the package ? HOT 1
- Uncaught Error: Class "Monolog\Logger" not found HOT 7
- User definable duplication for DeduplicationHandler
- Encounter problem in format function HOT 3
- DatetimeImmutable HOT 1
- [Discussion] Reset FingersCrossedHandler on stateful runtimes HOT 8
- Extending Processors - private properties HOT 1
- Incorrect logs are written in Monolog files intermittently HOT 1
- Truncated JsonFormatter logs at 8191 characters HOT 5
- Log Message is truncated HOT 1
- Log level not compliant with rfc5424 HOT 2
- DeduplicationHandler in a read only container HOT 4
- IntrospectionProcessorTests: $expect and $actual are the same object by reference.
- Php 8.3 compatibility issue HOT 5
- Adding postParams in ERROR notice for HTTP 405 code HOT 1
- `HandlerInterface::isHandling` could have better naming
- NewRelicHandler exception
- Allow to specify time for log records
- `$mustRotate` in `RotatingFileHandler` not resetting properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monolog.