Project

General

Profile

Refactor #6097

Need to migrate data model attribute from repository.feed -> repository.url

Added by Partha Aji over 7 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Branch:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

On https://github.com/Katello/katello/blob/master/app/models/katello/repository.rb#L90
repository model has code that looks like => alias_attribute :url, :feed
And the controllers return "url" instead of "feed". This creates an inconsistency between the data model and the controllers. We need to address this by migrating the model from feed => url and change the place in code where "feed" is used.

Associated revisions

Revision e67cfb73 (diff)
Added by Partha Aji about 7 years ago

Fixes #6097,bz1120427 - repository.feed -> repository.url

Migrating a repository data model attribute from feed to url. The word
feed applies to the feed url used by pulp, but in katello UI, CLI and
API we consistently use url for feed. To mitigate this confusion it was
deemed to rename feed to url.

Revision c5c7ac0b
Added by Partha Aji about 7 years ago

Merge pull request #4448 from parthaa/feed-to-url

Fixes #6097,bz1120427 - repository.feed -> repository.url

History

#1 Updated by Eric Helms over 7 years ago

  • Tracker changed from Feature to Refactor
  • Category set to 81
  • Assignee changed from Eric Helms to Partha Aji
  • Target version set to 48
  • Difficulty set to easy
  • Triaged changed from No to Yes

#2 Updated by Eric Helms about 7 years ago

  • Legacy Backlogs Release (now unused) set to 13

#3 Updated by Eric Helms about 7 years ago

  • Target version changed from 48 to 49

#4 Updated by Partha Aji about 7 years ago

  • Bugzilla link set to 1120427

#5 Updated by The Foreman Bot about 7 years ago

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

#6 Updated by Eric Helms about 7 years ago

  • Target version changed from 49 to 54

#7 Updated by Partha Aji about 7 years ago

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

Also available in: Atom PDF