Project

General

Profile

Bug #11612

OSTree content unit count not updating on repo details page after sync

Added by David Davis about 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Related issues

Blocks Katello - Tracker #10034: Atomic Content & Provision Support Katello/ForemanNew

Associated revisions

Revision d1285151 (diff)
Added by Partha Aji over 4 years ago

Fixes #11612 - Shows ostree branches for a repo

This commit updates the base model for ostree and its repositories.
It also includes UI changes to display the branches available for an
ostree repo

History

#1 Updated by David Davis about 5 years ago

  • Blocks Tracker #10034: Atomic Content & Provision Support Katello/Foreman added

#2 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) set to 70
  • Triaged changed from No to Yes

#3 Updated by Justin Sherrill about 5 years ago

  • Legacy Backlogs Release (now unused) changed from 70 to 86

#4 Updated by David Davis almost 5 years ago

what's the status on this?

#5 Updated by Partha Aji almost 5 years ago

Following things need to get accomplished for this

1) In a model similar to https://github.com/Katello/katello/blob/master/app/models/katello/rpm.rb add a unit for ostree. It should be simpler (nothing to index or search really since all this model will store is repository it belongs to and an integer for the units)
2) Create migrations for this table, similar to https://github.com/Katello/katello/blob/master/db/migrate/20150613134559_add_rpm.rb (again only one metadata column to be stored for now)
3) Add code to implement update_from_json method https://github.com/Katello/katello/blob/master/app/models/katello/rpm.rb#L40
4) Add ostree references here in the index_content https://github.com/Katello/katello/blob/master/app/models/katello/glue/pulp/repo.rb#L775
5) Add entries for ostree in th content unit counts https://github.com/Katello/katello/blob/master/app/views/katello/api/v2/repositories/base.json.rabl#L14
6) Sync and make sure the numbers show up in Sync/CV Publishes and other places.
7) Also if possible in pages showing ostree units also show branches :) - extra credit

#6 Updated by David Davis almost 5 years ago

  • Assignee changed from Partha Aji to David Davis

#7 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5838 added

#8 Updated by David Davis over 4 years ago

  • Assignee changed from David Davis to Partha Aji

#9 Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/Katello/katello/pull/5842 added

#10 Updated by Partha Aji over 4 years ago

  • Bugzilla link set to 1315588

#11 Updated by Partha Aji over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF