aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-30Release v0.6.0v0.6.0Shulhan
## New Features - Make Go command works with Go v1.12 and later. This means turning off GO111MODULE when running Go command. - Install package if missing when issuing SyncAll ## Enhancement - Use copy of "golang.org/x/tools/go/vcs". The indirect dependencies of package "golang.org/x/tools/go/vcs" is overwhelming. Using "go get" on this package alone will pull up all dependency of "golang.org/x/tools". To minimize unneeded download of unneeded packages we copy the package vcs to our own repository including their license file.
2019-03-30all: make Go command works with Go v1.12 and laterShulhan
This means turning off GO111MODULE when running Go command.
2019-03-30test: run the test functions directlyShulhan
Previously, we run each unit test in each test file using sub-test by calling it from single exported function as main test. This commit changes it to run directly, which means, we export all unit test functions, and let the "go test" run them in order.
2019-03-30testdata: fix bare git repository and test filesShulhan
Include all files from "git clone --bare" in testdata/beku_test.git.
2019-03-30cmd/beku: use direct test functions instead of using sub-testsShulhan
2019-03-30package: remove unused "nolint:gas"Shulhan
2019-03-30all: suppress linter warnings on global variables and long linesShulhan
This including the copy of subpackage.
2019-03-30beku: use lowercase on first letter of error messageShulhan
2019-03-30all: use copy of "golang.org/x/tools/go/vcs"Shulhan
The indirect dependencies of package "golang.org/x/tools/go/vcs" is overwhelming. Using "go get" on this package alone will pull up all dependency of "golang.org/x/tools". To minimize unneeded download of unneeded packages we copy the package vcs to our own repository including their license file.
2019-01-25package: fix test on "go install ./..." with latest Go versionShulhan
This may result in error when building with Go version < 1.12.
2019-01-25go.mod: update dependency on package "github.com/shuLhan/share"Shulhan
2019-01-25env: install package if missing when issuing SyncAllShulhan
2018-12-14Release v0.5.2v0.5.2Shulhan
2018-12-14make: enable all linters on lint taskShulhan
2018-12-14all: minimize naked return on long functionsShulhan
2018-12-14all: rewrite switch-statement with single case to if-statementShulhan
2018-12-14all: skip linter error on global variablesShulhan
Some global variables, like defStdout and defStdout, are required for testing.
2018-12-14cmd/beku: remove unused return value from parseFreezeFlagShulhan
2018-12-14env: remove unused function to reinstall all packagesShulhan
2018-12-14package_git: set package remote URL according to value in databaseShulhan
2018-12-13Update dependencies and fix testsShulhan
2018-11-27env.Freeze: no need to reinstall all packages after freezingShulhan
2018-11-02Fix sync all that cause version set to truev0.5.1Shulhan
While at it, reupdate the comments section on some methods.
2018-11-01Release v0.5.0v0.5.0Shulhan
2018-11-01Update Go modulesShulhan
2018-11-01env: check if new package version is greater than current versionShulhan
2018-10-31env: fix sync "--into" commandShulhan
2018-10-31cmd/beku: simplify "if" with switch statementShulhan
2018-09-29go.mod: update dependenciesShulhan
2018-09-29env: update comments on Sync, install, and GetPackageFromDBShulhan
2018-09-29package_git: check for empty tag which cause empty versionShulhan
2018-09-18env_test: replace package "tekstus/diff" with new upstreamShulhan
The original "tekstus" package has been deprecated and merged into "github.com/shuLhan/share/lib/text/diff".
2018-09-18env: do not scan package if its not exist on localShulhan
Previously, when freezing the package and package did not exist on local file system, we do scan the package for version and remote URL, which cause an error because the package directory did not exist. This commit fix the issue by not scanning the package if its not exist on local system.
2018-09-15Update Go module dependenciesShulhan
lib/git.FetchAll now fetch all remote tags.
2018-09-15env: get new package branch to prevent IsEqual to be falseShulhan
2018-09-15cmd/beku: fix parsing multiple subcommand on SyncShulhan
Sync operation should accept both update and no dependency options in one line as in "-Sud".
2018-09-15Update changelog for future releaseShulhan
The changelog get formatted by prettier.
2018-09-15env: simplify conditional if-sShulhan
2018-09-15env: update package version only if current and new package both are tagShulhan
2018-09-15env: decrease debug level on scan packages functionShulhan
2018-09-15env: fix get package from database that return first match by prefixShulhan
In case two packages have the same prefix, for example "a" and "a-a", the GetPackageFromDB will always return "a" when the parameter importPath is "a-a". This commit move the package name match by prefix to second loop.
2018-09-15package_git: call continue if branch name match with "master"Shulhan
While at it, update the comment to reflect the code below.
2018-09-15package: get remote branch if its emptyShulhan
2018-09-15package_git: check for empty branches when getting branchShulhan
2018-09-15package: rename Fetch to FetchLatestVersionShulhan
2018-09-14env: explain why we ignore error on post syncShulhan
2018-09-14Remove unused variablesShulhan
2018-09-14package: simplify Go install methodShulhan
Change the parameter from instance of env to string. The goal is to decouple instance of environment from package.
2018-09-14package: simplify parameter of NewPackageShulhan
2018-09-14package: remove unused Run methodShulhan