Sha256: 75f4ec7fba3d108531122518cc30bbe7fe5e5a6d68d052710f7524102f8b0cec

Contents?: true

Size: 686 Bytes

Versions: 14

Compression:

Stored size: 686 Bytes

Contents

module Katello
  class OstreeBranch < Katello::Model
    include Concerns::PulpDatabaseUnit

    has_many :repository_ostree_branches, :dependent => :destroy, :class_name => 'Katello::RepositoryOstreeBranch'
    has_many :repositories, :through => :repository_ostree_branches, :inverse_of => :ostree_branches

    scoped_search :on => :name, :complete_value => true
    scoped_search :on => :version, :complete_value => true
    scoped_search :on => :commit, :complete_value => true
    scoped_search :on => :pulp_id, :complete_value => true, :rename => :uuid

    CONTENT_TYPE = "ostree".freeze

    def self.repository_association_class
      RepositoryOstreeBranch
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
katello-3.13.4 app/models/katello/ostree_branch.rb
katello-3.13.3 app/models/katello/ostree_branch.rb
katello-3.13.2 app/models/katello/ostree_branch.rb
katello-3.13.1 app/models/katello/ostree_branch.rb
katello-3.13.0 app/models/katello/ostree_branch.rb
katello-3.13.0.rc2.1 app/models/katello/ostree_branch.rb
katello-3.13.0.rc2 app/models/katello/ostree_branch.rb
katello-3.12.3 app/models/katello/ostree_branch.rb
katello-3.12.2 app/models/katello/ostree_branch.rb
katello-3.13.0.rc1 app/models/katello/ostree_branch.rb
katello-3.12.1 app/models/katello/ostree_branch.rb
katello-3.12.0 app/models/katello/ostree_branch.rb
katello-3.12.0.rc2 app/models/katello/ostree_branch.rb
katello-3.12.0.rc1 app/models/katello/ostree_branch.rb