Jordi Boggiano
f69418427f
Add lib-ICU platform package
12 years ago
Jordi Boggiano
15e9c3d101
Show proper error message when a git bitbucket repo is loaded as hg repo, refs composer/packagist#294
12 years ago
Jordi Boggiano
d4c9a9004a
Add support for the hashed provider includes
12 years ago
Jordi Boggiano
2c4c5dd764
Fail hard only after 3 failed attempts
12 years ago
Jordi Boggiano
b750e70f5f
Abort execution when a RepositorySecurityException is thrown
12 years ago
Jordi Boggiano
995dc40130
Make packagist downgrade out of ssl after fetching the main file, since the other files can be verified via sha256
12 years ago
Jordi Boggiano
211b69b38b
Adjust exception message
12 years ago
Jordi Boggiano
b59489f6ae
Merge remote-tracking branch 'edas/exception-on-broken-signature'
12 years ago
Jordi Boggiano
9521d1e7ad
Make use of new hashed provider filenames, fixes #1431 , refs composer/packagist#283
12 years ago
Eric Daspet
a8a99cee24
Fix RepositorySecurityException class name
12 years ago
Eric Daspet
59f8be3b92
Throw Exception on broken signature
...
This is related to issue #1562
With a fresh installation of Composer I had the following message:
> The contents of https://packagist.org/p/providers-latest.json do not
match its signature, this is most likely due to a temporary glitch but
could indicate a man-in-the-middle attack.
> Try running composer again and please report it if it still persists.
This was *probably* a temporary glitch, as the error did not appear
again, even after a full reinstallation of all packages.
*However* Composer had no way to differentiate a man-in-the-middle
attack and a temporary glitch. The installation / update did continue
despite the problem and files where installed / updates with no easy
rollback. These files may have been corrupted with malicious code and I
have no way to check they don't.
This is a *serious* security issue.
The code in [ComposerRepository line
434](https://github.com/composer/composer/blob/master/src/Composer/Repos
itory/ComposerRepository.php#L434) states
```php
// TODO throw SecurityException and abort once we are sure this can not
happen accidentally
````
Even if the broken signature may happen in accidentally in a standard
process, if it may be a security issue, we have to abort the procedure,
or at least ask for confirmation to the user. If it helps continuing
despite the temporary glitch, it may be possible to add a command line
switch like `--ignore-signature` to force the process to continue.
Proposed :
Send a RepositorySecurityException instead of the warning, even if this
may happen accidentally
12 years ago
Jordi Boggiano
17a5bdf162
Normalize github URLs generated by the GitHubDriver, fixes #1551
12 years ago
Jordi Boggiano
432955e0ae
Fix github url escaping, raw.github.com doesnt like escaped slashes
12 years ago
Jordi Boggiano
8904888a74
Add php-64bit package if the php version has 64bit ints, fixes #1506 , fixes #1511
12 years ago
Jordi Boggiano
514a3cde77
CS fixes
12 years ago
Jordi Boggiano
5b24a48827
Allow disabling svn branches/tags, fixes composer/satis#43
12 years ago
Jordi Boggiano
04c6670f0c
Detect invalid ssh URLs, fixes #1124
12 years ago
Jordi Boggiano
224934831d
Change all github archive URLs to API URLs and handle fallback for those to nodeload
12 years ago
Chris Smith
120f52c632
Generate private zipball urls for private repositories
12 years ago
Christoph
cebd43e735
fixed detection of inactive branches in hg
12 years ago
Jordi Boggiano
a8f74a0983
Allow notification from locked installs, fixes #1368 , fixes #1372 , fixes #1369
12 years ago
Jordi Boggiano
e868c9706b
Add support for batch notifications
12 years ago
Raphael Kallensee
9713bf8bec
Fix for PearRepository scheme handling, broke ChannelReaderTest.
12 years ago
Raphael Kallensee
0be2fd12e4
Fix for PEAR package downloading in PearRepository: now using https as
...
scheme if the PEAR channel uses https. The old behavior broke installing
PEAR packages from https-only PEAR channels.
12 years ago
Jordi Boggiano
15475f0ef2
Rename cache dirs to consolidate them by purpose
12 years ago
Jordi Boggiano
326fcbcab7
Enforce UTC on all datetime instances, set lock release date to datetime always, refs #923
12 years ago
Jordi Boggiano
172414a1f0
Add support for ~/+ in addition to - as separator between PHP version and build details, fixes #1322
12 years ago
Jordi Boggiano
4f5d08e2ad
Add InvalidRepositoryException
12 years ago
Igor Wiedler
4959c2bdc6
Replace references of a11n with a12n where appropriate
...
Authorization => Authentication.
12 years ago
Jordi Boggiano
cbd91b5952
Fix FILTER_VALIDATE_URL not supporting IDNs
12 years ago
Jordi Boggiano
0c61e9d345
Add warning/errors flags to VCS repo output
12 years ago
Jordi Boggiano
dae7f3cee7
Add a way to know if any branch failed loading
12 years ago
Jordi Boggiano
61bd34df55
Make sure error output is clearly visible
12 years ago
Jordi Boggiano
967c771b26
Add warnings to ValidatingArrayLoader that are simply stripped by default, add reporting of warnings when loading branches
12 years ago
Jordi Boggiano
1682532b80
Update code to use new github archive URLs
12 years ago
Jordi Boggiano
bb701da8c2
Do not overwrite output in verbose mode
12 years ago
Martin Hasoň
45c1c3f881
Fixed package name for stability test in ComposerRepository
12 years ago
Bilal Amarni
b10c832be0
fixed a typo
12 years ago
Jordi Boggiano
2b06503027
SvnDriver fixes
12 years ago
Pascal Borreli
83fd3967f0
Fixed PHPDoc
12 years ago
Pascal Borreli
5eead93250
Fixed typos
12 years ago
Jordi Boggiano
125ff3e4f5
Fix root aliasing with new providers repo format
12 years ago
Jordi Boggiano
ad9f887edd
Clarify error message to sound less scary until we can guarantee it
12 years ago
Chris Smith
9ed481ef02
Fix handling of legacy Composer repositories
12 years ago
Jordi Boggiano
e887f6cea9
Fix CS
12 years ago
Jordi Boggiano
89d4df990a
Use JsonFile to decode cached entries
12 years ago
Jordi Boggiano
bebd1ce9c7
Always check for OAuth token in git config, fixes #1243
12 years ago
Jordi Boggiano
1760b1e093
Prevent CompositeRepository instances from being nested
12 years ago
Jordi Boggiano
fef3dacdfb
Reset ids of aliased packages as well
12 years ago
Jordi Boggiano
39e69a3b12
Refactor OAuth acquisition code to generalize it
12 years ago
Jordi Boggiano
bf5f34a114
Merge remote-tracking branch '1stvamp/github-tokens-from-git-config'
12 years ago
Jordi Boggiano
338127ff9c
Disable failure on hash mismatch until it can be proven to work reliably
12 years ago
Jordi Boggiano
3116c979d3
Fix undefined var, fixes #1235
12 years ago
Jordi Boggiano
573e4b2a7c
Merge branch 'newrepo'
12 years ago
Wes Mason
5fb0403276
Use process executor instead of exec to run git config
12 years ago
Wes Mason
1442c1e026
Damnable tabs!
12 years ago
Wes Mason
2cb07dd2fe
Allow use of Github OAuth2 token stored in git config
12 years ago
Jordi Boggiano
0a3097c569
Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
...
Conflicts:
src/Composer/Repository/Vcs/GitHubDriver.php
12 years ago
Jordi Boggiano
5051e7a0a2
Only try to authorize when fetching the repo info, not subsequent calls, refs #423
12 years ago
Jordi Boggiano
32282e7461
Add hostname to the OAuth app name
12 years ago
Jordi Boggiano
a9811c4e40
Store and reload the github token to/from the config
12 years ago
Jordi Boggiano
3b01d26d67
Swap user credentials for an OAuth token from GitHub
12 years ago
Thomas Adam
1bd5d88b02
quick workaround for Github API limit
12 years ago
Jordi Boggiano
5978197b5d
Reset package IDs before they can be used in the pool in case there are already some in the cache
12 years ago
Jordi Boggiano
ee0cd07468
CS fixes
12 years ago
Jordi Boggiano
541bcabbc0
Actually check the hash after downloading
12 years ago
Jordi Boggiano
07f72e9fb6
Add support for provider listings
12 years ago
Jordi Boggiano
a3f9accd37
Fix various dumb issues
12 years ago
Jordi Boggiano
aafc1f7857
Make sure alias package have a repo instance set
12 years ago
Jordi Boggiano
41c7432fef
Do not fetch from repo for packages that obviously can not be there
12 years ago
Jordi Boggiano
c0e5736ae7
Add support for one-file-per-provider composer repositories
12 years ago
Jordi Boggiano
fde3477563
Report issues in HgDriver as well
12 years ago
Jordi Boggiano
08670e7666
Report errors properly when git driver fails to write in the cache, refs #482
12 years ago
Jordi Boggiano
116b822953
Fix loop and add missing options
12 years ago
Jordi Boggiano
1d80720405
Add retries and failover of all jsons to cache even if the main one worked
12 years ago
Jordi Boggiano
fb296972ef
Enable https for packagist when possible
12 years ago
Jordi Boggiano
b3077bc4bc
Merge pull request #1177 from sandermarechal/stream-context
...
Allow setting stream context options
12 years ago
Sander Marechal
6cf860669f
Add repository stream context options
...
Add support for passing stream context options to the
StreamContextFactory. This allows support for SSH keyfiles, SSL
certificates and much more. Example:
{
"repositories": [
{
"type": "composer",
"url": "ssh2.sftp://host:22/path/to/packages.json",
"options": {
"ssh2": {
"username": "composer",
"pubkey_file": "/path/to/composer.key.pub",
"privkey_file": "/path/to/composer.key"
}
}
}
]
}
12 years ago
Jordi Boggiano
e188f69a0f
Merge remote-tracking branch 'origin/master'
12 years ago
Jordi Boggiano
4998bab944
Show warning if the svn binary is missing
12 years ago
Sander Marechal
4799053ca9
Allow dot in URL scheme
...
This makes it possible to support SSH2 urls, like ssh2.scp://
See: http://www.php.net/manual/en/wrappers.ssh2.php
12 years ago
Zsolt Szeberenyi
5201564c0f
Added support for hg bookmarks
12 years ago
Joseph Bielawski
4772db1460
Add missing `use` in HgDriver
...
Closes #1165
12 years ago
Jordi Boggiano
6bd7ca0230
Fix typos and simplify code
12 years ago
Jordi Boggiano
35245eb817
Add support for local urls and better error reporting to HgDriver
12 years ago
Jordi Boggiano
c14826dd1e
Fix exception handling when loading repos
12 years ago
Jordi Boggiano
fe4516aff8
Clarify exception messages when a package can not be loaded from a composer repository, fixes #1070
12 years ago
Povilas Balzaravicius Pawka
57d1b5a37d
Issue #1056 . Fixed callback call error on search command.
12 years ago
bboer
00361e0087
Fixed tests
12 years ago
bboer
d1a452b00b
Made repoConfig available for the VcsDriver to be able to provide additional configuration options easily.
12 years ago
Jordi Boggiano
781e0d4f55
Add detection of gitolite user for git repos
12 years ago
Jordi Boggiano
803178d28f
CS fixes for #1038
12 years ago
Christoph Hochstrasser
560d6daccf
Using separate variable for URL parts
12 years ago
Christoph Hochstrasser
841efc98a6
Appending 'packages.json' only if not present in URL
12 years ago
bboer
93628c42d8
Add support for alternative structures
12 years ago
Jordi Boggiano
c14bc368b0
Fix memory usage of the update command
12 years ago
Jordi Boggiano
e1bd2fd6df
Clean ups after feedback
12 years ago
Jordi Boggiano
e3b6bd781c
Add RepositoryInterface::filterPackages to stream ops on lists
...
This cuts down on memory usage and also speeds up the search command to a third of its previous time
12 years ago
Jordi Boggiano
d6de4a0036
Rename Package interfaces to reduce BC issues
12 years ago
Jordi Boggiano
8a275336a1
CS cleanups
12 years ago
Jordi Boggiano
e46d26cb9b
Add loadAliasPackage to the StreamableRepositoryInterface and clear up responsibilities between Pool and Repositories
12 years ago
Jordi Boggiano
26e8217db7
Remove duplication of branch alias parsing code
12 years ago
Jordi Boggiano
2d4076e9b2
Add support for aliases in streamed repos
12 years ago
Jordi Boggiano
c8a685be6b
Reduce memory usage by only loading packages that are actually needed, fixes #456
12 years ago
Jordi Boggiano
f08c748658
Fix tests, fix handling of branches with slashes in GitDriver, fixes #935
12 years ago
Jordi Boggiano
997ef763b4
urlencode() github calls for safety, refs #935
12 years ago
Jordi Boggiano
242df060c7
Clarify exception message
12 years ago
Jordi Boggiano
a54bf6269e
Improve error messages when network failures occur
12 years ago
Jordi Boggiano
ec301ea8bb
Output error if a VCS repo has no package at all instead of silently going through
12 years ago
Jordi Boggiano
518984b70d
Output error if a local filesystem VCS repo points to a non-existing dir
12 years ago
Sebastiaan Stok
9270904765
fixed issue #992 - branch name not properly escaped
12 years ago
Jordi Boggiano
2d41774bcc
Add warning when loading an https repo if openssl is disabled, refs #930
12 years ago
Nils Adermann
7c547f93bb
Merge pull request #928 from Seldaek/validation
...
Validation
12 years ago
Jordi Boggiano
67b846f4e9
Fix undefined variable in svn driver
12 years ago
Jordi Boggiano
b0151a4ce5
Allow the loader of the VcsRepository to be overriden
12 years ago
Jordi Boggiano
d80180c2b9
Allow notifyUrl to be a complete URL
12 years ago
Jordi Boggiano
5ec41d83b4
Fix non-array return value in some cases on php 5.3.2, fixes #927
12 years ago
Jordi Boggiano
1f31810901
Prevent duplicate PEAR replaces if the given vendorAlias equals the channel alias
12 years ago
Robert Schönthal
0cd453449b
minor changes to JsonFile::parseJson for Drivers
12 years ago
Robert Schönthal
c517ac6404
fixed issue #347 added file to json validation exception
12 years ago
Alexey Prilipko
22aef0124e
Revert Locker change, ignore PEAR packages whose version cannot be parsed.
12 years ago
Alexey Prilipko
ac3cebc633
Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files
...
Add PearInstaller
Change PEAR packages type from 'library' to 'pear-library' and dist type from 'pear' to 'file'
Remove PearDownloader
Refactor Channel Installer
12 years ago
Alexey Prilipko
77715e254a
Fix exception message template
12 years ago
Alexey Prilipko
f2853c842b
Review fixes
12 years ago
Alexey Prilipko
e173f11b37
Add PEAR channel reader & Update PearRepository to use it.
12 years ago
Nils Adermann
4eb5f73718
Only create alias package in repositories on the fly if necessary, fixes #793
12 years ago
Jordi Boggiano
656feda837
Revert previous change, use GIT_ASKPASS env var instead
12 years ago
Jordi Boggiano
4ee1ff46a8
Try ssh before http auth, and make sure ssh fails fast if no login is possible
12 years ago
Jordi Boggiano
74c2fd5f06
Merge pull request #824 from beryllium/bug823
...
PECL-UUID does not define a version constant, use phpversion() instead
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
de449aa144
Merge remote-tracking branch 'PSeiffert/master'
...
Conflicts:
src/Composer/Factory.php
src/Composer/Repository/RepositoryManager.php
12 years ago
Kevin Boyd
09be4ed936
PECL-UUID does not define a version constant, so we should use phpversion() to fetch the required information
12 years ago
Jordi Boggiano
95bc5c4898
Fix openssl/pcre matches, and skip other exts properly
12 years ago
Jordi Boggiano
887d913eb6
Merge remote-tracking branch 'ChristianRiesen/master'
12 years ago
Christian Riesen
70e7194b07
Changes after excellent feedback from Jordi
12 years ago
Christian Riesen
432815df67
Added more libraries to PlatformRepository
12 years ago
Jordi Boggiano
ccc6fa3714
Merge pull request #775 from palex-fpt/PR-746
...
PEAR Packages extraction based on package.xml format
12 years ago
Christian Riesen
8d3c85225f
Changed PlatformRepository to handle libraries as well now
12 years ago
Christian Riesen
7b49b013ec
PlatformRepository now knows curl and libxml versions
12 years ago
Jordi Boggiano
a06ebdd8ef
Add caching to svn metadata
12 years ago
Alexey Prilipko
71ac073ebe
Add 'include-path' option to PEAR packages
12 years ago
Jordi Boggiano
3aeb6a8f2d
Minor robustness fix
13 years ago
Jordi Boggiano
740d3aa1e3
Generate source urls with labels and not identifiers
13 years ago
Jordi Boggiano
2257d0b550
Guess issues/source support info for github packages
13 years ago
Jordi Boggiano
2b2a5d0a92
Fix release- tags not being parsed
13 years ago
Jordi Boggiano
d21032ace5
CS fixes
13 years ago
Jordi Boggiano
c440b4594a
More PSR-2 goodness
13 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Jordi Boggiano
794b51fcdd
Merge remote-tracking branch 'naderman/remove-outdated-alias-code'
13 years ago
Christophe Coevoet
c2d3c0509c
Fixed the check for local git repositories
13 years ago
Christophe Coevoet
4404c5f287
Revert "Merge remote-tracking branch 'github-ercanozkaya/master'"
...
This reverts commit b5eededbe9
, reversing
changes made to 799a478f2a
.
This change was wrong as the GitDriver was then telling it supports
all local URIs even when they are not git repositories.
13 years ago
Ercan Özkaya
ca217bd48f
Add support for file:// URIs to GitDriver
13 years ago
Nils Adermann
be250fbb8b
Remove alias loading code which is no longer necessary
...
Since alias packages do not get dumped anymore, only original packages
will ever be in Filesystem repositories. Alias are created on the fly
based on alias info in the composer.json/composer.lock and on branch
alias data in the original package.
13 years ago
Jordi Boggiano
ba9676e0f2
Add caching for metadata in github driver
13 years ago
Jordi Boggiano
0a0a6b1813
Fix wrong var name, refs #674
13 years ago
Nils Adermann
7c7cac61b6
Merge remote-tracking branch 'github-seldaek/stability'
...
* github-seldaek/stability:
Add stability docs
Add test for Pool handling and refactor a couple things
Add support for stabilities in lock file
Infer stability flags for requirements that have an explicit version required of a lower stability
Add InstalledArrayRepository to make sure the root package is not purged by the Pool because of a lower stability
Basic handling of stability flags
Add list of stabilities to base package
Add minimum-stability flag on root package to filter packages by stability
Add CompositeRepo::getRepositories
Add package stability
13 years ago
Jordi Boggiano
c2933028e8
Make sure github driver is used for all github urls
13 years ago
Jordi Boggiano
fabf5c2f6d
Add InstalledArrayRepository to make sure the root package is not purged by the Pool because of a lower stability
13 years ago
Jordi Boggiano
b0134b56c5
Add CompositeRepo::getRepositories
13 years ago
Nils Adermann
655588a5e0
Merge pull request #659 from Seldaek/github_https_fallback
...
Github https fallback
13 years ago
Nils Adermann
0c1944a9d0
Let the solver handle aliases instead of the installer
13 years ago
Paul Seiffert
1713acf011
Coding standards and Cosmetics
...
Processing feedback given by @stof and @Seldaek.
13 years ago
Paul Seiffert
b3a5ca93c7
Added comments -> IDE friendliness
13 years ago
Paul Seiffert
7308049056
Added removePackage() to Repository\RepositoryInterface in order to provide to be able to rely on the existance of this method in all repositories. Had to add this method to the Repository\CompositeRepository.
13 years ago
Jordi Boggiano
7bfe031768
VcsDrivers now send proper originUrl for authentication
13 years ago
Bastian Hofmann
4b3fc2b5fa
Merge branch 'master' of git://github.com/composer/composer
...
Conflicts:
src/Composer/Repository/PearRepository.php
13 years ago
Bastian Hofmann
7501009d74
added tests for PearRepository
13 years ago
Jordi Boggiano
c454d93a20
Move all logic within try/catch to prevent an incorrect version from blowing up the whole package
13 years ago
Jordi Boggiano
58276d0a52
Warn the user but do not fail hard when a repo can not be synced
13 years ago
Jordi Boggiano
b0b3e17a37
Report errors when a git repo can not be synced up
13 years ago
Jordi Boggiano
b3164de813
Fix tests
13 years ago
Jordi Boggiano
115dc407fa
Merge remote-tracking branch 'GromNaN/git-dir'
13 years ago
Jordi Boggiano
2dffa612a3
Merge remote-tracking branch 'igorw/root-install-twice'
13 years ago
Daniel Holmes
d44b81527b
Fixed variable reference in verbose pear repository message
13 years ago
Jordi Boggiano
8ff497ac6f
Skip filter_var on 5.3.2 since it is buggy
13 years ago
Igor Wiedler
0995933183
Do not install root package as a vendor if some dependency requires it, closes #480
...
Also add some tests for the installer.
13 years ago
Jerome Tamarelle
610f15a768
Fix unit tests for VcsRepository
13 years ago
Jerome Tamarelle
f0ea097134
Remove umask
13 years ago
Jerome Tamarelle
8b408449f6
Create ~/.composer/cache.hg directory if not exists
13 years ago
Jerome Tamarelle
23ef8a419a
Fix var scope in HgDriver
13 years ago
Jérôme Tamarelle
d200481037
Fix tmp dir for HgDriver
13 years ago
Jerome Tamarelle
cc6e1397b2
Fix var scope
13 years ago
Jerome Tamarelle
da823f5f19
Store vcs repositories in composer home to prevent permission issues
13 years ago
Jerome Tamarelle
949728f812
Remove redundant __contruct from VcsDriver implementations and move init code to initialize method
13 years ago
Jerome Tamarelle
017ebabcb5
Pass composer configuration to VcsDriver
13 years ago
Jerome Tamarelle
d489d2aa3c
Store cached git repositories in user HOME to avoid file permission issues
13 years ago
Jordi Boggiano
70ad8274cd
Work around poorly configured php
13 years ago
Jordi Boggiano
ef300ca56a
Fix tests
13 years ago
Jordi Boggiano
a5e00a9e96
Fix PEAR loading, fixes #590
13 years ago
Jordi Boggiano
466d953b5f
Add verbose output to composer compat mode
13 years ago
Jordi Boggiano
9c72b093a3
Merge remote-tracking branch 'bashofmann/master'
13 years ago
Bastian Hofmann
a86ea59742
various fixes for composer interaction with pear repositories:
...
- corrected pear repository base url from channel.xml is now used instead of a hardcoded host/rest/* endpoin
t
- XML is now parsed with LIBXML_NOERROR to accomondate pear repositories with slightly invalid XML (e.g. components.ez.no)
- instead of following links in the returned xml files the pear api structure is now hardcoded so that pear repositories with invalid links also work (again components.ez.no). additional benefit: this removes the need for some str_replace calls
- for pear packages with a packages.json file: 'pear-'.$channelName is not added to package names if this is already part of the package name (see pear.phpunit.de)
13 years ago
Jordi Boggiano
f63df842b3
Fix alias handling with --dev installs, fixes #579
13 years ago
Jordi Boggiano
89e095b4b5
Handle --dev installs/updates
13 years ago
Jordi Boggiano
b094ef7155
Add repository notification API support
13 years ago
Jordi Boggiano
2d49090ffd
Make sure branches have proper .x suffix so that they can be parsed properly
13 years ago
Jordi Boggiano
273e0f777b
Fix branch extraction, fixes #565
13 years ago
Jordi Boggiano
9da7fbbf37
Fix project aliases being redownloaded since they had no version
13 years ago
Jordi Boggiano
fc29487a2a
Add home config key and use it to create the cache instance
13 years ago
Jordi Boggiano
68a1bc645b
Skip some packages in pear requirements
13 years ago
Nils Adermann
fc1a7a3e23
Merge pull request #536 from Seldaek/new_composer_format
...
Add support for new composer repo format + cache for composer repos
13 years ago
Jordi Boggiano
0d97ec4783
Add cache to the composer repositories
13 years ago
Tiago Ribeiro
61beea3c8b
Updated output when a branch is imported to show the pretty version name
13 years ago
Jordi Boggiano
a476d1f97d
Add support for the new composer repository format
13 years ago
Jordi Boggiano
a67f62990c
Prepare for upcoming format break
13 years ago
Jordi Boggiano
6f8031ac90
Fix error reporting for missing git process
13 years ago
Nami-Doc
1dba604ba1
Update src/Composer/Repository/Vcs/GitDriver.php
13 years ago
Nami-Doc
2c58dbf3a1
better message if git isn't found
13 years ago
Holger Rüprich
9e2c523faa
Function proc_open doesn't accept a scheme for the current working directory, therefore stripped 'file://' for local repositories.
13 years ago
Jordi Boggiano
1cdae66f8f
Fix up git downloader and git driver commands
13 years ago
Jordi Boggiano
219c31ed0c
Fix git driver updating
13 years ago
Jordi Boggiano
9828472b9e
Improve reliability of GitDriver, refs #485
13 years ago
Jordi Boggiano
2844a5673d
Use refs API since it is more stable than the branches API with force-pushes, fixes #514
13 years ago
Nils Adermann
85caa65088
Merge pull request #520 from Seldaek/pear_composer
...
Detect PEAR repos that support composer via Pirum
13 years ago
Jordi Boggiano
ecb82e1784
Detect PEAR repos that support composer via Pirum
13 years ago
Jordi Boggiano
d53ac36636
Add debug info and remove autoload parsing that was too slow
13 years ago
Jordi Boggiano
4b2283e41c
Add autoload info to PEAR packages
13 years ago
Jordi Boggiano
1fe24a3837
Add support for github URLs in git driver
13 years ago
Jordi Boggiano
6d5b4d606c
Add warning in verbose mode if drivers can not be used because of missing openssl
13 years ago
Tiago Ribeiro
67885d8585
Added isDebug to IOInterface and improved debug messages for VcsRepositories
13 years ago
Jordi Boggiano
7a28a2d83a
Add support for new GitHub API
13 years ago
Jordi Boggiano
7285536737
Fix exception handling
13 years ago
Jordi Boggiano
5a7abfd84f
Remove code duplication in Svn classes
13 years ago
Jordi Boggiano
cd2e5bf2e0
Make SvnDriver::supports less greedy and more realistic
13 years ago
Jordi Boggiano
30d4080014
Support windows local paths
13 years ago
Jordi Boggiano
8fb9c4bf3b
Svn related coding style/consistency fixes and minor improvements
13 years ago
Jordi Boggiano
ab9fc59d30
Add missing license headers
13 years ago
Jordi Boggiano
6c2b78a669
Merge remote-tracking branch 'till/svn-auth-reloaded'
13 years ago
Jordi Boggiano
7dfb2724cb
Fix PEAR dependencies
13 years ago
till
434f10f2d7
* more cs fixes
13 years ago
till
c6653f0711
* fix up CS suggestions from stof/seldaek
13 years ago
Till Klampaeckel
af8d4212bb
Merge pull request #3 from toastedghost/svn-auth-reloaded-imp
...
Improve 'getTags()' and 'getBranches()'
13 years ago
Flo
80bb040468
Improve 'getTags()' and 'getBranches()'
13 years ago
Beau Simensen
a6366be5a6
Handle auth challenge in SvnDriver supports.
13 years ago
till
059bde1adb
* refactored with Composer\Util\Svn::doAuthDance()
13 years ago
till
c6566825ad
Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded
13 years ago
till
17f90f56eb
* move helper functions to util class
13 years ago
Mateusz Heleniak
2a9e8350b0
fixed GitDriver - set correct working directory for cli commands
13 years ago
Nils Adermann
366e98288e
Merge pull request #473 from Seldaek/gzip
...
Automatic gzip encoding support
13 years ago
Jordi Boggiano
bcbdb97cc6
Fix message when no composer file is found in a tag
13 years ago
Jordi Boggiano
72b7b169e7
Fix warning
13 years ago
Jordi Boggiano
e4cce193cf
Fix PEAR repository
13 years ago
Jordi Boggiano
7f65dd7409
Use RemoteFilesystem everywhere we do http requests
13 years ago
till
8f96786693
Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded
13 years ago
till
6f364a85b3
* do not use getSvnCommand (since we are not in object context)
...
* run non interacive instead of piping output to /dev/null
13 years ago
till
c0ec8f16f9
* fixSvnUrl()
...
* extend regex to match more possible svn hosts
13 years ago
till
6d1cdb3e45
* fixSvnUrl(): to prefix absolute paths with file://
13 years ago
Jordi Boggiano
659775a607
Merge remote-tracking branch 'simensen/GitHub404FixPartTwo'
13 years ago
Beau Simensen
38680998ed
Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback.
13 years ago
till
5fdd09104f
resolve conflict
13 years ago
till
a1e1a8c7d7
* use askConfirmation() instead
13 years ago
till
244cc2a8c2
hide password input
13 years ago
till
96298a33dc
catch all failures
13 years ago
Jordi Boggiano
5dba49af54
Show package descriptions in show/search commands, merge similar packages in show, fixes #366
13 years ago
Beau Simensen
1e9cb6bac8
Use factory name instead of generator.
13 years ago
Beau Simensen
340ac49d87
Change `callback` to `callable`
13 years ago
Beau Simensen
6efbc7d531
Enhanced GitHub API/Private Repository support
13 years ago
Jordi Boggiano
950003bfc3
Reflow the VcsRepo and prevent exception leakage from breaking the parsing
13 years ago
Jordi Boggiano
1d544630b6
Allow requesting a particular vcs driver to bypass github/bitbucket ones
13 years ago
till
8d80969f26
trim input
13 years ago
till
4c2da57140
make static
13 years ago
till
c78d9ffece
more inline documentation
13 years ago
till
4da56ea617
explain non-interactive
13 years ago
till
f8d8ccfedc
* in interactive mode: display error message to the user when authorization fails
13 years ago
till
a3363a8560
* SvnDriver::$useCache: false by default
...
* setting is adjust in 'interactive' mode when auth fails
13 years ago
till
061d91b4a8
whitespace
13 years ago
till
1f03d37a89
* only 'ask' the user if the session is interactive
13 years ago
till
a8287118ed
* work on no-auth-cache 'creation'
13 years ago
Jordi Boggiano
6c9f1f6f5b
Merge pull request #416 from DonMartio/master
...
Missing slash permits version evaluation.
13 years ago
DonMartio
b74773053b
Missing slash prevents version evaluation.
13 years ago
Jordi Boggiano
3e22084ea4
Overhaul VcsDrivers, introduce TransportException for remote filesystem errors
13 years ago
till
978d4c145d
* more output
13 years ago
till
59c1a7ff15
* when an auth failure is detected and 'auth' is not present, we ask for credentials
...
* ... and repeat
13 years ago
till
44470da804
* do svnCommand() in execute() to be able to restart the dance in case it failed
13 years ago
till
a3e0a0805c
* always run non-interactive
13 years ago
till
907db48bb5
* wrap execution of commands into local method
13 years ago
till
99eb18d0ff
* rename var from $composer to $output (for consistency)
13 years ago
till
3f665e8bbb
* method to gather if this session is 'interactive' or 'non interactive'
13 years ago
till
d1482bfa3c
* refactor svn command 'creation' into a single method: getSvnCommand()
13 years ago
till
6417a86651
* fix docblocks
13 years ago
Jordi Boggiano
ae6de4be60
Merge pull request #377 from till/svn-auth
...
Svn auth
13 years ago
Jordi Boggiano
f546025bae
Move some code around
13 years ago
Jordi Boggiano
774e9d0da6
Remove dependency on filter_var
13 years ago
till
adfac9e34b
escape arguments
13 years ago
till
9ecbc5176e
remove isset()
13 years ago
till
0ecb710282
* add my credentials into every svn command
13 years ago
till
b30f8078e4
* avoid notice
13 years ago
till
4db4d6720b
correct my typo
13 years ago
till
ba8ccb1955
trailing space
13 years ago
till
275d1c9969
* added a method to return the credential string for the svn command
13 years ago
till
e18a4f7d31
detect if credentials are in the url
13 years ago
Jordi Boggiano
d03fb4804c
Fix local repo detection
13 years ago
Nils Adermann
a04f44a4f1
Merge pull request #359 from Seldaek/branch-alias
...
[WIP] Branch aliases support
13 years ago
Jordi Boggiano
0b7ee194c6
Remove persistence of alias data, make abstract branch aliasing and keep it in composer only
13 years ago
Jordi Boggiano
773338a688
Fixes for SVN support, fixes #172
13 years ago
Jordi Boggiano
1bdab5c4c8
Add markers for leftover problems
13 years ago
Jordi Boggiano
1228c04984
Add support for extra.branch-alias config to remap master on 2.1.x for example
13 years ago
Jordi Boggiano
c0b18bddb9
Bugfixes in the local git repos handling
13 years ago
Per Bernhardt
9a17899608
Although the tag "tip" does not provide a valid package version (see VersionParser), the implementation of HgDriver::getSource uses tip as the prefered label for the branch that tip is currently on.
...
This is not a problem at first hand because you can install a new package correctly with "tip" as source reference.
The problem is that any new revision on that branch won't lead to a new package, because the package will always refer to the same reference "tip".
Therefore you cannot update your project to the new version with "composer update".
13 years ago
Jordi Boggiano
5eb333680b
Rename findPackagesByName to findPackages and allow version arg
13 years ago
Igor Wiedler
d9b535e230
[pear-prefix] fix installing pear packages
13 years ago
Igor Wiedler
06f1ecf83a
[pear-prefix] add a pear-{channel}/ prefix to PearRepository packages
13 years ago
Nils Adermann
03a9e0dfee
Merge pull request #330 from Seldaek/repositories
...
[BC Break] Refactor repositories configuration
13 years ago
Jordi Boggiano
d0d5329f6f
Fix package repositories
13 years ago
Jordi Boggiano
c12dccd3d4
Restore quality of debug output
13 years ago
Jordi Boggiano
f73c08043f
Refactor VcsRepo to follow new dev model
13 years ago
Jordi Boggiano
32157a3904
Fix local git repo handling in GitDriver
13 years ago
Jordi Boggiano
e2199b2b03
Fixed automatic date parsing of versions
13 years ago
Jordi Boggiano
a28fa790be
Fix regex
13 years ago
Jordi Boggiano
fa8cb14073
Simplify check
13 years ago
Jordi Boggiano
f152fe723d
Allow local file system git repos & do not restrict to valid http* urls
13 years ago
Jordi Boggiano
d0f6b679bc
Merge remote-tracking branch 'francoispluchino/master'
13 years ago
Logan Aube
ea05f678fd
Exception mentioned PEAR repository when should be VCS, was misleading
13 years ago
François Pluchino
2e3eed081a
Merge remote branch 'composer/master'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
13 years ago
François Pluchino
953f0992f7
Merge callback method of FileDownloader and VcsDriver
...
Required corrections added
13 years ago
Jordi Boggiano
256bfedea1
Merge remote-tracking branch 'jalliot/proxy2'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
src/Composer/Repository/PearRepository.php
13 years ago
Jordi Boggiano
e92e3ba355
Simplify code
13 years ago
Henrique Moody
b030a36bf5
Some PEAR repositories does not works because of a wrong link parse.
13 years ago
Jordi Boggiano
416ae21a5a
Robustness fixes for new PEAR2 compat code
13 years ago
François Pluchino
f5d90e1340
Download Dist Package when the info is defined in root composer file
13 years ago
Henrique Moody
230f43d009
Chaged the key "recommend" for "suggest" in the parse of the PEAR2 dependences.
13 years ago
Henrique Moody
61c66b98a8
Correction of wrong variable name.
13 years ago
Henrique Moody
b3d91cab02
Update dependence resolution for PEAR2 packages.
13 years ago
Henrique Moody
9ca157913a
Remotion of a debug code.
13 years ago
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
Igor Wiedler
ea31039556
[autoload] autoloading prototype
13 years ago
everzet
d5ba884f8b
fixed potential error
13 years ago
everzet
1cca62dc97
move json parsing instructions into single class object
13 years ago
everzet
cc2f2b79ca
added findPackage() method to the RepositoryManager and RepositoryInterface
13 years ago
Jordi Boggiano
c863c31881
Rename platform packages so they avoid conflicts with any vendor
13 years ago
Jordi Boggiano
2e10b5c17e
Expand normalization feature and adjust tests
13 years ago
Jordi Boggiano
46a67733f8
Adjust codebase to the new VersionParser
13 years ago
Jordi Boggiano
e5907a3431
Remove WrapperRepository in favor of PlatformRepository wrapping the local repo
13 years ago
Jordi Boggiano
4fe80d7abb
Add WrapperRepository class
13 years ago
everzet
0694f5217a
Implemented RepositoryManager
13 years ago
everzet
20318f77a0
Refactored FilesystemRegistry to FilesystemRepository
13 years ago
everzet
5c841187fd
Fixed RepositoryInterface
13 years ago
everzet
28d9df7da6
Added hasPackage and removePackage methods to the ArrayRepository
13 years ago
everzet
9f98ee25ea
Enhanced repository interface
13 years ago
Jordi Boggiano
8533a65061
Remove unused methods from RepositoryInterface
13 years ago
Jordi Boggiano
e700e6fcd9
Use new version parser in PlatformRepository
13 years ago
Jordi Boggiano
d27691a67f
Fix namespace/use/typo issues
13 years ago
everzet
9deb10361f
second batch of refactoring
13 years ago
everzet
5f4d46f7ae
repository factoring refactoring
13 years ago
Jordi Boggiano
ba9f12a517
Add extra and type info to packages
13 years ago
Jordi Boggiano
49c3446ac1
Make use of new dist properties, refactored ZipDownloader
13 years ago
Jordi Boggiano
f272f66324
Fixes and improvements to the PEAR implementation
13 years ago
Jordi Boggiano
5b061b8ddb
Remove TODO
13 years ago
Benjamin Eberlei
fa613cad19
Rewrite PearRepository to implement PEAR Client/Server protocol itself, taking longer then pear remote-list, but at least showing ALL available versions, making arbitrary dependencies possible.
13 years ago
Benjamin Eberlei
8afc2ca694
Add support for PEAR repository and downloading, example composer.json would look like {"repositories":{"doctrine": {"pear":" http://pear.doctrine-project.org "},"requires":{"DoctrineORM":"2.0.5"}}. You can use pear repositories this way for now. PEAR packages are not downloaded via pear, only via their .tgz packages in the PEAR repository. Automatically detecting dependencies will require reverse-engineering the PEAR protocol a little bit more, however from looking at a pirum output it looks simple.
13 years ago
Nils Adermann
c225b4c689
Correctly match platform specific PHP version numbers
13 years ago
Jordi Boggiano
52888f193d
Fix version parsing of PHP on some linux distros
14 years ago
Jordi Boggiano
ae922eaf4c
Use ReflectionExtension to read ext versions
14 years ago
Jordi Boggiano
bb52105c37
Add GitRepository class
14 years ago
Jordi Boggiano
56da52d38f
PlatformRepository now adds packages for every loaded php extension as well
14 years ago
Jordi Boggiano
05d527446b
addPackage needs to trigger initialization too
14 years ago
Jordi Boggiano
d185194d1a
Create links/constraints between packages
14 years ago
Jordi Boggiano
b53a3086b6
Minor refactorings and changes
14 years ago
Nils Adermann
f0af6b7d57
It's called a repository, not a registry
14 years ago
Jordi Boggiano
e03983697a
Add base installer/downloader and ComposerRepository
14 years ago
Jordi Boggiano
2475ce47e4
Make ArrayRepository more extensible
14 years ago
Jordi Boggiano
3da43e751d
Update naming of repositories
14 years ago