Re: DebPPA: Debian Personal Package Archive

2007-08-31 Thread Bas Wijnen
On Fri, Aug 31, 2007 at 03:40:01AM +0200, Ondrej Certik wrote:
> Hi,

Hi,

> I would like to create something like the Ubuntu Personal Package
> Archive (PPA), but for Debian.

I don't know that, so I'm only responding to your description.

> It's written in Django (Python) and my idea is to have a simple web
> page, like PPA has, I will create a source package, upload it, compile
> it by clicking on one button (it will use pbuilder/cowbuilder,
> compiles for several architectures), it will show the lintian/linda
> report, another button will run the package in piuparts.  Then it will
> contain an apt-gettable archive of source and binary packages.

That sounds useful.

> So I'll install the "debppa" packge (ideally using one command)

apt-get install debppa?

> Currently the code can import packages, can compile them in cowbuilder
> (so only the server's architecture can be produced),

Many Debian packages aren't designed to support cross-compilation.
Currently the only way to reliably build for multiple architectures is
to build on multiple architectures.

> show the logs, creates and automatically updates the Debian archive of
> binary packages. There are still some small issues, that need to be
> fixed and polished.

Sounds good.

> In the future, I'd like to have these features:
> 
>   * if the same package is in the unstable, it will show a link to the
> Debian package page, together with a diff file, that I can just send
> to the repective BTS for the package and everyone can just see it and
> apply it himself

That is extremely useful IMO.  When fixing bugs in a package, you have
to test them anyway, so this system would be used (by people who like
it) for that.  The trouble of making a diff with the original package
and sending it to the BTS can be avoided and I think that would make
sending patches much easier.  Not that the steps are hard to do, but
automating repetitive work is always good. :-)

> What is your opinion about this?
> 
> Let me know, if any of you would be interested in such a thing, or
> even willing to help me with that.

I like the idea.  I'm also willing to help a bit, although like many
people, I'm a bit short on available time. ;-)

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://pcbcn10.phys.rug.nl/e-mail.html


signature.asc
Description: Digital signature


Re: DebPPA: Debian Personal Package Archive

2007-08-31 Thread Ondrej Certik
> > So I'll install the "debppa" packge (ideally using one command)
>
> apt-get install debppa?

Exactly like this when I get it to Debian. Ideally, there shouldn't be
any other setup, one would just start a command, let's say debppa, or
/etc/init.d/debppa start, and could immedatelly use it on the local
machine. Plus it would of course support a way, how to integrate it in
apache, but that would probably require some manual editing.

> > Currently the code can import packages, can compile them in cowbuilder
> > (so only the server's architecture can be produced),
>
> Many Debian packages aren't designed to support cross-compilation.
> Currently the only way to reliably build for multiple architectures is
> to build on multiple architectures.

I didn't know that. Well, in this case, it should automate the process
as well. It's very boring to create and test the package let's say on
my laptop, then to copy it to amd64 machine, compile it again, etc. If
I have a ssh account, the debppa would then log in to the amd64
machine, copy the package, build it, copy the result back (including
log), put that in archive.

> That is extremely useful IMO.  When fixing bugs in a package, you have
> to test them anyway, so this system would be used (by people who like
> it) for that.  The trouble of making a diff with the original package
> and sending it to the BTS can be avoided and I think that would make
> sending patches much easier.  Not that the steps are hard to do, but
> automating repetitive work is always good. :-)

Exactly. I think many people, including me, are fixing things for
themselves, but don't have time, to properly create a patch, send it,
etc. All of this can be automated.

> I like the idea.  I'm also willing to help a bit, although like many
> people, I'm a bit short on available time. ;-)

Awesome. Unfortunately, it's rather a prototype know, still needs a
lot of work.

But I'd like to bring it to a usable state, get it to Debian, so that
everyone can easily use it, locally on their machines, with extremely
simple, or zero setup. If the package is robust, maybe there will be
someone with resources, who will start debppa for others, like Ubuntu
PPA is doing.

Ondrej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DebPPA: Debian Personal Package Archive

2007-09-06 Thread Ondrej Certik
> Many Debian packages aren't designed to support cross-compilation.
> Currently the only way to reliably build for multiple architectures is
> to build on multiple architectures.

I just found a "qemubuilder" packages, from the same author as
pbuilder and cowbuilder and can build packages for different platforms
using qemu. That's awesome.

Ondrej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]