~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[alpine-devel] [PATCH] - LBU showing more options on usage()

Details
Message ID
<CAFaTuVbK7ovp14dZg0uYQh5nBJMwive3xh50ivMHXQ7MVVgCqw@mail.gmail.com>
Sender timestamp
1398879956
DKIM signature
missing
Download raw message
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

-- 
alacerda

*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"*
Details
Message ID
<CAFaTuVbvzci-scDaXaRHJH_v0+aZrRKB8N_5v74N9V=FiYNYzA@mail.gmail.com>
In-Reply-To
<20140508153541.460bd243@ncopa-desktop.alpinelinux.org> (view parent)
Sender timestamp
1399556608
DKIM signature
missing
Download raw message
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 <ncopa@alpinelinux.org>wrote:

> On Wed, 30 Apr 2014 14:45:56 -0300
> Alan Messias <alancordeiro@gmail.com> 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"*
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20140508153541.460bd243@ncopa-desktop.alpinelinux.org>
In-Reply-To
<CAFaTuVbK7ovp14dZg0uYQh5nBJMwive3xh50ivMHXQ7MVVgCqw@mail.gmail.com> (view parent)
Sender timestamp
1399556141
DKIM signature
missing
Download raw message
On Wed, 30 Apr 2014 14:45:56 -0300
Alan Messias <alancordeiro@gmail.com> 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


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20140508155544.70b69dc2@ncopa-desktop.alpinelinux.org>
In-Reply-To
<CAFaTuVbvzci-scDaXaRHJH_v0+aZrRKB8N_5v74N9V=FiYNYzA@mail.gmail.com> (view parent)
Sender timestamp
1399557344
DKIM signature
missing
Download raw message
On Thu, 8 May 2014 10:43:28 -0300
Alan Messias <alancordeiro@gmail.com> wrote:

> 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.

I cannot argue against that :) Good point.

But I'll drop the 'mie' short-command.

Thanks!

-nc


> 
> :wq!
> alacerda
> 
> 
> 
> On Thu, May 8, 2014 at 10:35 AM, Natanael Copa <ncopa@alpinelinux.org>wrote:
> 
> > On Wed, 30 Apr 2014 14:45:56 -0300
> > Alan Messias <alancordeiro@gmail.com> 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"*



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)