Releases: RLogik/whales
Library functions corrected/added
Library Function - read answer
Read answer method now detects Metakey+D as break.
Template - mount data, but do not copy data
Cleaned up template. Data and dist folders should not be copied when creating base docker image. Instead these volumes should only be dynamically mounted. This change saves GB of memory, as the images then do not contain computed data.
Bug fix
Logic of whales activated/deactivated vs. docker in/out separated
Separated the logic of whales state and docker state.
This caused problems when (de)activating whales and wanting to run processes dependent purely upon whether inside docker or not. Now two separate files are used as states:#
.whales/WHALES_STATE -> off(default)/on
.whales/DOCKER_DEPTH -> out(default)/in
These state files are not git-sychronised, and only the DOCKER_DEPTH-file is transferred between outside and inside docker.
Took DOCKER_DEPTH out of synch
The file src/DOCKER_DEPTH
(which becomes .whales/DOCKER_DEPTH
) should not be synchronised when using whales. Instead it is to be created on the fly as a (git)ignored file in each project's instance of whales.
Added library function: security prompts
- utility function added to prompt for passwords
- importwhales installation script updated to add whales VERSION to the
.whales
folder upon import
Minor library functionality additions
Minor additions to library utility functions.
Improved Installation
Default behaviour of importwhales
is to install from local dist. Now use --git
flag to install from Git artefacts.
Improved Installation
- Installation allows optional local storage of whales distributions, so that one can call
importwhales
even when offline. - The template folder now contains all relevant files (incl. whales configuration files).
- The customisable process scripts for a project (build, test, clean) are now stored in a subfolder ./scripts, as per the standard of golang
NOTE: Due to changes in the importwhales
script, one should overwrite any previous copies of this file in ones local binaries. This script is not fully backwards compatible with versions < 0.0.4.