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

Add extension in Packagist #2

Open
jpmschuler opened this issue Apr 11, 2018 · 1 comment
Open

Add extension in Packagist #2

jpmschuler opened this issue Apr 11, 2018 · 1 comment

Comments

@jpmschuler
Copy link

Thx for the public repository, this makes composer integration easier.
Could you add a Packagist entry, this just takes a few minutes if using github. If configuring the github integration it's a "configure once, will update automatically" solution

Extensions on Packagist
Once you added a composer.json file, it is highly recommended to register your extensions on Packagist.
src:https://composer.typo3.org

ipf added a commit to ipf/irfaq that referenced this issue Jun 20, 2018
This adds a composer manifest in order to be ready to integrate the
extension to packagist, mentioned in proudnerds-typo3#2.
ipf added a commit to ipf/irfaq that referenced this issue Jun 20, 2018
This adds a composer manifest in order to be ready to integrate the
extension to packagist, mentioned in proudnerds-typo3#2.
@josefglatz
Copy link

As long as this is not fixed, you can "simulate" the package within your project's composer.json >>>DIRTY WORKAROUND<<<

    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "netcreators/irfaq",
                "version": "1.7.12",
                "type": "typo3-cms-extension",
                "license": "GPL-2.0-or-later",
                "require": {
                    "typo3/cms-core": "^7.6.15 || ^8.7.0"
                },
                "replace": {
                    "irfaq": "self.version",
                    "typo3-ter/irfaq": "self.version"
                },
                "autoload": {
                    "psr-4": {
                        "Netcreators\\Irfaq\\": "Classes/"
                    },
                    "classmap": [ "class.ext_update.php" ]
                },
                "source": {
                    "url": "https://github.com/netcreators/irfaq.git",
                    "type": "git",
                    "reference": "66e4140536f9c3a568c59df542237cfb5d7de725"
                }
            }
        }
    ],

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

2 participants