[Bug 7667] New: add a koha-setenv or an improved koha-foreach
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7667 Priority: P5 - low Change sponsored?: Seeking cosponsors Bug ID: 7667 Assignee: robin@catalyst.net.nz Summary: add a koha-setenv or an improved koha-foreach QA Contact: koha.sekjal@gmail.com Severity: enhancement Classification: Unclassified OS: All Reporter: mjr@ttllp.co.uk Hardware: All Status: NEW Version: unspecified Component: Packaging Product: Koha there should be an easy way to set the environment variables for a site in /etc/koha/sites, or to run a command on only one site through koha-foreach, or an interactive subshell. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7667 --- Comment #1 from Robin Sheat <robin@catalyst.net.nz> --- So basically something that lets you do, e.g. koha-setenv mylibrary that drops you into a shell as the appropriate koha user with the KOHA_CONF variables set up? Cos that sounds like a useful thing to have to me. I'm in the habit of doing stuff like "sudo -u koha-mylibrary env KOHA_CONF=... command" but it'd be a good habit to break. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7667 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |tomascohen@gmail.com Resolution|--- |WORKSFORME --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- This is the functionality 'koha-shell' provides already. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7667 MJ Ray (software.coop) <mjr@software.coop> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |DUPLICATE --- Comment #3 from MJ Ray (software.coop) <mjr@software.coop> --- koha-shell was added on 2012-12-20 (9 months after this report) for Bug 8878, but thanks for tidying this up. Changing the resolution to match. *** This bug has been marked as a duplicate of bug 8878 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org