[koha-commits] main Koha release repository branch master updated. v3.22.00-424-g4c781d9
Git repo owner
gitmaster at git.koha-community.org
Wed Jan 27 07:23:57 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 4c781d991132053dc6fed1195e7818c030c08945 (commit)
via d8a123393d8d773d2bd592ef47567f150aea4b6c (commit)
via 2b43e9312c87ab902dbf01f26f36fb9b82066332 (commit)
via 78a6f7b0e7ae14ac17196222f373111246f1121b (commit)
from b3353994af759a7e6b03c63ceef801616b61a72f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4c781d991132053dc6fed1195e7818c030c08945
Author: Liz Rea <liz at catalyst.net.nz>
Date: Tue Jul 7 13:06:36 2015 +1200
Bug 13143 - Detect if the password is in a pipe
1. cd kohaclone/debian/scripts
2. sudo koha-passwd instance | cat
Output should be password only
3. sudo koha-passwd instance
Output should be "Password for $instance is: $password"
Does this get at what you were wanting, Robin?
NOTE:
$ cd ~
$ sudo mkdir /etc/koha
$ sudo mkdir /etc/koha/sites
$ sudo mkdir /etc/koha/sites/library
$ sudo ln -s ~/koha-dev/etc/koha-conf.xml /etc/koha/sites/library/koha-conf.xml
$ sudo mkdir /usr/share/koha
$ sudo ln -s ~/kohaclone/debian/scripts /usr/share/koha/bin
This will fake out your system enough to get koha-passwd to run in your git
system. Since you are using your git system, no need for the sudo's in
steps 2 & 3. And no need to roll a custom build to test it.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit d8a123393d8d773d2bd592ef47567f150aea4b6c
Author: Mark Tompsett <mtompset at hotmail.com>
Date: Wed Nov 26 16:23:31 2014 -0500
Bug 13143: Followup - Correct the pause message
'read anykey' actually requires enter under sh.
This patch changes the string from:
'Press any key to clear the screen...'
to
'Press enter to clear the screen...'
TEST PLAN
---------
1) Apply the first two patches
2) Trigger the script.
2) Press 'q' or anything other than enter when prompted.
--- You could type a whole sentence! Oops!
3) Press enter.
4) Apply this patch
5) Trigger the script.
6) Be happy that you aren't told any key will work.
7) run koha qa tools
Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>
http://bugs.koha-community.org/show_bug.cgi?id=13141
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit 2b43e9312c87ab902dbf01f26f36fb9b82066332
Author: Liz Rea <liz at catalyst.net.nz>
Date: Fri Oct 31 16:34:31 2014 +1300
Bug 13143 - follow up - usability improvements
* makes sure output is not on the line with the prompt
* adds ability to clear screen after password display
Same test plan as for original bug.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit 78a6f7b0e7ae14ac17196222f373111246f1121b
Author: Mason James <mtj at kohaaloha.com>
Date: Sat Oct 25 07:03:31 2014 +1300
Bug 13143 - Add a tool to show a Koha's password
to test...
1/ run without any args, and get some help
# koha-passwd
Displays a Koha instance's password.
Usage: /usr/sbin/koha-passwd instancename1 instancename2...
Missing instance name...
2/ run with a bad instance, get an error
# koha-passwd xxxxx
Unknown instance xxxxx
3/ run with a correct instance, get a password
# koha-passwd koha1
foofoo69
4/ run with many instances, get many passwords
# koha-passwd koha1 koha2 koha3
foofoo69
foofoo68
foofoo67
Signed-off-by: Mason James <mtj at kohaaloha.com>
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
debian/koha-common.install | 1 +
debian/scripts/{koha-email-enable => koha-passwd} | 36 +++++++++------------
2 files changed, 17 insertions(+), 20 deletions(-)
copy debian/scripts/{koha-email-enable => koha-passwd} (70%)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list