aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-09-14package: remove unneeded scan pathShulhan
2018-09-14package: print verbose go install command only when debuggingShulhan
2018-09-14Refactoring test to use clone from local directoryShulhan
2018-09-14env: do not save remote branch if it's emptyShulhan
This is to prevent remote branch name in database to become boolean value "true".
2018-09-14Add "remote-branch" to test dataShulhan
2018-09-14package: print branch name on String methodShulhan
2018-09-14package: simplify return value on InstallShulhan
2018-09-14package: check remote branch when calling IsEqualShulhan
2018-09-14Preparing for release v0.5.0Shulhan
2018-09-14Get and save package remote branch in databaseShulhan
Some package does not have "master" branch. This will minimize parsing and filter operation to get default branch before checking out revision.
2018-09-14Add freeze methods to packageShulhan
Previously, we call package Update when doing Freeze operation, which cause confusion, because Update use parameter newPkg which may change the remote URL or version.
2018-09-14env: scan package only if its not exist in local systemShulhan
This minimize freeze operations, removing unneeded fetching revision (tag/commit) and parsing remote URL.
2018-09-14env: Rename method GetPackage to GetLocalPackageShulhan
2018-09-14Replace local debug variable with debug packageShulhan
2018-09-13Replace git and common functions with package share/lib/{git,io}Shulhan
2018-09-11cmd/beku: update version to latest tag and for future relaseShulhan
2018-09-11Update documentation to match with current implementationShulhan
Also, auto formatting by prettier.
2018-09-11Fix sync "--into" commandShulhan
2018-09-04Add Go modulev0.4.0Shulhan
2018-09-04[test] Do not compare result from testing package installShulhan
2018-09-04Remove dep as vendor toolShulhan
`dep ensure` on package in vendor, reinstall the package itself on vendor directory [1]. [1] https://github.com/golang/dep/issues/1885
2018-07-03cmd/beku: check for "help" or "version" operation before loading databaseShulhan
2018-07-03env.Freeze: print finish status if err is not nilShulhan