Henrique Moody
234a6710a1
Correction at method parseVersion() of Composer\Repository\PearRepository.
13 years ago
Henrique Moody
be448e09b4
Update src/Composer/Repository/PearRepository.php
13 years ago
Henrique Moody
dd2174885b
Correction of variable overwrite used during an iteration and now the versions of PHP extensions are parsed like packages.
13 years ago
Henrique Moody
4e6a9806b6
Correction of wrong type suggestion.
13 years ago
Henrique Moody
6c47d6efe2
Renamed methods of Composer\Repository\PearRepository: fetchPearRepositories() to fetchPearPackages() and fetchPear2Repositories() to fetchPea2Packages().
13 years ago
Henrique Moody
b62a90a981
Removed hard code - suggestion of a PHP version.
13 years ago
Henrique Moody
0c6d806791
Correction of typo.
13 years ago
Henrique Moody
1e11aff456
Create method parseVersion for parsing of package versions. Now includes "max" version of the package.
13 years ago
Henrique Moody
c7e0fb7e58
Correction of typo error.
13 years ago
Henrique Moody
60831ac3fc
Update src/Composer/Repository/PearRepository.php
13 years ago
Henrique Moody
14adc0213e
Added suport for PEAR2 repositories.
13 years ago
Beau Simensen
d05f0a6e40
Addressed coding standard issues reported by @stof
13 years ago
Beau Simensen
e1370be7a0
Continued refactoring of install() method, mainly by way of adding Composite Repository
...
* Rewritten `install()` method now takes a repository instead of a list of packages (per @nadermen)
* Added Composite Repository
* Added tests for Composite Repository
* Removed "local repository" concept from Platform Repository
* Removed some `use` statements for Platform Repository where it was not actually being used
13 years ago
François Pluchino
a0afb88d5d
Fix bug on authorization of file download for the private repositories
13 years ago
Jordi Boggiano
568d9dabf6
fix previous commit
13 years ago
Pádraic Brady
3f7e7dff33
Fix a small bug where some PEAR channels' category link href doesn't contain a starting forward slash
13 years ago
Brian Clozel
23d85f1900
fix typo
13 years ago
Brian Clozel
33a0ba69de
fix issue #251 - Using $this not in object context
13 years ago
Jordi Boggiano
702d415472
Fix usage of the ProcessExecutor
13 years ago
Jordan Alliot
9c27e38654
Moved proxy handling to a new class so that it can be reused in other parts of Composer
13 years ago
digitalkaoz
627deab51c
fixed #230
13 years ago
François Pluchino
6d4ccaa398
Fix display overwrite()
13 years ago
Jordi Boggiano
e218b811e0
Convert static Process into an executor that can be injected
13 years ago
Jordi Boggiano
434c9ecdeb
Cleanups of IOInterface
13 years ago
Jordi Boggiano
6492118f29
Merge remote-tracking branch 'francoispluchino/master'
...
Conflicts:
src/Composer/Repository/Vcs/GitDriver.php
src/Composer/Repository/Vcs/HgDriver.php
src/Composer/Repository/Vcs/SvnDriver.php
13 years ago
Jordi Boggiano
6cfed52aae
Merge remote-tracking branch 'digitalkaoz/process'
13 years ago
François Pluchino
8053878b6a
Merge branch 'master'
...
Conflicts:
src/Composer/Console/Application.php
13 years ago
François Pluchino
03f5eee3fa
Fix some improvements
13 years ago
François Pluchino
541285022d
Replace CURL with copy() and file_get_contents()
13 years ago
François Pluchino
a5fb4abb36
Fix some improvements
13 years ago
Christophe Coevoet
bca786d5c3
Fixed the tests
...
array_filter preserves the keys even when filtering an array indexed
numerically.
13 years ago
Christophe Coevoet
bd1d20b2c9
Fixed CS
13 years ago
François Pluchino
7888ec5313
Add Authentification in FileDownloader
13 years ago
François Pluchino
a10f92aafe
Convert Wrapper class to ConsoleIO class
13 years ago
Christophe Coevoet
fc17e26bc3
Added a method to find packages by name
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
François Pluchino
9af46ad800
Add Helper Wrapper
13 years ago
Hugo Hamon
398efbb894
[Repository] removed unused local $versions variable from VcsRepository::initialize() method.
13 years ago
Hugo Hamon
09f0ba6604
[Repository] removed unused local $match variable from HgBitbucketDriver::supports() method.
13 years ago
Hugo Hamon
70d7ab43ee
[Repository] removed unused local $match variable from GitHubDriver::supports() method.
13 years ago
Hugo Hamon
7842149a51
[Repository] removed unused local $match variable from GitBitbucketDriver::supports() method.
13 years ago
Hugo Hamon
66f214e446
[Repository] removed unused $requires local variable from PearRepository::fetchFromServer() method.
13 years ago
François Pluchino
86070a8b6e
Replace getHttpSupport() to getScheme()
13 years ago
François Pluchino
9b0e50cdc2
Restore the old regex
13 years ago
François Pluchino
013d145bcd
Add InputInterface and OutputInterface
13 years ago
François Pluchino
fa793649fa
Add a VcsDriver abstract class.
...
All XxxDriver extends this abstract class now.
13 years ago
Jordi Boggiano
126c57d07c
Fix notice
13 years ago
digitalkaoz
897ff9126d
seperate class for Process, using this one all over the place
13 years ago
digitalkaoz
a15567cea6
make use of process component fixes #105
13 years ago
Jordi Boggiano
f051778192
Clean up unneeded initialization stuff
13 years ago
Per Bernhardt
df5da58b87
Made HgDriver work on Ubuntu
13 years ago
root
399a406018
Fixed notices for edge cases.
13 years ago
Per Bernhardt
2fc49aa88b
Stop hg from parsing project's repository information while installing dependencies from source (HgDownloader) or initializing a VcsRepository (HgDriver).
13 years ago
Per Bernhardt
d78548cbf9
Added mercurial's "default" branch as a valid dev version (same as master / trunk).
13 years ago
Per Bernhardt
f74dafc08c
Fixed root identifier: Use global hash instead of local revision
13 years ago
Jordi Boggiano
f6b9488bf0
Move root package handling to a dedicated loader and make ArrayLoader more strict
13 years ago
Matthias Pigulla
ebbc807de0
Fix whitespaces and add strict return code checking
13 years ago
Matthias Pigulla
8ab60b7030
Still did not get it right
13 years ago
Matthias Pigulla
f24164dc16
forgot this when testing
13 years ago
Matthias Pigulla
7cdb8b6b3b
Some changes as suggested in the pr
13 years ago
Matthias Pigulla
4e1cb32f8c
Allow for file://-URLs here as well
13 years ago
Matthias Pigulla
2fc8e06d81
hg repos must not be hosted somewhere in particular, but detection may become expensive.
...
Additionally, suppress warnings and support file://-local repos
13 years ago
Jordi Boggiano
381fcb248a
Allow parsing of branches with invalid names but explicit versions in composer.json
13 years ago
Jordi Boggiano
139de0f79d
Fix handling of git repos with no tag, fixes #146
13 years ago
Jordi Boggiano
2e8762744f
Fix ComposerRepository ctor
13 years ago
Jordi Boggiano
1277277ec6
Fix CS
13 years ago
Jordi Boggiano
8df7eb0475
Add SvnDriver for the VcsRepository
13 years ago
Jordi Boggiano
9f55335011
Expose the Driver of the VcsRepository
13 years ago
Jordi Boggiano
8a127ed131
Fix URL handling for PEAR repositories
13 years ago
Jordi Boggiano
4fdc602037
Make VcsRepository drivers configurable
13 years ago
Jordi Boggiano
63d52b3e1b
Minor fixes to allow branch -dev versions
13 years ago
Jordi Boggiano
3b8ee5dd54
Use pretty name/version in lock file and debug:packages, fixes #98
13 years ago
Jordi Boggiano
8e6f8ae57e
Add prettyVersion to packages, fixes #76
13 years ago
Jordi Boggiano
e6710e311c
Merge remote-tracking branch 'webfactory/mercurial-support'
13 years ago
Jordi Boggiano
8a2afee55f
Rethrow on unexpected failures
13 years ago
Jordi Boggiano
22a93e7273
Check we have a driver before using it
13 years ago
Jordi Boggiano
1fd9174c0d
Fix auto-date parsing in GitDriver
13 years ago
Jordi Boggiano
b350dda0fe
Skip GitHub driver if openssl is disabled
13 years ago
Per Bernhardt
b969309440
Register new drivers...
13 years ago
Per Bernhardt
bf21dfeb31
Added drivers for bitbucket (hg and git)
13 years ago
Per Bernhardt
38198a5f36
Fixed blank lines.
13 years ago
Per Bernhardt
b0d2897af3
Fixed unused variables.
13 years ago
Per Bernhardt
3e5fd85768
Fixed CS and unused variables
13 years ago
Per Bernhardt
ee4d4ee3fa
Added HgDriver for the VcsRepository
13 years ago
Jordi Boggiano
4b5abaf44f
Fixes in PEAR support
13 years ago
Jordi Boggiano
f2ab4d08e5
Fetch default HEAD branch from remote
13 years ago
Jordi Boggiano
b6537324ef
Change to GitHub API v3 and fetch default branch
13 years ago
Jordi Boggiano
4c2e8596aa
Add VCS Repository and Git + GitHub drivers
13 years ago
Fabien Potencier
1450ebd837
Fix bug in an exception, added unit tests
13 years ago
Jordi Boggiano
305856f2f5
Merge pull request #68 from fabpot/small-opt
...
Move loader creation to avoid creating it more than once, unified the way
13 years ago
Fabien Potencier
5ffc349642
Add an exception when a Filesystem repository is corrupted
13 years ago
Fabien Potencier
527c711149
Move loader creation to avoid creating it more than once, unified the way packages are loading across repository classes
13 years ago
Jordi Boggiano
23c1c40b3d
Fix missing reference in local repository
13 years ago
Jordi Boggiano
dcfe310cff
Fix PEAR repository
13 years ago
Jordi Boggiano
5e52d5c1ad
Fix tests
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
9b24734c9d
Add parsing and on-the-fly loading of repositories defined in packages
13 years ago
Jordi Boggiano
450095e61d
Adjust RepositoryManager to handle multiple repositories of one type
13 years ago
Jordi Boggiano
c8cfa15f52
Use wrapped PlatformRepository only in the Solver
13 years ago
Igor Wiedler
72a1f66b7a
rename installAs to target-dir
13 years ago