57 Commits (30f94365f06827c21e842ae6e322a09dc733dca7)

Author SHA1 Message Date
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
Jordi Boggiano ab9fc59d30 Add missing license headers 12 years ago
Beau Simensen 38680998ed Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback. 12 years ago
Beau Simensen 1e9cb6bac8 Use factory name instead of generator. 13 years ago
Beau Simensen 340ac49d87 Change `callback` to `callable` 13 years ago
Beau Simensen 6efbc7d531 Enhanced GitHub API/Private Repository support 13 years ago
Jordi Boggiano 3e22084ea4 Overhaul VcsDrivers, introduce TransportException for remote filesystem errors 13 years ago
François Pluchino a10f92aafe Convert Wrapper class to ConsoleIO class 13 years ago
François Pluchino f65b34860f Merge branch 'test'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/Vcs/HgBitbucketDriver.php
13 years ago
François Pluchino 9af46ad800 Add Helper Wrapper 13 years ago
Hugo Hamon 70d7ab43ee [Repository] removed unused local $match variable from GitHubDriver::supports() method. 13 years ago