mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Unknown
d493493ea0
|
12 years ago | |
---|---|---|
conf | 12 years ago | |
doc | 12 years ago | |
i18n/en-US | 12 years ago | |
models | 12 years ago | |
utils | 12 years ago | |
.gitignore | 12 years ago | |
LICENSE | 12 years ago | |
README.md | 12 years ago | |
README_ZH.md | 12 years ago | |
build.go | 12 years ago | |
gpm.go | 12 years ago | |
install.go | 12 years ago |
README.md
gpm - Go Package Manager
gpm(Go Package Manager) is a Go package manage tool for search, install, update and share packages in Go.
Main commands
build
compiles and installs packages and dependencies: basically, it callsgo install
and moves executable to current path fromGOPATH
if any, the executable name is the folder name which is default bygo install
.install
downloads and installs packages and dependencies: you can download packages without version control tools like git, hg, svn, etc. It downloads and installs all packages including all dependencies automatically(except when you use bundle or snapshot id). For now, this command supportscode.google.com
,github.com
,launchpad.net
,bitbucket.org
.
Todo
- Save node information after downloaded, and check for next time, reduce download times.
- All errors should have specific title for exactly where were created.
- Add i18n support for all strings.
- 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.
- Develop user source API server template application to support user sources in bundles.
- 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.
- Command
install
add support for downloading code from git.oschina.net, gitcafe.com, *.codeplex.com;