Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

extras vs. extras-devel: how to handle new bindings and developer packages in Fremantle?

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


anderson.lizardo at openbossa

Nov 6, 2009, 5:18 AM

Post #1 of 4 (521 views)
Permalink
extras vs. extras-devel: how to handle new bindings and developer packages in Fremantle?

Hi,

As some of you might know, the PyMaemo team maintains various bindings
and development tools for Python that are used to develop user
applications. I mean, core Python packages such as pygtk,
python-hildon and python-hildondesktop. Therefore it can be said the
we provide a "Python SDK for Maemo".

Until Diablo, we followed the policy to promote all PyMaemo packages
(even developer tools) to extras, and ask developers to add the
"extras" repository to the scratchbox target's /etc/apt/sources.list,
as a prerequisite for Python development on Maemo.

This worked nicely because we had the freedom to upload any kind of
package (user level or not) to extras. Of course, they did not appear
on the tablet's application manager because they were not in the
user/* sections.

But for Fremantle this is not the case anymore, due to the new QA
process (which I personally like, although it needs some more
polishing, already being discussed on the list). The QA seems to be
very GUI/user centered, from what I can read from the instructions on
the wiki.

So how should we handle developer tools in Fremantle? I see some options:

A) keep packages in extras-devel and instruct developers to add
"extras-devel" repository to their sources.list (in the scratchbox
targets)
B) Let dev tools go through extras, maybe into a special non-user
section (so they don't appear on the application manager). Then
instruct developers to add the "extras" repository to scratchbox
instead.
C) create a separate repository for developer tools, just like there
is the official SDK tools repository. The instruct the developer to
add this new repository into their sources.list (or even better, have
it already enabled by default in the SDK rootstraps).

On a related issue, It seems unclear to me where to upload things like
new Python bindings to be used by developers. So far the "auto
promotion of dependencies" approach has worked for *existing* bindings
(such as pygtk, python-hildon), but what about the new bindings that
have not yet been used by any application (and thus are only in
extras-devel)?

To illustrate the problem, I list below the PyMaemo packages which are
not yet in extras-testing/extras, due to the reasons explained above.

These packages provide Python bindings/extensions not yet used by any
user applications in fremantle extras-testing queue nor extras,
therefore were not "auto promoted":

pybluez - Python bindings for BlueZ (bluetooth stack)
pyopenssl - Python bindings for OpenSSL
python-conic - Python bindings for Internet Connectivity library
python-mafw - Python bindings for MAFW
storm - Database access module for Python

The main problem with above packages is: how will the developer begin
using them if they are not on extras?

These packages are developer tools, used only on Build-Depends, and
therefore will never be auto promoted:

cython
pyrex
python-setuptools
python-runtime (metapackage which pulls some more popular PyMaemo
components for quick & easy development start)

Ideas?

Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


andrew at bleb

Nov 6, 2009, 9:28 AM

Post #2 of 4 (490 views)
Permalink
Re: extras vs. extras-devel: how to handle new bindings and developer packages in Fremantle? [In reply to]

Anderson wrote:
>
>
> On a related issue, It seems unclear to me where to upload things like
> new Python bindings to be used by developers. So far the "auto
> promotion of dependencies" approach has worked for *existing* bindings
> (such as pygtk, python-hildon), but what about the new bindings that
> have not yet been used by any application (and thus are only in
> extras-devel)?

Python (and other apps which may have a library) developers should look in extras-devel before porting it themselves?

Arguably, developers should only have -devel in their SDK sources.list as this is what the auto-builder will compile against.

I see no need to promote developer dependencies separately, as any app relying on them will have to go through -devel anyway.

Cheers,

Andrew

--
Andrew Flegg -- mailto:andrew [at] bleb  |  http://www.bleb.org/

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


khertan at khertan

Nov 7, 2009, 3:15 AM

Post #3 of 4 (483 views)
Permalink
Re: extras vs. extras-devel: how to handle new bindings and developer packages in Fremantle? [In reply to]

2009/11/6 Andrew Flegg <andrew [at] bleb>:
> Anderson wrote:
>>
>>
>> On a related issue, It seems unclear to me where to upload things like
>> new Python bindings to be used by developers. So far the "auto
>> promotion of dependencies" approach has worked for *existing* bindings
>> (such as pygtk, python-hildon), but what about the new bindings that
>> have not yet been used by any application (and thus are only in
>> extras-devel)?
>
> Python (and other apps which may have a library) developers should look in extras-devel before porting it themselves?
>
> Arguably, developers should only have -devel in their SDK sources.list as this is what the auto-builder will compile against.
>
> I see no need to promote developer dependencies separately, as any app relying on them will have to go through -devel anyway.
>
> Cheers,
>
> Andrew
>
> --
> Andrew Flegg -- mailto:andrew [at] bleb  |  http://www.bleb.org/
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>

"I see no need to promote developer dependencies separately, as any
app relying on them will have to go through -devel anyway."

So it s mean that people who want doing some python script on their
maemo device need to activate before extras-devel repository ? I'm not
sure this is the best idea ...

I think it should be promoted to extras...
But currently the people testing complain about promoting things into
extras which are not gui things ....

And adding repository mean asking to user which want to use this yet
unused binding to add an other repository ? we will be back to the
repository mess we know some years ago.

Cheers,

--
Benoît HERVIER - http://khertan.net/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


andrew at bleb

Nov 7, 2009, 6:22 AM

Post #4 of 4 (481 views)
Permalink
Re: extras vs. extras-devel: how to handle new bindings and developer packages in Fremantle? [In reply to]

2009/11/7 Benoît HERVIER <khertan [at] khertan>:
> 2009/11/6 Andrew Flegg <andrew [at] bleb>:
>>
>> I see no need to promote developer dependencies separately, as any app
>> relying on them will have to go through -devel anyway.
>
> So it s mean that people who want doing some python script on their
> maemo device need to activate before extras-devel repository ? I'm not
> sure this is the best idea ...

I'm not following what you're arguing for. Python is in Extras, -devel
and -testing. Are you saying that random Python bindings - unused for
any particular application (and therefore untested and untestable)
should be promoted on their own; to allow advanced users to install
them and develop Python apps on their tablets?

Developers can enable -devel and use apt-get. Ideally, they'd turn it
off again afterwards. What's the problem?

> But currently the people testing complain about promoting things into
> extras which are not gui things ....

People have complained about non-GUI apps in "user/".

> And adding repository mean asking to user which want to use this yet
> unused binding to add an other repository ? we will be back to the
> repository mess we know some years ago.

* Most people will have 1 repository (Extras).
* People willing to test and help with community QA will have 2 (although
it might as well be one): Extras-testing and Extras.
* People /developing/ applications on their tablets directly can have
3: Extras-devel, Extras-testing and Extras.

Also, each repository is a subset of the other; how is this similar to
the repositiory mess?

Cheers,

Andrew

--
Andrew Flegg -- mailto:andrew [at] bleb | http://www.bleb.org/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.