32 Commits (713bc4de1d506a83f341e033569ded22bff7d228)

Author SHA1 Message Date
Jordi Boggiano 9041622b86 Fix version guessing regression and a few other issues, fixes #7127 6 years ago
Jordi Boggiano 842a7ea922 Fix dev-master not being normalized correctly for the root package, fixes #7007 7 years ago
Alessandro Lai fc6c12bd0a Fix pretty version guessing when non-dev branch 7 years ago
Jordi Boggiano 5ba6d7d436 Fix pretty guessed versions to show nicely on numeric branches, refs #6845 7 years ago
Jordi Boggiano 40f4f6bf86 Fix docblock 7 years ago
Jordi Boggiano c52e8e5656 Update comment 7 years ago
Jordi Boggiano b07be842a0 Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475 7 years ago
Claus Due 965f1f42d1 Add support for feature-branches setting
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.

Allows changing the currently hardcoded set of
expected feature branch names, from:

* master|trunk|default|develop

To any set of names or patterns that you desire.
7 years ago
Nicole Cordes 313e6b914d Fix Git branch parsing for detached HEAD on a commit
Current versions of Git output the commit hash as detached HEAD instead
of FETCH_HEAD. The VersionGuesser should be able to handle commit hashes
as well as FETCH_HEAD to detect the correct branch of a commit.
7 years ago
Jordi Boggiano 843877cd6d Fix hg version guessing, fixes #6236, fixes #6235 7 years ago
Jordi Boggiano c0b03d0d34 Force exact tag checks when we are in a detached head state 7 years ago
James Buncle 9be13783a3 Updated VersionGuesser to check if we actually have a version in the returned array (fixes bug originating from f6899e5 when array was first introduced) - as SVN Versions not being guessed as it would previously stop at Git check.
Fixes #6178
7 years ago
Jordi Boggiano e54c7478ee Attempt at fixing support for git 2.11, refs #5942 8 years ago
Jordi Boggiano e53119f806 Make use of pretty version for new references, refs #5328 8 years ago
Jordi Boggiano 44ddcf4da7 Merge remote-tracking branch 'slbmeh/feature/version-status' 8 years ago
bohwaz abcbef4a67 Add Fossil support to Composer 8 years ago
Steve Buzonas 8d766c8eb2 cleaner implementation of status output with support for path repositories 8 years ago
Jordi Boggiano 0ed5b541a9 Fix CS 8 years ago
Jordi Boggiano 5b65221523 Reverse order of version guessing for git, fixes #4673 8 years ago
Jordi Boggiano bad80878bc Merge remote-tracking branch 'sashman/master' 8 years ago
Rob Bast a245c4618b php-cs-fixer 8 years ago
Jordi Boggiano fff0aed3a6 Allow Semver VersionParser in input hints 8 years ago
Jordi Boggiano c9436438ff Add memoization to parseConstraints, saves some (6-7% here) RAM and marginal CPU time 8 years ago
Sash f6899e5c38 #4828 Using version guesser to pull out the commit has for git repositories. The return value is now an array with version and commit values. 8 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Rob Bast 1328d9c3b2 rename baseversionparser to semverversionparser
and fix docblock as per @stof request
9 years ago
Rob Bast a1ad7fc435 fix classname clashing cause of existing class in current namespace 9 years ago
Rob Bast a1427d7fd6 replace all occurences in code and comments 9 years ago
Jordi Boggiano 89c6a68a76 Updates to path repository and path downloader, refs #4365 9 years ago
Samuel ROZE 4ab123291d Add missing licence in VersionGuesser 9 years ago
Samuel ROZE 623f31fcc4 Use version guesser to get local package version 9 years ago
Samuel ROZE 5261a5fa03 Move version guessing in `VersionGuesser` class 9 years ago