pantheon-systems / terminus-newrelic-data-plugin

Terminus Plugin for New Relic
MIT License
0 stars 8 forks source link

Cannot install via composer #2

Open uberhacker opened 6 years ago

uberhacker commented 6 years ago

Hey @fusionx1: This looks like a really awesome plugin, however, I cannot install per the instructions. This is likely because you need to tag a release and publish your plugin on packagist.org. In the meantime, you could add instructions to git clone the project.

bhasselbeck commented 5 years ago

@uberhacker you should be able to define it as a package in composer and then be able to install it similar to below:

    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "pantheon-systems/terminus-newrelic-data-plugin",
                "version": "2.0.2",
                "type": "package",
                "source": {
                    "url": "git@github.com:pantheon-systems/terminus-newrelic-data-plugin.git",
                    "type": "git",
                    "reference": "master"
                }
            }
        },
    ]

and then under the require condition in composer.json

    "require": {
        "pantheon-systems/terminus-newrelic-data-plugin": "*",
    },

It's obviously been some time but let me know if that helps.

fusionx1 commented 5 years ago

Will try this out, this is much better

On Wed, Jun 19, 2019 at 12:11 AM Brian Hasselbeck notifications@github.com wrote:

@uberhacker https://github.com/uberhacker you should be able to define it as a package in composer and then be able to install it similar to below:

"repositories": [
    {
        "type": "package",
        "package": {
            "name": "pantheon-systems/terminus-newrelic-data-plugin",
            "version": "2.0.2",
            "type": "package",
            "source": {
                "url": "git@github.com:pantheon-systems/terminus-newrelic-data-plugin.git",
                "type": "git",
                "reference": "master"
            }
        }
    },
]

and then under the require condition in composer.json

"require": {
    "pantheon-systems/terminus-newrelic-data-plugin": "*",
},

It's obviously been some time but let me know if that helps.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pantheon-systems/terminus-newrelic-data-plugin/issues/2?email_source=notifications&email_token=AAE46OUXRZ3Z3UPXS6M4YJLP3ECMBA5CNFSM4EJDC4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX7E3GA#issuecomment-503205272, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE46OUJ7BUZASPDGNFLM7TP3ECMBANCNFSM4EJDC4LA .

fusionx1 commented 5 years ago

see my quick fix - https://github.com/pantheon-systems/terminus-newrelic-data-plugin/releases/tag/2.0.3

On Wed, Jun 19, 2019 at 1:10 AM Paul de Paula paul.depaula@gmail.com wrote:

Will try this out, this is much better

On Wed, Jun 19, 2019 at 12:11 AM Brian Hasselbeck < notifications@github.com> wrote:

@uberhacker https://github.com/uberhacker you should be able to define it as a package in composer and then be able to install it similar to below:

"repositories": [
    {
        "type": "package",
        "package": {
            "name": "pantheon-systems/terminus-newrelic-data-plugin",
            "version": "2.0.2",
            "type": "package",
            "source": {
                "url": "git@github.com:pantheon-systems/terminus-newrelic-data-plugin.git",
                "type": "git",
                "reference": "master"
            }
        }
    },
]

and then under the require condition in composer.json

"require": {
    "pantheon-systems/terminus-newrelic-data-plugin": "*",
},

It's obviously been some time but let me know if that helps.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pantheon-systems/terminus-newrelic-data-plugin/issues/2?email_source=notifications&email_token=AAE46OUXRZ3Z3UPXS6M4YJLP3ECMBA5CNFSM4EJDC4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX7E3GA#issuecomment-503205272, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE46OUJ7BUZASPDGNFLM7TP3ECMBANCNFSM4EJDC4LA .

uberhacker commented 5 years ago

@bhasselbeck: That is a good thought but you should probably version against a tagged release and not master. @fusionx1: I still cannot install via composer. See below:

$ composer create-project -d ~/.terminus/plugins pantheon-systems/terminus-newrelic-data-plugin:dev-master

  [InvalidArgumentException]                                                                      
  Could not find package pantheon-systems/terminus-newrelic-data-plugin with version dev-master.  
fusionx1 commented 5 years ago

hi Ed Reel,

First of all id like to ask for an apology for responding just today, its been too long.

I updated the readme and added an alternative installation

you may try this:

Alternative installation: curl https://github.com/pantheon-systems/terminus-newrelic-data-plugin/archive/2.0.3.tar.gz -L | tar -C ~/.terminus/plugins -xvz composer update

Thanks, Paul

On Wed, Jun 19, 2019 at 2:48 AM Ed Reel notifications@github.com wrote:

@bhasselbeck https://github.com/bhasselbeck: That is a good thought but you should probably version against a tagged release and not master. @fusionx1 https://github.com/fusionx1: I still cannot install via composer. See below:

$ composer create-project -d ~/.terminus/plugins pantheon-systems/terminus-newrelic-data-plugin:dev-master

[InvalidArgumentException] Could not find package pantheon-systems/terminus-newrelic-data-plugin with version dev-master.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pantheon-systems/terminus-newrelic-data-plugin/issues/2?email_source=notifications&email_token=AAE46OVJVL2YAJTQLCRKRLLP3EUZDA5CNFSM4EJDC4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX7TGVI#issuecomment-503264085, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE46OTYOFZBCSR4LM6MYG3P3EUZDANCNFSM4EJDC4LA .