André Cruz
cb2cb7ea75
Fix bug with -f option, add compatibility with repos that do not have tags.
...
This fixes the fact that if a repo do not have tags, install/update wouldn't fetch new commits.
2012-10-14 15:54:26 +01:00
André Cruz
5dbb6d6346
Add install template, fix CS.
2012-10-13 03:19:18 +01:00
André Cruz
6f169fb3e2
Doc tweak.
2012-10-12 08:00:17 +01:00
André Cruz
a00d930d0f
Fix cache removal if force flag is activated.
2012-10-12 00:39:31 +01:00
André Cruz
03e55cadbb
Merge branch 'master' of git://github.com/twitter/bower
...
Conflicts:
test/package.js
2012-10-12 00:22:57 +01:00
André Cruz
2cad76d6ed
Merge branch 'master' of git://github.com/satazor/bower
...
Conflicts:
lib/commands/install.js
lib/core/package.js
2012-10-12 00:20:01 +01:00
André Cruz
b0bc14a75e
Little code style tweak.
2012-10-11 23:27:59 +01:00
André Cruz
058524ca53
Add -f option to the install command.
2012-10-11 23:16:00 +01:00
André Cruz
0a4a484f3d
Remove unused property, fix CS again.
2012-10-11 20:37:57 +01:00
André Cruz
e8b473b550
Ensure that an unit of work is always present, remove unnecessary if statement.
2012-10-11 19:26:52 +01:00
Andre Cruz
fd31f247a6
Unit of work implementation.
...
A unit of work is a simple storage with write lock/unlock.
The manager/package now share a unit of work instance.
The unit of work is used to prevent shared dependencies from being cloned/copied "at the same time" fixing issue #81 .
The prune and version resolving algorithm was also not correct. It now resolves versions correctly, fixing issue #57 .
- Fix I/O errors caused by copying/clone repos simultaneously to the same dest.
- Optimize the clone/copy step by avoiding it if the last resolved resource is the same.
- Fix failing test (at least on my windows machine)
- Add some more tests
- Fix CS.
2012-10-11 13:40:54 +01:00
David DeSandro
b168f09419
chmod temp folder for accessible file permissions
...
with a test
ref #69 (awww yis)
2012-10-08 08:39:00 -04:00
billy gates
3c85f9d891
Merge pull request #26 from mattn/proxy
...
support proxy.
2012-09-25 13:55:22 -07:00
Manuel van Rijn
f0a9e4c384
Merge branch 'master' into issue-31
...
Conflicts:
test/package.js
2012-09-19 09:11:02 +02:00
♒∆✝
0b5b761a8c
Merge pull request #34 from nnnnathann/rename_fix
...
Fixes renaming between disks problem in linux ( #29 )
2012-09-18 10:36:55 -07:00
Nathan Bleigh
a3022e2e9f
Chained formatting aesthetics
2012-09-17 16:57:03 -05:00
Jacob Thornton
9889e158d1
double check to see that endpoint is indeed a file
2012-09-16 14:34:47 -07:00
Jacob Thornton
40d2c8e1d1
calling replace changes the RegEx.$ getter duh.
2012-09-16 12:48:39 -07:00
Manuel van Rijn
b0270ab40f
fixes downloading currupt files
2012-09-14 09:31:15 +02:00
Manuel van Rijn
7653c64ae5
log message
2012-09-14 09:31:15 +02:00
Manuel van Rijn
c3666bf65f
fixes #31 perform redirect for downloads when necessary
2012-09-14 09:31:15 +02:00
mattn
d07f1e9e52
set to src directly.
2012-09-14 09:32:06 +09:00
Nathan Bleigh
fb6fb519ab
Merge remote-tracking branch 'upstream/master' into rename_fix
2012-09-13 18:13:43 -05:00
♒∆✝
4f6284cd0c
Merge pull request #35 from jdalton/lodash
...
Replace Underscore with Lo-Dash
2012-09-13 15:55:12 -07:00
John-David Dalton
a7dca30d9d
Replace Underscore with Lo-Dash.
2012-09-11 22:45:02 -07:00
Nathan Bleigh
50f80269cd
Actually clean up local D:
2012-09-11 18:40:47 -05:00
Nathan Bleigh
8d21f60cca
Remove console.log
2012-09-11 18:02:25 -05:00
Nathan Bleigh
62328d4bf5
Removes tmp directory after copy, mimicing fs.rename
2012-09-11 17:59:01 -05:00
Nathan Bleigh
dbcea61300
Fixes renaming between disks problem in linux
...
According to https://github.com/joyent/node/issues/2703
fs.rename does not support renaming between disks, which
is causing a problem when the /tmp directory is not on the
same disk as the cwd.
This is an ugly fix involving error catching, but I would
love some input to see how to fix this problem permanently
2012-09-11 17:38:12 -05:00
William Oliveira
3bc36649cf
Exception when updating without packages
2012-09-11 01:27:23 -03:00
mattn
db5ec83abf
fix indent.
2012-09-11 11:23:34 +09:00
mattn
99e63ddf4d
support proxy.
2012-09-11 11:14:00 +09:00
Chris Aniszczyk
c220329337
Initial Release
...
Signed-off-by: Chris Aniszczyk <zx@twitter.com >
2012-09-06 17:11:42 -07:00