Katello with debian repositories

Hi all,
here at ATIX-AG (Munich), we started to implement the necessary steps, to integrate Debian/Ubuntu repositories in Katello's content management system.
Since we reached a point of minimal functionality, we thought, we could share our progress with the community.
Since a handfull of software stacks are involved in the problem, modifications to no less than three projects were necessary.

With the following combinations of the branches we can sync and publish the stable release of a debian repository:

Since we added some debian archive specific filters for releases, components and architectures in pulp_deb,
the next step will be to implement the corresponding configuration options in the Katello UI.

We would be happy if anyone were willing to test this and comment on it.
Matthias and the ATIX crew

··· -- ATIX - The Linux & Open Source Company http://www.atix.de
1 Like

This is great! Pulp 2.14 will include the pulp_deb plugin for the first
time. We expect to have a beta of 2.14 this week.

··· On Tuesday, July 18, 2017 at 4:43:27 AM UTC-4, Matthias Dellweg wrote: > > Hi all, > here at ATIX-AG (Munich), we started to implement the necessary steps, to > integrate Debian/Ubuntu repositories in Katello's content management > system. > Since we reached a point of minimal functionality, we thought, we could > share our progress with the community. > Since a handfull of software stacks are involved in the problem, > modifications to no less than three projects were necessary. > > With the following combinations of the branches we can sync and publish > the stable release of a debian repository: > * https://github.com/ATIX-AG/katello/tree/feature/add_deb_repository_type > * https://github.com/ATIX-AG/runcible/tree/feature/add_deb_type > * https://github.com/ATIX-AG/pulp_deb/tree/feature/sync_release_structure > > Since we added some debian archive specific filters for releases, > components and architectures in pulp_deb, > the next step will be to implement the corresponding configuration options > in the Katello UI. > > We would be happy if anyone were willing to test this and comment on it. > Matthias and the ATIX crew > > -- > ATIX - The Linux & Open Source Company > http://www.atix.de >

This is awesome!

Would you be willing to open Pull requests against the main projects for
easier review?

-Justin

··· On 07/18/2017 04:43 AM, Matthias Dellweg wrote: > Hi all, > here at ATIX-AG (Munich), we started to implement the necessary steps, to integrate Debian/Ubuntu repositories in Katello's content management system. > Since we reached a point of minimal functionality, we thought, we could share our progress with the community. > Since a handfull of software stacks are involved in the problem, modifications to no less than three projects were necessary. > > With the following combinations of the branches we can sync and publish the stable release of a debian repository: > * https://github.com/ATIX-AG/katello/tree/feature/add_deb_repository_type > * https://github.com/ATIX-AG/runcible/tree/feature/add_deb_type > * https://github.com/ATIX-AG/pulp_deb/tree/feature/sync_release_structure > > Since we added some debian archive specific filters for releases, components and architectures in pulp_deb, > the next step will be to implement the corresponding configuration options in the Katello UI. > > We would be happy if anyone were willing to test this and comment on it. > Matthias and the ATIX crew > > -- > ATIX - The Linux & Open Source Company > http://www.atix.de >

This is awesome, thanks guys! Deb support for Katello has been on my
wishlist for a long time. In case you didn't see it, Leah Fisher was
working on something similar, albeit using the basic "file" type for
Pulp - a blog post was started at [1] but hasn't been finished yet. I
mention it mainly for context, since you've gone a different route :slight_smile:

Looking forward to seeing the comments from the Katello devs. Assuming
all is well, we should do a deep dive into getting it set up and
working so that more people can test it for you.

[1] https://github.com/theforeman/theforeman.org/pull/872

Cheers
Greg

Thanks for the compliments!

Actually, the pulp_deb part is an active pull request 'https://github.com/pulp/pulp_deb/pull/24'.
It's features can be tested with the pulp-admin command.
The Katello part however is not ready to be merged anywhere.
Is it complicated to do the reviews against our repositories?

Matthias

··· ----- Original Message ----- From: "Justin Sherrill" To: "foreman-dev" Sent: Tuesday, July 18, 2017 3:34:13 PM Subject: Re: [foreman-dev] Katello with debian repositories

This is awesome!

Would you be willing to open Pull requests against the main projects for
easier review?

-Justin

On 07/18/2017 04:43 AM, Matthias Dellweg wrote:

Hi all,
here at ATIX-AG (Munich), we started to implement the necessary steps, to integrate Debian/Ubuntu repositories in Katello’s content management system.
Since we reached a point of minimal functionality, we thought, we could share our progress with the community.
Since a handfull of software stacks are involved in the problem, modifications to no less than three projects were necessary.

With the following combinations of the branches we can sync and publish the stable release of a debian repository:

Since we added some debian archive specific filters for releases, components and architectures in pulp_deb,
the next step will be to implement the corresponding configuration options in the Katello UI.

We would be happy if anyone were willing to test this and comment on it.
Matthias and the ATIX crew


ATIX - The Linux & Open Source Company
http://www.atix.de

> Thanks for the compliments!
>
> Actually, the pulp_deb part is an active pull request '
> https://github.com/pulp/pulp_deb/pull/24'.
> It's features can be tested with the pulp-admin command.
> The Katello part however is not ready to be merged anywhere.
> Is it complicated to do the reviews against our repositories?
>

A bit - and a PR does not mean it has to be merged. You can mark it as WIP.
I too am excited to see this work being tackled and would request PRs to
make review and cycle of it easier. Plus, this makes awareness easier too.

E

··· On Tue, Jul 18, 2017 at 11:50 AM, Matthias Dellweg wrote:

Matthias

----- Original Message -----
From: “Justin Sherrill” jsherril@redhat.com
To: “foreman-dev” foreman-dev@googlegroups.com
Sent: Tuesday, July 18, 2017 3:34:13 PM
Subject: Re: [foreman-dev] Katello with debian repositories

This is awesome!

Would you be willing to open Pull requests against the main projects for
easier review?

-Justin

On 07/18/2017 04:43 AM, Matthias Dellweg wrote:

Hi all,
here at ATIX-AG (Munich), we started to implement the necessary steps,
to integrate Debian/Ubuntu repositories in Katello’s content management
system.
Since we reached a point of minimal functionality, we thought, we could
share our progress with the community.
Since a handfull of software stacks are involved in the problem,
modifications to no less than three projects were necessary.

With the following combinations of the branches we can sync and publish
the stable release of a debian repository:

Since we added some debian archive specific filters for releases,
components and architectures in pulp_deb,
the next step will be to implement the corresponding configuration
options in the Katello UI.

We would be happy if anyone were willing to test this and comment on it.
Matthias and the ATIX crew


ATIX - The Linux & Open Source Company
http://www.atix.de


You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Eric D. Helms
Red Hat Engineering

convinced by public request:

hope this helps.

Matthias

··· ----- Original Message ----- From: "Eric D Helms" To: "foreman-dev" Sent: Tuesday, July 18, 2017 6:14:41 PM Subject: Re: [foreman-dev] Katello with debian repositories

On Tue, Jul 18, 2017 at 11:50 AM, Matthias Dellweg dellweg@atix.de wrote:

Thanks for the compliments!

Actually, the pulp_deb part is an active pull request ‘
https://github.com/pulp/pulp_deb/pull/24’.
It’s features can be tested with the pulp-admin command.
The Katello part however is not ready to be merged anywhere.
Is it complicated to do the reviews against our repositories?

A bit - and a PR does not mean it has to be merged. You can mark it as WIP.
I too am excited to see this work being tackled and would request PRs to
make review and cycle of it easier. Plus, this makes awareness easier too.

E

Matthias

----- Original Message -----
From: “Justin Sherrill” jsherril@redhat.com
To: “foreman-dev” foreman-dev@googlegroups.com
Sent: Tuesday, July 18, 2017 3:34:13 PM
Subject: Re: [foreman-dev] Katello with debian repositories

This is awesome!

Would you be willing to open Pull requests against the main projects for
easier review?

-Justin

On 07/18/2017 04:43 AM, Matthias Dellweg wrote:

Hi all,
here at ATIX-AG (Munich), we started to implement the necessary steps,
to integrate Debian/Ubuntu repositories in Katello’s content management
system.
Since we reached a point of minimal functionality, we thought, we could
share our progress with the community.
Since a handfull of software stacks are involved in the problem,
modifications to no less than three projects were necessary.

With the following combinations of the branches we can sync and publish
the stable release of a debian repository:

Since we added some debian archive specific filters for releases,
components and architectures in pulp_deb,
the next step will be to implement the corresponding configuration
options in the Katello UI.

We would be happy if anyone were willing to test this and comment on it.
Matthias and the ATIX crew


ATIX - The Linux & Open Source Company
http://www.atix.de


You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Eric D. Helms
Red Hat Engineering


You received this message because you are subscribed to the Google Groups “foreman-dev” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi guys

I’m using “foreman-1.17.0-0.3.RC1” with “katello-3.6.0-2.rc1”.

I’m trying to build a Debian repository on Foreman and I’m not succeeding.

Any documentation that shows how to create?

I see that it already has support for * .deb files when it comes to putting together a new product / repository.

Thanks for the help.

Hi,

its like the same as for yum :slight_smile: Do you have a error message? What exactly are you trying to do?

Best regards,
Bernhard

I would like a howto that would show how to create the repository in the foreman

Its pretty easy:

URL: http://ftp.debian.org/debian
Component: main
Release: stable
Architecture: amd64

Hi, Foremansss.

Its possible, packets sync deb with smart-proxy between locations?

Tks

We never tried. At least for debian security there is an issue [0] preventing this. For others (without extra ‘/’) it should work.

[0] https://github.com/pulp/pulp_deb/pull/52