This repository was archived by the owner on Jun 22, 2024. It is now read-only.
Releases: logisparte/kano
Releases · logisparte/kano
4.3.0
New helpers and general improvement
New features
General helpers
os
: Check what's the current operating systemcpu
: Check what's the current processor architecture
Git helpers
get_branch_name
get_commits_ahead_count
get_commits_behind_count
get_staged_changes_count
get_stashes_count
get_unstaged_changes_count
has_upstream_remote
is_in_a_work_tree
list_all_files
list_dirty_files
Tasks
helpers
task, to output the path to kano helpers even outside kano tasks
Deprecations
- get_all_files git helper (use list_all_files instead)
- get_dirty_files git helper (use list_dirty_files instead)
$KANO_SOURCE_DIRECTORY
environment variable (use$KANO_ROOT_DIRECTORY
instead)$KANO_BUILTIN_DIRECTORY
environment variable (no replacement, this variable was not meant to
be public, don't rely on it)
4.2.3
4.2.0
4.1.0
4.0.0
Docker task overhaul
Overview
- Renamed
$KANO_IS_IN_DOCKER
to$KANO_DOCKER
- Renamed
$KANO_DEVELOPMENT_IMAGE
to$KANO_DOCKER_IMAGE
- Renamed
$KANO_DEVELOPMENT_CONTAINER
to$KANO_DOCKER_CONTAINER
- Added
$KANO_DOCKER_FILE
,$KANO_DOCKER_REGISTRY
and$KANO_DOCKER_TAG
- Introduced long form subcommands alongside short forms (image build = build, container rm = rm, etc.)
- Improved
image build
, use caching when possible with buildkit - Renamed
image delete
toimage rm
to match native docker CLI command - Removed
run
,attach
andenter
subcommands - Changed
start
to behave like actualcontainer start
subcommand instead of wrappingrun
- Added
image tag
,image pull
,image push
subcommands that wrap native docker ones - Added
container create
,container rm
,container kill
,container exec
subcommands that wrap native docker ones - Added
boot
,execute
,shell
andcleanup
subcommands to serve as development workflow shortcuts
Migration guide
1- Rename environment variables to new names
2- Remove registry URL from custom $KANO_DOCKER_IMAGE
and set $KANO_DOCKER_REGISTRY
with it
3- Remove tag from custom $KANO_DOCKER_IMAGE
and set $KANO_DOCKER_TAG
where applicable
4- Previous run/start
customizations in .kano_user/.kano_team should now be passed to container create/create
instead
5- Instead of enter/start & attach
, use shell
6- Instead of run
use execute
For more information, read the updated documentation