Project

General

Profile

Actions

Refactor #21056

closed

make katello-change-hostname more resilient when searching for media

Added by Evgeni Golov over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Branch:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

k-c-h currently uses "hammer medium list --search #{@old_hostname}" to find media using the old hostname, this will also find media that have the old hostname in the name (but not the path) and those that have the old hostname as part of the path, but not as the hostname.

I propose using "--search 'path ~ //#{@old_hostname}/'" instead

Actions #1

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/538 added
Actions #2

Updated by Evgeni Golov over 6 years ago

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

Updated by Justin Sherrill over 6 years ago

  • translation missing: en.field_release set to 250
Actions

Also available in: Atom PDF