1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 09:32:55 +00:00
Commit graph

30 commits

Author SHA1 Message Date
Christophe Coevoet
4ae2aecc54 Add missing definition of a property 2017-01-02 12:12:37 +01:00
Andy Waterman
d4207ff49f Strict type checks of null and bool 2016-04-06 20:55:53 +01:00
Jordi Boggiano
8bf46768f3 Improve error reporting when loading artifact repos 2016-03-10 16:31:09 +00:00
Niels Keurentjes
868e607f17 Missing parent constructor calls. 2016-02-27 22:39:03 +01:00
Jordi Boggiano
8a2d1a2ee2 Make artifact paths in lock file cross-platform, fixes #3832 2016-02-19 16:25:53 +00:00
Jordi Boggiano
49d7d65933 Add verbosity input support to IOInterface 2016-01-29 10:14:12 +00:00
Lukáš Homza
5b748eda6c Allows repositories to implement ConfigurableRepositoryInterface and thus provide getRepoConfigmethod 2015-11-23 23:18:24 +01:00
Jordi Boggiano
ce08582671 Fix CS 2015-09-28 10:53:24 +01: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
Andreas Möller
12ffe2b4d4 Fix: Add missing imports 2015-06-28 23:37:40 -04:00
Branden Cash
5146085dc2 Follow symlinks when searching for artifacts 2015-06-10 11:46:08 -07:00
Rob Bast
cb336a5416 Implement writeError throughout Composer 2015-02-25 11:00:35 +01:00
Jordi Boggiano
94926218e8 CS fixes 2014-10-17 18:57:27 +01:00
Jordi Boggiano
7b4fcd93d3 Merge remote-tracking branch 'webfactory/issue-2698'
Conflicts:
	src/Composer/Repository/ArtifactRepository.php
2014-07-19 21:35:51 +02:00
Jordi Boggiano
ac497feaba CS fixes 2014-06-10 16:13:12 +02:00
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.
2014-04-10 13:26:26 -05:00
Danack
20a7dcd02c Added explanation of why loop continues. 2014-02-21 09:54:42 +00:00
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.
2014-02-21 09:46:12 +00:00
Matthias Pigulla
beff1f5cc1 This should create relative/absolute dist URLs depending on the way (relative/absolute) the artifact directory path was given. 2014-02-18 23:28:45 +01:00
Danack
abfefd1faa Improved variable name. 2013-08-18 22:57:26 +01:00
Danack
74b4bcd22e Fix issue where none root composer.json could be used by ArtifactRepository http://www.php.net/manual/en/ziparchive.locatename.php#85512 2013-08-18 22:37:18 +01:00
Jan Prieser
ba87cfc6d1 find artifacts recursively in given path
uses regex to filter file extension
2013-06-13 15:52:52 +02:00
Jordi Boggiano
1b030a76d4 CS and wording fixes, refs #1728 2013-04-27 17:32:35 +02:00
Serge Smertin
6cec5b0399 Added notice about need of zip extension 2013-04-04 00:00:02 +02:00
Serge Smertin
07920c48a6 Removed dev-master as default version for versionless artifact 2013-04-03 23:49:32 +02:00
Serge Smertin
b5e1457470 set version to dev-master to artifacts without version 2013-03-31 21:44:48 +02:00
Serge Smertin
f25bfe09c5 added support for nested location of composer.json files within artifacts 2013-03-31 21:08:11 +02:00
Serge Smertin
586911f7a1 added verbose logging for artifact directory scan 2013-03-31 21:08:11 +02:00
Serge Smertin
0aad11801e added logging for wrong files 2013-03-31 21:08:10 +02:00
Serge Smertin
4b176f11f2 added artifact repository initial functionality 2013-03-31 21:08:10 +02:00