Benjamin Eberlei
f60fe5622a
Add missing use stmt.
2012-02-27 20:25:36 +01:00
Benjamin Eberlei
1c67633c70
Refactored downloader code and made packagist configuration flexible and validated.
2012-02-27 20:25:36 +01:00
Benjamin Eberlei
bbf745f3e6
Add command to install a package as a new project into a non-existant directory. This fetches the given package from packagist or a different packagist-source and installs it into a given path.
2012-02-27 20:25:36 +01:00
Jordi Boggiano
0e6cf61b67
Avoid showing duplicates versions
2012-02-27 15:32:45 +01:00
Jordi Boggiano
f999285926
Avoid duplicating self.version requirements
2012-02-27 14:10:37 +01:00
Jordi Boggiano
8ba76fe6d2
Boost default timeout to 5min
2012-02-27 11:35:26 +01:00
Jordi Boggiano
e26f7f5ec4
Fix syntax error
2012-02-27 10:03:38 +01:00
Jordi Boggiano
f101ec16f6
Add process-timeout docs
2012-02-27 09:32:59 +01:00
Jordi Boggiano
7ae2a7fb99
Merge pull request #370 from hason/config_timeout
...
Added config directive 'process-timeout'
2012-02-27 00:27:47 -08:00
Martin Hasoň
9b03b7e915
Added config directive 'process-timeout'
2012-02-27 07:07:10 +01:00
Nils Adermann
29a1a2a424
Merge pull request #369 from Seldaek/match_fix
...
Match fix
2012-02-26 17:43:02 -08:00
Jordi Boggiano
35aa82ada8
Prevent multiple replaces of a same package to be skipped when the first fails to match
2012-02-26 22:21:32 +01:00
Jordi Boggiano
c425b8b6cb
Prevent a package from having duplicate names
2012-02-26 22:20:10 +01:00
Jordi Boggiano
5026fbb1e9
Merge pull request #368 from igorw/docs
...
[docs] inconvenient typo
2012-02-26 11:37:45 -08:00
Igor Wiedler
765c1774a9
[docs] inconvenient typo
2012-02-26 14:16:08 +01:00
Jordi Boggiano
5f200db7b7
Merge pull request #367 from igorw/docs
...
[docs] re-word some things, document env vars
2012-02-26 04:17:28 -08:00
Igor Wiedler
672e7d85a1
[docs] re-word some things, document env vars
2012-02-26 12:40:35 +01:00
Jordi Boggiano
d03fb4804c
Fix local repo detection
2012-02-25 04:18:23 +01:00
Jordi Boggiano
ca8845f44f
Fix toString of aliases
2012-02-25 04:18:10 +01:00
Nils Adermann
a04f44a4f1
Merge pull request #359 from Seldaek/branch-alias
...
[WIP] Branch aliases support
2012-02-24 18:00:44 -08:00
Jordi Boggiano
0b7ee194c6
Remove persistence of alias data, make abstract branch aliasing and keep it in composer only
2012-02-25 02:52:19 +01:00
Jordi Boggiano
3135ea2b75
Merge pull request #361 from wookieb/master
...
Cosmetic tests fix
2012-02-24 05:02:32 -08:00
Wookieb
f93135b3bd
Cosmetic tests fix - remove test directories
2012-02-24 12:28:41 +01:00
Wookieb
8d3b40ff8e
Tests should remove created directories after testing process
2012-02-24 10:40:47 +01:00
Jordi Boggiano
773338a688
Fixes for SVN support, fixes #172
2012-02-24 10:18:24 +01:00
Jordi Boggiano
1bdab5c4c8
Add markers for leftover problems
2012-02-23 23:26:32 +01:00
Jordi Boggiano
1228c04984
Add support for extra.branch-alias config to remap master on 2.1.x for example
2012-02-23 23:26:31 +01:00
Jordi Boggiano
c0b18bddb9
Bugfixes in the local git repos handling
2012-02-23 23:22:45 +01:00
Jordi Boggiano
ab9fe9f331
Merge pull request #354 from perprogramming/fix_hg_source_reference
...
Make mercurial dev-branches updateable
2012-02-23 05:20:44 -08:00
Per Bernhardt
9a17899608
Although the tag "tip" does not provide a valid package version (see VersionParser), the implementation of HgDriver::getSource uses tip as the prefered label for the branch that tip is currently on.
...
This is not a problem at first hand because you can install a new package correctly with "tip" as source reference.
The problem is that any new revision on that branch won't lead to a new package, because the package will always refer to the same reference "tip".
Therefore you cannot update your project to the new version with "composer update".
2012-02-23 12:07:57 +01:00
Jordi Boggiano
2aa61292ae
Merge pull request #352 from naderman/positive-branch-levels
...
Levels are always > 0, negative level was just a hack in the C implementation
2012-02-22 07:23:43 -08:00
Nils Adermann
17f0730e51
Levels are always > 0, negative level was just a hack in the C implementation
...
Fixes #243
2012-02-22 16:20:08 +01:00
Nils Adermann
73d7528f5f
Merge pull request #342 from mikey179/git-error-handling
...
Git error handling
2012-02-22 06:15:00 -08:00
Jordi Boggiano
0daa6c2dc9
Force dates to be UTC
2012-02-22 12:46:54 +01:00
Nils Adermann
85a07affd7
Merge pull request #350 from Seldaek/aliasing
...
Aliasing
2012-02-22 02:48:49 -08:00
Jordi Boggiano
62335e9fb7
Merge pull request #345 from hason/process
...
Added support for change the process timeout
2012-02-22 00:48:59 -08:00
Jordi Boggiano
1213067d96
Add test
2012-02-22 09:40:15 +01:00
Jordi Boggiano
956b54e516
Use policy rule instead of stacking up another repo to prioritize aliased packages
2012-02-22 09:40:05 +01:00
Jordi Boggiano
59d2b1145c
Add lock file alias support and a bunch of fixes
2012-02-21 16:44:49 +01:00
Jordi Boggiano
f9fc9695e9
Wrap the package in an aliased package instead of replacing
2012-02-21 15:32:45 +01:00
Jordi Boggiano
82054f2060
Add aliasing: `foo as bar` will require foo and automatically make it replace the bar version
2012-02-21 14:03:24 +01:00
Jordi Boggiano
5eb333680b
Rename findPackagesByName to findPackages and allow version arg
2012-02-21 14:02:08 +01:00
Jordi Boggiano
afbb9cefa4
Adjust version parser so it persists self.version references
2012-02-21 11:58:17 +01:00
Jordi Boggiano
4b70cc2623
Merge pull request #341 from unknownbliss/fix-link
...
Fix link broken due to newline.
2012-02-21 01:39:20 -08:00
Martin Hasoň
56c0e511da
Added support for change the process timeout
2012-02-21 08:59:52 +01:00
Frank Kleine
025f6066ff
fix file permissions
2012-02-21 00:40:43 +01:00
mikey179
0e5a4e07ba
add tests to make sure a runtime exception is thrown if return code from git command line call is not 0
2012-02-21 00:12:39 +01:00
mikey179
895d901bf9
better error handling when git command runs into a failure, fixes #340
2012-02-21 00:02:34 +01:00
Michael Cullum
0accac7974
Fix links broken due to newlines.
2012-02-20 22:58:13 +00:00
Jordi Boggiano
b8f200b0f2
Fix link
2012-02-20 16:53:49 +01:00