v0.70 pre1

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-04-26 17:40:24 +02:00
parent 490c47249a
commit bd4a1167e9
40 changed files with 51 additions and 42 deletions

View File

@ -76,4 +76,4 @@ Bashbot is not more (in)secure as any other Bot written in any other language, w
If you feel that there's something missing or if you found a bug, feel free to submit a pull request!
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -123,5 +123,5 @@ That's it!
If you feel that there's something missing or if you found a bug, feel
free to submit a pull request!
latexmath:[\[VERSION\]] v0.70-dev3-15-gfba8951
++++++++++++++++++++++++++++++++++++++++++++++
latexmath:[\[VERSION\]] v0.70-pre1-0-g490c472
+++++++++++++++++++++++++++++++++++++++++++++

View File

@ -1,7 +1,7 @@
#!/bin/sh
# description: Start or stop telegram-bash-bot
#
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# shellcheck disable=SC2009
# shellcheck disable=SC2181

View File

@ -12,7 +12,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.70-dev3-16-gd6d640a
#### $$VERSION$$ v0.70-pre1-0-g490c472
#
# Exit Codes:
# - 0 sucess (hopefully)

View File

@ -5,7 +5,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
#
# shellcheck disable=SC2154
# shellcheck disable=SC2034

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# this has to run once atfer git clone
# and every time we create new hooks
#### $$VERSION$$ v0.70-dev3-16-gd6d640a
#### $$VERSION$$ v0.70-pre1-0-g490c472
# magic to ensure that we're always inside the root of our application,
# no matter from which directory we'll run script

View File

@ -3,7 +3,7 @@
#
# works together with git pre-push.sh and ADD all changed files since last push
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# magic to ensure that we're always inside the root of our application,
# no matter from which directory we'll run script

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
############
# NOTE: you MUST run install-hooks.sh again when updating this file!

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
############
# NOTE: you MUST run install-hooks.sh again when updating this file!

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# this has to run once atfer git clone
# and every time we create new hooks
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# magic to ensure that we're always inside the root of our application,
# no matter from which directory we'll run script

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# this has to run once atfer git clone
# and every time we create new hooks
#### $$VERSION$$ v0.70-dev3-17-g45f042d
#### $$VERSION$$ v0.70-pre1-0-g490c472
# magic to ensure that we're always inside the root of our application,
# no matter from which directory we'll run script

View File

@ -1,3 +1,3 @@
# list of additional files to check from shellcheck
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
bashbot.rc

View File

@ -1,6 +1,6 @@
#!/bin/bash
#
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# shellcheck disable=SC2016
#
# Easy Versioning in git:

View File

@ -61,5 +61,5 @@ The old format is supported for backward compatibility, but may fail for corner
#### [Next Create Bot](1_firstbot.md)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -62,5 +62,5 @@ group. This step is up to you actually.
#### [Prev Installation](0_install.md)
#### [Next Getting started](2_usage.md)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -166,5 +166,5 @@ send_action "${CHAT[ID]}" "action"
#### [Prev Create Bot](1_firstbot.md)
#### [Next Advanced Usage](3_advanced.md)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -166,5 +166,5 @@ answer_inline_query "$iQUERY_ID" "cached_sticker" "identifier for the sticker"
#### [Prev Getting started](2_usage.md)
#### [Next Expert Use](4_expert.md)
#### $$VERSION$$ v0.70-dev3-16-gd6d640a
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -104,5 +104,5 @@ An example crontab is provided in ```examples/bashbot.cron```.
#### [Prev Expert Use](4_expert.md)
#### [Next Best Practice](5_practice.md)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -141,5 +141,5 @@ The second warning is about an unused variable, this is true because in our exam
#### [Prev Best Practice](5_practice.md)
#### [Next Functions Reference](6_reference.md)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -473,5 +473,5 @@ Send Input from Telegram to waiting Interactive Chat.
#### [Prev Best Practice](5_practice.md)
#### [Next Notes for Developers](7_develop.md)
#### $$VERSION$$ v0.70-dev3-16-gd6d640a
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -14,7 +14,7 @@ bashbot development is done on github. If you want to provide fixes or new featu
6. setup github hooks by running ```dev/install-hooks.sh``` (optional)
### Test, Add, Push changes
A typical bashbot develop cycle looks as follow:
A typical bashbot develop loop looks as follow:
1. start developing - *change, copy, edit bashbot files ...*
2. after change to bash file: ```shellcheck -x file.sh```
@ -25,6 +25,15 @@ A typical bashbot develop cycle looks as follow:
**If you setup with hooks and use the scripts above, versioning, addding and testing is done automatically.**
### Prepare a new version
After some development it may time to create a new version for the users. a new version can be in sub version upgrade, e.g. for fixes and smaller additions or
a new release version for new features. To mark a new version use ```git tag NEWVERSION``` and run ```dev/version.sh``` to update all version strings.
Usually I start with some pre-x versions and when everything looks good I push out a release candidate (rc) and finally the new version.
```
v0.x-dev -> v0.x-pre-x -> v0.x-rc -> v0.x ... 0.x+1-dev ...
```
### Versioning
Bashbot is tagged with version numbers. If you start a new development cycle you must tag your fork with a version higher than the current version.
@ -83,5 +92,5 @@ fi
#### [Prev Function Reference](6_function.md)
#### [Next Bashbot Environment](8_custom.md)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -117,5 +117,5 @@ for every poll until the maximum of BASHBOT_SLEEP ms.
#### [Prev Notes for Developers](7_develop.md)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472

View File

@ -7,7 +7,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
SHELL=/bin/sh

View File

@ -3,7 +3,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# adjust your language setting here
# https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment

View File

@ -2,7 +2,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# adjust your language setting here
# https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment

View File

@ -3,7 +3,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# adjust your language setting here
# https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment

View File

@ -3,7 +3,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# adjust your language setting here
# https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment

View File

@ -5,7 +5,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
#
# source from commands.sh to use the aliases

View File

@ -5,7 +5,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.70-dev3-16-gd6d640a
#### $$VERSION$$ v0.70-pre1-0-g490c472
# source from commands.sh if you want ro use interactive or background jobs

View File

@ -5,6 +5,6 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# source from commands.sh to use the inline functions

View File

@ -2,7 +2,7 @@
# files: mycommands.sh.dist
# copy to mycommands.sh and add all your commands and functions here ...
#
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
#
# shellcheck disable=SC2154
# shellcheck disable=SC2034

View File

@ -2,7 +2,7 @@
#
# ADD a new test skeleton to test dir, but does not activate test
#
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# magic to ensure that we're always inside the root of our application,
# no matter from which directory we'll run script

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# common variables
export TESTME DIRME TESTDIR LOGFILE REFDIR TESTNAME

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
../dev/hooks/pre-commit.sh

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
../dev/hooks/pre-push.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# include common functions and definitions
# shellcheck source=test/ALL-tests.inc.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# include common functions and definitions
# shellcheck source=test/ALL-tests.inc.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# include common functions and definitions
# shellcheck source=test/ALL-tests.inc.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# include common functions and definitions
# shellcheck source=test/ALL-tests.inc.sh

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-dev3-15-gfba8951
#### $$VERSION$$ v0.70-pre1-0-g490c472
# include common functions and definitions
# shellcheck source=test/ALL-tests.inc.sh