You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
Nick Worden edited this page Jan 4, 2019
·
1 revision
PFIF
Adding a PFIF version
pfif.py
If you're adding pfif <major>.<minor>, in pfif.py create a new pfif
object named PFIF_<major>_<minor> with the fields for person and note
filled in. Basically, just cut and paste the definition for the previous
version and update the fields.
If you want the new version to be the default then update the value of
PFIF_DEFAULT_VERSION
If there's a new field that requires special formatting then add it to the
SERIALIZERS map.
test_pfif.py
Add tests for the new fields.
atom.py
Add new ATOM_PFIF_<major>_<minor> version like the PFIF version. Make
sure that the changes to pfif.write_* covers all the new stuff.