From Fedora Project Wiki
Line 11: Line 11:


== Current status ==
== Current status ==
* Targeted release: Fedora 10
* Targeted release: Fedora 11
* Last updated: 2008-07-21
* Last updated: 2009-02-23
* Percentage of completion: 75%
* Percentage of completion: 98%


== Detailed Description ==
== Detailed Description ==

Revision as of 16:46, 23 February 2009

Switch Anaconda to Use New PyParted

Summary

A new pyparted is being worked on as part of the upstream parted project. Anaconda will switch to using this for the Storage rewrite project.

Owner

  • Name: DavidCantrell

Current status

  • Targeted release: Fedora 11
  • Last updated: 2009-02-23
  • Percentage of completion: 98%

Detailed Description

Upstream (David) is working on a new pyparted to be included as part of the standard parted. We want to switch to using this.

Chris Lumens and David Cantrell started a rewrite of pyparted to completely expose the libparted C API to Python programmers. It became difficult working with pyparted in anaconda because certain pieces of information were not available and the module would have to be slightly expanded.

The rewrite will come in two phases. The first phase will be reimplementation of the current pyparted API on top of the new _ped module. This ensures an easy transition within anaconda. The second phase will complete the rewrite of the new parted module's classes. Eventually the deprecated API code can be removed.

Benefit to Fedora

Closer to upstream.

Scope

Internal to anaconda's partitioning code.

Test Plan

Test that installs function.

User Experience

No change.

Dependencies

Getting the pyparted bits working well enough to do the switch

Contingency Plan

Keep using the old pyparted

Documentation

No impact

Release Notes

No impact