Pierre Rudloff
3abad250e9
.tar.xz downloader
2015-10-31 18:18:11 +01:00
annesosensio
2e4157145b
Made wildcard expansion consistent with bash
2015-10-30 21:30:50 +01:00
Jordi Boggiano
ac1a0c898d
Add exclude-from-classmap support in validation
2015-10-30 20:04:25 +00:00
Jordi Boggiano
6c16510743
Add support for wildcards in exclude-from-classmap, refs #1607
2015-10-30 19:12:30 +00:00
Jordi Boggiano
f1b0c073ad
Tweaked exclude-from-classmap: windows support, normalize paths and make sure they are all package-relative and do not leak to other packages, refs #1607
2015-10-30 00:22:04 +00:00
Jordi Boggiano
084f6de24e
Merge remote-tracking branch 'trivago/add_exclude'
...
Conflicts:
doc/04-schema.md
src/Composer/Autoload/AutoloadGenerator.php
2015-10-30 00:00:44 +00:00
Jordi Boggiano
ef2856ef55
Take php version into account for create-project command version selection
2015-10-29 22:35:30 +00:00
Rob
c7ed232ef4
Merge pull request #4529 from jeroenseegers/warn-on-commit-reference
...
Generate a warning when a commit reference is used
2015-10-29 10:52:59 +01:00
xelan
32517d90d2
Escape angle brackets for commit message output
2015-10-29 09:01:28 +01:00
Jordi Boggiano
599ad77167
Merge pull request #4542 from bd808/feature/support-merge-plugin
...
Allow easier manipulation of RootAliasPackage
2015-10-28 03:45:57 +00:00
Jordi Boggiano
6582c337d0
Fix typo
2015-10-28 00:06:21 +00:00
Jordi Boggiano
8e99cec3e7
Fix ref to findShortestPath
2015-10-28 00:04:33 +00:00
Bryan Davis
dc40bf9f51
Remove unused local variables from AliasPackage
2015-10-27 14:44:57 -06:00
Bryan Davis
06c44ce998
Add setters used by composer-merge-plugin to RootPackageInterface
...
Extend RootPackageInterface with setter functions used by
composer-merge-plugin and implement them for RootAliasPackage. This will
allow composer-merge-plugin and similar code that manipulates the root
package at runtime to ignore the difference between a RootPackage and
a RootAliasPackage.
2015-10-27 14:43:29 -06:00
Jordi Boggiano
193a072d3c
Clarify that the abstract constraint should not be relied upon anymore
2015-10-27 19:13:50 +00:00
Bryan Davis
2eb0af264b
Allow RootAliasPackage to override cached values
...
AliasPackage caches the values of 'requires', 'devRequires',
'conflicts', 'provides', 'replaces' locally to allow `self.version`
references to be properly updated to reference the alias. Plugins like
composer-merge-plugin that manipulate these settings at runtime need to
be able to change the values after alias construction.
2015-10-27 12:36:13 -06:00
Jordi Boggiano
1160b782c8
Deduplicate classmap creation and add support for loading classmaps on the fly for plugins & co
2015-10-27 17:47:25 +00:00
Jordi Boggiano
8cd6598d8d
Simplify php version fetching
2015-10-27 16:40:52 +00:00
Jordi Boggiano
125dc62fab
Make trigger error visible
2015-10-27 16:11:07 +00:00
Jordi Boggiano
615638c7c3
Simplify bin-compat by removing the nosymlink option, refs #3704
2015-10-27 15:36:12 +00:00
Jordi Boggiano
c9b51a5751
Merge remote-tracking branch 'kocsismate/feature-bin-compat'
2015-10-27 15:20:53 +00:00
Jordi Boggiano
ebe0c8d79c
Fix issue #3229 , refs #3184
2015-10-27 15:12:18 +00:00
Jordi Boggiano
90a90e22de
Merge remote-tracking branch 'Wirone/unixy-proxy'
...
Conflicts:
src/Composer/Installer/LibraryInstaller.php
2015-10-27 15:10:35 +00:00
Jordi Boggiano
82349bcb2a
Fix support for extracting stability flags in multi-constraints, fixes #4440
2015-10-27 14:59:48 +00:00
Jordi Boggiano
507415e404
Make VersionSelector prefer stable by default and allow specifying a PHP version that must be matched, fixes #4318
2015-10-27 14:43:04 +00:00
Jeroen Seegers
279b5f0156
Drop irrelevant properties from composer_commit-ref.json
2015-10-27 14:20:45 +01:00
Jeroen Seegers
f3dc31839f
Refactor commit-ref validation
...
The require and require-dev arrays have been merged into one and no
longer user private methods/properties to collect warnings.
2015-10-27 13:59:29 +01:00
Jordi Boggiano
4f934d9282
Avoid sending install notifications in dry-run mode
2015-10-26 15:01:06 +00:00
Jordi Boggiano
3d9daea6a0
CS fixes
2015-10-25 15:19:15 +00:00
Boris Momčilović
b05b52ff7e
InstallationManager: notifyInstalls: append authorization header for repository
2015-10-24 00:58:34 +02:00
Jeroen Seegers
73e73c90fb
Generate a warning when a commit reference is used
...
Closes #4485
2015-10-23 21:38:11 +02:00
Rob
f85d965732
Merge pull request #4501 from tw2113/master
...
add spacing consistency around phpdoc attributes
2015-10-19 12:04:38 +02:00
Joel Wurtz
7f42fe4c10
Issue #4512 Set reference in path repository
2015-10-18 11:57:43 +02:00
npiderman
ed23b1c4db
Issue #2384 allow 'prefer-stable' and 'minimum-stability' to be set via composer config command
2015-10-17 10:58:53 -04:00
Jordi Boggiano
a54f84f05f
Merge pull request #4479 from MakiCode/feature#4397
...
Added --file flag: Feature#4397
2015-10-13 14:09:04 +01:00
Rob Bast
1c7016de45
remove dead code/class
2015-10-13 12:37:15 +02:00
Rob Bast
1bf03e9621
fixed various docblocks and class properties in solver
2015-10-13 12:27:48 +02:00
Rob Bast
b523fc0b7b
ran fixers
2015-10-13 11:35:51 +02:00
Michael Beckwith
459a48ad5b
add spacing consistency around phpdoc attributes
2015-10-13 00:46:26 -05:00
MakiCode
1c0b9cd65f
Removed test for non-string file name check
2015-10-12 10:20:45 -05:00
MakiCode
fefc106ef6
Removed type check on ArchiveManager
2015-10-12 10:18:57 -05:00
MakiCode
22e93f110b
Fixed indentation
2015-10-07 15:52:58 -05:00
MakiCode
7005d89847
Fixed bug
2015-10-07 12:44:23 -05:00
MakiCode
63ede6c9dd
Fixed issues with PR
2015-10-07 12:42:19 -05:00
Rob
7a9eb02190
Merge pull request #4455 from samsaggace/config_archive
...
Enable command line configuration for archive-dir and archive-format
2015-10-07 12:05:33 +02:00
MakiCode
0d00338bdb
Added better messages and fixed bugs
2015-10-04 20:03:06 -05:00
MakiCode
906c1c2e66
Added check for filename in archive manager and added test
2015-10-04 19:53:07 -05:00
MakiCode
87b5af60a8
Almost finished adding --file option, need to add unit test
2015-10-02 09:09:09 -05:00
Rob
edf14dab15
Merge pull request #4469 from Soullivaneuh/patch-1
...
PackageInterface[] on RepositoryInterface php doc
2015-10-01 22:12:34 +02:00
Jordi Boggiano
790a941cba
Merge pull request #4470 from alcohol/fix-config-lookup
...
itteratively expand key and attempt to match
2015-10-01 14:48:22 +01:00
Rob Bast
7bd0c5abdd
itteratively expand key and attempt to match
...
fixes #4459 (also)
2015-10-01 15:05:38 +02:00
Sullivan SENECHAL
4f4d236be3
PackageInterface[] on RepositoryInterface php doc
2015-10-01 14:54:45 +02:00
Jordi Boggiano
5ccaad92c1
Merge remote-tracking branch 'alcohol/weird-config-listing-issue'
2015-09-30 11:52:04 +01:00
Rob Bast
2dbad30336
fixes #4459
2015-09-29 20:57:26 +02:00
Sebastien Chemin
3896a6c263
Enable cmdline configuration for archive-dir and archive-format
...
Examples of commands :
composer config --global archive-dir $HOME/.composer/repo
composer config --global archive-format zip
2015-09-28 13:22:38 +02:00
Jordi Boggiano
ce08582671
Fix CS
2015-09-28 10:53:24 +01:00
Jordi Boggiano
c41079192f
Merge pull request #4454 from alcohol/urlencode-urls-only
...
only urlencode $ if filename is not local
2015-09-28 10:38:16 +01:00
Rob Bast
b219abe8f6
@seldaek damn your assignment in expression
2015-09-28 10:59:26 +02:00
Rob Bast
e491b72a8c
only urlencode $ if filename is not local
2015-09-28 10:39:36 +02:00
Rob Bast
1328d9c3b2
rename baseversionparser to semverversionparser
...
and fix docblock as per @stof request
2015-09-25 11:05:38 +02:00
Rob Bast
89717fa593
implement old linkconstraintinterface for BC
2015-09-25 10:59:56 +02:00
Rob Bast
0adcab7a19
compile phar with semver included
2015-09-24 16:49:10 +02:00
Rob Bast
a1ad7fc435
fix classname clashing cause of existing class in current namespace
2015-09-24 16:48:46 +02:00
Rob Bast
ddb1c1e052
these 2 use parseNameVersionPairs
2015-09-24 16:34:48 +02:00
Rob Bast
a1427d7fd6
replace all occurences in code and comments
2015-09-24 16:32:36 +02:00
Rob Bast
1ccfc8eb96
add semver, deprecated existing classes
2015-09-24 16:28:28 +02:00
Dennis Birkholz
9febf55f76
Store url relative again, fix 4439
2015-09-23 17:51:41 +02:00
Gavin Staniforth
c1e60a0abd
Ensure the bin directory exists before checking empty
...
Line 130 has similar logic so avoided doing the check withiin `isDirEmpty()`
2015-09-23 13:46:35 +01:00
Jordi Boggiano
41a87a3ae7
Adjust file path output, refs #4379
2015-09-23 00:41:24 +01:00
Jordi Boggiano
9b61b808ec
Merge remote-tracking branch 'javihgil/master'
2015-09-23 00:32:26 +01:00
Jordi Boggiano
80f1e4372a
Remove empty bin dir after all binaries have been removed from it, fixes #3451
2015-09-22 23:54:43 +01:00
Jordi Boggiano
9f2e562e48
Add --strict flag to validate command to treat warnings as failures as well, refs #3202
2015-09-20 19:44:55 +01:00
Jordi Boggiano
ae23979dfa
Add validation warning for prs-0/4 definitions without namespace prefix, refs #3202
2015-09-20 19:29:53 +01:00
Jordi Boggiano
e61b3a6370
Allow the validate command to validate dependencies with -A/--with-dependencies, refs #3202
2015-09-20 19:29:04 +01:00
Jordi Boggiano
ed95448523
URL-encode dollar signs to work around bad proxy failures
2015-09-20 18:26:23 +01:00
Jordi Boggiano
1e8d7255b7
Fix access to undefined var, refs #4422
2015-09-20 17:39:00 +01:00
Jordi Boggiano
8f44f9cc67
Merge pull request #4422 from dennisbirkholz/wildcard-repositories
...
Enable wildcards in path names for path repositories
2015-09-20 16:41:02 +01:00
Jordi Boggiano
8913ac2fff
Merge pull request #4362 from bd808/classmap-authoritative-cli
...
Add cli argument for classmap-authoritative
2015-09-20 16:00:21 +01:00
Dennis Birkholz
681e543793
Make check more obvious
2015-09-18 17:55:07 +02:00
Dennis Birkholz
6b1c9882dd
Replace tracking variable with direct package count check
2015-09-18 17:26:31 +02:00
Jordi Boggiano
9e67bc761b
Merge pull request #4131 from ammmze/artifact-follow-symlink
...
Follow symlinks when searching for artifacts
2015-09-18 15:32:06 +01:00
Jordi Boggiano
5736a59fe3
Merge pull request #4428 from webfactory/update-source-type-and-ref
...
Update source type and reference along with URLs
2015-09-18 15:02:05 +01:00
Matthias Pigulla
3c08318ea0
Add test
2015-09-18 15:31:54 +02:00
Dennis Birkholz
2fb7dd881a
Fix missing trailing / in repository paths
2015-09-18 15:03:15 +02:00
Dennis Birkholz
3ef222c920
Make repository path absolute (again)
2015-09-18 15:01:06 +02:00
Dennis Birkholz
973491b65d
Fix docblock, path names returned by glob() are not necessary absolute
2015-09-18 14:31:42 +02:00
Dennis Birkholz
19146d1cec
Docblock fix as suggested by @alcohol
2015-09-18 14:26:01 +02:00
Jordi Boggiano
f96ec35c1d
Merge pull request #4423 from dennisbirkholz/minor-changes
...
Fix check for flag in case RELATIVE_PATHS should be changed somehow
2015-09-18 13:10:05 +01:00
Matthias Pigulla
2db52ebeba
Also update source type and reference when changing URLs
2015-09-18 12:04:21 +02:00
Jordi Boggiano
0cbf679f21
Avoid failing to write the lock file if a lock file is present but corrupt/conflicted
2015-09-17 14:46:19 +01:00
Samuel ROZE
f6d5d65bcd
Use shortest relative paths for symlinks
2015-09-16 10:06:32 +01:00
Dennis Birkholz
c06edd61e4
Fail if no repository was found
2015-09-15 18:28:17 +02:00
Dennis Birkholz
e4435790a4
Documentation
2015-09-15 17:39:55 +02:00
Dennis Birkholz
1d7fa565e6
Fix check for flag in case RELATIVE_PATHS should be changed somehow
2015-09-15 17:33:31 +02:00
Dennis Birkholz
4209fd2e4a
Store correct url for package, not original url containing wildcards.
2015-09-15 17:27:36 +02:00
Dennis Birkholz
323537ad0f
Allow wildcards in repository path names.
2015-09-15 16:41:07 +02:00
Jordi Boggiano
7267b2ed90
Merge pull request #4418 from olvlvl/olvlvl-optimize-getio
...
Optimized this->getIO()
2015-09-14 15:48:45 +01:00
Samuel ROZE
d0a9550dea
Uses `realpath` to fix relative path issues
2015-09-14 15:20:06 +01:00
Olivier Laviale
cc522c20bb
Optimized this->getIO()
2015-09-14 14:30:26 +02:00
Samuel ROZE
a3f5f60359
Update output to have a coherent one
2015-09-14 10:18:55 +01:00