12
A Tale Of rpm Packages and Repositories Aditya Patawari Presented by A month old System Admin Trainee License statement goes here. Koji and Pulp: The rpm Saga

Koji and pulp

Embed Size (px)

DESCRIPTION

An intro to Koji and Pulp which I presented at Directi Internet Solutions.

Citation preview

Page 1: Koji and pulp

A Tale Of rpm Packages and Repositories

Aditya PatawariPresented by

A month old System Admin Trainee

License statement goes here.

Koji and Pulp: The rpm Saga

Page 2: Koji and pulp

Today's Topics

1.Koji

a) What is Koji?

b) Why should we use Koji?

c) How do I use it?

2. Pulp

a) What is Pulp?

b) Why should I use Pulp?

c) How do I use Pulp?

3. CentOS has weird Errata Management!

Page 3: Koji and pulp

Koji

Page 4: Koji and pulp

What is Koji•rpm building automation tool

•Central place to check out the logs

•Uses Mock, rpm-build, createrepo, yum

•Create a chroot for every build

•Used by Red Hat, Fedora Project, CERN etc.

Page 5: Koji and pulp

Why Should We Use Koji•Central view of build logs

•Packages stored and assigned to the builder

•Configurable repo for each tag

•Different for different teams

•Minimal pre-installed packages in mock

•Dependency resolution using yum

Page 6: Koji and pulp

How do I use Koji•Kojihub: write to file system, assign tasks

•Kojira: Repo admin, merge repos

•Kojid: Actual builder, runs mock, polls kojihub

•Kojiweb: The web frontend for logs and tasks

•Koji: CLI tool for managing tasks, users, repos

DEMO

Page 7: Koji and pulp

Pulp

Page 8: Koji and pulp

What is Pulp?•Python app for repo management

•Can handle both on-site and online repos

•LDAP integration possible

Page 9: Koji and pulp

Why Do I Use Pulp?•Mirror Repos

•Manage erratas

•Push updates to all/a group of consumers

•Different repos for different consumers

•Remotely install packages

Page 10: Koji and pulp

How Do I Use Pulp

No Weird Terminology here!

Let us go to DEMO

Page 11: Koji and pulp

CentOS has WEIRD errata•Traditional:

• repomd.xml has updateinfo.xml.gz

• updateinfo.xml.gz has location and info on errata

•CentOS:

• Mailing List!

• No Automation!

• Do it Yourself

Welcome centos-errata-builder.py ;)

Page 12: Koji and pulp

Questions?

Licensed under WTFPL :P

[email protected]: