Re: ratt as a service?

2020-03-23 Thread Alexandre Viau
I've made some progress on a service for this during a GSOC project:
 - https://salsa.debian.org/autodeb-team/autodeb-packaging
- https://auto.debian.net/ (expired ssl cert - sorry)

Managing a service like this takes a lot of energy and time. GSOC
would allow me to work on it full time, but I could never find the
time to manage it outside of that.

I'd be willing to give tips to anyone who would want to pick it up, or
give ideas if you decide to start fresh.

I'd even be willing to mentor a GSOC project on it.

Cheers,

--
Alexandre Viau
av...@debian.org



Re: ratt as a service?

2020-03-23 Thread Giovanni Mascellani
Hi,

Il 23/03/20 01:33, Sandro Tosi ha scritto:
> So i'm wondering if Debian should offer a service where:
> 
> * a developer (as someone with a gpg key in the debian keyring, at
> least at first) uploads a binary .changes file (so source + binary
> packages, built locally) to a new dput upload queue
> * ratt is executed against that package reverse dependencies
> * when the run is completed, a recap email is sent to the Changed-By
> address with the list of fail/success
> * also a web interface to track the progress of the rebuild & read the
> build logs.

As a maintainer of Boost (hundreds of rev deps, including pretty large
stuff), I would not dislike something like that. For the moment I am
managing to use some scripts of my own to distribute the build on a few
computers, some of which are kindly offered by friends of mine. It is
not an ideal situation.

Giovanni.
-- 
Giovanni Mascellani 
Postdoc researcher - Université Libre de Bruxelles



signature.asc
Description: OpenPGP digital signature


Re: ratt as a service?

2020-03-22 Thread Shengjing Zhu
On Mon, Mar 23, 2020 at 8:34 AM Sandro Tosi  wrote:
>
> Hello,
> ratt (rebuild all the things, https://packages.debian.org/sid/ratt) is
> really interesting but it's sometimes hard to use effectively on
> personal resources: some packages have tens, if not hundreds of
> reverse dependencies, and running ratt for them on your laptop is just
> not feasible.
>
> So i'm wondering if Debian should offer a service where:
>
> * a developer (as someone with a gpg key in the debian keyring, at
> least at first) uploads a binary .changes file (so source + binary
> packages, built locally) to a new dput upload queue
> * ratt is executed against that package reverse dependencies
> * when the run is completed, a recap email is sent to the Changed-By
> address with the list of fail/success
> * also a web interface to track the progress of the rebuild & read the
> build logs.
>
> this could be scaled pretty easily with multiple backend "builders"
> (and we can put limits in place to reduce concurrency, like one
> package per developer only etc etc)

This is especially useful for some teams, like pkg-go team.  Most
ftbfs can't be found except rebuilding all the reverse dependecies.
This is probably why stapelberg implemented this.
If there's a such service, I hope it can be integrated with salsa, and
be triggered when you push.
However if it's been widely used, I would concern how to build more
efficiently and cache friendly.

-- 
Shengjing Zhu



Re: ratt as a service?

2020-03-22 Thread Paul Wise
On Mon, Mar 23, 2020 at 1:42 AM Sandro Tosi wrote:

> hmmm, i'm not sure about that, comments below

Sure, neither exactly match right now, but could potentially be
tweaked to do what you want.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



Re: ratt as a service?

2020-03-22 Thread Sandro Tosi
> This sounds similar to a couple of other things:

hmmm, i'm not sure about that, comments below

> The archive testing that Lucas Nussbaum does using donated cloud resources:

this is archive-wide and executed seldomly, not on a per-package,
on-demand basis

> https://wiki.debian.org/qa.debian.org/ArchiveTesting
>
> Luca Falavigna's Deb-o-Matic service:
>
> https://debomatic.github.io/
> http://debomatic-amd64.debian.net/
> http://debomatic-amd64.debian.net/commands

i dont use this service, but from the documentation it looks like it
helps to build a new package, not to test its reverse dependencies
after it's built?


Regards,
--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi



Re: ratt as a service?

2020-03-22 Thread Paul Wise
On Mon, Mar 23, 2020 at 12:34 AM Sandro Tosi wrote:

> thoughts?

This sounds similar to a couple of other things:

The archive testing that Lucas Nussbaum does using donated cloud resources:

https://wiki.debian.org/qa.debian.org/ArchiveTesting

Luca Falavigna's Deb-o-Matic service:

https://debomatic.github.io/
http://debomatic-amd64.debian.net/
http://debomatic-amd64.debian.net/commands

--
bye,
pabs

https://wiki.debian.org/PaulWise



ratt as a service?

2020-03-22 Thread Sandro Tosi
Hello,
ratt (rebuild all the things, https://packages.debian.org/sid/ratt) is
really interesting but it's sometimes hard to use effectively on
personal resources: some packages have tens, if not hundreds of
reverse dependencies, and running ratt for them on your laptop is just
not feasible.

So i'm wondering if Debian should offer a service where:

* a developer (as someone with a gpg key in the debian keyring, at
least at first) uploads a binary .changes file (so source + binary
packages, built locally) to a new dput upload queue
* ratt is executed against that package reverse dependencies
* when the run is completed, a recap email is sent to the Changed-By
address with the list of fail/success
* also a web interface to track the progress of the rebuild & read the
build logs.

this could be scaled pretty easily with multiple backend "builders"
(and we can put limits in place to reduce concurrency, like one
package per developer only etc etc)

Maybe it's something that could be done as a GSOC project (I'm not
volunteering to mentor this project).

thoughts?

Regards,
-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi