Bug 4876

Summary: Rewrite koha-* scripts in Perl, with error checking - omnibus
Product: Koha Reporter: Lars Wirzenius <lars>
Component: PackagingAssignee: Robin Sheat <robin>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P5 - low CC: magnus, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8779
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 10094, 10101, 10104, 10144, 10146, 10149, 10150, 10157, 10159    
Bug Blocks:    

Description Lars Wirzenius 2010-06-10 01:39:02 UTC
The Debian packaging contains some scripts in debian/scripts/koha-*, which are written in patchy shell. They work, but do not handle errors very well, and often cannot recover after an error happens.

The scripts should be made robust. It might help to rewrite them in perl.
Comment 1 Katrin Fischer 2013-04-13 19:21:53 UTC
Resetting version to master.
Comment 2 Magnus Enger 2013-04-13 21:27:54 UTC
Maybe we should rename this to "Rewrite koha-* scripts in Perl, with error checking - omnibus"?
Comment 3 Robin Sheat 2013-04-14 22:48:27 UTC
Yes.
Comment 4 Tomás Cohen Arazi (tcohen) 2013-04-18 13:22:53 UTC
Do we need to write them in Perl? I agree more error handling.
Comment 5 Robin Sheat 2013-04-18 22:38:15 UTC
It's not really a requirement to write them in Perl, but error handling and rollback and such would be easier to implement in that.
Comment 6 Katrin Fischer 2019-04-10 00:55:19 UTC
All linked bugs have been closed - closing this bug as well.