X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) by lists.alpinelinux.org (Postfix) with ESMTP id 76405F84D4C for ; Sun, 3 Mar 2019 05:41:39 +0000 (UTC) Received: by mail-ua1-f47.google.com with SMTP id g1so1587700uae.10 for ; Sat, 02 Mar 2019 21:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=BmXhM7EFKySyd/2QMTDr55a6UgSBxXuFAmXJKxtWpIo=; b=pwFkvM73JY67ELMTJ2W8wc0cmEDbRSPVl5FcBlSLZK/ZXO6U7qIAvMhGyOQrTt8ssK 0Lcukz/WVcovA3MLdMfAmkpy/vEul0IG/ZX4ERgT5cfQOHWD+dGbx2PwsvZDlz1kjaWp 57/heCnYBH/WdEQ6xqGCeMEpz0jDYxLgLBBSQQV0bWoa2K5exF+Es55Jqo21DmFWldZw NUrwmg+mtytfg+rDVbyzHyWtPII+iEaOmbnW66xuQhRwZrqJfQ9jwF5x7/45kostC6Yg qP0rEog3HRVQzmm9pniK3lFEpg5EPi0vDsTCvmzpat7EmPSRPImu5fkDgE8Otn7LKUwK hzug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=BmXhM7EFKySyd/2QMTDr55a6UgSBxXuFAmXJKxtWpIo=; b=H8RXUTnvHFdk+fgkqpQOvyqu5cVTDJm/qfrSfyvBzq3+jS9gXWmbIBm/+HouJhgAYp xn9Civ3kT0+zd66AagutcrTXpHJm3YQicVowVZ/dZZ4MqqCUlrXGVgqbTANO+dMbq6oQ RdSz2hekUEWTzT8fTQniBl4DRAQuDDkjXwkTQ/uOEbMoaZlEM0diXhLkjDtRrht3ZIWT uRlQOpuwGVI0VDO1TYu37veMe5xq33nOBVONdFszDlsFZ/g88+iAsLDKwHHrjdL8HLVZ ipTw9yhSXRoyQ6TVNRlUUA+lXnJDAI2UIFFMQg6tXQrVmQrX+k0S/Go9yHTHTNu5qs+n Q9+w== X-Gm-Message-State: APjAAAW2xeBOlVFB13b+qwoOMQ8ZYaeFnKNtsDW7K1xKORmLAGkv90LE TZZ1lZ1I6ZYiRNgUe44BxrZf0sPGq2XZ/jxvQK0NAw== X-Google-Smtp-Source: APXvYqx+ntz5ExHidjMu8zBzQj2lYWJEwUUiJiaJQASFyDLUL6gnvxkzzIJpAeN7n6QNzxrAVgRsZkDl6LWRvG+haKA= X-Received: by 2002:a67:d690:: with SMTP id o16mr2464653vsj.160.1551591698889; Sat, 02 Mar 2019 21:41:38 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: In-Reply-To: From: Magicloud Magiclouds Date: Sun, 3 Mar 2019 13:39:58 +0800 Message-ID: Subject: [alpine-devel] Re: Should `setup-apkrepos -f` exit if fails. To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry the subject missed the word "exit". On Sun, Mar 3, 2019 at 1:35 PM Magicloud Magiclouds wrote: > > Hi, > > While working on automatically setup an alpinelinux, I found that, > `setup-apkrepos -f` falls back to interactive mode if something is > wrong when retrieving mirror list. > > I think this is unexpected. One, headless or unattended setup hangs > because this step is waiting for user. Two, it does not exit with > error, so the automation script cannot detect the error easily and > patch things up. > > I did not submit this as a bug since I'd like to have your opinion. Thank= s. > > -- > =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 > =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E > > And for G+, please use magiclouds#gmail.com. --=20 =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---