Age | Commit message (Collapse) | Author |
|
Fix confusing kerl usage string for `update`
|
|
|
|
|
|
[lwalkin@lwalkin:~]> ./kerl update
usage: ./kerl <releases>
should be:
[lwalkin@lwalkin:~]> ./kerl update
usage: ./kerl update releases
This patch fixes that.
|
|
|
|
|
|
|
|
|
|
Update kerl to grok KERL_INSTALL_MANPAGES env
|
|
The KERL_INSTALL_MANPAGES is ignored if given in the environment. Fixing that by saving and restoring the KERL_INSTALL_MANPAGES along the rest of the options.
By the way, KERL_INSTALL_HTMLDOCS is not reset in the beginning of the file, so no save/restore is necessary for it.
Though its an inconsistency due to be fixed... as a separate ticket.
|
|
Update kerl to accept new version numbering scheme since 17.0-rc1
|
|
* Change get_releases() to accept the new naming scheme of
`otp_src_MAJOR.MINOR.PATCH.tar.gz`, where MAJOR, MINOR, PATCH
are all decimal letters and some additional letters in
`[-0-9A-Za-z_.]` (see OTP-11615 on otp_src_17.0-rc1.tar.gz)
|
|
Update kerl to use $_KERL_ACTIVE_DIR for get_active_path
|
|
* Define $_KERL_ACTIVE_DIR when activating
* Use $_KERL_ACTIVE_DIR for `kerl status`
|
|
* Let get_active_path to use $REBAR_PLT_DIR for the current active installation path
|
|
Change of env var restoration mechanism in activate script
|
|
Add zsh completion
|
|
Change to direct removal of the pre-known addition from $PATH and
$MANPATH
|
|
|
|
Formatting
|
|
|
|
|
|
Update README.md
|
|
* Add a note on Tuning section about .kerlrc side effect
* Add an example of using shell `export` command in .kerlrc for build tuning
|
|
|
|
Add support for disabling apps to build via KERL_CONFIGURE_DISABLE_APPLICATIONS
|
|
If non-empty, you can specify the subset of applications to disable when
building (and subsequent installing) Erlang/OTOP with the
KERL_CONFIGURE_DISABLE_APPLICATIONS variable, either in your $HOME/.kerlrc
file or prepending it to the command line.
e.g. KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc"
|
|
README update related to previous commit
|
|
|
|
Add possibility to show the name of the release before the prompt by setting the KERL_ENABLE_PROMPT env variable
|
|
|
|
Simplify and improve the recipe for git-based builds
|
|
Expand regex for matching http://www.erlang.org/download releases
|
|
The previous regex did not match with the R16A release available for
download from the Erlang/OTP website.
|
|
|
|
Modify the git-based recipe to simply mirror the remote git
repository. If enabled by configuration, download and install the
newest official manpages and/or HTML docs as opposed to not installing
any documentation for git-based builds.
To save disk space and to simplify git operations, the repository
format of the local otp repository has been changed to bare format.
If caller has previously used the git-based build feature, caller
should execute "kerl cleanup all" once to remove any old local otp
repositories.
|
|
Fix: do not hardcode origin/ to ref (enables R16A)
|
|
This allows building tags and all other funny kinds of refs.
|
|
Removed typo.
|
|
|
|
Changes to permit building Erlang/OTP R15B03-1
|
|
The name of the otp_src_.* directory (e.g. otp_src_R15B03) may not
always match with the name (e.g. otp_src_R15B03-1.tar.gz) of it's
tarball file.
The tar --strip-components option was purposely not used since this
option might not be available all of the time.
|
|
Kerl previously used the contents of the HTML <a> tag for this purpose. Unfortunately,
the HTML <a> tag is not always rendered as expected.
The old output from "kerl update releases":
------
Getting the available releases from erlang.org...
The available releases are:
R10B-0 R10B-2 R10B-3 R10B-4 R10B-5 R10B-6 R10B-7 R10B-8 R10B-9 R11B-0 R11B-1 R11B-2 R11B-3 R11B-4 R11B-5 R12B-0 R12B-1 R12B-2 R12B-3 R12B-4 R12B-5 R13A R13B R13B01 R13B02 R13B03 R13B04 R14A R14B R14B01 R14B02 R14B03 R14B04 R15B R15B01 R15B02 R15B03
------
The new output from "kerl update releases":
------
Getting the available releases from erlang.org...
The available releases are:
R10B-0 R10B-10 R10B-2 R10B-3 R10B-4 R10B-5 R10B-6 R10B-7 R10B-8 R10B-9 R11B-0 R11B-1 R11B-2 R11B-3 R11B-4 R11B-5 R12B-0 R12B-1 R12B-2 R12B-3 R12B-4 R12B-5 R13A R13B R13B01 R13B02-1 R13B02 R13B03 R13B04 R14A R14B R14B01 R14B02 R14B03 R14B04 R15B R15B01 R15B02 R15B03-1 R15B03
------
|
|
|
|
|
|
Closes #32
|
|
fixes related to grep exit code handling
|
|
|
|
Update $MANPATH on activate/deactivate
|
|
|