Documentation needed for srfsh scripts in /openils/bin

Bug #968514 reported by Victoria
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned

Bug Description

The srfsh scripts in /openils/bin are used for various maintenance tasks and are most often run using cron jobs, but I am unable to find any documentation related to their use, command line options, etc. I ran into an issue where I probably should have known that I needed to set up a .srfsh.xml file in ~/opensrf so that the scripts would run on the private.localhost router when cron started them, but I didn't have any clue it was needed. I had only played with the .srfsh.xml file during opensrf testing; after that, it was never mentioned again to my knowledge.

So: more documentation on when, how, and why to run the various scripts would be great. This type of documentation could go into the "post-installation chores" area.

Revision history for this message
Michael Peters (mrpeters) wrote :

Wondering if this is perhaps a bug more appropriate for DIG?

tags: added: documentation
Revision history for this message
Victoria (vbush) wrote :

Absolutely, but I don't recall seeing a bug queue for the documentation. Please correct me and point me to the right place, if such exists.

Changed in evergreen:
importance: Undecided → Wishlist
Changed in evergreen:
status: New → Incomplete
Changed in evergreen:
status: Incomplete → Triaged
Remington Steed (rjs7)
Changed in evergreen:
assignee: nobody → Remington Steed (rjs7)
milestone: none → 2.next
Revision history for this message
Remington Steed (rjs7) wrote :

I have revived and updated a long-lost section of documentation from the old 2.1 docs. Here is the commit:

http://git.evergreen-ils.org/?p=Evergreen.git;a=commit;h=cbf755bd65317f6a0f84fa13a5404eb02d0c9a6d

And since docs changes don't currently require two sign-offs, I have pushed it into master. I'll mark this bug as "Fix Committed" for now, and change it to "Fix Released" after I review the version that builds overnight (and backport to 2.6).

I expect the new sections to appear here after backporting:

http://docs.evergreen-ils.org/2.6/_batch_importing_marc_records.html
(look for "Importing Authority Records from the Staff Client", should be the last subsection)

http://docs.evergreen-ils.org/2.6/_developer_resources.html
(look for "Support Scripts", should be first chapter after intro)

Changed in evergreen:
assignee: Remington Steed (rjs7) → nobody
milestone: 2.next → 2.6.2
status: Triaged → Fix Committed
Revision history for this message
Remington Steed (rjs7) wrote :

Everything looks good in the master version built last night, so I have backported the change through 2.4 (since 2.4 is still supported in some capacity). When I confirm that those versions of the docs have updated properly, I will change this bug's status to "Fix Released".

Remington Steed (rjs7)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.