Jordi Boggiano
|
b855643865
|
Usability fix
|
2012-03-15 01:13:25 +01:00 |
Martin Hasoň
|
736ea800e3
|
Added isDev method to the VersionParser class
|
2012-03-03 19:49:24 +01:00 |
Jordi Boggiano
|
f999285926
|
Avoid duplicating self.version requirements
|
2012-02-27 14:10:37 +01: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
|
ca8845f44f
|
Fix toString of aliases
|
2012-02-25 04:18:10 +01: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 |
Martin Hasoň
|
528a058e40
|
Added installer for metapackages
|
2012-02-24 12:24:16 +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
|
0daa6c2dc9
|
Force dates to be UTC
|
2012-02-22 12:46:54 +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
|
afbb9cefa4
|
Adjust version parser so it persists self.version references
|
2012-02-21 11:58:17 +01:00 |
Jordi Boggiano
|
9ba0505751
|
Make sure lock file is sorted, fixes #276
|
2012-02-20 12:35:03 +01:00 |
Nils Adermann
|
03a9e0dfee
|
Merge pull request #330 from Seldaek/repositories
[BC Break] Refactor repositories configuration
|
2012-02-20 01:58:52 -08:00 |
Jordi Boggiano
|
44e76e06fc
|
Refactor repositories configuration
|
2012-02-19 19:00:12 +01:00 |
Jordi Boggiano
|
c95b4d05fd
|
Fix forcing of the source-ref from lock file
|
2012-02-19 16:57:36 +01:00 |
Jordi Boggiano
|
646d01658a
|
Rename source_ref to source-ref
|
2012-02-19 16:57:35 +01:00 |
Jordi Boggiano
|
d7350b66d5
|
Ensure dev packages have a source
|
2012-02-19 16:57:33 +01:00 |
Jordi Boggiano
|
496188f714
|
Force installs from lock to reinstall dev packages from the exact locked reference
|
2012-02-19 16:57:32 +01:00 |
Jordi Boggiano
|
c1baa20fec
|
Lock reference of dev packages
|
2012-02-19 16:57:31 +01:00 |
Jordi Boggiano
|
3fe87b1e35
|
Force dev packages to be installed from source
|
2012-02-19 16:57:30 +01:00 |
Jordi Boggiano
|
3e6176eccf
|
Update version parser to support any branch name
|
2012-02-19 16:57:29 +01:00 |
Martin Hasoň
|
01be62d842
|
Updated ArrayDumper
|
2012-02-14 12:57:15 +01:00 |
Jordi Boggiano
|
d52feb1a9f
|
Merge remote-tracking branch 'digitalkaoz/issue_209'
|
2012-02-05 20:59:30 +01:00 |
Jordi Boggiano
|
d43dd33632
|
Add scripts loading
|
2012-02-05 16:14:44 +01:00 |
Jordi Boggiano
|
7add1001ae
|
Refactor scripts
|
2012-02-05 16:14:25 +01:00 |
digitalkaoz
|
30e89a2402
|
fixed broken packages on filesystem
|
2012-01-23 15:19:05 +01:00 |
Hugo Hamon
|
488928b9b5
|
[Package] removed unused local $key variable from VersionParser::parseConstraints() method.
|
2012-01-11 11:29:12 +01:00 |
Hugo Hamon
|
2d1ad6ca32
|
[Package] removed unused local $repositories variable from RootPackageLoader::load() method.
|
2012-01-11 11:26:45 +01:00 |
Jordi Boggiano
|
9630f44922
|
Fix errors in case packages is empty
|
2012-01-07 17:04:41 +01:00 |
Jordi Boggiano
|
56e43e4397
|
Add tests
|
2012-01-07 17:04:40 +01:00 |
Jordi Boggiano
|
462ebdf752
|
Detect lock file changes and warn users on install, fixes #75
|
2012-01-07 17:04:38 +01:00 |
Jordi Boggiano
|
6ac38f111d
|
Fix typo
|
2011-12-24 14:23:34 +01:00 |
Jordi Boggiano
|
719d3074f0
|
Dump bin info
|
2011-12-24 14:18:20 +01:00 |
Jordi Boggiano
|
5c8eb355ce
|
License now defaults to an empty array
|
2011-12-22 10:07:58 +01:00 |
Per Bernhardt
|
d78548cbf9
|
Added mercurial's "default" branch as a valid dev version (same as master / trunk).
|
2011-12-13 06:47:33 +01:00 |
Jordi Boggiano
|
f6b9488bf0
|
Move root package handling to a dedicated loader and make ArrayLoader more strict
|
2011-12-13 01:05:29 +01:00 |
Matthias Pigulla
|
737fe32f4d
|
Use {}for foreach
|
2011-12-12 12:51:42 +01:00 |
Matthias Pigulla
|
3bbe3306fc
|
Correctly dump link info
|
2011-12-12 12:01:13 +01:00 |
Jordi Boggiano
|
37df1a0d15
|
Fix self.version replacement
|
2011-12-04 21:58:42 +01:00 |
Jordi Boggiano
|
7e3f8099b1
|
Add proxy files for windows instead of copying, removed PEAR-style substitution
|
2011-12-03 20:44:00 +01:00 |
Jordi Boggiano
|
aa94918d50
|
Add binaries support in composer
|
2011-12-03 15:39:06 +01:00 |
Jordi Boggiano
|
b8a9bf7b60
|
Fix typo
|
2011-11-28 20:58:16 +01:00 |
Jordi Boggiano
|
e340022cce
|
Allow the use of self.version in package links
|
2011-11-23 16:47:23 +01:00 |
Jordi Boggiano
|
22858e81ef
|
Fix .* version constraints parsing to include nonstable versions
|
2011-11-23 16:41:27 +01:00 |
Jordi Boggiano
|
63d52b3e1b
|
Minor fixes to allow branch -dev versions
|
2011-11-20 21:13:17 +01:00 |
Jordi Boggiano
|
de111b73dd
|
Add homepage to MemoryPackage
|
2011-11-20 19:35:43 +01:00 |
Jordi Boggiano
|
aab9116f67
|
Add description to MemoryPackage
|
2011-11-20 19:30:35 +01:00 |
Jordi Boggiano
|
52a9014f1a
|
Add prettyConstraint on Links
|
2011-11-20 18:56:00 +01:00 |
Jordi Boggiano
|
a54ec23e38
|
Fix typo
|
2011-11-20 16:56:24 +01:00 |
Jordi Boggiano
|
a13c35537c
|
Add parsing of keywords/authors/release date to the ArrayLoader
|
2011-11-20 16:51:04 +01:00 |
Jordi Boggiano
|
3b8ee5dd54
|
Use pretty name/version in lock file and debug:packages, fixes #98
|
2011-11-20 15:42:32 +01:00 |
Jordi Boggiano
|
8e6f8ae57e
|
Add prettyVersion to packages, fixes #76
|
2011-11-20 15:06:12 +01:00 |
Jeremy Mikola
|
be6b748426
|
Fix reference to invalid branch name variable
|
2011-11-16 01:03:01 -05:00 |
Jordi Boggiano
|
f572bbb0bf
|
Allow JsonLoader to load by file name
|
2011-11-05 23:53:40 +01:00 |
Jordi Boggiano
|
1844940a39
|
Stricter validation for the repositories config
|
2011-11-03 19:32:28 +01:00 |
Jordi Boggiano
|
7493cf7654
|
Fix locked installs
|
2011-10-30 22:56:10 +01:00 |
Jordi Boggiano
|
36a724fa51
|
Search only for packages from the local repository in the locker
|
2011-10-30 20:29:52 +01:00 |
Jordi Boggiano
|
b100df33d8
|
Make ArrayDumper and ArrayLoader reversible
|
2011-10-30 20:16:41 +01:00 |
Jordi Boggiano
|
a263a3cb7d
|
Dont enforce optional fields
|
2011-10-28 00:34:59 +02:00 |
Jordi Boggiano
|
c03a739548
|
Use psr-0 instead of psr0
|
2011-10-24 12:03:11 +02:00 |
Jordi Boggiano
|
9b24734c9d
|
Add parsing and on-the-fly loading of repositories defined in packages
|
2011-10-23 19:40:34 +02:00 |
Jordi Boggiano
|
8a571c05db
|
Fix issues in new autoloader code
|
2011-10-23 19:40:22 +02:00 |
Jordi Boggiano
|
c8cfa15f52
|
Use wrapped PlatformRepository only in the Solver
|
2011-10-23 19:40:20 +02:00 |
Igor Wiedler
|
72a1f66b7a
|
rename installAs to target-dir
|
2011-10-23 19:40:10 +02:00 |
Igor Wiedler
|
ea31039556
|
[autoload] autoloading prototype
|
2011-10-23 19:40:06 +02:00 |
Jordi Boggiano
|
e09f6900da
|
Fix up version parsing
|
2011-10-11 11:49:32 +02:00 |
Jordi Boggiano
|
19f89069a4
|
Add some more version normalization and support for branch names
|
2011-10-11 09:30:10 +02:00 |
Jordi Boggiano
|
b3fe30200b
|
Remove validation for now since it's doing more harm than good
|
2011-10-02 23:54:13 +02:00 |
Jordi Boggiano
|
806c5f200a
|
Fix var name
|
2011-10-02 20:18:46 +02:00 |
Jordi Boggiano
|
e109213dfa
|
Merge remote-tracking branch 'everzet/json-abstraction'
|
2011-10-02 19:57:25 +02:00 |
Jordi Boggiano
|
9e3c2a7e22
|
Skip platform packages from the lock file
This should maybe be done in a better way, but it'll do for now.
|
2011-10-02 19:55:45 +02:00 |
everzet
|
1cca62dc97
|
move json parsing instructions into single class object
|
2011-10-01 16:01:33 +03:00 |
everzet
|
21191ffa00
|
refactored PackageLock to Locker and stabilized it
|
2011-10-01 15:34:09 +03:00 |
Igor Wiedler
|
2c1605925b
|
ArrayLoader should not use require content for all other properties
|
2011-09-30 18:05:28 +02:00 |
Jordi Boggiano
|
ebe2a25ec6
|
Merge remote-tracking branch 'wilmoore/feature/memory-package-test-refactor'
Conflicts:
src/Composer/Package/MemoryPackage.php
|
2011-09-29 00:55:28 +02:00 |
Jordi Boggiano
|
fda206400a
|
Fix constraint parsing
|
2011-09-29 00:50:01 +02:00 |
Jordi Boggiano
|
f48634d074
|
Add source/dist reference information to package
|
2011-09-29 00:49:23 +02:00 |
Wil Moore III
|
b70bb1a9bc
|
memory-package-test-refactor: refactored the memory package test to be a bit more DRY and "hopefully" re-usable in anticipation of more package types being adding in the future.
|
2011-09-26 22:05:57 -06:00 |
Jordi Boggiano
|
da6566b343
|
Minor improvements to VersionParser
|
2011-09-26 20:34:58 +02:00 |
Jordi Boggiano
|
2e10b5c17e
|
Expand normalization feature and adjust tests
|
2011-09-26 00:59:32 +02:00 |
Jordi Boggiano
|
46a67733f8
|
Adjust codebase to the new VersionParser
|
2011-09-26 00:01:22 +02:00 |
Jordi Boggiano
|
f761cfe525
|
Refactored VersionParser
|
2011-09-26 00:01:14 +02:00 |
Jordi Boggiano
|
544067ced9
|
Packages can't be added to two repos at once
|
2011-09-25 23:43:21 +02:00 |
Jordi Boggiano
|
c6d7760145
|
Merge branch 'refactoring'
|
2011-09-25 23:09:07 +02:00 |
Jordi Boggiano
|
5623f3e69c
|
Fix refactoring bugs
|
2011-09-25 23:07:42 +02:00 |
everzet
|
3c439ce41c
|
Added "type" field validator to ArrayLoader
|
2011-09-25 20:59:54 +03:00 |
everzet
|
5890b05eb0
|
Implemented ArrayDumper
|
2011-09-25 20:59:40 +03:00 |
everzet
|
17d1abcec0
|
Refactored DownloadManager
|
2011-09-25 18:30:54 +03:00 |
Jordi Boggiano
|
751f506080
|
Add info to docblocks
|
2011-09-25 12:42:32 +02:00 |
Jordi Boggiano
|
cd80f22781
|
Type is not mandatory
|
2011-09-24 16:55:43 +02:00 |
Jordi Boggiano
|
d27691a67f
|
Fix namespace/use/typo issues
|
2011-09-24 16:55:39 +02:00 |
everzet
|
69f1de9986
|
Enhanced PackageInterface and BasePackage with getUniqueName() method, which provides name-version-releaseType string (used in installer registry)
|
2011-09-24 02:11:32 +03:00 |
everzet
|
9deb10361f
|
second batch of refactoring
|
2011-09-21 00:43:53 +03:00 |
everzet
|
6caa77fbbf
|
installer refactoring
|
2011-09-21 00:41:16 +03:00 |
everzet
|
5f4d46f7ae
|
repository factoring refactoring
|
2011-09-21 00:39:15 +03:00 |
everzet
|
1e1ecb80b7
|
initial refactoring
|
2011-09-21 00:38:23 +03:00 |
Jordi Boggiano
|
07e181c6eb
|
Fix lowercase behavior
|
2011-09-15 11:50:50 +02:00 |
pborreli
|
f7735c396f
|
[Composer] Fixed typos
|
2011-09-15 01:22:33 +00:00 |
Igor Wiedler
|
9e8fc71870
|
Make package names and downloader/installer/repository types case insensitive
|
2011-09-14 16:01:54 +02:00 |
Jordi Boggiano
|
2b77710515
|
RC versions don't need a number
|
2011-08-21 13:33:42 +02:00 |
Jordi Boggiano
|
ba9f12a517
|
Add extra and type info to packages
|
2011-08-21 13:33:37 +02:00 |
Nils Adermann
|
b1d16a88b7
|
Test a replace link with a null constraint between packages
|
2011-08-21 07:08:34 -04:00 |
Nils Adermann
|
6cf8d3888c
|
Use version contraints in the default policy rather than hardcoded version_compare
|
2011-08-20 23:05:39 -04:00 |
Nils Adermann
|
03642a40b4
|
Handle the = comparison operator for versions the same as ==
|
2011-08-20 23:04:16 -04:00 |
Jordi Boggiano
|
64978d40ba
|
Add dist properties to the Packages
|
2011-07-06 21:05:05 +02:00 |
Jordi Boggiano
|
d6ae5ddf35
|
Add 'dev' flag to version parser
|
2011-07-06 21:04:37 +02:00 |
Nils Adermann
|
2e41993822
|
Update solver to use PackageInterface and store pool package ids inside of packages
|
2011-06-03 18:27:44 +02:00 |
Jordi Boggiano
|
56da52d38f
|
PlatformRepository now adds packages for every loaded php extension as well
|
2011-05-23 02:00:18 +02:00 |
Jordi Boggiano
|
575e520931
|
Fix MultiConstraint::__toString
|
2011-05-23 02:00:12 +02:00 |
Jordi Boggiano
|
1edb22034d
|
Fix CS
|
2011-05-23 02:00:09 +02:00 |
Jordi Boggiano
|
b620405ab0
|
Adjusted BasePackage::__toString()
|
2011-05-23 02:00:07 +02:00 |
Jordi Boggiano
|
27f02aba7d
|
Fix version check in BasePackage
|
2011-05-23 02:00:05 +02:00 |
Jordi Boggiano
|
14b3325347
|
Fix version parsing
|
2011-04-23 22:25:10 +02:00 |
Jordi Boggiano
|
b53a3086b6
|
Minor refactorings and changes
|
2011-04-21 21:13:14 +02:00 |
Nils Adermann
|
9b8ab7d710
|
Fix SpecificConstraint which only handles matching of instances of same constraint
|
2011-04-18 22:47:33 +02:00 |
Nils Adermann
|
d5dd86cd75
|
Correct version contraint matching and add tests for various cases
|
2011-04-18 22:45:11 +02:00 |
Nils Adermann
|
8c9f8fb86f
|
Rename RelationConstraints to Links in the Package namespace.
Constraints have been generalised to allow matching requiring and providing
constraints against each other.
|
2011-04-18 00:27:31 +02:00 |
Jordi Boggiano
|
c6321e7277
|
Fix tests and invalid use statements
|
2011-04-17 23:45:37 +02:00 |
Jordi Boggiano
|
3da43e751d
|
Update naming of repositories
|
2011-04-17 23:32:53 +02:00 |
Jordi Boggiano
|
6dbec8718d
|
Remove contains() from RepositoryInterface
|
2011-04-17 22:59:23 +02:00 |
Jordi Boggiano
|
f0e709ad09
|
Minor cleanups, add license property to the PackageInterface
|
2011-04-17 22:13:08 +02:00 |
Jordi Boggiano
|
8ab98a8b5d
|
Fix class name
|
2011-04-17 21:49:05 +02:00 |
Jordi Boggiano
|
bb5e59e30f
|
Add type/repositoryType and repositoryUrl package properties
|
2011-04-17 21:48:20 +02:00 |
Jordi Boggiano
|
1d5f5885bc
|
Remove useless abstract methods, interface is enough
|
2011-04-17 21:47:46 +02:00 |
Jordi Boggiano
|
7ea2fd6c93
|
Fix author/copyright
|
2011-04-17 21:39:53 +02:00 |
Nils Adermann
|
3a851b4059
|
Define an interface for packages and move package code to separate namespace.
Ids are no longer needed, they are internal to the solver and not a part of
packages.
|
2011-04-17 21:36:05 +02:00 |