Bug 1059928
| Summary: | script to migrate status data from bz db to hwcert db | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Tony Fu <tfu> |
| Component: | Hardware Catalog | Assignee: | Tony Fu <tfu> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.3 | CC: | fwang, hwcert-catalog, rlandry |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-14 05:00:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1053351 | ||
| Attachments: | |||
|
Description
Tony Fu
2014-01-31 00:44:17 UTC
Created attachment 857675 [details]
script to generate status data migration sql file
Usage: perl field_migration.pl status
Result: a new status.sql file is generated on current dir.
Created attachment 857715 [details]
script to generate status data migration sql file
after talking with Rob, we need a separate script to migrate status which need special treatment.
Comment on attachment 857715 [details]
script to generate status data migration sql file
Please add some commentary for the functions. Specifically in the areas about the parent bugs and the status changes. The point is for a developer who is unfamiliar with the current behavior of status to understand why these are present.
Created attachment 858439 [details]
sql to add status field in hwcert db
Created attachment 859505 [details]
script to generate status data migration sql file
fixed a bug in previous script
Created attachment 863076 [details]
script to generate status data migration sql file
Created attachment 866876 [details]
script to generate status data migration sql file
Created attachment 868506 [details]
script to generate status data migration sql file
verified on partner. verified on live |