JesseKeating/KojiPersonalRepos

From FedoraProject

Jump to: navigation, search

Contents

Koji Personal Repos

Overview

Koji Personal Repos (KoPeR) is a concept to allow Fedora maintainers to create personal repos of packages to build against and share with others.

Usage Case

Resources

A Fedora maintainer would be alloted up to 1GiB of storage for package repos. Packages can be built for any arch Fedora builds for (but doesn't have to be all of them). koper repos would have repoview content for easy browsing and subscribing to changes.

Work Flow

  1. Bob requests his account becomes koper capable.
  2. Bob constructs an srpm of gtk2
  3. Bob issues a command (koper build "gtk2newness" gtk2.src.rpm ?) to build the gtk2 package.
  4. Koji creates a buildroot based upon the rawhide collection and any packages in Bob's "gtknewness" koper.
  5. Koji builds Bob's gtk2
  6. $TOOL takes the koji built package and adds it to Bob's "gtknewness" koper, recreating yum repodata and repoview content.
  7. Bob proceeds to create srpms for various other packages and builds them in koji against his "gtknewness" koper.
  8. Bob shares his "gtknewness" koper with the world
  9. Bob creates a Desktop Live image based on rawhide and his "gtknewness" koper and shares that with the world too.
  10. Bob fixes bugs with his gtk2 and continues to do builds until everybody is happy
  11. Bob commits his gtk2 changes to package SCM and does a normal koji build.
  12. Bob profits.

Content

Content within ones koper(s) must be content acceptable for distribution within Fedora.

Changes Needed

To create a koper system various tools in the Fedora infrastructure would need to have changes made to them.

Koji

In order to build packages against a koper, koji would need to gain the ability to reference external yum repos for (at least) scratch builds.

fedorapeople.org

In order to support kopers, fedorapeople.org would need to be able to:

Trademark Guidelines

We'd like to enable people to make development like spins of Fedora that include content from kopers. Since all content in kopers has to adhere to Fedora's guidelines it should be safe. We just need terms in the trademark that allow for this kind of spin creation and sharing so that these people don't have to spend time re-branding and can focus more on development.

New Tools

A few new tools might be needed for dealing with kopers.

Tool to build

A script or make target would be needed to initiate a koper build. This is necessary to tell koji what koper to build against, as well as to get the results of the built added to said koper.

Tool to add to koper

A tool would be needed to take the koji scratch build output and add it to ones koper, signaling fedorapeople.org to create repodata and repoview content. It should be able to replace older builds of the same package to save quota space. This tool could also be used to add already built packages to an existing koper without having to go through a koji build.

Version 2.0

Here are some thoughts for future enhancements once we prove that we can walk.

Comments

If you wish to leave a comment about this concept, you can do here. I'll try to address them as I can.