Jordi Boggiano
80875e896d
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
05737a46fb
Improve funding info parsing
4 years ago
Jordi Boggiano
9cab8c10cc
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
c4f19e51d8
Rework the funding info parsing to avoid requiring graphql permissions
4 years ago
Jordi Boggiano
2e82e34fe0
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
4f59162827
Fix class name of caught exception
4 years ago
Jordi Boggiano
0ad322e51f
Fix tests
4 years ago
Jordi Boggiano
bc002ae1fb
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
8dc055bec7
Fix 5.3 syntax
4 years ago
Jordi Boggiano
f171d1fd89
Avoid requiring auth for the funding API access
4 years ago
Jordi Boggiano
b033a2ae81
Retrieve funding info from github into composer.json if not declared there
4 years ago
Jordi Boggiano
a5b178084c
Merge branch 'master' into 2.0
5 years ago
Stephan Vock
731d94a2a3
VcsRepositories: mark archived repositories as abandoned
5 years ago
Jordi Boggiano
bc2a1d762a
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
9e2485aa4d
Make gitlab/bitbucket driver checks case insensitive
5 years ago
Grey Baker
b09945c3ba
Allow for leading slash in path part of GitHub URLs
5 years ago
Jordi Boggiano
bfee701f9b
Deduplicate findHeaderValue code
5 years ago
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
0261ce8092
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
5 years ago
Jordi Boggiano
5f988a34a6
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
d3873a0565
Merge branch '1.8'
5 years ago
Jordi Boggiano
61cd8664e5
Avoid creating empty bitbucket files if there was no composer.json present in the original branch/tag
5 years ago
Jordi Boggiano
4517c00d40
Merge branch 'master' into 2.0
6 years ago
Kath Young
fbb9d20c33
Adjusted config name to be more descriptive, added documentation
6 years ago
Kath Young
3d1e0e79cc
Allow for no-api for Github to be a composer configuration as well as repo specific
6 years ago
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
6 years ago
Jordi Boggiano
713bc4de1d
Minor fixes and updated the rest of the code/tests to use HttpDownloader
6 years ago
Jordi Boggiano
734735c691
Merge pull request #7574 from seferov/patch-1
...
Remove github API request retries as it is not needed anymore
6 years ago
Pierre du Plessis
33341130a9
Fix typo in variable name in GitHubDriver
6 years ago
Farhad Safarov
4014c914ab
remove Github 404 retries
6 years ago
Jordi Boggiano
e718f34ba4
Properly detect rate limit errors on github before outputting messages, fixes #6621
6 years ago
Jordi Boggiano
1933532ec5
Fix github authentication request, fixes #5767
7 years ago
Jordi Boggiano
97d09a9b77
Make github driver code more robust
7 years ago
Jordi Boggiano
122e422682
CS fixes
7 years ago
Jordi Boggiano
f200343cf2
Fix gitlab driver issues not asking for auth when token is missing, and not falling back properly to git driver
7 years ago
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)
8 years ago
Thomas Flori
7896b1ffab
cache only rendered composer information
...
As suggested we cache now only composer information and also the rendered version again. Perforce is using the same property cache as others and the `Util\Perforce::getComposerInformation()` is using the newly created methods.
8 years ago
Thomas Flori
597f834ae9
add getFileContent function
...
This function is very similar to a part from getComposerInformation - so we can use this function in getComposerInformation too. And because it is almost everywhere the same we can put it to abstract class.
By implementing getComposerInformation in abstract class we need to add the getChangeDate to interface too. Only Problem: perforce seems not to support a ChangeDate. For this we use 'now' to have at least something.
8 years ago
Jordi Boggiano
1c4acf3583
Refactor code to use RemoteFilesystem facilities for header parsing, refs #5435
8 years ago
Phil Lello
7a112b0395
Check headers for missing scopes before asking for new OAuth token
...
This patch stops the GitHub VCS driver prompting for a new access
token when a repository is deleted/hidden.
Specifically, it checks the X-OAuth-Scopes and X-Accepted-OAuth-Scopes
response headers to see if the scopes on the current request match
those needed by the API call. If they do, the 404 means that the repo
is deleted/hidden, and there's no point asking for a new OAuth token.
8 years ago
Jordi Boggiano
8bfb2e8bc2
Add a getter to fetch the repo data from the outside of the github driver
8 years ago
Jordi Boggiano
4c50136522
Avoid caching nulls, refs #5234
8 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Jordi Boggiano
29312be4df
Strict typing fixes
9 years ago
Jordi Boggiano
afd98b74f1
Fix handling of www.github.com in GitHubDriver, fixes composer/packagist#572
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Jordi Boggiano
2b7b605839
Skip empty time values
10 years ago
Jordi Boggiano
d5294ef91b
Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423
10 years ago
Jordi Boggiano
b7402c3b2d
Ignore gh-pages branches, fixes #3073
10 years ago
Jordi Boggiano
ac497feaba
CS fixes
10 years ago