Path to this page:
./
textproc/py-xmldiff,
Creates diffs of XML files
Branch: CURRENT,
Version: 2.7.0,
Package name: py312-xmldiff-2.7.0,
Maintainer: pkgsrc-usersxmldiff is a library and a command-line utility for making diffs
out of XML. This may seem like something that doesn't need a
dedicated utility, but change detection in hierarchical data is
very different from change detection in flat data. XML type formats
are also not only used for computer readable data, it is also often
used as a format for hierarchical data that can be rendered into
human readable formats. A traditional diff on such a format would
tell you line by line the differences, but this would not be be
readable by a human. xmldiff provides tools to make human readable
diffs in those situations.
Master sites:
Filesize: 85.543 KB
Version history: (Expand)
- (2024-11-11) Updated to version: py312-xmldiff-2.7.0
- (2024-06-11) Updated to version: py311-xmldiff-2.7.0
- (2023-07-10) Updated to version: py310-xmldiff-2.6.3
- (2023-05-04) Package added to pkgsrc.se, version py310-xmldiff-2.6.1 (created)
CVS history: (Expand)
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-06-10 23:00:41 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-xmldiff: updated to 2.7.0
2.7.0 (2024-05-13)
------------------
- Changed the comparison to make accurate and standard more accurate,
although fast gets less accurate as a result.
- Changed usage of deprecated `pkg_resources` package to `importlib.metadata`.
- A `use_replace` flag was added to the `XMLFormatter` by Thomas Pfitzinger.
It changes text replacement from delete and insert tags to a replace tag.
It's not currently accessaible thtough the CLI, the question is it is better
to add a new formatter name, or an option to pass in formatter flags.
- Added option to XMLFormatter to use replace tags
- in _make_diff_tags after diffing, neighboring delete/insert diffs are joined \
to a replace tag
- the deleted text is added as an attribute ("old-text")
- the inserted text is the element's text
|
2023-07-10 22:50:06 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-xmldiff: updated to 2.6.3
2.6.3 (2023-05-21)
- And there was a namespace bug in the patch as well.
2.6.2 (2023-05-21)
- Solved an error in the xmlformatter when using default namespaces.
|
2023-05-04 13:39:23 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-xmldiff: not for python 2
|
2023-05-04 13:35:13 by Thomas Klausner | Files touched by this commit (5) |
Log message:
textproc/py-xmldiff: import py-xmldiff-2.6.1
xmldiff is a library and a command-line utility for making diffs
out of XML. This may seem like something that doesn't need a
dedicated utility, but change detection in hierarchical data is
very different from change detection in flat data. XML type formats
are also not only used for computer readable data, it is also often
used as a format for hierarchical data that can be rendered into
human readable formats. A traditional diff on such a format would
tell you line by line the differences, but this would not be be
readable by a human. xmldiff provides tools to make human readable
diffs in those situations.
|