Commit Graph

109 Commits

Author SHA1 Message Date
André Cruz
8bfa518f15 Detect local .git repositories and abort when true.
Also fix error reporting for nested deps.
2012-11-21 22:41:54 +00:00
André Cruz
bcf9b0e880 Small tweak. 2012-11-21 01:15:12 +00:00
André Cruz
648fcace0f Add link command, change cache dirs. 2012-11-21 01:10:22 +00:00
André Cruz
e80ed8d130 Use async version of chmod. 2012-11-21 00:22:09 +00:00
André Cruz
4dde213a6f Typos. 2012-11-21 00:21:09 +00:00
André Cruz
a5c65afc46 Change temporary folders names. 2012-11-20 21:08:31 +00:00
André Cruz
e021276072 Extract and present errors from the shell (e.g.: git commands). 2012-11-20 20:13:17 +00:00
André Cruz
069e9b80b6 Capture errors while resolving and present a summary. 2012-11-20 19:05:54 +00:00
André Cruz
19b9261e8b Fix http errors while downloading not being interpreted. 2012-11-20 19:02:09 +00:00
André Cruz
3ac918f306 [WIP] Errors improvement. 2012-11-20 09:13:51 +00:00
André Cruz
41e6f0bdbc Mismatch now has its custom template. 2012-11-19 00:39:08 +00:00
André Cruz
3b1642a52f Fix warn template, add missing command types. 2012-11-19 00:15:43 +00:00
André Cruz
bc598a334b Add jshintrc and fix all CS issues related to it. 2012-11-18 20:44:41 +00:00
André Cruz
aa30fe885a Uninstall now removes also nested deps if not shared.
The uninstall now warns and halts uninstalling shared packages.
Though it can be forced with the --force flag.
Also fix CS, and fix small bug.
2012-11-18 16:49:25 +00:00
André Cruz
2c7435a33f Oops. 2012-11-18 12:24:48 +00:00
André Cruz
c06d8b271e Move name guessing logic to the package itself. 2012-11-18 11:01:36 +00:00
André Cruz
82c20e8a6b Print warning when the tag differs from the version specified in the json. 2012-11-17 23:12:42 +00:00
André Cruz
04919746e8 Fix little issue with packages + tag scheme. 2012-11-17 22:19:36 +00:00
André Cruz
64b86ccf04 Add path verification to the fetch function.
Now a more suitable message is given in those situations.
2012-11-17 21:25:45 +00:00
André Cruz
4a83227ca8 Fix failing test. 2012-11-17 20:39:21 +00:00
André Cruz
01d2ee079c Fix some bugs related with latest changes, fix CS, add local repo tests. 2012-11-17 20:27:20 +00:00
André Cruz
e9514423ce Remove package.json support, remove console.logs. 2012-11-17 15:35:59 +00:00
André Cruz
822efbe34c Huge commit.
- Support local path repositories
- Fix various issues with the list command
- If no component.json is detected, bower now creates one if the --save option is true
- Save command now saves in the form of ~tag instead of latest
2012-11-17 15:03:42 +00:00
André Cruz
133b1c12a7 CS. 2012-11-12 01:13:35 +00:00
André Cruz
657a5e0209 Simplify code. 2012-11-12 01:07:51 +00:00
André Cruz
03bbbb22af Fix ls command when asset is zip/tar. 2012-11-11 20:03:56 +00:00
André Cruz
bd11df44ee Change template verb. 2012-11-11 17:24:33 +00:00
André Cruz
2948eae448 Add github shorthands support (with tests), closes #121. 2012-11-11 16:59:00 +00:00
André Cruz
b23cbb8c3f Fix CS. 2012-11-11 16:34:03 +00:00
André Cruz
b3d04e9083 Some cleanup, add tests for tar and zip files.
Also improve tests.
2012-11-11 16:28:10 +00:00
André Cruz
d59e1e45a8 Add suport for zip and tar url's. 2012-11-11 15:50:33 +00:00
André Cruz
496eeb1336 Oops, fix little regression. 2012-11-05 02:17:01 +00:00
André Cruz
4ab8cd398b Fix update for asset packages. 2012-11-05 01:53:43 +00:00
André Cruz
9e3081e87c Fix CS. 2012-10-30 08:07:01 +00:00
André Cruz
07b93ffe60 Generate a resource id everytime the gitUrl is set, fixes list command. 2012-10-27 11:17:00 +01:00
André Cruz
ab9c3f9ec7 Change way status codes are parsed. 2012-10-27 10:49:14 +01:00
André Cruz
dc1f142241 Same package name's but different endpoints have now different caches. 2012-10-26 08:52:18 +01:00
André Cruz
9c81c3ce29 Use custom fileExists that returns true if the file exists but cannot be stat'ed.
This is needed because fs.exists was returning false values when it should actually return true.
2012-10-24 02:26:31 +01:00
André Cruz
8dc17f64f8 Important fixes to the update command.
- Update command now correctly process passed packages
- Fix packages in which the name couldn't be correctly extracted from the remote URL
- Add --force flag, just like the install command
2012-10-24 01:28:18 +01:00
André Cruz
b904177ccc Fix comment. 2012-10-22 22:00:32 +01:00
André Cruz
0b85b50add Lineup. 2012-10-22 21:49:04 +01:00
André Cruz
b22cc1cc04 Fix CS. 2012-10-22 21:46:33 +01:00
André Cruz
00a4923d5f Not needed anymore. 2012-10-22 08:23:15 +01:00
André Cruz
8fe0abfc4b Move --force tests from the package to the manager. 2012-10-21 11:48:50 +01:00
André Cruz
f50520e04e Typo and add some useful comment. 2012-10-20 17:42:25 +01:00
André Cruz
6a6eb75a3b Change Package constructor slightly, add rudimentary test for the --force flag. 2012-10-20 17:34:41 +01:00
André Cruz
a74f6630df Add tests for cache-clean, unified some return values. 2012-10-20 16:41:19 +01:00
André Cruz
f0836ba655 Simplified things by adding a .commit property. 2012-10-20 15:35:46 +01:00
André Cruz
64d1d4a1c9 Also use local .bowerrc file. 2012-10-19 08:48:58 +01:00
André Cruz
956dac2c50 Add some useful comments. 2012-10-18 23:38:58 +01:00