Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Conversation

davidwindell
Copy link

This was deleted in #82 I think by mistake. Can you also update the tag?

@Flyingmana
Copy link
Contributor

Good catch, that was not intended.
But actually there was a plan to remove it again, as some people complained of the mirror not beeing completely identical to the releases because of this. (Which is why it was not added to packagist)
And its still possible to reference this repository over your project composer.json I think, although I do not have an exact example, I think @LeeSaferite had one

@davidwindell davidwindell mentioned this pull request Jan 31, 2020
@JeroenBoersma
Copy link
Contributor

Ah, I never knew it was added to packagist.org in the first place :)
I just go and do the dumb stuff, that is synchronizing with Magento.com donwloads.

Will keep in mind if a next time will come...

@davidwindell
Copy link
Author

@Flyingmana I guess you're referring to something like http://burgiblog.com/2012/03/08/depending-on-packages-without-composer-json-in-composer-php-dependency-manager/

I think we'll probably just fork the repo and list our fork on packagist, will be much less maintenance!

@Schrank
Copy link
Contributor

Schrank commented Oct 3, 2021

Working example for composer.json:

{
    "name": "firegento/magento-shop",
    "type": "magento-source",
    "minimum-stability": "dev",
    "require": {
        "magento-hackathon/magento-composer-installer": "^4.0",
        "aydin-hassan/magento-core-composer-installer": "^2.0",
        "firegento/magento": "1.9.4.5",
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.firegento.com",
            "exclude": [
                "firegento/magento"
            ]
        },
        {
            "type": "package",
            "package": {
                "name": "firegento/magento",
                "version": "1.9.4.5",
                "type": "magento-core",
                "source": {
                    "url": "https://github.com/mage-one-com/magento-1",
                    "type": "git",
                    "reference": "5bf57f3c797c4eecf1f647a940e9aa1d1fec61d7"
                }
            }
        }
    ],
    "extra": {
        "magento-root-dir": "htdocs",
        "magento-deploystrategy": "copy",
        "auto-append-gitignore": false,
        "magento-force": true,
        "magento-core-deploy": {
            "excludes": [
                "app/etc/local.xml",
                "dev",
                "downloader"
            ],
            "git-ignore-append": true
        }
    }
}

You can use the open mage repository as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants