| Age | Commit message (Collapse) | Author |
|
This is the last release for v0 of beku.
The next release will pivot the beku program to maintain Go versions.
## Chores
* go.mod: update all dependencies
This changes affect code that use lib/test.Assert().
* all: simplify running linter
Instead of enabling all linters, run the default linter provided by
the latest golangci-lint.
* all: replace beku_test in testdata with gitsubmodule
Previously, the beku_test is bare clone of git repository stored as is.
This cause an initial clone of the beku repository itself does not
recognize it as git repository, which make the test fail:
go test -v -coverprofile=cover.out ./... || rm -f cover.out
fatal: '/home/ms/go/src/git.sr.ht/~shulhan/beku/testdata/beku_test.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
2022/01/30 10:56:19 gitInstall: Clone: exit status 128
FAIL github.com/shuLhan/beku 0.008s
This changes make the testdata/beku_test.git as git submodule, to make
the test run well.
|
|
This changes affect code that use lib/test.Assert().
|
|
Instead of enabling all linters, run the default linter provided by
the latest golangci-lint.
|
|
Previously, the beku_test is bare clone of git repository stored as is.
This cause an initial clone of the beku repository itself does not
recognize it as git repository, which make the test fail:
go test -v -coverprofile=cover.out ./... || rm -f cover.out
fatal: '/home/ms/go/src/git.sr.ht/~shulhan/beku/testdata/beku_test.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
2022/01/30 10:56:19 gitInstall: Clone: exit status 128
FAIL github.com/shuLhan/beku 0.008s
This changes make the testdata/beku_test.git as git submodule, to make
the test run well.
|
|
|
|
|
|
|
|
|
|
This update bring new change on how to use the ini package.
|
|
The latest Go release will require $GOCACHE or $HOME environment variable
upon running "go install" command.
|
|
|
|
Previously, we remove all unused repositories from $GOPATH, which caused
some important repositories that we forgot to track get removed during
freeze operation.
This commit remove the auto cleanup and only print the unused repositories
to the screen.
|
|
## 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.
|
|
This means turning off GO111MODULE when running Go command.
|
|
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.
|
|
Include all files from "git clone --bare" in testdata/beku_test.git.
|
|
|
|
|
|
This including the copy of subpackage.
|
|
|
|
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.
|
|
This may result in error when building with Go version < 1.12.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Some global variables, like defStdout and defStdout, are required for
testing.
|
|
|
|
|
|
|
|
|
|
|
|
While at it, reupdate the comments section on some methods.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The original "tekstus" package has been deprecated and merged into
"github.com/shuLhan/share/lib/text/diff".
|
|
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.
|
|
lib/git.FetchAll now fetch all remote tags.
|
|
|
|
Sync operation should accept both update and no dependency options in one
line as in "-Sud".
|
|
The changelog get formatted by prettier.
|
|
|