--- /srv/reproducible-results/rbuild-debian/r-b-build.P2wNb3It/b1/python-asdf_2.7.2-1_i386.changes
+++ /srv/reproducible-results/rbuild-debian/r-b-build.P2wNb3It/b2/python-asdf_2.7.2-1_i386.changes
├── Files
│ @@ -1,4 +1,4 @@
│
│ 7c34c21c2462ac88d9ec87cdd3be2aca 12548 science optional asdftool_2.7.2-1_all.deb
│ - dccf66cdbaa89a16693ae6ca0510357e 244012 doc optional python-asdf-doc_2.7.2-1_all.deb
│ + 6b4509677279b8d8012a3eb4f6dd348d 244020 doc optional python-asdf-doc_2.7.2-1_all.deb
│ ab84bfa5bec17a1b6f0e903309028d95 333100 python optional python3-asdf_2.7.2-1_all.deb
├── python-asdf-doc_2.7.2-1_all.deb
│ ├── file list
│ │ @@ -1,3 +1,3 @@
│ │ -rw-r--r-- 0 0 0 4 2021-01-22 20:29:19.000000 debian-binary
│ │ -rw-r--r-- 0 0 0 4588 2021-01-22 20:29:19.000000 control.tar.xz
│ │ --rw-r--r-- 0 0 0 239232 2021-01-22 20:29:19.000000 data.tar.xz
│ │ +-rw-r--r-- 0 0 0 239240 2021-01-22 20:29:19.000000 data.tar.xz
│ ├── control.tar.xz
│ │ ├── control.tar
│ │ │ ├── ./md5sums
│ │ │ │ ├── ./md5sums
│ │ │ │ │┄ Files differ
│ ├── data.tar.xz
│ │ ├── data.tar
│ │ │ ├── ./usr/share/doc/python-asdf-doc/html/asdf/extensions.html
│ │ │ │┄ Ordering differences only
│ │ │ │ @@ -183,19 +183,19 @@
│ │ │ │ %TAG ! tag:stsci.edu:asdf/
│ │ │ │ --- !core/asdf-1.1.0
│ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute, homepage: 'http://github.com/spacetelescope/asdf',
│ │ │ │ name: asdf, version: 2.7.2}
│ │ │ │ history:
│ │ │ │ extensions:
│ │ │ │ - !core/extension_metadata-1.0.0
│ │ │ │ - extension_class: asdf.extension.BuiltinExtension
│ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ - - !core/extension_metadata-1.0.0
│ │ │ │ extension_class: builtins.FractionExtension
│ │ │ │ software: !core/software-1.0.0 {name: '', version: ''}
│ │ │ │ + - !core/extension_metadata-1.0.0
│ │ │ │ + extension_class: asdf.extension.BuiltinExtension
│ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ fraction: !<tag:nowhere.org:custom/fraction-1.0.0> [10, 3]
│ │ │ │ ...
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
Defining custom types
│ │ │ │ @@ -289,19 +289,19 @@
│ │ │ │ %TAG ! tag:stsci.edu:asdf/
│ │ │ │ --- !core/asdf-1.1.0
│ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute, homepage: 'http://github.com/spacetelescope/asdf',
│ │ │ │ name: asdf, version: 2.7.2}
│ │ │ │ history:
│ │ │ │ extensions:
│ │ │ │ - !core/extension_metadata-1.0.0
│ │ │ │ - extension_class: asdf.extension.BuiltinExtension
│ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ - - !core/extension_metadata-1.0.0
│ │ │ │ extension_class: builtins.FractionExtension
│ │ │ │ software: !core/software-1.0.0 {name: '', version: ''}
│ │ │ │ + - !core/extension_metadata-1.0.0
│ │ │ │ + extension_class: asdf.extension.BuiltinExtension
│ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ fraction: !<tag:nowhere.org:custom/fraction-1.0.0> {denominator: 3, numerator: 10}
│ │ │ │ ...
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
Serializing more complex types
│ │ │ │ @@ -401,19 +401,19 @@
│ │ │ │ %TAG ! tag:stsci.edu:asdf/
│ │ │ │ --- !core/asdf-1.1.0
│ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute, homepage: 'http://github.com/spacetelescope/asdf',
│ │ │ │ name: asdf, version: 2.7.2}
│ │ │ │ history:
│ │ │ │ extensions:
│ │ │ │ - !core/extension_metadata-1.0.0
│ │ │ │ - extension_class: asdf.extension.BuiltinExtension
│ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ - - !core/extension_metadata-1.0.0
│ │ │ │ extension_class: builtins.FractionExtension
│ │ │ │ software: !core/software-1.0.0 {name: '', version: ''}
│ │ │ │ + - !core/extension_metadata-1.0.0
│ │ │ │ + extension_class: asdf.extension.BuiltinExtension
│ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ coordinate: !<tag:nowhere.org:custom/fractional_2d_coord-1.0.0>
│ │ │ │ x: !<tag:nowhere.org:custom/fraction-1.0.0> {denominator: 7, numerator: 22}
│ │ │ │ y: !<tag:nowhere.org:custom/fraction-1.0.0> {denominator: 113, numerator: 355}
│ │ │ │ ...
│ │ │ │
│ │ │ │
│ │ │ │ Note that in the resulting ASDF file, the x
and y
components of
│ │ │ │ ├── html2text {}
│ │ │ │ │ @@ -134,19 +134,19 @@
│ │ │ │ │ --- !core/asdf-1.1.0
│ │ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute,
│ │ │ │ │ homepage: 'http://github.com/spacetelescope/asdf',
│ │ │ │ │ name: asdf, version: 2.7.2}
│ │ │ │ │ history:
│ │ │ │ │ extensions:
│ │ │ │ │ - !core/extension_metadata-1.0.0
│ │ │ │ │ - extension_class: asdf.extension.BuiltinExtension
│ │ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ │ - - !core/extension_metadata-1.0.0
│ │ │ │ │ extension_class: builtins.FractionExtension
│ │ │ │ │ software: !core/software-1.0.0 {name: '', version: ''}
│ │ │ │ │ + - !core/extension_metadata-1.0.0
│ │ │ │ │ + extension_class: asdf.extension.BuiltinExtension
│ │ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ │ fraction: ! [10, 3]
│ │ │ │ │ ...
│ │ │ │ │ ***** Defining custom types¶ *****
│ │ │ │ │ In the example above, we showed how to create an extension that is capable of
│ │ │ │ │ serializing fractions.Fraction. The custom tag type that we created was defined
│ │ │ │ │ as a subclass of asdf.CustomType.
│ │ │ │ │ **** Custom type attributes¶ ****
│ │ │ │ │ @@ -223,19 +223,19 @@
│ │ │ │ │ --- !core/asdf-1.1.0
│ │ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute,
│ │ │ │ │ homepage: 'http://github.com/spacetelescope/asdf',
│ │ │ │ │ name: asdf, version: 2.7.2}
│ │ │ │ │ history:
│ │ │ │ │ extensions:
│ │ │ │ │ - !core/extension_metadata-1.0.0
│ │ │ │ │ - extension_class: asdf.extension.BuiltinExtension
│ │ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ │ - - !core/extension_metadata-1.0.0
│ │ │ │ │ extension_class: builtins.FractionExtension
│ │ │ │ │ software: !core/software-1.0.0 {name: '', version: ''}
│ │ │ │ │ + - !core/extension_metadata-1.0.0
│ │ │ │ │ + extension_class: asdf.extension.BuiltinExtension
│ │ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ │ fraction: ! {denominator: 3, numerator:
│ │ │ │ │ 10}
│ │ │ │ │ ...
│ │ │ │ │ **** Serializing more complex types¶ ****
│ │ │ │ │ Sometimes the custom types that we wish to represent in ASDF themselves have
│ │ │ │ │ attributes which are also custom types. As a somewhat contrived example,
│ │ │ │ │ consider a 2D cartesian coordinate that uses fraction.Fraction to represent
│ │ │ │ │ @@ -322,19 +322,19 @@
│ │ │ │ │ --- !core/asdf-1.1.0
│ │ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute,
│ │ │ │ │ homepage: 'http://github.com/spacetelescope/asdf',
│ │ │ │ │ name: asdf, version: 2.7.2}
│ │ │ │ │ history:
│ │ │ │ │ extensions:
│ │ │ │ │ - !core/extension_metadata-1.0.0
│ │ │ │ │ - extension_class: asdf.extension.BuiltinExtension
│ │ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ │ - - !core/extension_metadata-1.0.0
│ │ │ │ │ extension_class: builtins.FractionExtension
│ │ │ │ │ software: !core/software-1.0.0 {name: '', version: ''}
│ │ │ │ │ + - !core/extension_metadata-1.0.0
│ │ │ │ │ + extension_class: asdf.extension.BuiltinExtension
│ │ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2}
│ │ │ │ │ coordinate: !
│ │ │ │ │ x: ! {denominator: 7, numerator: 22}
│ │ │ │ │ y: ! {denominator: 113, numerator:
│ │ │ │ │ 355}
│ │ │ │ │ ...
│ │ │ │ │ Note that in the resulting ASDF file, the x and y components of our new
│ │ │ │ │ fraction_2d_coord type are tagged as fraction-1.0.0.