Enhancements
-
Refactoring test to clone from local directory
-
Get and save package remote branch in database
Some package does not have "master" branch. This will minimize parsing
and filter operation to get default branch before checking out revision. -
Scan package only if its not exist on local system.
This will minimize freeze operations, removing unneeded fetching revision
(tag/commit) and parsing remote URL. -
Move all commons functions to shared package
"github.com/shuLhan/share/lib/{git,io}"
Bug Fixes
-
cmd/beku: fix parsing multiple subcommand on Sync
Sync operation should accept both update and no dependency options in one
line as in "-Sud". -
Scan: Update package version only if current and new package both are tag
-
env: fix get package from database that return first match by prefix
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". -
Fix sync "--into" command