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

allow file include anywhere with respo.json #3089

Closed
wants to merge 3 commits into from
Closed

allow file include anywhere with respo.json #3089

wants to merge 3 commits into from

Conversation

nghuyy
Copy link

@nghuyy nghuyy commented Jul 3, 2014

add new feature to composer.json

"include": ["c:/apps/projects","d:/respo","http://localhost/"]

and create file respo.json ex:

   {
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "huynguyen/phpserver",
                "version": "5.4.28.0",
                "dist": {
                    "url": "php/php.rar",
                    "type": "rar"
                },
                "source": {
                    "url": "http://github.com/loi-chuanoi/phpserver",
                    "type": "git",
                    "reference": "dev/master"
                }
            }
        }
    ]
  }

place in this folder, easy for create new portable repositories and easy include without internet connection

Huy Nguyễn added 3 commits July 4, 2014 01:50
@stof
Copy link
Contributor

stof commented Jul 3, 2014

it looks like include is root only and can only contain the repository config, right ?

@nghuyy
Copy link
Author

nghuyy commented Jul 4, 2014

yes , can only contain one repository config and many project folders. Support portable disk and usb for cache your projects

@Seldaek
Copy link
Member

Seldaek commented Sep 22, 2014

Thanks but closing as duplicate of #1013 which IMO is a better way to support basic extension. Besides you should look at the artifact repository it might match what you are trying to do a bit better.

@Seldaek Seldaek closed this Sep 22, 2014
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

Successfully merging this pull request may close these issues.

3 participants