54 Commits (c4c5647110d62b1f90097e21cb65a114349f33e1)

Author SHA1 Message Date
Jordi Boggiano 7859fe72e8
Fix line wrapping 4 years ago
Jordi Boggiano 9dc125f79c
Fix cleanup of useless feature_versions 4 years ago
Simon Berger bae227ec2d Changed all substr calls used to compare fragments of text to strpos
Some additional code cleanups in those classes

Reverted change causing issues
4 years ago
Jordi Boggiano 5ef398ebb9
Fix 5.3 support 4 years ago
Jordi Boggiano bee91155a1
Fix guessing of default branch when HEAD is a non-feature-branch 4 years ago
Jordi Boggiano 05dacbdabb
Rename DEV_MASTER_ALIAS to DEFAULT_BRANCH_ALIAS 4 years ago
Jordi Boggiano 74d89d7110
Get rid of default branch handling in version guesser as it is way too time intensive at every initialization 4 years ago
Jordi Boggiano e76fc2dc39
Avoid blocking when guessing default branch name, fixes #9001 4 years ago
Jordi Boggiano 6349764c2d
Fix root package handling of default-branch 4 years ago
Jordi Boggiano 6f0e5996de
Treat default branch name as a non-feature-branch no matter what it is called 4 years ago
Jordi Boggiano 04381c70fe
Merge branch '1.10' 4 years ago
Jordi Boggiano 93d4cf6f91
Add --no-show-signature where git supports it, fixes #8966 4 years ago
Jordi Boggiano be1ddcf293
Fix handling of svn trunk in version guesser, fixes #8765 4 years ago
Markus Staab c30925e68d
extracted `VersionParser::DEV_MASTER_ALIAS` (#8742) 4 years ago
Jordi Boggiano 87757de6bc
Merge branch '2.0' 4 years ago
Jordi Boggiano 22a52f5813
Apply suggestions from code review
Co-Authored-By: Andreas Möller <am@localheinz.com>
4 years ago
Andreas Möller 6e88683e35
Fix: Return early 4 years ago
Jordi Boggiano 0d2c2c044a
Avoid skipping feature branch detection if no branch-alias is defined at all 4 years ago
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano a2dadb91bf
Return two packages in PathRepository when on a feature branch, one for feature branch and one for the source branch it came from, fixes #8498, fixes #8477 5 years ago
CZechBoY a062cd1a31
added phpstan on level 0 5 years ago
Jordi Boggiano f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 6 years ago
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