Nils Adermann
15d572da4c
Use 4 byte integer from raw md5 instead of 5 hex representation chars
...
The hash is necessary as comparisons are significantly too slow
otherwise. The old hash function used substr on the hexadecimal
representation of the md5 hash, rather than the raw binary output. This
wastes a significant amount of memory, as each byte can only be used to
store up to 4 bit of information. The new hash has 32bit instead of
20bit and uses only a 4 byte integer instead of a 5 byte string.
2015-07-08 19:11:58 +02:00
Nils Adermann
5d7036e740
Merge pull request #4233 from naderman/output-ruleset-size
...
Output the number of rules used in the solver for profiling purposes
2015-07-08 19:10:35 +02:00
Nils Adermann
5b1b96b61e
Output the number of rules used in the solver for profiling purposes
2015-07-08 17:57:23 +02:00
Nils Adermann
2ddd53ece3
Merge pull request #4231 from localheinz/fix/sort-packages
...
Fix: Update docs for require command
2015-07-08 16:49:58 +02:00
Andreas Möller
22ecd0b740
Fix: Update docs for require command
2015-07-08 10:40:05 -04:00
Nils Adermann
dbdd4978a7
Merge pull request #4221 from naderman/output-pool-size
...
Output the size of the pool after dependency resolution for users (verbose)
2015-07-07 16:15:59 +02:00
Nils Adermann
07e1d227c9
Output the size of the pool after dependency resolution for users
2015-07-07 15:40:26 +02:00
Nils Adermann
22737e31a7
Merge pull request #4213 from legoktm/stabilities
...
Don't use BasePackage::$stabilities in VersionParser
2015-07-07 13:45:55 +02:00
Jordi Boggiano
d79427f1a7
Fix tests
2015-07-04 12:22:58 +01:00
Jordi Boggiano
a8d71be0ef
Add event name in verbose mode, refs #4123
2015-07-04 12:15:04 +01:00
Jordi Boggiano
852e4f4e26
Merge remote-tracking branch 'alcohol/output-script-command-in-verbose-mode'
2015-07-04 12:11:18 +01:00
Jordi Boggiano
0964c02acb
Use only one level of verbosity
2015-07-04 12:02:57 +01:00
Jordi Boggiano
5ba41514a9
Merge remote-tracking branch 'alcohol/add-suggests-command'
2015-07-04 11:58:58 +01:00
Jordi Boggiano
e817dba90c
Rendering fix, refs #4172
2015-07-04 11:56:17 +01:00
Jordi Boggiano
812167b2a0
Formatting tweaks, refs #4172
2015-07-04 11:54:56 +01:00
Jordi Boggiano
edf121ce11
Minor tweaks, refs #4172
2015-07-04 11:51:55 +01:00
Jordi Boggiano
720a25abb9
Merge remote-tracking branch 'alcohol/split-schema-documentation'
2015-07-04 11:45:49 +01:00
Kunal Mehta
0ad9e98a59
Don't use BasePackage::$stabilities in VersionParser
...
Working towards #3545 .
This adds VersionParser::$stabilities, which is an array of the
supported stability levels. This adds a little bit of duplication,
however we were already hardcoding the various stabilities in regular
expressions and functions like parseStability().
2015-07-03 17:54:30 -07:00
Jordi Boggiano
2438105e11
Merge pull request #4086 from legoktm/format-version
...
Move VersionParser::formatVersion() to BasePackage::getFullPrettyVersion()
2015-07-04 00:55:50 +01:00
Jordi Boggiano
e2b2f450dc
Merge pull request #4144 from staabm/patch-2
...
Dropped unnecessary break statements
2015-07-03 21:49:05 +01:00
Jordi Boggiano
9b3e8b963e
Merge pull request #4143 from staabm/patch-1
...
Dropped obsolete condition
2015-07-03 21:48:39 +01:00
Jordi Boggiano
01a9c3a0ce
Merge pull request #4208 from alcohol/update-spdx-updater
...
Updated SPDX related files in light of 2.0 release of SPDX specification
2015-07-03 11:54:16 +01:00
Rob Bast
4019f7bb44
Revert "apply a regex solution instead of tokenizer"
...
This reverts commit 33a7305e22c8d4e2ce38586855fd3d4b7b2af3dd.
2015-07-03 12:22:16 +02:00
Rob Bast
b5d286e27b
apply a regex solution instead of tokenizer
2015-07-03 12:22:16 +02:00
Rob Bast
e4118385a0
updated spdx related files
2015-07-03 12:22:16 +02:00
Jordi Boggiano
d1a9cfbd63
Merge pull request #4205 from gammamatrix/patch-2
...
Changing config.json to satis.json
2015-07-02 10:36:31 +01:00
Kunal Mehta
c5afb8f23a
Mark VersionParser::formatVersion() as deprecated
...
With 1753c275ff
, this will be handled nicely.
2015-07-02 00:07:04 -07:00
Kunal Mehta
f634c6946d
Update callers of VersionParser::formatVersion()
...
Tests were moved to BasePackageTest.
2015-07-02 00:06:56 -07:00
Kunal Mehta
99dab8aebd
Move VersionParser::formatVersion() to BasePackage::getFullPrettyVersion()
...
Working towards #3545 .
formatVersion() does not belong in VersionParser since it depends upon a
Package object, and is creating a more complete pretty formatted
version, not parsing anything.
The new getFullPrettyVersion() method can be seen as an extension to
getPrettyVersion(), and is located in BasePackage as a result.
Callers to VersionParser::formatVersion() were not updated in this
commit to demonstrate that no functionality was changed in this
refactor. They will be updated in a follow up commit.
2015-07-01 23:54:08 -07:00
Jeremy Postlethwaite
558fca8a23
Changing config.json to satis.json
...
Updating docs to use `satis.json` instead of `config.json`
2015-07-01 14:15:24 -07:00
Jordi Boggiano
8775c94895
Merge pull request #4196 from localheinz/fix/namespace
...
Fix: Import Symfony\Component\Finder\Finder
2015-07-01 10:29:53 +01:00
Andreas Möller
962f5a99ea
Fix: Import Symfony\Component\Finder\Finder
2015-06-30 21:03:59 -04:00
Jordi Boggiano
79f9158fb2
Merge pull request #4192 from localheinz/fix/import
...
Fix: Add missing imports
2015-06-30 15:38:46 +01:00
Jordi Boggiano
6a64041055
CS fixes
2015-06-30 15:38:32 +01:00
Jordi Boggiano
4d36622ada
Merge pull request #4191 from localheinz/fix/docblock
...
Fix: Docblock
2015-06-30 15:25:49 +01:00
Jordi Boggiano
70f5150893
Merge pull request #4190 from localheinz/fix/unused-private-property
...
Fix: Remove unused private property
2015-06-30 15:14:03 +01:00
Jordi Boggiano
4307031e9b
Merge pull request #4189 from localheinz/fix/unused-imports
...
Fix: Remove unused imports
2015-06-30 15:13:46 +01:00
Rob Bast
16a7cf19fc
outside of table, no need to escape
2015-06-30 15:49:00 +02:00
Rob Bast
d8d2bcadde
added some links and some restructuring
2015-06-30 15:49:00 +02:00
Rob Bast
50db9393e5
better phrasing / structure + moved version testing link
2015-06-30 15:49:00 +02:00
Rob Bast
10b813fc40
reworking basic usage, added versions article
2015-06-30 15:49:00 +02:00
Rob Bast
eb98613672
add installer information
2015-06-30 15:49:00 +02:00
Rob Bast
4ddd5aa37f
cleaned up intro page a bit
2015-06-30 15:49:00 +02:00
Jordi Boggiano
a8e004c7e7
Merge pull request #4199 from sminnee/version-comparison-docs
...
>=2.3.0 now includes pre-releases, added docs for this and -stable suffix Fixes #4080 .
2015-06-30 14:32:20 +01:00
Jordi Boggiano
b17ccbfa0d
Avoid invalid warnings when scanning the same file twice, fixes #4195 , fixes #4197
2015-06-30 13:27:28 +01:00
Jordi Boggiano
05c4911f6c
Merge pull request #4193 from alcohol/fix-gitignore-parsing
...
Fix #4183 - exclude pattern containing delimiter used throws error
2015-06-30 13:10:34 +01:00
Sam Minnee
2cd698874f
Include pre-releases in >=2.3.0 comparison. Fixes #4080 .
...
This is a change to the >=2.3.0 comparison. Without this change, such a
comparison will exclude pre-release versions.
The rationale is that this makes the comparison more consistent with
<2.3.0 (which excludes all pre-releases) and ~2.3.0 (which includes
pre-releases).
2015-06-30 13:10:20 +01:00
Sam Minnee
5cd1b6d56f
Added documentation about -stable suffix in version range comparison. Fixes #4080 .
2015-06-30 13:10:16 +01:00
Rob Bast
0298cdc60d
change delimiter to curly braces
2015-06-30 13:52:47 +02:00
Rob Bast
e698636af4
added test to reproduce #4183
2015-06-29 09:42:40 +02:00