Jordi Boggiano
92785ac677
Make builds more reproducible, refs #3927
10 years ago
jakoch
74a077dd3d
updated spdx-license handling to include metadata
...
issue https://github.com/composer/composer/issues/3744
summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
10 years ago
Jordi Boggiano
8e6f62e769
Bump max memory to 1GB, fixes #3785
10 years ago
Jordi Boggiano
c1ff6ea62b
Just output a warning but don't prevent usage through non-cli SAPIs
12 years ago
Jordi Boggiano
3bec538970
Fail if the CLI SAPI is not used to invoke composer
12 years ago
Jordi Boggiano
cfc8bf0730
Make phar build fails more debuggable
12 years ago
Jordi Boggiano
5652ce5e55
Update SPDX license identifiers
12 years ago
Jordi Boggiano
16671831ef
CS fix
12 years ago
Bryan J. Agee
0db97259ba
Adds fallthrough comments to bin/composer (PSR-2 compliance)
12 years ago
Jordi Boggiano
3946a44499
Merge remote-tracking branch 'chEbba/memory_limit'
...
Conflicts:
bin/composer
12 years ago
Jordi Boggiano
573aad8801
Check if ini_set exists before calling it
12 years ago
Kirill chEbba Chebunin
21596b2ccd
Increase memory to 512M, remove warning
12 years ago
Kirill chEbba Chebunin
ba45ef2b70
Remove commented code forom cli script
12 years ago
Kirill chEbba Chebunin
4f129424e1
Increase memory_limit to 256M if it is lower than this value
12 years ago
Kirill chEbba Chebunin
47156103a6
Remove hard coded memory limit. Add troubleshooting doc
12 years ago
Jordi Boggiano
32692e519c
Boost memory_limit at runtime if permitted
12 years ago
Jordi Boggiano
fd38971777
Fix CS & simplify code
13 years ago
Tom Klingenberg
74ca58bcb6
Use of SPDX license identifiers.
13 years ago
Jordi Boggiano
3be04fd3b5
CS fix
13 years ago
Tom Klingenberg
c4d5819ec4
Compile has a message to tell.
13 years ago
Jordi Boggiano
438cea6363
Regroup bootstrapers
13 years ago
Marcin Chyłek
0e0b5ac222
chache to return (file_exists() && include );
13 years ago
Marcin Chyłek
768bedc164
Fix xdebug display errors in autoload
13 years ago
Jordi Boggiano
26e909a1a0
Apply nested-autoload support to all relevant files
13 years ago
Beau Simensen
8d0c2e0079
Check for vendor differently for "installs as a dependency" case
13 years ago
Beau Simensen
d7714983c3
Fallback to include `vendor/.composer/autoload.php` for `bin/composer`
...
When Composer is a dependency for a project the `vendor/bin/composer`
script will not run as it is looking for `__DIR__.'/../vendor'` which
likely will not exist. What I believe is intended is for the script
to include the packages `vendor/.composer/autoload.php`.
13 years ago
Jordi Boggiano
e91897a59b
Restore +x on bin files
13 years ago
François Pluchino
f65b34860f
Merge branch 'test'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
src/Composer/Repository/Vcs/HgBitbucketDriver.php
13 years ago
Jordi Boggiano
94e277698e
Delay bootstrap until it's really necessary, fixes #121
13 years ago
Jordi Boggiano
f5b7e968b2
Minor adjustments to merged PR
13 years ago
Jordi Boggiano
5b87a02767
Merge remote-tracking branch 'prodigitalson/master'
13 years ago
Ant Cunningham
e0400773f7
Adding support for configurable vendor path in composer.json.
13 years ago
Ben Bieker
0e6f3834ec
Added an SvnDownloader
...
The Svn Downloader can be used like the already implemented
GitDownloader, for example
{
"name": "my-project",
"version": "1.0.0",
"repositories": {
"MyRepo": {
"package": {
"name": "mypackage",
"version": "2.0",
"source": {
"url": "https://repo.com/svnrepo ",
"type": "svn",
"reference": "tags/v2.0"
}
}
}
},
"require": {
"mypackage": "2.0"
}
}
13 years ago
Per Bernhardt
c6e4984a62
New downloader for mercurial
13 years ago
Jordi Boggiano
fcde34cd3b
Exit nicely if there is no composer.json file
13 years ago
Jordi Boggiano
c8859240d2
Add InstallerInstaller, refactored AutoloadGenerator, fixes #59
13 years ago
Jordi Boggiano
4002cab25b
Merge pull request #87 from Seldaek/vcs
...
Add VCS Repository and Git + GitHub drivers
13 years ago
Jordi Boggiano
60db5d2c3b
Adjust phar compiler to work with composer autoloader
13 years ago
Nils Adermann
2b476ce2c4
Merge pull request #80 from Seldaek/inception
...
Make composer use itself for installing itself to install itself
13 years ago
Jordi Boggiano
82c1170fa1
Allow any package type to be installed by the default installer, fixes #86
13 years ago
Jordi Boggiano
4c2e8596aa
Add VCS Repository and Git + GitHub drivers
13 years ago
Jordi Boggiano
0d5f6a8269
Make composer use itself for installing itself to install itself to install itself
13 years ago
Jordi Boggiano
e00e6cddbe
Warn users of missing composer.json
13 years ago
Jordi Boggiano
6b6d6b6d82
Add --dev flag to InstallCommand to do source installs, fixes #26
13 years ago
Jordi Boggiano
1e0710b32f
Move .composer into vendor (hardcoded for now)
13 years ago
Jordi Boggiano
35849ca227
Allow disabling of the default packagist repository in the main composer.json
...
Example:
{
"repositories": {
"packagist": false
}
}
13 years ago
Jordi Boggiano
aeab3c16fd
Add PackageRepository to define inline packages
...
Example:
{
"repositories": {
"Monolog": {
"package": {
"source": {
"url": "git://github.com/Seldaek/monolog.git",
"type": "git",
"reference": "1.0.1"
},
"version": "1.0.1",
"name": "monolog/monolog"
}
}
}
}
13 years ago
Jordi Boggiano
450095e61d
Adjust RepositoryManager to handle multiple repositories of one type
13 years ago
Jordi Boggiano
c33fc80d23
Add supports() to the InstallerInterface
13 years ago
Jordi Boggiano
c8cfa15f52
Use wrapped PlatformRepository only in the Solver
13 years ago