ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: first-setup.sh
Date: Fri, 08 Jun 2012 23:05:36 +0200	[thread overview]
Message-ID: <4FD26920.6050801@wxs.nl> (raw)
In-Reply-To: <CALBOmsZncCOXMrhJm0USN_CQ_5uDELN2ae+GsAwjU+24zY91-A@mail.gmail.com>

On 8-6-2012 18:54, Mojca Miklavec wrote:
> On Fri, Jun 8, 2012 at 6:47 PM, Mojca Miklavec wrote:
>> On Fri, Jun 8, 2012 at 6:40 PM, Andy Thomas wrote:
>>> Hi all,
>>>
>>> after a lot of confusion I discovered that first-setup.sh is not Andy-proof. If there is a broken internet connection, the update lua process works and pushes the rsync error message very quickly out of the terminal. I propose to change the rsync line to
>>>
>>> rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . || { echo "Cannot reach the repository"; exit 1; }
>>
>> Thank you, that makes sense, I'll change it.
>>
>> But I believe that some similar safeguards might be needed in the lua
>> script (there is a slight chance that this would go through and the
>> calls in lua script wouldn't).
>
> Also, if the file doesn't exist on the server (if you change a letter
> in path or if platform would be removed from supported one for
> example), it doesn't stop. I didn't try to investigate if there is an
> easy way around that.
>
> Also keep in mind that users need to update the original script
> (currently still called first-setup.sh) manually.

Maybe this is then the right time to do the renaming:

fetch-context

or so, as an update is not a first

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2012-06-08 21:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 16:40 first-setup.sh Andy Thomas
2012-06-08 16:47 ` first-setup.sh Mojca Miklavec
2012-06-08 16:54   ` first-setup.sh Mojca Miklavec
2012-06-08 18:16     ` first-setup.sh Aditya Mahajan
2012-06-08 21:05     ` Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-06-01 10:49 first-setup.sh Thomas A. Schmitz
2010-06-01 11:10 ` first-setup.sh luigi scarso
2010-06-01 11:20 ` first-setup.sh Mojca Miklavec
2010-06-02 13:43   ` first-setup.sh Mojca Miklavec
2010-06-02 13:47     ` first-setup.sh Taco Hoekwater
2010-06-02 21:35     ` first-setup.sh Thomas A. Schmitz
2010-06-02 21:45       ` first-setup.sh Hans Hagen
2010-06-02 22:04         ` first-setup.sh luigi scarso
2010-05-21 14:28 first-setup.sh Vladimir Lomov
2010-05-21 15:48 ` first-setup.sh Mojca Miklavec
2010-05-22 12:21 ` first-setup.sh Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FD26920.6050801@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).