From 889a183d22b8a2b1be65a6b3a33636aa60082813 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 21 May 2013 21:59:00 -0400 Subject: [PATCH] readme --- README.md | 2 +- doc/struct.go | 11 ++++++----- install.go | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6b0c40a79..220b22b7a 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ gpm(Go Package Manager) is a Go package manage tool for search, install, update - All errors should have specific title for exactly where were created. - Add i18n support for all strings. +- Command `build` add current path to GOPATH temporary. - Add gpm working principle design. - Add support for downloading tarballs from user sources. - After downloaded all packages in bundles or snapshots, need to check if all dependencies have been downloaded as well. @@ -21,7 +22,6 @@ gpm(Go Package Manager) is a Go package manage tool for search, install, update - Add bundle and snapshot parser code for downloading by bundle or snapshot id. - Add user system to create, edit, upload, and download bundles or snapshots through gpm client program. - Download package from code.google.com only support hg as version control system, probably support git and svn. -- Add feature for downloading through version control tools, and use `checkout` to switch to specific revision; this feature only be enabled when users use bundle or snapshot id. - Add support for downloading by tag for packages in github.com, bitbucket.org, git.oschina.net, gitcafe.com. - Get author commit time and save in node. - Collect download and installation results and report to users in the end. diff --git a/doc/struct.go b/doc/struct.go index 55c5beead..e7dbe1f5f 100644 --- a/doc/struct.go +++ b/doc/struct.go @@ -19,11 +19,12 @@ type Node struct { // Bundle represents a bundle. type Bundle struct { - Id int64 - UserId int64 `json:"user_id"` - Name string `json:"bundle_name"` - Comment string - Nodes []*Node + Id int64 + UserId int64 `json:"user_id"` + Name string `json:"bundle_name"` + Timestamp int64 + Comment string + Nodes []*Node } // source is source code file. diff --git a/install.go b/install.go index e48f1919e..89207ae2a 100644 --- a/install.go +++ b/install.go @@ -179,7 +179,7 @@ func downloadPackages(pkgs, commits []string) { for i := range bpkgs { fmt.Printf("import path: %s, commit: %s.\n", bpkgs[i], bcommits[i]) } - fmt.Print("Continue download?(Y/n).") + fmt.Print("Continue to download?(Y/n).") var option string fmt.Fscan(os.Stdin, &option) if strings.ToLower(option) != "y" {