1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-08 16:17:37 +00:00
Commit graph

1234 commits

Author SHA1 Message Date
Jordi Boggiano
1682d7d454 Fix path repo version parsing to follow COMPOSER_ROOT_VERSION when the git repo is shared with the root package, fixes #6625 2017-09-11 16:02:48 +02:00
Jordi Boggiano
a8df30c09b Merge branch '1.5' 2017-09-11 12:16:16 +02:00
Mikk Tendermann
2a89d37651 fix gitlab not telling visibilty if user is not logged in 2017-09-11 10:37:32 +02:00
Jordi Boggiano
97b22ad387 Merge pull request #6608 from kthbit/local-fossil
Teach FossilDriver to work with local fossil repository files
2017-09-09 12:22:25 +02:00
Jordi Boggiano
79360da184 Merge branch '1.5' 2017-08-18 14:05:07 +02:00
Jordi Boggiano
a144b5e7ed Fix GitLab endless loop thanks to API bug, fixes #6615 2017-08-18 14:04:53 +02:00
kthbit
1a30e3fbc1 Don't update local checkout directory if url is pointing to it. Only update the checkout directory if it is controlled by composer. 2017-08-14 10:56:02 -05:00
kthbit
927d3dda89 Teach FossilDriver to work with urls pointing to local repository.fossil files, and not just the local checkout directories. 2017-08-12 11:31:57 -05:00
kthbit
72a66ad9d2 Do not assume we are on Linux and have head, tail, and awk commands available. Instead, parse the output in PHP. 2017-08-12 08:50:12 -05:00
Jordi Boggiano
aff9c72d16 Merge branch '1.5' 2017-08-09 16:02:51 +02:00
Jordi Boggiano
a16867e2c2 CS 2017-08-09 16:02:45 +02:00
Helmut Januschka
320af80ad3 fix tag/branch collection 💣 2017-08-09 16:01:59 +02:00
Jordi Boggiano
97d09a9b77 Make github driver code more robust 2017-08-08 15:56:14 +02:00
Jordi Boggiano
c89f6338c2 CS tweaks, refs #6592 2017-08-08 10:11:35 +02:00
Jordi Boggiano
6fd504ef41 Add per_page to do less pagination, refs #6592 2017-08-08 10:05:30 +02:00
Helmut Januschka
be1f675992 GitlabDriver V4 Paging
V4 of gitlab api requires paging in tags/branches
2017-08-07 21:18:46 +02:00
Jordi Boggiano
6832eacb01 Update GitLab API usage to v4, fixes #6453 2017-08-07 13:13:24 +02:00
Jordi Boggiano
34dbde3873 Merge branch '1.4' 2017-07-03 17:00:48 +02:00
Marc Schlatter
3ad5ce6874 Fix hg command to retrieve file content 2017-06-22 16:20:01 +02:00
Sergey Shcherbin
676156e2db Changed date time format to RFC_3399 in VcsDriver 2017-06-07 20:51:59 +03:00
Martin Hasoň
88ec172bd8 Fix CS 2017-05-19 15:14:47 +02:00
Martin Hasoň
3c5bfcf1e9 Register github repository type 2017-05-19 11:40:42 +02:00
Jordi Boggiano
ce56fc4ab6 Merge pull request #6381 from deeky666/pass-vsc-driver-options
Forward GitLab driver options to remote filesystem
2017-05-16 23:36:30 +02:00
Jordi Boggiano
39d187fb1e Merge branch '1.4' 2017-05-16 22:19:12 +02:00
Robert Lu
05fcc4adfb can use relative path for mirror 2017-05-16 21:56:24 +02:00
Steve Müller
1d29fa04b1 forward GitLab driver options to remote filesystem 2017-04-26 16:59:50 +02:00
Rob Bast
e2eb8f2201
support for gitlab subgroups, closes #6349 2017-04-24 10:51:47 +02:00
Jordi Boggiano
4d16d6b28b Oops2 2017-04-14 00:28:20 +02:00
Jordi Boggiano
b6778cd7f6 Oops 2017-04-14 00:25:14 +02:00
Jordi Boggiano
be38f7e65d Ignore headless mercurial branches in bitbucket API, fixes composer/packagist#778 2017-04-14 00:08:27 +02:00
Jordi Boggiano
be201924cd Revert "Changes the query string parameter sha to ref to reflect the GitLab API"
Fixes #6344, refs #6198

This reverts commit 8a496cd2a7.
2017-04-10 18:46:38 +02:00
Jordi Boggiano
122e422682 CS fixes 2017-03-08 15:16:44 +01:00
Jordi Boggiano
11ce391222 Add support for info/warnings in every json file loaded by ComposerRepo 2017-03-08 14:10:50 +01:00
Jordi Boggiano
ddef9923b0 Merge branch '1.3' 2017-03-08 10:33:46 +01:00
Sjoerd Adema
8a496cd2a7 Changes the query string parameter sha to ref to reflect the GitLab API
Updated the unit test to reflect the change
Fixes #6198
2017-03-08 10:27:58 +01:00
Jordi Boggiano
f200343cf2 Fix gitlab driver issues not asking for auth when token is missing, and not falling back properly to git driver 2017-03-08 10:26:08 +01:00
Jordi Boggiano
44ea284ab9 Merge remote-tracking branch 'stefangr/implement_bitbucket_api_v2' 2017-03-07 14:43:16 +01:00
Bernhard Froehlich
70314f3570 Fix Repository support for Subversion 1.8.x where the output of svn info
has changed.

1.7.22
svn: E170001: Unable to connect to a repository at URL 'https://svswdms02/dashboard'
svn: E170001: OPTIONS of 'https://svswdms02/dashboard': authorization failed: Could not authenticate to server: rejected Digest challenge (https://svswdms02)

1.8.17
svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option
svn: E215004: Unable to connect to a repository at URL 'https://svswdms02/dashboard'
svn: E215004: No more credentials or we tried too many times.
Authentication failed
2017-03-06 15:44:00 +01:00
janczer
4707433b40 Fix change array 2017-03-02 10:41:39 +01:00
janczer
11524fc2c2 If xml have not index channel use uri 2017-03-02 10:41:33 +01:00
Stefan Grootscholten
3ccaac619b Refactor the getRepoData method to not throw an Exception 2017-01-29 15:35:50 +01:00
Jordi Boggiano
f3d0e4660d Fix urlencoding of gitlab dots, fixes #6064 2017-01-27 18:01:24 +01:00
Stefan Grootscholten
4377ba2bcb Implement changes after review by stof.
- Use camelCase variable names.
- Set 3rd argument of http_build_query
- Remove obsolete checks
2017-01-25 21:18:19 +01:00
Stefan Grootscholten
5dbdefdd72 Implement ordering in requesting tags and branches.
Update unit test with latest changes.
2017-01-22 15:55:17 +01:00
Stefan Grootscholten
046b1184dc Change getChangeDate call
Use the v2.0 commit resource instead of the v1.0 changeset resource.
2017-01-22 14:58:35 +01:00
Stefan Grootscholten
bea4ec7f88 Some refactoring after testing hg protocol.
- Revert deletion of generateSshUrl() as this is needed when falling back on the GitDriver or HgDriver.
- Implement clean way to fallback from BitbucketDriver to GitDriver or HgDriver after previous changes.
- Implement fallback in HgBitbucketDriver like in GitBitbucketDriver.
2017-01-22 14:35:37 +01:00
Stefan Grootscholten
7ae4ed1ec8 Improve fetching single files via bitbucket API.
The former implementation used the 'src' endpoint which returned some meta data as well.
This has been replaced with the 'raw' endpoint which does not return the meta data and does not need an extra JSON decode step.
2017-01-22 14:35:37 +01:00
Stefan Grootscholten
d25c483231 Implement Bitbucket API version 2.0 (where applicable). 2017-01-22 14:35:37 +01:00
Pete Akins
95e9ad57d4 Don’t add github specials if there is no composer data
This can happen if an identifier doesn’t have a composer.json file (but other identifiers do)
2017-01-07 17:58:04 +01:00
Jordi Boggiano
31731a06c2 Merge pull request #6023 from stof/add_property
Add missing definition of a property
2017-01-02 12:27:45 +01:00