aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-06-06 02:18:07 +0700
committerShulhan <ms@kilabit.info>2018-06-06 02:18:07 +0700
commit0303ca774b6a8771dfcad912c6a92dfde67ed52d (patch)
tree7ace4038c3d865d178db15674d3073c1dfd46e2c
parente956e9f2aff7b233138df5484f005db4a7609a89 (diff)
downloadbeku-0303ca774b6a8771dfcad912c6a92dfde67ed52d.tar.xz
Update readme and changelog
-rw-r--r--CHANGELOG.md21
-rw-r--r--README.md22
2 files changed, 39 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d80d2ce..eec31f4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,21 @@
-# Beku v0.2.0
+# Beku v0.3.0 (2018-05-xx)
+
+## New Features
+
+* Use vendor tools to install dependencies. The following vendor tools is
+known by beku: gdm, govendor, dep.
+* Add option "-d" or "--nodeps" to disable installing dependencies
+* Add common option "-V, --vendor" to work with vendor directory
+* Able to install missing dependencies
+* Handle custom import URL
+
+## Bug Fixes
+
+* Fix panic if package not found in database
+* Clean non-empty directory on installation, after confirmed by user
+* Save database on first time sync
+
+# Beku v0.2.0 (2018-05-31)
## New Features
@@ -12,7 +29,7 @@
* package: GoInstall: set default PATH if it's empty
-# Beku v0.1.0
+# Beku v0.1.0 (2018-05-27)
In this version, beku can handle the following operations,
diff --git a/README.md b/README.md
index 47a0cc4..8cd69e7 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ package database into "{prefix}/var/beku/beku.db".
No confirmation will be asked on any operation. Useful when running beku
inside a script.
- --nodeps
+ -d, --nodeps
Do not install any missing dependencies. This options can be used on freeze
or sync operations.
@@ -71,7 +71,7 @@ excluded package. Excluded package will be ignored on future operations.
$ beku -De github.com/shuLhan/beku
Exclude package "github.com/shuLhan/beku" from future scanning,
-installation, or removal.
+installation, or removal operations.
## Query Operation
@@ -124,6 +124,24 @@ on database file.
If no parameter is given, beku will do a rescan, checking for new packages.
+After downloading a package, beku will check for known vendor files and run
+vendor command on the package directory to install their dependencies on
+package's vendor directory. The following vendor file will be detected,
+
+* `Godeps`, will invoke [gdm](https://github.com/sparrc/gdm)
+* `Gopkg.toml`, will invoke [dep](https://github.com/golang/dep)
+* `vendor/vendor.json`, will invoke [govendor](https://github.com/kardianos/govendor)
+
+If no vendor files found, beku will install the dependencies manually.
+
+Installation of vendor tools is not handled by beku automatically, user must
+install them manually, either by using `go get` or by using `beku -S`, e.g.
+
+ $ beku -S https://github.com/sparrc/gdm
+ $ beku -S https://github.com/golang/dep
+ $ beku -S https://github.com/kardianos/govendor
+
+
### Options
[--into <destination>]