Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,24 @@ If you're not using composer to manage non-magento 3rd party packages, then you
3. Configure the module (see below).

## Installtion With Composer
For those of you that want to keep 3rd party packages out of your repo, here are your instructions:
1. Add `"sentry/sentry": "^1.6.0"` to your `composer.json` in the `require` section.
2. Run `composer update` to update libraries.
3. Pull down the code somewhere (`git clone git@github.com:magento-hackathon/LoggerSentry.git`)
4. Copy over all files associatively.
5. Delete `lib/` from the LoggerSentry folder (or wherever you just pulled down the code)
6. Configure the module (see below).
Add to your repositories:

```
"repositories": [
{
"type": "composer",
"url": "http://packages.firegento.com"
}
],
```

Install with composer:

`composer require magento-hackathon/loggersentry`

Additional requirements:

[firegento/logger](https://github.com/firegento/firegento-logger)

## Configuration

Expand Down
2 changes: 0 additions & 2 deletions app/code/community/Hackathon/LoggerSentry/Model/Sentry.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

set_include_path(get_include_path() . PATH_SEPARATOR . realpath(Mage::getBaseDir() .DS.'lib'.DS.'sentry'.DS.'raven'.DS.'lib'));

class Hackathon_LoggerSentry_Model_Sentry extends Zend_Log_Writer_Abstract
{
/**
Expand Down
63 changes: 63 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"name": "magento-hackathon/loggersentry",
"license": [
"GPL-3.0"
],
"type": "magento-module",
"description": "Extension for Firegento Logger module to log to Sentry Service, too.",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/magento-hackathon/magento-composer-installer"
},
{
"type": "composer",
"url": "https://packages.firegento.com"
}
],
"require": {
"magento-hackathon/magento-composer-installer": "*",
"firegento/logger": "1.*",
"sentry/sentry": "*"
},
"extra": {
"magento-root-dir": "./",
"magento-deploystrategy": "link",
"map": [
[
"./app/code/community/Hackathon/LoggerSentry",
"./app/code/community/Hackathon/LoggerSentry"
],
[
"./app/etc/modules/Hackathon_LoggerSentry.xml",
"./app/etc/modules/Hackathon_LoggerSentry.xml"
]
]
},
"authors": [
{
"name": "Schrank",
"email": "",
"homepage": "https://github.com/Schrank",
"role": "Developer"
},
{
"name": "Jay El-Kaake",
"email": "",
"homepage": "https://github.com/jayelkaake",
"role": "Developer"
},
{
"name": "Sylvain Rayé",
"email": "",
"homepage": "https://github.com/diglin",
"role": "Developer"
},
{
"name": "Kevin Krieger",
"email": "kk@kkrieger.de",
"homepage": "https://kkrieger.de",
"role": "Developer"
}
]
}
6 changes: 0 additions & 6 deletions lib/sentry/raven/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions lib/sentry/raven/.gitmodules

This file was deleted.

12 changes: 0 additions & 12 deletions lib/sentry/raven/.php_cs

This file was deleted.

30 changes: 0 additions & 30 deletions lib/sentry/raven/.travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions lib/sentry/raven/AUTHORS

This file was deleted.

52 changes: 0 additions & 52 deletions lib/sentry/raven/CHANGES

This file was deleted.

12 changes: 0 additions & 12 deletions lib/sentry/raven/LICENSE

This file was deleted.

17 changes: 0 additions & 17 deletions lib/sentry/raven/Makefile

This file was deleted.

Loading