Jordi Boggiano
|
a612b2affe
|
Merge remote-tracking branch 'naderman/download-failover'
|
11 years ago |
Nils Adermann
|
a80fde97d5
|
Make the github driver behave like git if "no-api" is specified.
|
11 years ago |
Nils Adermann
|
35fbe3fd42
|
Download failover means we can now always try github zip urls for dist
|
11 years ago |
Kim Laï Trinh
|
691f784f92
|
fix bug introduced in https://github.com/composer/composer/pull/2375
|
11 years ago |
Gennady Feldman
|
e5045ce215
|
Per request from Jordi Boggiano (Seldaek) making Config 2nd parameter in supports()
|
11 years ago |
Gennady Feldman
|
93ebfd54b1
|
Adding Config as parameter to the Driver::supports(), updating all drivers, user and tests.
|
11 years ago |
Gennady Feldman
|
d8dbcab710
|
Refactoring my code to use a protected function to generate API Url.
|
11 years ago |
Gennady Feldman
|
e78499d28d
|
First working version of GitHub Enterprise API.
|
11 years ago |
Nicolas Bastien
|
52711d121c
|
Remove unused use statement.
|
11 years ago |
Jordi Boggiano
|
444bdb2e25
|
Fix VCS drivers to always use identifiers and not tag names since those can change or disappear
|
11 years ago |
Jordi Boggiano
|
1a50f74c4c
|
Improve reporting of github rate limiting errors, fixes #2183
|
11 years ago |
Jordi Boggiano
|
5267bafa2c
|
Retry fetching composer.json files twice since github returns 404s at random at the moment
@bhuga confirmed it is the best approach until github finds a fix. /cc @gillesruppert enjoy whatever your bet wins you
|
11 years ago |
Andrey Utkin
|
340e960614
|
Allow svn repositories to reside deeper than module root
|
11 years ago |
Jordi Boggiano
|
259a25344d
|
Use the api to get file contents instead of raw.github.com
raw.github does not like the access_token query param
|
12 years ago |
Jordi Boggiano
|
17a5bdf162
|
Normalize github URLs generated by the GitHubDriver, fixes #1551
|
12 years ago |
Jordi Boggiano
|
432955e0ae
|
Fix github url escaping, raw.github.com doesnt like escaped slashes
|
12 years ago |
Jordi Boggiano
|
224934831d
|
Change all github archive URLs to API URLs and handle fallback for those to nodeload
|
12 years ago |
Chris Smith
|
120f52c632
|
Generate private zipball urls for private repositories
|
12 years ago |
Jordi Boggiano
|
15475f0ef2
|
Rename cache dirs to consolidate them by purpose
|
12 years ago |
Igor Wiedler
|
4959c2bdc6
|
Replace references of a11n with a12n where appropriate
Authorization => Authentication.
|
12 years ago |
Jordi Boggiano
|
1682532b80
|
Update code to use new github archive URLs
|
12 years ago |
Jordi Boggiano
|
bebd1ce9c7
|
Always check for OAuth token in git config, fixes #1243
|
12 years ago |
Jordi Boggiano
|
39e69a3b12
|
Refactor OAuth acquisition code to generalize it
|
12 years ago |
Wes Mason
|
5fb0403276
|
Use process executor instead of exec to run git config
|
12 years ago |
Wes Mason
|
1442c1e026
|
Damnable tabs!
|
12 years ago |
Wes Mason
|
2cb07dd2fe
|
Allow use of Github OAuth2 token stored in git config
|
12 years ago |
Jordi Boggiano
|
0a3097c569
|
Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
Conflicts:
src/Composer/Repository/Vcs/GitHubDriver.php
|
12 years ago |
Jordi Boggiano
|
5051e7a0a2
|
Only try to authorize when fetching the repo info, not subsequent calls, refs #423
|
12 years ago |
Jordi Boggiano
|
32282e7461
|
Add hostname to the OAuth app name
|
12 years ago |
Jordi Boggiano
|
a9811c4e40
|
Store and reload the github token to/from the config
|
12 years ago |
Jordi Boggiano
|
3b01d26d67
|
Swap user credentials for an OAuth token from GitHub
|
12 years ago |
Thomas Adam
|
1bd5d88b02
|
quick workaround for Github API limit
|
12 years ago |
bboer
|
00361e0087
|
Fixed tests
|
12 years ago |
Jordi Boggiano
|
997ef763b4
|
urlencode() github calls for safety, refs #935
|
12 years ago |
Sebastiaan Stok
|
9270904765
|
fixed issue #992 - branch name not properly escaped
|
12 years ago |
Robert Schönthal
|
0cd453449b
|
minor changes to JsonFile::parseJson for Drivers
|
12 years ago |
Robert Schönthal
|
c517ac6404
|
fixed issue #347 added file to json validation exception
|
12 years ago |
Jordi Boggiano
|
656feda837
|
Revert previous change, use GIT_ASKPASS env var instead
|
12 years ago |
Jordi Boggiano
|
4ee1ff46a8
|
Try ssh before http auth, and make sure ssh fails fast if no login is possible
|
12 years ago |
Jordi Boggiano
|
740d3aa1e3
|
Generate source urls with labels and not identifiers
|
12 years ago |
Jordi Boggiano
|
2257d0b550
|
Guess issues/source support info for github packages
|
12 years ago |
Jordi Boggiano
|
1bd4ccbd54
|
php-cs-fixer magic
|
12 years ago |
Jordi Boggiano
|
ba9676e0f2
|
Add caching for metadata in github driver
|
12 years ago |
Jordi Boggiano
|
c2933028e8
|
Make sure github driver is used for all github urls
|
12 years ago |
Jordi Boggiano
|
7bfe031768
|
VcsDrivers now send proper originUrl for authentication
|
12 years ago |
Jerome Tamarelle
|
610f15a768
|
Fix unit tests for VcsRepository
|
12 years ago |
Jerome Tamarelle
|
949728f812
|
Remove redundant __contruct from VcsDriver implementations and move init code to initialize method
|
12 years ago |
Jordi Boggiano
|
2844a5673d
|
Use refs API since it is more stable than the branches API with force-pushes, fixes #514
|
12 years ago |
Jordi Boggiano
|
6d5b4d606c
|
Add warning in verbose mode if drivers can not be used because of missing openssl
|
12 years ago |
Jordi Boggiano
|
7a28a2d83a
|
Add support for new GitHub API
|
12 years ago |