Jordi Boggiano
38917c2047
Add parallel build to travis script
2013-09-25 10:23:48 +02: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
f59f443fce
CS fixes and one more test for safety, fixes #1855
2013-08-12 02:22:32 +02:00
Jordi Boggiano
533512879e
Merge remote-tracking branch 'sminnee/fix-tilde-constraint-stabililty'
2013-08-12 02:17:00 +02:00
Jordi Boggiano
bd345c3b43
Add IO to proc executor in a few more places to get more debug info out
2013-08-10 02:44:11 +02:00
Jordi Boggiano
af1f5a3423
Merge pull request #2091 from jaypea/archivemanager
...
cleanup temporary download location when archiving
2013-08-05 06:26:02 -07: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
Jan Prieser
c6db86e444
cleanup temporary download location when archiving
2013-07-17 13:28:15 +02:00
Jordi Boggiano
8d0b7f278e
CS fixes
2013-06-13 13:28:24 +02:00
Jordi Boggiano
e848c76cbc
Only compare branches as versions in the policy to sort packages, but not in the solver, fixes #1817
2013-05-23 18:12:54 +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
Sam Minnee
324ef0f9bb
Fixed upper bound of wildcard matches.
...
Follow-on from 95b4348afa
2013-05-20 19:10:04 +12:00
Sam Minnee
95b4348afa
Fixed lower bound of tilde and wildcard matches.
...
The lower bound of ~1.2 and 1.2.* style version requirements now uses >= 1.2.0.0-dev instead of
> 1.1.9999999.9999999. This is more straightforward to read, and behaves equivalently.
2013-05-20 19:03:21 +12:00
Sam Minnee
34a21516c8
Fix tilde constraints without a stability suffix to work like wildcard constraints.
...
With this fix, a tilde constraint such as ~3.1 won't match unstable versions of 3.1,
but a wildcard constraint such as 3.1.* would. This seems like a confusing
inconsistency, and so I have corrected it.
2013-05-13 11:04:15 +12:00
Jordi Boggiano
9d948eb795
Merge branch 'disjunctive'
2013-05-04 10:48:14 +02:00
Jordi Boggiano
faa419cc0e
Merge remote-tracking branch 'hason/alias'
2013-04-28 12:54:59 +02:00
Jordi Boggiano
0cccafbe81
Add disjunctive multi-constraints with |, refs #643 , fixes #1342
2013-04-27 15:20:35 +02:00
Jordi Boggiano
e16caa9bd7
Add EmptyConstraint
2013-04-27 14:32:22 +02:00
Jordi Boggiano
3aa7843146
Use ExecutableFinder instead of relying on exit codes, refs #1829
2013-04-26 11:02:53 +02:00
Jordi Boggiano
91db9d920b
Merge remote-tracking branch 'RobLoach/versioncontrolnotfound'
2013-04-26 10:59:25 +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
Rob Loach
692c63cdd2
Fix for tests when Mercurial or git are not available
2013-04-25 14:57:58 -04:00
Martin Hasoň
fa0d62ab6a
Settings of the same repository for a package is allowed.
2013-04-11 13:25:04 +02:00
Martin Hasoň
753a8345cb
Added support for the alias of an aliased package
2013-04-11 13:20:34 +02:00
Jordi Boggiano
069109e0f0
Add readme entry to lock file to explain what it is
2013-04-08 18:15:08 +02:00
Jordi Boggiano
1f79f36227
Add a couple version parser tests
2013-04-04 17:35:55 +02:00
Nils Adermann
57c34033ff
Merge pull request #1754 from njam/issue-1754
...
Fix file pattern start matching if no slash
2013-04-03 05:45:50 -07:00
Jordi Boggiano
fc54a48b52
Fix archiver tests on windows
2013-04-02 11:32:11 +02:00
Reto Kaiser
6f72e9570c
Add a / to the beginning of a file matchin pattern if no / in rule.
...
See https://www.kernel.org/pub/software/scm/git/docs/gitignore.html
2013-04-01 23:04:00 +02:00
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
bf307de1d6
Fix tests
2013-03-28 20:42:25 +01:00
Nils Adermann
4af69c85ca
Fix tests by passing proper working directory to processes
2013-03-28 13:33:40 +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
afcdad4b23
Define an option to exclude files in the archive command
2013-03-28 12:49:52 +01:00
Nils Adermann
3e26502561
Remove Mercurial and Git Archivers as they cannot implement exclude rules
2013-03-28 12:49:52 +01:00
Nils Adermann
33828b38df
Use a saner file name for package archives
2013-03-28 12:49:52 +01:00
Nils Adermann
bcbc50c0d6
Git can handle commit references in git archive just fine so use them
2013-03-28 12:49:52 +01:00
Nils Adermann
ba51027680
Reorder ArchiveManager parameters to make the download manager optional
2013-03-28 12:49:52 +01:00
Matthieu Moquet
a2b404e421
Cleaned archiver tests
2013-03-28 12:49:52 +01:00
Matthieu Moquet
9d24e17003
Fix workflow & typos
2013-03-28 12:49:52 +01:00
Matthieu Moquet
c248115e04
Fix how download manager is constructed
...
This fixes tests due to upstream changes.
The createDownloadManager in the Factory now takes the config as extra
parameter.
2013-03-28 12:49:52 +01:00
Matthieu Moquet
60b1cc7d24
Create ArchiveManager with the Factory
2013-03-28 12:49:52 +01:00
Matthieu Moquet
a733d76b33
Merged zip & tar archivers
2013-03-28 12:49:52 +01:00
Matthieu Moquet
bfd2275cb0
Update interface to merge vcs with basic archivers
2013-03-28 12:49:52 +01:00
Matthieu Moquet
2fd17ecff8
Changed Package class due to upstream changes
2013-03-28 12:49:52 +01:00
Matthieu Moquet
20e717f975
Refactored the archiver package
2013-03-28 12:49:52 +01:00
Matthieu Moquet
3d0ce85db2
Moved archive Dumpers into its own Archiver package
2013-03-28 12:49:52 +01:00