1
0
Fork 0
Commit Graph

46 Commits (c6cc6dd6070871f4b198ed39f76dd8047c116b02)

Author SHA1 Message Date
Kunal Mehta 14d1f0f3f6 Move VersionParser::parseLinks() to ArrayLoader::parseLinks()
Working towards #3545.

parseLinks is a wrapper around VersionParser::parseConstraints() that
creates Link objects, and better belongs in ArrayLoader.
2015-07-03 19:35:54 -07:00
Jordi Boggiano 6a64041055 CS fixes 2015-06-30 15:38:32 +01:00
Jordi Boggiano a943827371 Show that no version was found in composer show/license if root package is auto-versioned, fixes #4158 2015-06-18 23:47:17 +01:00
Rob Bast 89885140d3 Created a failing test case 2015-06-02 15:04:58 +02:00
Possum 2e99b9fdf5 Use https where possible 2015-05-04 19:37:57 +02:00
Jordi Boggiano 0b4a9235f4 CS fixes 2015-02-24 14:22:54 +00:00
Jordi Boggiano 53925295c3 Merge pull request #3699 from trivago/non_feature_branches
added non-feature-branches
2015-02-14 15:44:45 +00:00
rkerner abc9d60fcc added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches 2015-02-02 14:36:50 +01:00
Jordi Boggiano cd38d1e096 Tweaks to also support 1.0-dev style aliases, refs #3480 2015-01-20 10:26:10 +00:00
Damian Mooyman 7bb85ff21e Support aliases for numeric branches. Fixes #3461 2015-01-20 17:42:01 +13:00
Christophe Coevoet 267af928df Add a failing testcase for stability flags in complex constraints
Refs #3570
2014-12-22 12:27:56 +01:00
Rafael Dohms d6d087d348 Support for Abandoned in Packages
Added parsing for abandoned property into the CompletePackage Object.
2014-10-02 23:53:21 +02:00
Jordi Boggiano ac497feaba CS fixes 2014-06-10 16:13:12 +02:00
Jordi Boggiano 32cd883daa Rename options to transport-options, refs #2189 2014-05-07 18:25:28 +02:00
Jordi Boggiano 31092843fd Only load options when they come from the lock file, not from standard metadata, refs #2189 2014-05-07 18:12:26 +02:00
Jordi Boggiano 016a016455 Merge remote-tracking branch 'lcobucci/master'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
2014-05-07 18:02:46 +02:00
Jordi Boggiano e7b82cdd88 Only check in require and for non-platform packages, add flag to make this warning optional, refs #2320 2014-04-09 15:37:50 +02:00
Jordi Boggiano e0004d0656 Merge remote-tracking branch 'stof/validate_unbound_constraints' 2014-04-09 14:51:14 +02:00
Andreas Hennings e4bbd83f13 expected message in ValidatingArrayLoaderTest should also contain psr-4 as allowed key. 2013-12-22 19:03:23 +01:00
Christophe Coevoet 6cc95c43e3 Add a warning for unbound constraints in the validating loader
Closes #2165
2013-10-12 02:29:16 +02:00
Luís Otávio Cobucci Oblonczyk 8630aab93f Package options must be a non mandatory array and should be loaded when
exists
2013-08-19 04:40:08 -03:00
Jordi Boggiano 0044c75ca0 Fix detection of tags when the current tag is not a valid version 2013-08-12 10:27:25 +02:00
Jordi Boggiano 8b293633ae Merge remote-tracking branch 'simensen/non-dev-version'
Conflicts:
	src/Composer/Package/Loader/RootPackageLoader.php
	tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php
2013-08-12 02:39:52 +02:00
Jordi Boggiano d740f50277 Fix parsing of inferred stability flags that are more stable than the min stability 2013-07-28 19:40:37 +02:00
Beau Simensen 215556df7c Use --tags to get non-annotated tags as well. 2013-05-21 09:59:41 -05:00
Beau Simensen f9fe39e624 Fixed the existing test and added a new one for git tag version guessing. 2013-05-21 06:14:34 -05:00
Jordi Boggiano faa419cc0e Merge remote-tracking branch 'hason/alias' 2013-04-28 12:54:59 +02:00
Beau Simensen ffd45b7678 Validate autoload options are of a supported type
Checks to ensure that the autoload options are one of the three supported
autoload types.

closes #952
2013-04-25 14:02:15 -05:00
Martin Hasoň 753a8345cb Added support for the alias of an aliased package 2013-04-11 13:20:34 +02:00
Nils Adermann afcdad4b23 Define an option to exclude files in the archive command 2013-03-28 12:49:52 +01:00
Jordi Boggiano bb685d9c7f Fix license validation and add feedback of values to ease reading 2012-11-05 20:04:29 +01:00
Jordi Boggiano cbd91b5952 Fix FILTER_VALIDATE_URL not supporting IDNs 2012-11-05 15:39:43 +01:00
Jordi Boggiano e05391dc44 Improve validating array loader to avoid false positives 2012-11-05 14:18:04 +01:00
Jordi Boggiano 967c771b26 Add warnings to ValidatingArrayLoader that are simply stripped by default, add reporting of warnings when loading branches 2012-11-05 12:08:02 +01:00
Jordi Boggiano 4b531771bd Add validators for package links and minimum-stability 2012-11-02 15:14:09 +01:00
Jordi Boggiano beb9a5bd72 Code optimizations: avoid loops in match() 2012-10-14 16:35:32 +02:00
Jordi Boggiano c65af3e3a1 Add ValidatingArrayLoader and more validation for the validate command 2012-07-18 17:20:56 +02:00
Jordi Boggiano ffecd39d33 Refactor repositories handling in config/factory/loader, fixes #828, fixes #826 2012-06-24 13:06:13 +02:00
Jordi Boggiano 3ac11b932c Expose default repositories in system config file 2012-06-23 12:55:05 +02:00
Jordi Boggiano 4a6ae454c2 Merge remote-tracking branch 'dpb587/multiple-repos'
Conflicts:
	src/Composer/Factory.php
	src/Composer/Package/Loader/RootPackageLoader.php
	tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php
2012-06-23 12:09:31 +02:00
Chris Smith 5e4b2fcc8d Test for detached heads yielding an invalid version 2012-06-14 11:03:26 +01:00
Michael Cullum 2653ece028 Adding author role to ArrayLoader Test 2012-05-01 16:03:45 +02:00
Danny Berger 8d6d155153 Add internal support for multiple default composer repositories. 2012-04-26 20:41:45 -04:00
Jordi Boggiano e922404f19 Update/add tests 2012-04-14 23:38:06 +02:00
Jordi Boggiano f6b9488bf0 Move root package handling to a dedicated loader and make ArrayLoader more strict 2011-12-13 01:05:29 +01:00
Jordi Boggiano e340022cce Allow the use of self.version in package links 2011-11-23 16:47:23 +01:00