Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Make the last todo list item more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed May 5, 2010
1 parent 2db5917 commit 8688302
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
12 changes: 5 additions & 7 deletions doc/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,13 @@ i@izs.me.

## Todo

* Uninstall dependent packages.
* Update dependencies when a new satisfying version is installed.
* A few of the commands are still a bit user-hostile, and crash in
strange or un-helpful ways when they are not given the data they expect.
Make them not do that.
* Some sugar to make it simpler to tie a git repo to a published package, and then
automatically update the registry whenever a specific branch (or semver-looking
tag) is pushed.
* Clean up after botched builds. Rather than removing stuff, move it aside, and
only remove it when the process succeeds. If it fails, then roll it all back
to the way it was beforehand.
* Some sugar to make it simpler to tie a git repo to a published package, and then
automatically update the registry whenever a specific branch (or semver-looking
tag) is pushed.
* Show what can be installed by looking at the registry.
* Use path.relative so that the whole root can be picked up and moved easily.
* Change the registry so that it keeps the tarball as a couchdb attachment.
Expand All @@ -86,6 +82,8 @@ i@izs.me.
* Use buffers to download tarballs, instead of the "binary" encoding.
* When the tarball is downloaded, save it to .tmp/name/ver/package.tgz,
instead of some random garbage filename.
* Cache JSON files locally to .tmp/name/ver/package.json, even if the
package isn't installed. This would cut down on calls to the registry.


## Version History
Expand Down
18 changes: 7 additions & 11 deletions man/npm.1
Original file line number Diff line number Diff line change
Expand Up @@ -81,27 +81,19 @@ i@izs.me.
.SH "Todo"
.
.IP "\(bu" 4
Uninstall dependent packages.
.
.IP "\(bu" 4
Update dependencies when a new satisfying version is installed.
.
.IP "\(bu" 4
A few of the commands are still a bit user\-hostile, and crash in
strange or un\-helpful ways when they are not given the data they expect.
Make them not do that.
Clean up after botched builds. Rather than removing stuff, move it aside, and
only remove it when the process succeeds. If it fails, then roll it all back
to the way it was beforehand.
.
.IP "\(bu" 4
Some sugar to make it simpler to tie a git repo to a published package, and then
automatically update the registry whenever a specific branch (or semver\-looking
tag) is pushed.
.
.IP "\(bu" 4
Clean up after botched builds. Rather than removing stuff, move it aside, and
only remove it when the process succeeds. If it fails, then roll it all back
to the way it was beforehand.
.
.IP "\(bu" 4
Show what can be installed by looking at the registry.
.
.IP "\(bu" 4
Expand Down Expand Up @@ -130,6 +122,10 @@ Use buffers to download tarballs, instead of the "binary" encoding.
When the tarball is downloaded, save it to .tmp/name/ver/package.tgz,
instead of some random garbage filename.
.
.IP "\(bu" 4
Cache JSON files locally to .tmp/name/ver/package.json, even if the
package isn't installed. This would cut down on calls to the registry.
.
.IP "" 0
.
.SH "Version History"
Expand Down

0 comments on commit 8688302

Please sign in to comment.