Project

Profile

Help

Task #3371

Support OSTree in pulp3.

Added by jortel@redhat.com over 2 years ago. Updated about 1 year ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - OSTree:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:

Description

Overview

Add a pulp3 plugin to support OSTree. Most of the heavy lifting can be canablized from the pulp2 plugin.
Mainly just need to:

  • Port mongoengine models to django models.
  • Add django scaffolding (viewset, serializers, etc).
  • Port code from Steps to tasks.
  • Directly reuse the libostree (lib) module.

Model

Metadata(GenericKeyValueModel):

Remote(Model):
"This is a local OSTree repository where everything is stored."

  • url (CharField)
  • storage_path (CharField)

Commit(Model):

  • hash (CharField)
  • metadata (GenericKeyValueRelation) => Metadata (cascade)
  • remote (ForeignKey) => Remote (cascade)

Ref (Model):

  • path (CharField)
  • commit (ForeignKey) => Commit (cascade)
  • remote (ForeignKey) => Remote (cascade)

Branch(Content):

  • ref (ForeignKey) => Ref (protect)

RemoteSummary(Model):

  • remote (ForeignKey) => Remote (protect)
  • repository (ForeignKey) => Repository (cascade)
  • ref (ForeignKey) => Ref (protect)

Questions:

  • How do orphaned refs, commits and remotes get cleaned up?

Checklist

History

#1 Updated by jortel@redhat.com over 2 years ago

  • Description updated (diff)

#2 Updated by jortel@redhat.com over 2 years ago

  • Description updated (diff)

#3 Updated by jortel@redhat.com over 2 years ago

  • Description updated (diff)

#4 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF