Marc Schlatter
3ad5ce6874
Fix hg command to retrieve file content
7 years ago
Sergey Shcherbin
676156e2db
Changed date time format to RFC_3399 in VcsDriver
7 years ago
Martin Hasoň
88ec172bd8
Fix CS
7 years ago
Jordi Boggiano
ce56fc4ab6
Merge pull request #6381 from deeky666/pass-vsc-driver-options
...
Forward GitLab driver options to remote filesystem
7 years ago
Steve Müller
1d29fa04b1
forward GitLab driver options to remote filesystem
8 years ago
Rob Bast
e2eb8f2201
support for gitlab subgroups, closes #6349
8 years ago
Jordi Boggiano
4d16d6b28b
Oops2
8 years ago
Jordi Boggiano
b6778cd7f6
Oops
8 years ago
Jordi Boggiano
be38f7e65d
Ignore headless mercurial branches in bitbucket API, fixes composer/packagist#778
8 years ago
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
.
8 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
Jordi Boggiano
ddef9923b0
Merge branch '1.3'
8 years ago
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
8 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
8 years ago
Jordi Boggiano
44ea284ab9
Merge remote-tracking branch 'stefangr/implement_bitbucket_api_v2'
8 years ago
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
8 years ago
Stefan Grootscholten
3ccaac619b
Refactor the getRepoData method to not throw an Exception
8 years ago
Jordi Boggiano
f3d0e4660d
Fix urlencoding of gitlab dots, fixes #6064
8 years ago
Stefan Grootscholten
4377ba2bcb
Implement changes after review by stof.
...
- Use camelCase variable names.
- Set 3rd argument of http_build_query
- Remove obsolete checks
8 years ago
Stefan Grootscholten
5dbdefdd72
Implement ordering in requesting tags and branches.
...
Update unit test with latest changes.
8 years ago
Stefan Grootscholten
046b1184dc
Change getChangeDate call
...
Use the v2.0 commit resource instead of the v1.0 changeset resource.
8 years ago
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.
8 years ago
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.
8 years ago
Stefan Grootscholten
d25c483231
Implement Bitbucket API version 2.0 (where applicable).
8 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
Jordi Boggiano
1bc8b702ca
Fix handling of annotated tags and prefer them over lightweight tags, fixes #5555
8 years ago
Jordi Boggiano
9b0ddcd9dd
Merge pull request #5954 from Golodnyi/master
...
Not actual parameters
8 years ago
Jordi Boggiano
9d3e3ca486
Fix edge case in bitbucket driver
8 years ago
golodnyi
1cced223d8
Not actual parameters
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
ec27777341
code improvements as suggested
...
Thanks for your input!
8 years ago
Thomas Flori
d70dfd2df3
revert style changes
8 years ago
Thomas Flori
33d026bb06
fix code style to be PSR-2 conform
...
I tried to solve all PSR-2 style guide violations in files that I changed. One I could not solve: const can not concatenate in php 5.3.
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
43903a3979
Merge branch '1.2'
8 years ago
Rafael Kassner
44634a689d
HgDriver does not identify bitbucket mercurial repos correctly
8 years ago
Jordi Boggiano
285c4a1ac6
Merge branch '1.2'
8 years ago
Jordi Boggiano
f78f6c963d
Add note about rawurlencode, refs #5503
8 years ago
Calin Marian
a888b082b0
Make urlEncodeAll private
8 years ago
Calin Marian
862a13a17e
Urlencode Gitlab project names
...
Url encode all non alphanumeric characters in project name for GitLabDriver.
If the project name has "." characters in it, which is supported in Gitlab, the Gitlab API will 404 when requesting the branches or tags of the repository. This commit urlencodes all non alphanumeric characters in the project name in requests to the Gitlab API.
8 years ago
ianlet
5874132857
return https url of the repository given gitlab project is public
8 years ago
Jordi Boggiano
4998ee27b3
Re-use mirror code from the git driver, refs #5384
8 years ago
bohwaz
5674262030
fix typo and bugs on Fossil support
8 years ago
bohwaz
0e26a07a74
Fix: use the right directory for repository file
8 years ago
bohwaz
abcbef4a67
Add Fossil support to Composer
8 years ago
Jordi Boggiano
1c4acf3583
Refactor code to use RemoteFilesystem facilities for header parsing, refs #5435
8 years ago
Jordi Boggiano
f8c3ef4136
Merge remote-tracking branch 'dunlop-lello/master'
8 years ago
Stefan Grootscholten
78fcb5a366
Add support section to composer data for bitbucket repositories.
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
Stefan Grootscholten
d9fd9fca6b
Implement changes after review of stof.
...
Rename getContents to getContentsWithOAuthCredentials.
Make gitDriver a private property.
8 years ago
Stefan Grootscholten
1084a3927e
Implement Bitbucket Util in GitBitbucketDriver.
8 years ago
Stefan Grootscholten
307fd4023b
Fetch composer.json using the oauth api.
8 years ago
Jordi Boggiano
8bfb2e8bc2
Add a getter to fetch the repo data from the outside of the github driver
9 years ago
Jordi Boggiano
40df5dddee
Add secure-http:false option to disable the https default of gitlab driver when using ssh urls, fixes #5254
9 years ago
Jordi Boggiano
35fbf9bc14
Merge branch '1.0'
9 years ago
msarca
9f58c3d6e3
Fixed a bug that prevented interactive authentication to work properly
9 years ago
Jordi Boggiano
4c50136522
Avoid caching nulls, refs #5234
9 years ago
Jordi Boggiano
95e0347917
Merge branch '1.0'
9 years ago
Jordi Boggiano
766c45c047
Add support for local paths pointing directly at the .git folder instead of actual repo, refs #3338
9 years ago
Jordi Boggiano
2062070be9
Warn users with secure-http disabled once per hostname they access insecurely to avoid bad URLs going by undetected, fixes #5008
9 years ago
Niels Keurentjes
eb77c0b7f5
phpDoc cleanup, removed unused imports, variables and parameters.
9 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
9 years ago
Jordi Boggiano
7e1a23eef7
Add missing use statements
9 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
Jordi Boggiano
764de14b5e
Add caching to bitbucket API requests
9 years ago
Jordi Boggiano
64b0d72183
Add missing git fallback function in gitlab driver
9 years ago
Jordi Boggiano
29312be4df
Strict typing fixes
9 years ago
Jordi Boggiano
6d9e04c0e9
Tweak regex usage
9 years ago
Jaapio
df92cb09ab
extract regex to const. To be able to reuse it
9 years ago
Jaapio
b471440ea0
Adds support for gitlab install in subfolder
...
Since gitlab can be hosted on any url also subdirectories should be
supported. (e.g https://mycompany.com/gitlab ).
This supports only http and https protocols since the gitlab api url
is derived from the package repository url. And the ssh protocol doesn't
support folders this way.
9 years ago
Jordi Boggiano
020c126c27
Fix CS
9 years ago
Jérôme Tamarelle
4255db9e31
Allows SSH urls for gitlab and detect the scheme
...
SSH urls uses HTTPS to request the API
9 years ago
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
9 years ago
Jerome TAMARELLE
db056b8383
Fix retry authentification on gitlab oauth
9 years ago
Jerome TAMARELLE
211d4632bb
Fix compatibility with PHP 5.3
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Jordi Boggiano
afd98b74f1
Fix handling of www.github.com in GitHubDriver, fixes composer/packagist#572
9 years ago
Roshan Gautam
98bc4e4483
Gitlab:Use proper fallbacks if archive download is failing
10 years ago
Roshan Gautam
4d5e5b3fb5
Remove parasite
10 years ago
Roshan Gautam
f870396568
Add oauth2 support for gitlab
10 years ago
Jérôme Tamarelle
c1edfbb65c
Add tests on GitLabDriver
...
Add an interactive prompt for gitlab token
Update doc for gitlab-domains
Add tests on GitLabDriver::supports
Update doc + CS
Optimize branch detection + fix typos
Fix test on GitLab support as it depends on SSL
Remove useless method + fix repository URL containing .git
10 years ago
Jerome TAMARELLE
5fece6ae83
Use Gitlab blob API to retreive composer.json files
...
Store missing composer.json into the cache
[GitLab] Reduce API calls by caching
Download ZIP archives from gitlab + fix repo URL
Fix cached commit objects
10 years ago
Henrik Bjørnskov
782c6303bc
Initial GitLab Driver
...
This is a proof of concept, and mostly done to gather feedback on the
structure of the driver and to see if this is something that Composer
should include in core.
Various review changes based on Stof comments.
* Remove cleanup() as it is implemented by the abstract class.
* Remove wrong comment in getReferences
* Implement getSource (as GitHubDriver does)
* Finish phpDocs for methods.
10 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
10 years ago
Jordi Boggiano
0b4a9235f4
CS fixes
10 years ago
David Verholen
2d9401fb13
fix bug in GitDriver::supports for remote repo
...
for some reason it does not work (in packagist) without the $output param. I don't get any error message here, maybe someone has an idea, why?
Anyway, need this ;)
10 years ago
Padraic Brady
19e24c5804
Merge branch 'master' into tls-config
...
Conflicts:
.travis.yml
doc/03-cli.md
src/Composer/Command/ConfigCommand.php
src/Composer/Command/CreateProjectCommand.php
src/Composer/Command/DiagnoseCommand.php
src/Composer/Command/InstallCommand.php
src/Composer/Command/RequireCommand.php
src/Composer/Command/SelfUpdateCommand.php
src/Composer/Command/ShowCommand.php
src/Composer/Command/UpdateCommand.php
src/Composer/Config.php
src/Composer/Downloader/FileDownloader.php
src/Composer/Factory.php
src/Composer/Repository/ComposerRepository.php
src/Composer/Repository/PearRepository.php
src/Composer/Repository/Vcs/VcsDriver.php
src/Composer/Util/GitHub.php
src/Composer/Util/RemoteFilesystem.php
10 years ago
brandung GmbH & Co. KG
d650f05ddf
removed needless output param
10 years ago
davidverholen
50d068b977
+ limit git ls-remote to heads
...
+ escape repo url
10 years ago
davidverholen
80d7ab57ed
add check for remote Repository in GitDriver::supports
10 years ago
Jordi Boggiano
2a1a963b00
support bitbucket URLs with plain http
10 years ago
Jordi Boggiano
e0291f3a30
Fix parsing of empty git commits, fixes #3565
10 years ago
Jordi Boggiano
5133c3fe9a
Merge pull request #3424 from kaktus42/master
...
return false if local file path does not exist in GitDriver and HgDriver
10 years ago
Jordi Boggiano
2b7b605839
Skip empty time values
10 years ago
kaktus42
116ccdac62
return false if local file path does not exist in GitDriver and HgDriver
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
e61e62908e
Merge remote-tracking branch 'frederikbosch/patch-1'
10 years ago
Jordi Boggiano
91ac3e1426
Add support for unixy paths in git/hg local repo urls, closes #3294
10 years ago
frederik
d1d40502bf
ProcessExecutor::escape
10 years ago
frederik
7ae1430689
#3297 ProcessUtil class using ProcessUtil of Symfony Console
10 years ago
Bastian Hofmann
f8023cffdf
renamed cache-credentials to svn-cache-credentials
10 years ago
Bastian Hofmann
b279dda1c0
Merge branch 'master' of https://github.com/composer/composer
10 years ago
Jordi Boggiano
4d522e40fb
Load auth when updating a git repo mirror, fixes #3243
10 years ago
Bastian Hofmann
204fc207fa
Moved config option to not save subversion credentials to repository configuration, added documentation.
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
Jordi Boggiano
89ec322929
Merge remote-tracking branch 'benja-M-1/feature/svn-auth-from-auth-json'
10 years ago
Jordi Boggiano
effacc1185
Do not realpath relative local URLs, fixes #2916
10 years ago
Benjamin Grandfond
a21b0f82db
Allow SVN to connect with credentials provided with the auth.json file
10 years ago
Jordi Boggiano
3ebc869060
Extract functionality from GitDownloader to make it more reusable
11 years ago
Jordi Boggiano
e0886b94a2
Make Git::cleanEnv static
11 years ago
Jordi Boggiano
eebffacd9f
Use pagination to get tags/branches from the github API
11 years ago
schmkr
8dd6b052ce
Updating SvnDriver trunk revision check
...
Not checking revision of composer.json, but from its parent directory.
See composer/composer#2849
11 years ago
Jordi Boggiano
b437c1cc05
Support github auth directly in the RemoteFilesystem class
11 years ago
Alex Romanenko
5078d7c4fb
Fix space in password for git auth
11 years ago
Jordi Boggiano
8e2b1c3e24
Merge pull request #2838 from timroberson/issue-2826
...
Add auth for private, non-GitHub repos (#2826 )
11 years ago
Jordi Boggiano
f233383de8
Merge pull request #2834 from vuhl/master
...
Fixing perforce driver/downloader bugs
11 years ago
Clark Stuth
a12c4e2a17
Removed getWindowsFlag and setWindowsFlag methods from Perforce object.
11 years ago
Tim Roberson
1f70148884
Change elseif to if.
11 years ago
Clark Stuth
3a3661a0b3
removing dead code lines and excess comments
11 years ago
Tim Roberson
db1e4b7574
Add auth for private, non-GitHub repos ( #2826 )
11 years ago
Jordi Boggiano
c96dedd19c
Merge pull request #2268 from schmkr/svnDriver-trunkPath-improvements
...
Improved the handling of trunkPath
11 years ago
Clark Stuth
c11105dd60
Fixing bug not cleaning up workspaces.
11 years ago
Clark Stuth
492539101c
got all unit tests passing
11 years ago
Clark Stuth
24dd42267f
almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods
11 years ago
Clark Stuth
0f7b078d6c
added new dependency to Perforce object, updating some tests.
11 years ago
Pádraic Brady
306ba77e93
Implement the RemoteFilesystem Factory everywhere...
...
- also fixes impacted test
11 years ago
Nils Adermann
b808ff5e28
Don't hardcode the URL to an https one either
11 years ago
Nils Adermann
edfaf727e5
When using the github driver with no-api don't reset to an ssh url
11 years ago
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
Jordi Boggiano
432ace33d4
Clean up svn environment to fix OSX issues, fixes #2708 , refs #2146
11 years ago
Pascal Borreli
2f4df9d459
Fixed typos
11 years ago
Kim Laï Trinh
691f784f92
fix bug introduced in https://github.com/composer/composer/pull/2375
11 years ago
Matthias Pigulla
f626f55f41
No need to create hg working copies just to parse tags/branches
11 years ago
Chris Smith
a892e6a3bd
Pass IO instance to ProcessExecutor for logging
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
Sebastian Schawohl
4198688f54
Change date format when getting log from mercurial
...
Use rfc3339date format instead of rfc822date to avoid exceptions from
DateTime constructor because of localized dates.
fix #2346
11 years ago
Jordi Boggiano
7f03fad391
Revert "Code cleanup, refs #2316"
...
This reverts commit 6e3cfb5fea
.
11 years ago
Jordi Boggiano
6e3cfb5fea
Code cleanup, refs #2316
11 years ago
Jordi Boggiano
7c83e6a04a
Merge remote-tracking branch 'GromNaN/git-cache'
11 years ago
Jordi Boggiano
ce8b475f4c
Minor tweaks to perforce support, refs #2329
11 years ago
Fabian Grutschus
a6823d2f9b
non-deep check returns allways false
11 years ago
Jordi Boggiano
0fbb4cbd16
CS fixes and renaming a few methods, refs #2184
11 years ago
Jordi Boggiano
11a0d16ccc
CS fixes
11 years ago
Jordi Boggiano
9a806658d6
Merge remote-tracking branch 'vuhl/master'
...
Conflicts:
src/Composer/Factory.php
11 years ago
Jérôme Tamarelle
f51aa4fad6
Add local cache for Git repositories
11 years ago
Nicolas Bastien
52711d121c
Remove unused use statement.
11 years ago
Marc
30049637dc
Set some phpdoc to isLocalUrl
11 years ago
schmkr
c4d7347ec5
Fixed a coding style issue
...
Missing a space between if and (
11 years ago
schmkr
652715f4c2
Improved the handling of trunkPath
...
- $this->baseUrl is only used if $this->trunkPath === false, otherwise
we will use $this->baseUrl with $this->trunkPath.
- scanning through trunkPath will now look for composer.json file
instead of a path that matches $this->trunkPath, beacuse checking
against the latter failed with deeper trunkPaths
- $this->rootIdentifier is now 'trunk' no matter how deep
$this->trunkPath is (with deeper trunkPaths, the name became something
like "dev-trunk-devel-team-packages-package"
11 years ago
mwhittom
2e737ac439
updated to replace double-quotes with single quotes
11 years ago
mwhittom
8207518e04
Updated to clean up code and rename variables to camelcase
11 years ago
mwhittom
774a55befd
Updated to match psr-2 spec, fixed header comments
11 years ago
matt-whittom
f737e49aae
Fixed issue with downloader assuming repository would be VcsRepository
11 years ago
matt-whittom
f3722a46ed
Updated comments
11 years ago
matt-whittom
dd81449998
Updated to remove vfsStreams (no longer needed by tests)
...
Updated Perforce to cleanup, modified VcsRepository to call cleanup on Driver class
Updated tests, perforce constructor to make tests cleaner/easier
11 years ago
matt-whittom
1019c014e5
using theirs
11 years ago
matt-whittom
bab10dd9f8
Added ability to pass p4user and p4password in composer.json
11 years ago
matt-whittom
53d6fcd6d3
using theirs
11 years ago
matt-whittom
a5df2851ef
Finished cleanup of debug messages.
11 years ago
matt-whittom
43108b4692
Cleanup phase 1
...
Removed branches - only returning the "master"
11 years ago
matt-whittom
64bda65e11
Updated Perforce driver to use labels
...
dev checkin, lots of cleanup to do
11 years ago
matt-whittom
36dd7dfea5
Cleaned up perforce code
...
Checks to see if already logged in to Perforce, and prompts for password if not and P4PASSWD is not set
Checks server url with perforce call
Checks for composer.json file, and returns the contents of the file already retrieved.
11 years ago
matt-whittom
0d061f2530
Added Perforce to Composer
11 years ago
Jordi Boggiano
2bf90b544a
Fix parsing of trunk in SvnDriver, fixes composer/satis#88
11 years ago
Jordi Boggiano
d017e3f209
Adjust GitDriver tag parsing to resolve to SHAs
11 years ago
Jordi Boggiano
e0051a4652
Update tests
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
bd345c3b43
Add IO to proc executor in a few more places to get more debug info out
11 years ago
Jordi Boggiano
ab709107e5
Fix detection of git bitbucket repos with incorrect URLs, fixes #2095
11 years ago
Christoph
8c3a84d9fd
fixed very evil 'tip' tag oversight in bitbucket driver
11 years ago
Christoph
6406e0d3b7
fixed Bitbucket's broken API
11 years ago
Jordi Boggiano
f79c4e4309
Detect safe_mode and output correct error, closes #2006
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Justin Rovang
60e95aed76
Added realpath to VcsDriver constructor
...
See https://github.com/composer/composer/pull/1828
11 years ago
Jordi Boggiano
b38db73611
Clean up rogue git env vars in case this is running in a git hook, refs #1832
12 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
12 years ago
Andrey Utkin
28c219311c
Rename module-path to package-path
12 years ago
Andrey Utkin
9022b0ae38
Default module path to empty string
12 years ago
Andrey Utkin
340e960614
Allow svn repositories to reside deeper than module root
12 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
15e9c3d101
Show proper error message when a git bitbucket repo is loaded as hg repo, refs composer/packagist#294
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
5b24a48827
Allow disabling svn branches/tags, fixes composer/satis#43
12 years ago
Jordi Boggiano
04c6670f0c
Detect invalid ssh URLs, fixes #1124
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
Christoph
cebd43e735
fixed detection of inactive branches in hg
12 years ago
Jordi Boggiano
15475f0ef2
Rename cache dirs to consolidate them by purpose
12 years ago