RPM

removing header tag data typing entirely, and layering in type coercion on every possible access from the bindings

Registered by devzero2000

The "coercion" issue wrto data typing and arity in rpm-python
is totally hysterical. The code (as implemented) was whacked into
rpm-python and is totally deficient of design (aka a "hack").
See the coercion as it exists in python/header.c
I was attempted better engineering 3+ years ago when rpm-5.0 was
released by essentially removing header tag data typing entirely,
and layering in type coercion on every possible access from
the bindings. You can you can see the efforts (from pre-rpm-5.0 releasing) marked
with this (see system.h)

/**
 * Use the tag data type compiled into rpm, not the type from the header.
 */
#undef SUPPORT_IMPLICIT_TAG_DATA_TYPES /* XXX postpone */

It's not a hard change to remove data typing everywhere in RPM bindings.
However, it is a profound change.

Blueprint information

Status:
Started
Approver:
Jeff Johnson
Priority:
Medium
Drafter:
devzero2000
Direction:
Approved
Assignee:
Jeff Johnson
Definition:
Approved
Series goal:
None
Implementation:
Deployment
Milestone target:
None
Started by
Jeff Johnson

Related branches

Sprints

Whiteboard

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.