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
01b1f4e75f
|
12 years ago | |
---|---|---|
conf | 12 years ago | |
doc | 12 years ago | |
docs | 12 years ago | |
i18n | 12 years ago | |
repo/bundles | 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, share and backup packages in Go.
This application still in experiment, any change could happen, but it doesn't affect download and install packages.
Main features
- Download packages from popular project hosting with/without version control tools.
- More specific examples, see Quick Start.
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
- Add support for downloading by tag and branch for packages in bitbucket.org, git.oschina.net, gitcafe.com.
- Command
remove
is for removing packages. - 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.
- 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; - Command
check
is for checking and downloading all missing dependencies. - Command
daemon
is for auto-compile web applications when debug it locally. - Command
update
is for checking updates. - Command
search
is for searching packages. - Add feature "struct generator".
- i18n support for Chinese.
- Add built-in application version in order to backup data when users update.
- Command
install
add flag-n
which only downloads source files(including LICENSE and README). - Command
install
andremove
andupdate
backup data(up to 100 records) before executing. - Command
rollback
is for rolling back to certain operation.
License
MIT-STYLE, source files that contain code that is from gopkgdoc is honored in specific.