mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Package List
@ 2013-10-02  7:37 Erwin Rol (Mailinglists)
  2013-10-02  8:40 ` Jürgen Beisert
  0 siblings, 1 reply; 5+ messages in thread
From: Erwin Rol (Mailinglists) @ 2013-10-02  7:37 UTC (permalink / raw)
  To: ptxdist

Hey all,


is there an easy (or not so easy) way to generate an (machine parsable)  
list of all selected packages and all info about those packages that is  
stored in the  _VERSION , _LICENCE and _SRC variables?

TIA,

Erwin

-- 
Erwin Rol

email: erwin@erwinrol.com
www: www.erwinrol.com
tel: +31-72-5067780
skype: lowlndr

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] Package List
  2013-10-02  7:37 [ptxdist] Package List Erwin Rol (Mailinglists)
@ 2013-10-02  8:40 ` Jürgen Beisert
  2013-10-02 11:27   ` Erwin Rol (Mailinglists)
  0 siblings, 1 reply; 5+ messages in thread
From: Jürgen Beisert @ 2013-10-02  8:40 UTC (permalink / raw)
  To: ptxdist


On Wednesday 02 October 2013 09:37:56 Erwin Rol (Mailinglists) wrote:
> is there an easy (or not so easy) way to generate an (machine parsable)
> list of all selected packages and all info about those packages that is
> stored in the  _VERSION , _LICENCE and _SRC variables?

Getting the list of selected packages is simple:

ptxdist print PACKAGES-y
ptxdist print HOST_PACKAGES-y
ptxdist print CROSS_PACKAGES-y

But no idea how to create the variable names from the resulting list to get the 
_VERSION aso content.

Maybe Marc or Michael have an idea.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] Package List
  2013-10-02  8:40 ` Jürgen Beisert
@ 2013-10-02 11:27   ` Erwin Rol (Mailinglists)
  2013-10-02 11:47     ` Alexander Stein
  0 siblings, 1 reply; 5+ messages in thread
From: Erwin Rol (Mailinglists) @ 2013-10-02 11:27 UTC (permalink / raw)
  To: ptxdist, Jürgen Beisert

OK that works, I can get all the info I need, but it is _extremely_ slow,  
cause for every variable I have to call ptxdsit print and that takes about  
2 seconds per call. For a list with about 100 packages it takes about 15  
minutes before I collected all the information I need.

Is there a way to speed that up?

- Erwin

On Wed, 02 Oct 2013 10:40:16 +0200, Jürgen Beisert <jbe@pengutronix.de>  
wrote:

>
> On Wednesday 02 October 2013 09:37:56 Erwin Rol (Mailinglists) wrote:
>> is there an easy (or not so easy) way to generate an (machine parsable)
>> list of all selected packages and all info about those packages that is
>> stored in the  _VERSION , _LICENCE and _SRC variables?
>
> Getting the list of selected packages is simple:
>
> ptxdist print PACKAGES-y
> ptxdist print HOST_PACKAGES-y
> ptxdist print CROSS_PACKAGES-y
>
> But no idea how to create the variable names from the resulting list to  
> get the
> _VERSION aso content.
>
> Maybe Marc or Michael have an idea.
>
> jbe
>


-- 
Erwin Rol

email: info@erwinrol.com
www: www.erwinrol.com

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] Package List
  2013-10-02 11:27   ` Erwin Rol (Mailinglists)
@ 2013-10-02 11:47     ` Alexander Stein
  2013-10-02 11:57       ` Erwin Rol (Mailinglists)
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Stein @ 2013-10-02 11:47 UTC (permalink / raw)
  To: ptxdist

Hello,

On Wednesday 02 October 2013 13:27:37, Erwin Rol wrote:
> OK that works, I can get all the info I need, but it is _extremely_ slow,  
> cause for every variable I have to call ptxdsit print and that takes about  
> 2 seconds per call. For a list with about 100 packages it takes about 15  
> minutes before I collected all the information I need.
> 
> Is there a way to speed that up?

Why not extending ptxdist print to accept arbitrary amount of variables? I think the most time goes into building all variables while printing them should be fast.

Best regards,
Alexander


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] Package List
  2013-10-02 11:47     ` Alexander Stein
@ 2013-10-02 11:57       ` Erwin Rol (Mailinglists)
  0 siblings, 0 replies; 5+ messages in thread
From: Erwin Rol (Mailinglists) @ 2013-10-02 11:57 UTC (permalink / raw)
  To: ptxdist, Alexander Stein

On Wed, 02 Oct 2013 13:47:32 +0200, Alexander Stein  
<alexander.stein@systec-electronic.com> wrote:

> Hello,
>
> Why not extending ptxdist print to accept arbitrary amount of variables?  
> I think the most time goes into building all variables while printing  
> them should be fast.

Sounds like a plan, but I am afraid the argument list will get to long.

Is there a way to dump all the variables with their content into a file ?

-- 
Erwin Rol

email: info@erwinrol.com
www: www.erwinrol.com

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-02 11:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-02  7:37 [ptxdist] Package List Erwin Rol (Mailinglists)
2013-10-02  8:40 ` Jürgen Beisert
2013-10-02 11:27   ` Erwin Rol (Mailinglists)
2013-10-02 11:47     ` Alexander Stein
2013-10-02 11:57       ` Erwin Rol (Mailinglists)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox