971 Commits (4f5d979beebe5646b878b203c6efda8889ed2129)

Author SHA1 Message Date
Clark Stuth c11105dd60 Fixing bug not cleaning up workspaces. 10 years ago
Clark Stuth 492539101c got all unit tests passing 10 years ago
Clark Stuth 24dd42267f almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods 10 years ago
Clark Stuth 0f7b078d6c added new dependency to Perforce object, updating some tests. 10 years ago
Jan Brecka ea7717c8e5 improve exception message 10 years ago
Jan Brecka 13b57112a9 Throw RuntimeException when ambiguous reference was found. 10 years ago
Christian Flothmann 2241328934 fix "replace-alias.test" test 10 years ago
Christophe Coevoet b639005f29 Added a failing test for #2626 10 years ago
Eric Stern 634d1aba63 Add @generated annotation to lockfile readme, giving a hint for linters and other static analysis tools 10 years ago
Jordi Boggiano 604a65cc31 Fix indenting, refs #2788 10 years ago
Sylvain Filteau 92e283973f Skip test requiring mbstring when it's not installed 10 years ago
Jordi Boggiano 790a25c348 Adjust dump command, add another test, update docs, refs #1344 10 years ago
Jordi Boggiano 023ff131aa Merge remote-tracking branch 'bamarni/autoload-dev' 10 years ago
Jordi Boggiano 1f2d8908f3 Merge remote-tracking branch 'olvlvl/fix_issue_2598' 10 years ago
Sandy Pleyte 3e161e8ea9 Updated the regexp and added an other test case for sub dirs 10 years ago
Sandy Pleyte 1d51e54a31 Updated the regexp and added more test cases. 10 years ago
Bilal Amarni db91454a13 added an autoload-dev section 10 years ago
Sandy Pleyte 21109ada22 Fix for #2739 (and #1755), added support for directory excludes in the .gitignore file like /directory or directory/ 10 years ago
Jordi Boggiano 0d4c2bb7d7 Fix github test 10 years ago
Jordi Boggiano 5067d76dbc Adjust test suite 10 years ago
Nils Adermann 1ccf4b0fc3 Correct the tests for dist urls for github 11 years ago
Nils Adermann 5ed18d9aa2 Fail over from source to dist and vice versa when downloads fail
Any RuntimeException descendent will be caught and cause another
download attempt using either source or dist depending on what was
attempted first.
11 years ago
Nils Adermann 33e872d7d3 Merge pull request #2733 from naderman/limit-replace-provide
Whitelist packages with names matching those specified before generating rules
11 years ago
Nils Adermann 5b80144ad0 Resolve job packages after whitelist generation 11 years ago
Nils Adermann ec12b8a675 Add tests for the changes in #2690 11 years ago
Nils Adermann 3148ffd355 Whitelist packages with names matching those specified before generating rules
Addresses #2690 doesn't do any performance optimisations yet which we
could do now
11 years ago
Jordi Boggiano eb3384445b Merge pull request #2188 from Danack/GetRootComposerJson
Find root composer.json in zip artifact more reliably.
11 years ago
Danack e4d4a7ae17 Added comment for generating files. 11 years ago
Danack 24aba5b51f Moved file back to correct location. (+1 squashed commit)
Squashed commits:
[eec32aa] Updated detection to only allow composer.josn in root or first level dir.
11 years ago
Olivier Laviale 40e484ed38 Fixed an issue that would lead to scattered autoloading files 11 years ago
Danack bc76e0014b Moved tests that are expected to work into their own directory.
Added test for composer.json in incorrect directory.
11 years ago
Jordi Boggiano 0df9c803a5 Merge pull request #2718 from sndpl/issue/2613
Fix for #2613
11 years ago
Sandy Pleyte 3a2815b778 Added extra unit test from the example in the ticket. 11 years ago
Matthias Pigulla beff1f5cc1 This should create relative/absolute dist URLs depending on the way (relative/absolute) the artifact directory path was given. 11 years ago
Jordi Boggiano 5d4900e79d Add --no-checkout flag to avoid checking out the default branch first, fixes #2717 11 years ago
Sandy Pleyte f92f2f45a9 Fix for #2613, when using php < 5.4 there was an unnecessary backslash before each utf-8 char. The problem was that the regexp matched all utf-8 encoded chars (included the ones that where escaped). The new regexp uses the lookbehind feature to check if the backslash isn't prefixed with an other backslash. 11 years ago
Sandy Pleyte 7a902ed96d Fix for #2613, when using php < 5.4 there was an unnecessary backslash before each utf-8 char. The problem was that the regexp matched all utf-8 encoded chars (included the ones that where escaped). The new regexp uses the lookbehind feature to check if the backslash isn't prefixed with an other backslash. 11 years ago
Jordi Boggiano 9d2d828b70 Merge remote-tracking branch 'h4cc/master' 11 years ago
Jordi Boggiano b5dd537422 Merge pull request #2648 from zczapran/unit_tests_for_jsonvalidationexception
[tests] Unit tests for JsonValidationException class
11 years ago
Jordi Boggiano f72066de90 Merge pull request #2649 from zczapran/bugfix/git_exclude_filter_rules_too_broad
[Archiver] Rules in GitExcludeFilter are too broad
11 years ago
Nicolas Grekas 00a6f8e38d dedicated scope isolation function for autoload_real 11 years ago
Julius Beckmann ed5da804dd Fixed handling of Metapackages in DownloadManager.
The "getDownloaderForInstalledPackage" returns null for "metapackage" and the download(), update() and remove() methods did not handle this return value correctly.
11 years ago
Nils Adermann aef0483cc9 Merge pull request #2667 from nicolas-grekas/master
scope isolation for user includes
11 years ago
Nicolas Grekas 6d7b9afc4b scope isolation for user includes 11 years ago
Jordi Boggiano 75cd91657a Merge remote-tracking branch 'jeromemacias/fix_psr4_classmap_generator' 11 years ago
Andreas Hennings fcf8e7f515 Random docblock improvements in AutoloadGeneratorTest. 11 years ago
Andreas Hennings 6a9fd1dd60 rename \$package to \$mainPackage in AutoloadGeneratorTest::testOverrideVendorsAutoloading() for clarity. 11 years ago
Andreas Hennings bb26152de2 docblock comments on properties in AutoloadGeneratorTest 11 years ago
Andreas Hennings cab6943df0 AutoloadGeneratorTest::testOverrideVendorsAutoloading() - break autoload definitions to multiple lines. 11 years ago
Andreas Hennings 084c11ef51 AutoloadGeneratorTest::testMainPackageAutoloadingWithTargetDir() - Remove PSR-4 from the package in target-dir test, since it is incompatible with target-dir. 11 years ago
Jérôme Macias 01cd990995 Fix PSR-4 autoload classmap generator 11 years ago
Zbigniew a4a9d0f0e4 [Archiver] Rules in GitExcludeFilter are too broad 11 years ago
Zbigniew 94635c0d14 [tests] Unit tests for JsonValidationException class 11 years ago
Jordi Boggiano 99f5b5a238 Fix backtracking issue in json manipulations, fixes #2583 11 years ago
Jordi Boggiano 3c5000ad7f CS tweaks and cleanups, allow "" to set fallback dirs, refs #2459 11 years ago
Jordi Boggiano b23742e30c Merge remote-tracking branch 'donquixote/feature/psr4-complete' 11 years ago
Luís Otávio Cobucci Oblonczyk 0f2c0ab389 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
11 years ago
Pascal Borreli 2f4df9d459 Fixed typos 11 years ago
Andreas Hennings 0a4b18ce86 More interesting generator tests for PSR-4. 11 years ago
Andreas Hennings bda2bcac13 Fix indentation of assignment in AutoloadGeneratorTest 11 years ago
Andreas Hennings 8966376f40 Verify generation of autoload_psr4.php even if empty. 11 years ago
Andreas Hennings e4bbd83f13 expected message in ValidatingArrayLoaderTest should also contain psr-4 as allowed key. 11 years ago
Jordi Boggiano 80499bb024 Detect ~> misuse and suggest fix, fixes #2476 11 years ago
Morgan BRUNOT ca7cb68dd5 Check exclude from downloaded composer.json 11 years ago
mwhittom a8084e46ff Added error handling and error messages around missing perforce driver, invalid username/password 11 years ago
Andreas Hennings bbf6278905 AutoloadGenerator to support PSR-4. Tests included. 11 years ago
Andreas Hennings 2c98813431 Add unit tests for ClassLoader, covering PSR-0 and PSR-4. 11 years ago
Jordi Boggiano dea246186d Merge pull request #2453 from mirkobeine/#2441-V2
Use 'cache-files-ttl' for cache gc, fixes #2441
11 years ago
user a956ce9bb1 Use 'cache-files-ttl' for cache gc, fixes #2441
The configuration option 'cache-ttl' was used instead of 'cache-files-ttl' to determine
whether or not a cache gc should be performed.

* changed 'cache-ttl' to 'cache-files-ttl' to determine if a gc should be performed
* refactored FileDownloader to allow for easier testing
* added test to ensure that the gc is called with the proper config option
11 years ago
Jordi Boggiano e126c92525 Fix exit codes, cc @tyrael 11 years ago
Jordi Boggiano 5156a60216 Add test for RepositoryManager repo creation 11 years ago
ptarjan 09c0d971d3 don't require the error message have the first line of HTTP output in it 11 years ago
Jordi Boggiano 8398c9f2ab Fix target-dir update checks, fixes #2395 11 years ago
Gennady Feldman e5045ce215 Per request from Jordi Boggiano (Seldaek) making Config 2nd parameter in supports() 11 years ago
Gennady Feldman 93ebfd54b1 Adding Config as parameter to the Driver::supports(), updating all drivers, user and tests. 11 years ago
Jordi Boggiano 7148b22414 Add github-domains config value for GitHub Enterprise setups, fixes #728
Signed-off-by: Gennady Feldman <gena01@gmail.com>
11 years ago
Jordi Boggiano f5df1d6a9b Fix cs 11 years ago
Jordi Boggiano e2671b6510 Add test and fix patch for #2304, refs #2341 11 years ago
Jordi Boggiano 08243ce2e3 Fix handling of urlencoded user and password in proxy urls, fixes #2339 11 years ago
Jordi Boggiano 7cfeccb101 Merge pull request #2327 from pl-github/with-dependencies
Change dependency processing for update with whitelisted packages
11 years ago
Jordi Boggiano 7c83e6a04a Merge remote-tracking branch 'GromNaN/git-cache' 11 years ago
Jordi Boggiano f8be812a49 Merge remote-tracking branch 'origin/master' 11 years ago
Fabian Grutschus a6823d2f9b non-deep check returns allways false 11 years ago
Phillip Look 07a7284ffc Change dependency processing for update with whitelisted packages
By default dependencies of white listed packages are no longer installed automaticaly.
To Install dependencies of whitelisted packages use --with-dependencies.
- rework after review comments
- precise documentation of option
- add missing punctuation marks
11 years ago
Nils Adermann 565f86f30d Fix stream context option test to really only verify content-type is last 11 years ago
Nils Adermann 42dd2f2ee8 Check only part of the error message as it's different in hhvm 11 years ago
Fabian Grutschus 20854a50b4 Removed unnecessary test and just check for return code 11 years ago
Fabian Grutschus 0c5bd559f2 Changes comparsion to strict and removed a comment 11 years ago
Fabian Grutschus 5ae5963acd Fix for Preforce utility does not check if p4 command exists 11 years ago
Christophe Coevoet 6cc95c43e3 Add a warning for unbound constraints in the validating loader
Closes #2165
11 years ago
Jordi Boggiano 2b36106168 Fix tests, refs #2184 11 years ago
Jordi Boggiano 0fbb4cbd16 CS fixes and renaming a few methods, refs #2184 11 years ago
Jordi Boggiano 11a0d16ccc CS fixes 11 years ago
Jordi Boggiano 9a806658d6 Merge remote-tracking branch 'vuhl/master'
Conflicts:
	src/Composer/Factory.php
11 years ago
Jérôme Tamarelle 836986faf3 Add temp composer home for GitDriver test using cache 11 years ago
Martin Hasoň 3c0a620ad5 Fixed path analysis 11 years ago
Jordi Boggiano 807600b255 Fix edge case where one adds a target-dir on a package that didnt have one before, refs #2279 11 years ago
Jordi Boggiano a813867065 Merge remote-tracking branch 'chx/913' 11 years ago
Jordi Boggiano 38917c2047 Add parallel build to travis script 11 years ago
Karoly Negyesi e32e4ad490 change the test to test for a target dir change 11 years ago