Adam Stankiewicz
e727566741
Revert SvnResolver changes (windows paths in URLs)
2015-03-30 00:49:06 -07:00
Adam Stankiewicz
0f68da4eb8
Add support for two-factor authentication for login
2015-03-30 00:19:05 -07:00
Adam Stankiewicz
1a7abfd3b7
Add tests for login command
2015-03-29 23:31:20 -07:00
Adam Stankiewicz
905c2775d2
Add tests for unregister command
2015-03-29 17:56:04 -07:00
Mat Scales
126da9ee12
Unregister and login commands
2015-03-29 17:56:04 -07:00
Dan Rumney
a1ecf8a413
Fixes #1754 : The version command in the programmatic API now returns the new version
...
When users of the programmatic API update the version, they may do so without having to inspect the new contents of the bower.json file to find out the new version.
This is useful in scripts where the tag needs to be pushed programatically; the user can push the new tag explicitly.
2015-03-26 10:03:52 -05:00
Nils Winkler
7e0a2ea4cb
Added check for empty remote or no protocol set.
2015-03-24 20:36:15 +01:00
Nils Winkler
912808b672
Added support for caching hosts that support shallow cloning.
2015-03-24 20:22:15 +01:00
Nils Winkler
a352d51711
Using a function reference instead of calling directly from constructor
2015-03-24 17:14:28 +01:00
Nils Winkler
4ad5ed64d7
Automatically detecting _smart Git hosts_.
...
Added logic to automatically detect smart Git hosts that allow shallow
cloning. This is done by sending an `ls-remote` request to the server
and then evaluating the returned HTTP header fields. For this, Curl
verbose logging is enabled for the `ls-remote` request, since Curl
verbose logging sends the returned HTTP headers to `stderr`.
If the `stderr` output contains the desired header
Content-Type: application/x-git-upload-pack-advertisement
then the server supports shallow cloning.
This approach uses Git and Curl for the heavy lifting. Instead of
implementing the request to the server using a simple HTTP client, Git
is used, since it takes care of authentication using stored credentials.
The used approach should also work for BitBucket, which only sends the
Content-Type header when a specific user agent is used. Using Git to
make the request enables this behavior.
The function to detect the smart Git host
(`GitRemoteResolver.prototype._supportsShallowCloning`) returns a
promise that is resolved when the server's request is evaluated. The
promise handling required an addition to `GitHubResolver.js` - to always
resolve the promise to `true`, since GitHub supports shallow cloning.
Added test cases to verify the new functionality.
2015-03-24 17:13:18 +01:00
Adam Stankiewicz
182d92f9bd
test: Fix SvnResolver tests on all platforms
2015-02-28 23:56:17 -08:00
Sindre Sorhus
6a96815c44
bump insight
2015-01-12 10:04:25 +08:00
Alexander Gugel
2f6d680b6c
Add --save-exact flag
2015-01-11 17:12:19 +01:00
Adam Stankiewicz
c7df6f50ca
Add AppVeyor config for Windows CI
2015-01-11 03:08:43 +01:00
Adam Stankiewicz
0b9acc18cc
Test reading commands arguments
2015-01-10 12:56:15 +01:00
Adam Stankiewicz
58a7de3136
Prevent loading cli module in headless mode
2015-01-10 05:53:21 +01:00
Adam Stankiewicz
5bb77b1e03
[refactor] Prepare command argv readers for testing
2015-01-10 05:49:42 +01:00
Adam Stankiewicz
e351322ce4
More tests for lookup command and little refactor
2015-01-10 04:47:43 +01:00
Adam Stankiewicz
6b53ccc8bd
Add tests for init command and fix it
...
In non-interactive mode error has been thrown in wrong way.
2015-01-09 03:18:53 +01:00
Adam Stankiewicz
33842b6f92
Remove dummy completion command
2015-01-09 02:29:18 +01:00
Adam Stankiewicz
a04b69dc6a
Test and fix link command
2015-01-08 05:09:32 +01:00
Adam Stankiewicz
ee62d00c96
Add tests for "version" command
2015-01-06 20:49:17 +01:00
Adam Stankiewicz
4cb027eb73
Add tests for StandardRenderer
2015-01-06 15:56:10 +01:00
Adam Stankiewicz
7c82da8389
Add tests for register command
2015-01-06 02:13:30 +01:00
Adam Stankiewicz
537cd42097
Add tests for info command
2015-01-05 06:07:01 +01:00
Sindre Sorhus
29eaff9edc
Merge pull request #1614 from joneshf/answer-colon
...
Remove erroneous colon.
2015-01-04 23:56:01 +07:00
joneshf
a464f5a88e
Remove erroneous colon.
2014-11-29 12:22:58 -08:00
Veres Lajos
962a565d30
typo fixes
2014-11-02 22:40:58 +00:00
Adam Stankiewicz
c00cadb37a
[fix] Ensure extracted files are readable, update tar-fs
2014-09-28 18:21:24 +02:00
Ray Shan
4656021902
fix broken analytics tracking introduced in #1507
2014-09-26 22:33:43 +02:00
Laurent Goderre
ef237fc521
Added the missing install command to the update task
...
Fixes #1518
2014-09-16 16:23:25 -04:00
Adam Stankiewicz
dfd2c7a3d2
Add tests to analytics and fix them
2014-09-12 21:28:44 +02:00
John Schulz
6637762aec
"analytics" value in \.bowerrc\ removes need to prompt user
2014-09-12 00:26:41 +02:00
Adam Stankiewicz
7565c71eb2
Warn about unnecessary resolution, #1061
2014-09-08 01:13:55 +02:00
Adam Stankiewicz
d743352bc0
Disable removing unnecessary resolutions, #1061
2014-09-08 01:02:31 +02:00
Adam Stankiewicz
59d26c6825
Prevent error when piping bower output to head, fixes #1396
2014-09-07 23:46:20 +02:00
Adam Stankiewicz
5eed363e10
Merge pull request #1393 from Lukeas14/disable-shallow-clone-except-github
...
Disable shallow clones for all repos except those from github.com
2014-09-07 23:29:24 +02:00
Sindre Sorhus
49b2fdbde9
Merge pull request #1504 from bower/fix/hook-order
...
Run posthook after saving bower.json, fixes #1471
2014-09-07 20:06:28 +02:00
Burak Yigit Kaya
623f6e9542
Use tar-fs instead of tar for faster TAR extraction
2014-09-07 19:29:37 +02:00
Adam Stankiewicz
32356f23d3
Run posthook after saving bower.json, fixes #1471
2014-09-07 19:14:30 +02:00
Sindre Sorhus
321ddabfd5
Merge pull request #1502 from bower/fix/bowerrc-cwd
...
Read .bowerrc from specified cwd, fixes #1301
2014-09-06 18:15:55 +02:00
Sindre Sorhus
bf93a6a1ab
make bower list --paths a bit prettier
2014-09-06 17:58:47 +02:00
Adam Stankiewicz
daaf21a4fe
Merge pull request #1495 from mitogh/link-issues
...
Update the references to the issues and pulls in the CHANGELOG.md file
2014-09-06 14:40:55 +02:00
Adam Stankiewicz
06a8f2afab
Read .bowerrc from specified cwd, fixes #1301
2014-09-06 02:38:40 +02:00
Ben Schwarz
254aba0995
Back concurrency down to 5 (from 50!)
2014-08-28 20:28:22 +10:00
Manuel Wiedenmann
c4659f816f
expose bower version
2014-08-20 14:26:42 +02:00
Kornel Lesiński
7a0a86d51c
When tmp.js returns cleanup callback along with the tmp dir path, nfcall changes return type to an array
2014-08-06 14:28:04 +01:00
MadLux
794744d5a3
Added .zip MIME type (e.g. the default served by Windows/IIS)
2014-07-30 11:41:21 +02:00
Sindre Sorhus
9b5fa99d6a
bump update-notifier and simplify
2014-07-09 16:15:47 +02:00
Lucas, Justin
09ecb80625
Disable shallow clones for all repos except github.com
2014-07-08 11:39:14 -07:00