Proposed updates

5 views
Skip to first unread message

Tom Hoar

unread,
Aug 26, 2010, 6:06:16 AM8/26/10
to mosesform...@googlegroups.com
I'm not sure of your processes for changes to Mose-for-Mere-Mortals, so I joined the group. I'd like to propose an update to the install script, create-moses-irstlm-randlm-1.28 and the addition of a script called setup.sh (attached proposals.tar.gz).

  • The modified create-moses-irstlm-randlm-1.28a works exactly the same as the previous version. There are 13 line changes that set five default values from environment variables instead of hard-coded in the script.
  • The new setup.sh script has three basic functions
    • It prompts the user and sets the four values.
    • It sets the identifies and sets the default number of processors and lets the user override with the line:
                export detectedprocessors=`grep -c "^processor" /proc/cpuinfo`
    • It determines whether it should use 'yum' or 'apt-get' and uses the right one to install all of the dependencies.

The reasoning is as follows. Windows users seem like a targeted audience. These users expect a simple (minded?) setup program... typically named Setup.exe. The setup.sh script should be familiar to them. The script asks five questions, much like a setup wizard they are used to. Experienced Linux users can still edit the scripts or use the prompts.

I have my own series of shell scripts that are similar to these. Over time, I'd like to merge them with yours. Let me know what you think of these first. Also, this script worked great on a VMware Server 2.0 guest machine running 64-bit Ubuntu 10.04.

Thanks,
Tom

proposals.tar.gz

Moses for Mere Mortals

unread,
Aug 26, 2010, 10:41:18 AM8/26/10
to mosesform...@googlegroups.com
Hi, Tom,

Thank you very much for your proposals. I am always willing to merge my work with the one of others that pass our tests and in fact I'm very much looking for persons willing to do that. I have already sent you a personal reply to your e-mail.

Greetings,

    João
Reply all
Reply to author
Forward
0 new messages