Jordi Boggiano
03b8c3db3f
Merge branch '1.10'
4 years ago
Nils Adermann
89afb823b6
VersionGuesser: Add test for remote version guess
4 years ago
Nils Adermann
db2f09a361
VersionGuesser: Update tests to match new git command generated
4 years ago
Jordi Boggiano
bee91155a1
Fix guessing of default branch when HEAD is a non-feature-branch
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
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
fb7fc4a4ca
Fix git tests
4 years ago
Jordi Boggiano
93d4cf6f91
Add --no-show-signature where git supports it, fixes #8966
4 years ago
Jordi Boggiano
a7a975ec1c
Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
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
Jordi Boggiano
9041622b86
Fix version guessing regression and a few other issues, fixes #7127
7 years ago
Jordi Boggiano
842a7ea922
Fix dev-master not being normalized correctly for the root package, fixes #7007
7 years ago
Jordi Boggiano
0a9abeef88
Merge branch '1.5'
7 years ago
Alessandro Lai
54adf0b61e
Add regression test about VersionGuesser pretty_version handling
7 years ago
Gabriel Caruso
afc9a7643e
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
7 years ago
Jordi Boggiano
5ba6d7d436
Fix pretty guessed versions to show nicely on numeric branches, refs #6845
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
d834fcfac5
Change commitHash to match real life examples
8 years ago
Nicole Cordes
c0f5a64e81
Use long array sysntax for PHP 5.3 compatibility
8 years ago
Nicole Cordes
c2fe198ebc
Re-add unit test for FETCH_HEAD parsing
8 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.
8 years ago
Jordi Boggiano
843877cd6d
Fix hg version guessing, fixes #6236 , fixes #6235
8 years ago
Filippo Tessarotto
04b1ddb79f
VersionGuesser test for HG
8 years ago
Jordi Boggiano
e54c7478ee
Attempt at fixing support for git 2.11, refs #5942
8 years ago
Jordi Boggiano
2dcd76aa43
Fix test suite
9 years ago
Sash
582e361a88
Fixing array accessing
9 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.
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
bb81e3721a
Move the `proc_open` test in setUp
9 years ago
Samuel ROZE
dfccb686ce
Replace usage of brackets by legacy array notation
9 years ago
Samuel ROZE
5261a5fa03
Move version guessing in `VersionGuesser` class
9 years ago