| Age | Commit message (Collapse) | Author |
|
With help of spdxconv tool [1], we able to bulk update all files license
and copyright format to comply with SPDX formats.
[1] https://kilabit.info/project/spdxconv/
|
|
There are several reasons that why we move from github.com.
First, related to the name of package.
We accidentally name the package with "share" a common word in English
that does not reflect the content of repository.
By moving to other repository, we can rename it to better and unique
name, in this "pakakeh.go".
Pakakeh is Minang word for tools, and ".go" suffix indicate that the
repository related to Go programming language.
Second, supporting open source.
The new repository is hosted under sourcehut.org, the founder is known
to support open source, and all their services are licensed under AGPL,
unlike GitHub that are closed sources.
Third, regarding GitHub CoPilot.
The GitHub Terms of Service [1], allow any public content that are hosted
there granted them to parse the content.
On one side, GitHub helps and flourish the open source, but on another
side have an issues regarding scraping the copyleft license [2].
[1]: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#4-license-grant-to-us
[2]: https://githubcopilotinvestigation.com
|
|
If the tip is rebased to upstream, the author timestamp is not changes,
but the commit timestamp changes.
|
|
While at it, fix the example in comment on go-mod-tip.sh on how to run
the script.
|
|
The second parameter is optional.
It is passed to -run= argument in "go test".
Default value is ".", or all functions.
|
|
The go-test-lint.sh run Go test and if its success it will run
predefined linter, in the current directory.
Arg 1: the method or function to test, default to ".".
The linter program and its argument is derived from environment variable
GO_LINT.
If its empty, it will try the following linter in order: revive, or
golangci-lint.
To add additional arguments to go test set the environment variable
GO_TEST_ARGS.
|
|
While at it, canges the go-bench count to 10.
|
|
The go-bench.sh accept two arguments: the method or function to benchmark,
default to "."; and benchmark number, default to current timestamp
YYYYmmDD-HHMM.
|
|
The script accept one single argument: the path to package to
be tested.
If its empty default to current directory and sub-directories.
|
|
The go-mod-tip shell script get and print the latest Go module
version based on the last tag and the latest commit hash from the
current working directory.
This command usually used to fix go.mod due to force commit.
|