Jordi Boggiano
40df5dddee
Add secure-http:false option to disable the https default of gitlab driver when using ssh urls, fixes #5254
9 years ago
Jordi Boggiano
35fbf9bc14
Merge branch '1.0'
9 years ago
msarca
9f58c3d6e3
Fixed a bug that prevented interactive authentication to work properly
9 years ago
Jordi Boggiano
4c50136522
Avoid caching nulls, refs #5234
9 years ago
Jordi Boggiano
d8c94c2640
Merge remote-tracking branch 'curry684/home-expansion'
9 years ago
Jordi Boggiano
b6680b6f2a
Fix why-not command to dig deeper when it is given a specific version it checks installed packages against that version's requirements
9 years ago
Jordi Boggiano
95e0347917
Merge branch '1.0'
9 years ago
Jordi Boggiano
766c45c047
Add support for local paths pointing directly at the .git folder instead of actual repo, refs #3338
9 years ago
Jordi Boggiano
2062070be9
Warn users with secure-http disabled once per hostname they access insecurely to avoid bad URLs going by undetected, fixes #5008
9 years ago
Jordi Boggiano
ff4e2ec219
Avoid lazy-loading composer-plugin-api
9 years ago
Niels Keurentjes
23ad67b3be
Implement support for tilde expansion, mainly for path repositories
9 years ago
Jordi Boggiano
1f0b01e70d
Merge remote-tracking branch 'watermanio/strict-types' into 1.0
9 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
9 years ago
Jordi Boggiano
da9b43dcc8
Merge remote-tracking branch 'curry684/code-quality' into 1.0
9 years ago
Jordi Boggiano
ad5951218b
Also trim trailing slashes in PathRepo, refs #5164
9 years ago
Niels Keurentjes
eb77c0b7f5
phpDoc cleanup, removed unused imports, variables and parameters.
9 years ago
Niels Keurentjes
818c3e707a
Ton of phpDoc fixes.
9 years ago
Niels Keurentjes
e6f21137ad
Undefined or default return points fixed.
9 years ago
Andy Waterman
d4207ff49f
Strict type checks of null and bool
9 years ago
Jordi Boggiano
b2b4603215
Fix handling of http://foo/packages.json style repo URLs, fixes #5135
9 years ago
Jordi Boggiano
870dcece1f
Merge pull request #5120 from Seldaek/improve-errors
...
Improve solver error reporting
9 years ago
Jordi Boggiano
623c0dcda7
Improve solver error reporting, fixes #5086 , fixes #2575 , fixes #2661
9 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
9 years ago
Jordi Boggiano
cb971fcb0e
Hijack pear.php.net from http to force https, refs #5071
9 years ago
Jon Dufresne
939955fb2c
Prefer the first https:// PEAR mirror; avoid http://.
...
Fixes #5069
9 years ago
Niels Keurentjes
d41bd2909b
Make path repository options part of the dist reference hash, fixes #5048
9 years ago
Jordi Boggiano
8bf46768f3
Improve error reporting when loading artifact repos
9 years ago
Jordi Boggiano
3933a7f404
Add conflict detection in why-not, fixes #5013
9 years ago
Jordi Boggiano
8fc659fea3
Allow loading of transport-options in package repo, fixes #4991
9 years ago
Jordi Boggiano
27e1c4358e
Fix show/depends commands to display and abort when a circular dep was reached, fixes #4983
9 years ago
Jordi Boggiano
7e1a23eef7
Add missing use statements
9 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
9 years ago
Jordi Boggiano
8cfbe7023d
CS fixes
9 years ago
Jordi Boggiano
bf1ddaa298
Fix method name for php5
9 years ago
Jordi Boggiano
1aec1c1fc8
Add --repository flag to init command, and rename --repository-url to --repository in create-project, fixes #4200 , closes #4207 , closes #2604 , fixes #2920
9 years ago
Jordi Boggiano
6825c04a62
Merge pull request #4799 from balbuf/balbuf/honor-class-name
...
createPackage() method should use the $class argument it accepts
9 years ago
Niels Keurentjes
f794ee7870
Fixes for implicit variable declarations, return type mismatches and invalid method declarations.
9 years ago
Niels Keurentjes
b059cbe37c
Removed unused variables and includes, fixed functions being called with more arguments than declared.
9 years ago
Niels Keurentjes
868e607f17
Missing parent constructor calls.
9 years ago
Jordi Boggiano
7ac783197b
Keep v prefix on pretty version for numerical branches
9 years ago
Jordi Boggiano
bad80878bc
Merge remote-tracking branch 'sashman/master'
9 years ago
Jordi Boggiano
1375f8e60a
Remove setter/getter that isnt needed, refs #4933
9 years ago
Jordi Boggiano
4df7ade801
Merge remote-tracking branch 'burci/feature/path_downloader_option_to_force_copy'
9 years ago
Rob Bast
a245c4618b
php-cs-fixer
9 years ago
Jordi Boggiano
d7855d03c7
Fix some formatting and prettify the tree, refs #4917
9 years ago
Jordi Boggiano
f681dbc51e
Merge remote-tracking branch 'curry684/rewrite-depends'
9 years ago
Jordi Boggiano
fff0aed3a6
Allow Semver VersionParser in input hints
9 years ago
Jordi Boggiano
c9436438ff
Add memoization to parseConstraints, saves some (6-7% here) RAM and marginal CPU time
9 years ago
Franz Liedke
ea30392105
RepositoryManager::prependRepository()
...
This method is useful for dynamically adding repositories with
higher priority than Packagist, e.g. from a Composer plugin.
9 years ago
Sash
582e361a88
Fixing array accessing
9 years ago
Sash
f6899e5c38
#4828 Using version guesser to pull out the commit has for git repositories. The return value is now an array with version and commit values.
9 years ago
Peter Buri
861b2bc8e8
Introduce option to force copy instead of symlinking in PathDownloader
9 years ago
Niels Keurentjes
75bb0d9b10
Implemented Prohibits and Depends correctly now.
9 years ago
Niels Keurentjes
5c98421ae8
Introduce BaseRepository common ancestor class for all repositories to offload command logic.
9 years ago
Jordi Boggiano
8a2d1a2ee2
Make artifact paths in lock file cross-platform, fixes #3832
9 years ago
Niels Keurentjes
ebfceefca6
Removed long deprecated functions that were no longer referenced anywhere.
9 years ago
Niels Keurentjes
72a3563f1e
Removed some 3 year old backward compatibility code.
9 years ago
Jordi Boggiano
39ccb929b1
Merge pull request #4801 from balbuf/balbuf/find-provider-break-early
...
Break early when a provider name is matched
9 years ago
Jordi Boggiano
25e089eee9
Allow force-lazy-providers for any repo, still an experimental flag that should not be used though
9 years ago
Niels Keurentjes
ff6700f9ee
Ignore empty path repositories per issue #4903
9 years ago
Rob Bast
baabc612f6
adjust message, skip test
...
currently we have no way to put dynamic values or wildcards in EXPECT-OUTPUT
9 years ago
Jordi Boggiano
2e1cdccac0
Merge pull request #4875 from cs278/openssl-platform-version
...
Handle OpenSSL's many patch releases
9 years ago
Chris Smith
0818a6ed54
Previous attempt would cause 0.9.8aa == 0.9.8b
9 years ago
Chris Smith
f6f273c4b6
Improve OpenSSL library description
9 years ago
Chris Smith
e9e2514b5e
Handle OpenSSL version after 26 patch releases
...
e.g. https://github.com/openssl/openssl/blob/OpenSSL_0_9_8zh/crypto/opensslv.h#L33
9 years ago
Rob Bast
47aa87ea97
use full json content to determine reference, closes #4859
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Jordi Boggiano
1818b95149
CS fixes
9 years ago
Niels Keurentjes
84fed02df1
Globbing while resolving path repositories now normalizes to slashes for predictable cross-platform behaviour. Fixes #4726
9 years ago
Stephen Beemsterboer
f1cf5d64dd
createPackage() method should use the $class argument it accepts
9 years ago
Stephen Beemsterboer
c1b9b082a4
Break early when a provider name is matched
9 years ago
Jordi Boggiano
a13b06725e
Add support for if-modified-since on lazy repos and turning packagist into a lazy provider repo
9 years ago
Jordi Boggiano
1d08f83976
Only clone if needed
9 years ago
Jordi Boggiano
33c123e8c2
Fix passing of options to remotefilesystem in composer repo
9 years ago
Jordi Boggiano
876f143418
Forward repo options correctly to the RemoteFilesystem even if we get one injected, fixes #4786
9 years ago
Jordi Boggiano
b839c7ef1c
Fix code to work with old php, fixes #4779 #4780
9 years ago
Jordi Boggiano
974fb4ac66
Only pass remotefilesystem when needed, fixes #4779
9 years ago
Jordi Boggiano
c1cc6bfecf
Avoid doing too many loads of the remotefilesystem
9 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
Jordi Boggiano
fd7267e4ad
Show overridden versions (as well as original) in composer show -p
9 years ago
Jordi Boggiano
764de14b5e
Add caching to bitbucket API requests
9 years ago
Jordi Boggiano
64b0d72183
Add missing git fallback function in gitlab driver
9 years ago
Jordi Boggiano
29312be4df
Strict typing fixes
9 years ago
Jordi Boggiano
feefd51565
Fix custom installer example, fixes #4648
9 years ago
Jordi Boggiano
6d9e04c0e9
Tweak regex usage
9 years ago
Jordi Boggiano
ddd85afd32
Merge pull request #4633 from jaapio/feature/gitlabInstallPath
...
Adds support for gitlab installed in subfolder
9 years ago
Jaapio
df92cb09ab
extract regex to const. To be able to reuse it
9 years ago
Lukáš Homza
5b748eda6c
Allows repositories to implement ConfigurableRepositoryInterface and thus provide getRepoConfigmethod
9 years ago
Jaapio
b471440ea0
Adds support for gitlab install in subfolder
...
Since gitlab can be hosted on any url also subdirectories should be
supported. (e.g https://mycompany.com/gitlab ).
This supports only http and https protocols since the gitlab api url
is derived from the package repository url. And the ssh protocol doesn't
support folders this way.
9 years ago
Jordi Boggiano
020c126c27
Fix CS
9 years ago
Jordi Boggiano
a10bffec0e
Merge remote-tracking branch 'GromNaN/gitlab'
9 years ago
Jérôme Tamarelle
4255db9e31
Allows SSH urls for gitlab and detect the scheme
...
SSH urls uses HTTPS to request the API
9 years ago
Jordi Boggiano
6c9b161c43
Re-use locker content hash logic to generate dist reference, refs #4515
9 years ago
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
9 years ago
Jerome TAMARELLE
db056b8383
Fix retry authentification on gitlab oauth
9 years ago
Jerome TAMARELLE
211d4632bb
Fix compatibility with PHP 5.3
9 years ago
Joel Wurtz
7f42fe4c10
Issue #4512 Set reference in path repository
9 years ago
Sullivan SENECHAL
4f4d236be3
PackageInterface[] on RepositoryInterface php doc
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Jordi Boggiano
c41079192f
Merge pull request #4454 from alcohol/urlencode-urls-only
...
only urlencode $ if filename is not local
9 years ago