48 Commits (e52071a92c7f5c34c373ab880e1d0b37cc435c42)

Author SHA1 Message Date
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 2 years ago
Jordi Boggiano af6013093f
Ignore phar files in artifact repo, fixes #10406 2 years ago
Anatoly Pashin b1a96a3141
PHPStan level 6 in src/Composer/Repository (#10197) 3 years ago
Jordi Boggiano 01d734125c
Add more type info 3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Wissem Riahi 657ae5519e
Add support for TAR in Artifact packages (#9105) 4 years ago
Wissem Riahi c353ac835c
Add exception for multiple composer.json files (#3) 4 years ago
Jordi Boggiano 1e68555e0a
Sanitize URLs in getRepoName and centralize the Url sanitization process 4 years ago
Jordi Boggiano 3fc7e10c5c
Improve error reporting of solver issues, refs #7779
Fixes #8525
Fixes #6513
4 years ago
Andreas Schempp a91fd20673 Return the composer.json content instead of a zip:// path 5 years ago
Andreas Schempp 0d0cb53f31 Adjust Zip Util to only find the root composer.json 5 years ago
Andreas Schempp 4d85e217c3 Extract the ZIP utility functions from ArtifactRepository 5 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
6 years ago
Kristof Ringleff, Fooman 2ed573b22d Combine open zip call with conditional 6 years ago
Kristof Ringleff, Fooman bcf4e94e8a Ensure opening the zip was successful before proceeding 6 years ago
Rob Bast 0db48b4f2e
addendum to #7428 6 years ago
efajnzilberg 9355ebd3f6 Closing the ZipArchive in ArtifactRepository::getComposerInformation() 6 years ago
Christophe Coevoet 4ae2aecc54 Add missing definition of a property 8 years ago
Andy Waterman d4207ff49f Strict type checks of null and bool 8 years ago
Jordi Boggiano 8bf46768f3 Improve error reporting when loading artifact repos 8 years ago
Niels Keurentjes 868e607f17 Missing parent constructor calls. 8 years ago
Jordi Boggiano 8a2d1a2ee2 Make artifact paths in lock file cross-platform, fixes #3832 8 years ago
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Lukáš Homza 5b748eda6c Allows repositories to implement ConfigurableRepositoryInterface and thus provide getRepoConfigmethod 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Jordi Boggiano 9e67bc761b Merge pull request #4131 from ammmze/artifact-follow-symlink
Follow symlinks when searching for artifacts
9 years ago
Andreas Möller 12ffe2b4d4 Fix: Add missing imports 9 years ago
Branden Cash 5146085dc2 Follow symlinks when searching for artifacts 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano 7b4fcd93d3 Merge remote-tracking branch 'webfactory/issue-2698'
Conflicts:
	src/Composer/Repository/ArtifactRepository.php
10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jay 556aceeaaa Removing dist reference info from Artifact Repository
The getComposerInformation method adds dist information to package. This includes reference, which holds the name of the zip file. For e.g. "MyPackage-1.2.zip". 

Now, when using satis for hosting these packages, it uses the same code for archiving composer packages implemented at https://github.com/composer/composer/blob/master/src/Composer/Package/Archiver/ArchiveManager.php

In the implementation, getPackageFilename() adds the distReference info to the file name, which makes the zip file created at the end to be weird. Like "jay-logger-1.2-MyPackage-1.2.zip.tar". I am not sure if there is any other use of dist reference in Artifact Repository, but this would stop causing that issue.
10 years ago
Danack 20a7dcd02c Added explanation of why loop continues. 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
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
Danack abfefd1faa Improved variable name. 11 years ago
Danack 74b4bcd22e Fix issue where none root composer.json could be used by ArtifactRepository http://www.php.net/manual/en/ziparchive.locatename.php#85512 11 years ago
Jan Prieser ba87cfc6d1 find artifacts recursively in given path
uses regex to filter file extension
11 years ago
Jordi Boggiano 1b030a76d4 CS and wording fixes, refs #1728 11 years ago
Serge Smertin 6cec5b0399 Added notice about need of zip extension 11 years ago
Serge Smertin 07920c48a6 Removed dev-master as default version for versionless artifact 11 years ago
Serge Smertin b5e1457470 set version to dev-master to artifacts without version 11 years ago
Serge Smertin f25bfe09c5 added support for nested location of composer.json files within artifacts 11 years ago
Serge Smertin 586911f7a1 added verbose logging for artifact directory scan 11 years ago
Serge Smertin 0aad11801e added logging for wrong files 11 years ago
Serge Smertin 4b176f11f2 added artifact repository initial functionality 11 years ago