Project

General

Profile

Actions

Bug #11612

closed

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

Added by David Davis over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by David Davis over 8 years ago

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

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 70
  • Triaged changed from No to Yes
Actions #3

Updated by Justin Sherrill over 8 years ago

  • translation missing: en.field_release changed from 70 to 86
Actions #4

Updated by David Davis about 8 years ago

what's the status on this?

Actions #5

Updated by Partha Aji about 8 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

Actions #6

Updated by David Davis about 8 years ago

  • Assignee changed from Partha Aji to David Davis
Actions #7

Updated by The Foreman Bot about 8 years ago

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

Updated by David Davis about 8 years ago

  • Assignee changed from David Davis to Partha Aji
Actions #9

Updated by The Foreman Bot about 8 years ago

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

Updated by Partha Aji about 8 years ago

  • Bugzilla link set to 1315588
Actions #11

Updated by Partha Aji about 8 years ago

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

Also available in: Atom PDF