Bug #17488

Add confirmation step to db:import task

Added by Daniel Lobato Garcia over 1 year ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Daniel Lobato Garcia
Category:rake tasks
Target version:1.14.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/4055

Description

The task could wipe the existing database, so I think it's sensible to ask twice in case the job was run by accident or the user didn't know that would happen.


Related issues

Related to Foreman - Bug #17474: db:import_dump does not clean existing database prior to ... Closed 11/24/2016

Associated revisions

Revision c0cd333a
Added by Daniel Lobato Garcia over 1 year ago

Fixes #17488 - Add confirmation to import db task

Revision b064c5f1
Added by Daniel Lobato Garcia over 1 year ago

Fixes #17488 - Add confirmation to import db task

(cherry picked from commit c0cd333a24b90c6acd93c245a3ee96f941f32bea)

History

#1 Updated by Daniel Lobato Garcia over 1 year ago

  • Related to Bug #17474: db:import_dump does not clean existing database prior to re-importing added

#2 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4055 added

#3 Updated by Anonymous over 1 year ago

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

#4 Updated by Dominic Cleal over 1 year ago

  • Legacy Backlogs Release (now unused) set to 189

#5 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 1.4.3

Also available in: Atom PDF