X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 96A17DC00D0 for ; Thu, 8 May 2014 13:43:51 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id lc6so3283583vcb.2 for ; Thu, 08 May 2014 06:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=eQOLuQ7N59VlAem+JX+KAjEdnpLM7U8NZImryfvxr68=; b=KwWGXyTQLQPmOWb3sPfwEWlovqzHYAznap3gWwE1hFP5QS/kjvmDu/fL3NuRoK8C/2 kCM/5suxKazKlcwj7/h1cjL2NWh/182Lsf5HvGuJi2L5Q56Hs4Ijo4k3vQrS+zSyJdhf OPVeL1Au12UDjC5Y4rEJuEusvFuWSjO/1uLsoKqL83qhuy0sVI3CK5PT8z/IxibxF8W4 igoS0zPxZ1TZbIaYD3mvEWu+XJ0qh/wzVbK04zKsdTc/LVOHFkGbntUyuJ2v9qenHFoL MMtRxq8lGHqCmRZzEeG1ZIin+7JwKKAVCUN5OgYOxpV+cXA2RSlEblX1TKcNuHDM/sJ1 bHrQ== X-Received: by 10.220.105.4 with SMTP id r4mr2932729vco.27.1399556628629; Thu, 08 May 2014 06:43:48 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.220.136.74 with HTTP; Thu, 8 May 2014 06:43:28 -0700 (PDT) In-Reply-To: <20140508153541.460bd243@ncopa-desktop.alpinelinux.org> References: <20140508153541.460bd243@ncopa-desktop.alpinelinux.org> From: Alan Messias Date: Thu, 8 May 2014 10:43:28 -0300 Message-ID: Subject: Re: [alpine-devel] [PATCH] - LBU showing more options on usage() To: Natanael Copa Cc: Alpine Devel List Content-Type: multipart/alternative; boundary=089e0122f332b1527604f8e3abd2 --089e0122f332b1527604f8e3abd2 Content-Type: text/plain; charset=UTF-8 Hi Copa, IMHO I dont think it should be a secret. There is no why. Even if it is only for migration It would be nice if everybody knows about this stuff. It is a tool... it is there and I think the users should be aware of it. :wq! alacerda On Thu, May 8, 2014 at 10:35 AM, Natanael Copa wrote: > On Wed, 30 Apr 2014 14:45:56 -0300 > Alan Messias wrote: > > > Let our users know the options availiable and let us add a shortcut for > > migrate_include_exclude: > > > > What do you think about this? > > > > --- a/lbu > > +++ b/lbu > > @@ -44,6 +44,8 @@ > > package (pkg) > > status (stat, st) > > list-backup (lb) > > + migrate_include_exclude (mie) > > + diff > > revert > > > > Common options: > > @@ -732,9 +734,9 @@ > > package|pkg) SUBCMD="package";; > > status|stat|st) SUBCMD="status";; > > list-backup|lb) SUBCMD="listbackup";; > > + migrate_include_exclude|mie) SUBCMD="migrate_include_exclude";; > > revert) SUBCMD="revert";; > > diff) SUBCMD="diff";; > > - migrate_include_exclude) SUBCMD="migrate_include_exclude";; > > *) usage;; > > esac > > > > This command should not be used often. Its only for migrating from old > format to new and should only e called from apk trigger. > > I don't think we should create a short version of it, and i dont know > if we need show it in help text either. > > -nc > *The nice thing about standards is that there are so many to choose from. And if you really don't like all the standards you just have to wait another year until the one arises you are looking for. -- A. Tanenbaum, "Introduction to Computer Networks"* --089e0122f332b1527604f8e3abd2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Copa,

IMHO I dont think it sho= uld be a secret. There is no why.=C2=A0
Even if it is=20 only for migration It would be nice if everybody knows about this stuff.=C2= =A0
It is a tool... it is there and I think the users should be a= ware of it.

:wq!
alacerda



On = Thu, May 8, 2014 at 10:35 AM, Natanael Copa <ncopa@alpinelinux.org> wrote:
On W= ed, 30 Apr 2014 14:45:56 -0300
Alan Messias <
alancordeiro@gma= il.com> wrote:

> Let our users know the options availiable and let us add a shortcut fo= r
> migrate_include_exclude:
>
> What do you think about this?
>
> --- a/lbu
> +++ b/lbu
> @@ -44,6 +44,8 @@
> =C2=A0 =C2=A0package (pkg)
> =C2=A0 =C2=A0status (stat, st)
> =C2=A0 =C2=A0list-backup (lb)
> + =C2=A0migrate_include_exclude (mie)
> + =C2=A0diff
> =C2=A0 =C2=A0revert
>
> =C2=A0Common options:
> @@ -732,9 +734,9 @@
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 package|pkg) =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0SUBCMD=3D"package";;
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status|stat|st) =C2=A0 =C2=A0 =C2=A0 =C2= =A0 SUBCMD=3D"status";;
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 list-backup|lb) =C2=A0 =C2=A0 =C2=A0 =C2= =A0 SUBCMD=3D"listbackup";;
> + =C2=A0 =C2=A0 =C2=A0 migrate_include_exclude|mie) SUBCMD=3D"mig= rate_include_exclude";;
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 revert) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 SUBCMD=3D"revert";;
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 diff) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 SUBCMD=3D"diff";;
> - =C2=A0 =C2=A0 =C2=A0 migrate_include_exclude) SUBCMD=3D"migrate= _include_exclude";;
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 *) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0usage;;
> =C2=A0esac
>

This command should not be used often. Its only for migrating f= rom old
format to new and should only e called from apk trigger.

I don't think we should create a short version of it, and i dont know if we need show it in help text either.

-nc


The nice thing about standards is = that there are so many to choose from. And if you really don't like all= the standards you just have to wait another year until the one arises you = are looking for.=C2=A0--=C2=A0A. T= anenbaum, "Introduction to Co= mputer Networks"

--089e0122f332b1527604f8e3abd2-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---