1
0
Fork 0
Commit Graph

3310 Commits (b00081f4f422db02442c03b8ed5de517b330ab5e)

Author SHA1 Message Date
Reto Kaiser 918a55659e Call realpath() on result of sys_get_temp_dir()
On OSX the temp dir is within /var, which is a symlink to /private/var.
If this is not resolved, the comparison will fail when comparing to the result of `git archive` in testGitExcludes().
2013-04-01 21:37:47 +02:00
Jordi Boggiano 83084eedf9 Skip update whitelist warning for "nothing" and "lock" 2013-04-01 12:18:27 +02:00
Martin Hasoň 3499610631 Fixed tests for autoloader generator 2013-04-01 09:28:02 +02:00
Martin Hasoň 48444a028c Added support for vendor dir excluded from working dir 2013-04-01 09:27:50 +02:00
Martin Hasoň 0851ef1afb Fixed behaviour of Filesystem::findShortestPath[Code] for paths with up-level references 2013-04-01 08:30:11 +02:00
Serge Smertin b0aa98f287 modified test in order not to depend on sorting order 2013-03-31 22:01:55 +02:00
Serge Smertin ac75a9e6d8 travis locale version order fixed 2013-03-31 21:53:34 +02:00
Serge Smertin b5e1457470 set version to dev-master to artifacts without version 2013-03-31 21:44:48 +02:00
Serge Smertin d45844fb63 added fixture dummy artifacts 2013-03-31 21:08:11 +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 83bb38de56 added documentation entry about artifact usage 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
Jordi Boggiano e1eb35455f Merge pull request #1743 from sandermarechal/abs-path
Fix shortest absolute paths from cwd to classmap path
2013-03-31 05:18:56 -07:00
Sander Marechal 132f2a9d5d Cache getcwd() result 2013-03-31 13:23:51 +02:00
Sander Marechal c10e25a945 Use cross-platform absolute path check 2013-03-31 13:20:01 +02:00
Jordi Boggiano 6c9bc2824e Fix handling of branches with slashes, fixes #1748 2013-03-31 12:36:09 +02:00
Jordi Boggiano 5cd2249898 Merge pull request #1747 from till/topics/satis-downloads-docs
Documentation for satis-based downloads.
2013-03-31 03:25:10 -07:00
till 5774f5db4a Engrish is hard. 2013-03-30 21:48:18 +01:00
till 378615d646 Documentation for satis-based downloads. 2013-03-30 21:21:14 +01:00
Jordi Boggiano bb95a0a788 Fix docblocks 2013-03-30 19:49:59 +01:00
Sander Marechal d7697574ff Fix shortest absolute paths from cwd to classmap path 2013-03-29 17:09:39 +01:00
Jordi Boggiano bf307de1d6 Fix tests 2013-03-28 20:42:25 +01:00
Jordi Boggiano 99eb2252f4 Update changelog 2013-03-28 20:28:56 +01:00
Jordi Boggiano f816f4ee6f Fix changelog typos 2013-03-28 20:21:19 +01:00
Jordi Boggiano f5fececf53 Merge branch 'deprecatedlock' 2013-03-28 20:15:22 +01:00
Jordi Boggiano d8082bab9a Update changelog 2013-03-28 20:13:41 +01:00
Jordi Boggiano ad69d15590 Fix self-update error handling, fixes #1738 2013-03-28 14:32:15 +01:00
Nils Adermann 78c250da19 Merge pull request #1567 from naderman/feature-dist
Distributions/Archives
2013-03-28 05:37:49 -07:00
Nils Adermann 8803281648 Make sure Phar overwrites files and doesn't load them 2013-03-28 13:33:43 +01:00
Nils Adermann 4af69c85ca Fix tests by passing proper working directory to processes 2013-03-28 13:33:40 +01:00
Nils Adermann 6f61d95829 Make sure git is setup to allow commits on travis 2013-03-28 12:50:37 +01:00
Nils Adermann 22044121ce Callbacks must be accessible publically on PHP 5.3 2013-03-28 12:49:53 +01:00
Nils Adermann cfd7a50f0a Do not hardcode vendor dir exclusion on archive.
For one thing this wouldn't have worked for any custom installers anyway
which can write installed code to other places. This will now allow one
to use composer archive on a clean code checkout to build an archive as
we are used to. Or on one that had composer install run to build an
archive that can be used for deployment which includes the vendors.
2013-03-28 12:49:53 +01:00
Nils Adermann 870a87f6d6 Use null as default values rather than false
Also made archive() in the ArchiveCommand protected as it does not need
to be used from the outside. The ArchiveManager can be used instead.
2013-03-28 12:49:53 +01:00
Nils Adermann 14ee67bed4 Output packages in archive command using getPrettyString 2013-03-28 12:49:53 +01:00
Nils Adermann 43be72acb4 Follow PSR-2 for method modifier ordering 2013-03-28 12:49:53 +01:00
Nils Adermann 1af2be9d6d Rename ExcludeFilterBase to BaseExcludeFilter 2013-03-28 12:49:53 +01:00
Nils Adermann ecf4f42885 Use a FilterIterator rather than a modified IteratorIterator, simpler 2013-03-28 12:49:53 +01:00
Nils Adermann 75d1759e77 Replace DIRECTORY_SEPARATOR in paths, not PATH_SEPARATOR 2013-03-28 12:49:53 +01:00
Nils Adermann 6066359944 Skip directories in zip generation, empty dirs won't get archived
This seems ok as we currently rely on git generating archives which does
not archive empty directories either.
2013-03-28 12:49:53 +01:00
Nils Adermann deae50392f Respect gitignore, gitattributes and hgignore files in archiving 2013-03-28 12:49:53 +01:00
Nils Adermann 64941b0a64 Make overwriting files an ArchiveManager option, use sourceRef in names 2013-03-28 12:49:53 +01:00
Nils Adermann 6ee08a2046 Remove unecessary unlink before writing archive 2013-03-28 12:49:53 +01:00
Nils Adermann 074af5dc54 Remove unnecessary dist type information from archive files 2013-03-28 12:49:53 +01:00
Nils Adermann 935f7271f8 The ArchiveManager should return the written path for library usage 2013-03-28 12:49:53 +01:00
Nils Adermann 48dd55b759 Generate a properly unique archive filename for dev revisions 2013-03-28 12:49:53 +01:00
Nils Adermann 0b23643a44 Update json schema as archive include was removed 2013-03-28 12:49:53 +01:00
Nils Adermann 838edd6e7a Fix class description of archive command 2013-03-28 12:49:53 +01:00