14
0

26 Commits

Author SHA256 Message Date
12d5ef0fbc Accepting request 1297579 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1297579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=24
2025-08-05 12:21:36 +00:00
4166c4ed68 - add fix-error-type.patch to fix tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=23
2025-08-04 20:20:51 +00:00
486e54e515 Accepting request 1221495 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1221495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=23
2024-11-06 15:51:28 +00:00
1080706320 Accepting request 1221457 from home:glaubitz:branches:devel:languages:python
- Update to 2.7.0
  * 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
- Drop README.txt from %files section, removed upstream

OBS-URL: https://build.opensuse.org/request/show/1221457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=21
2024-11-05 15:33:50 +00:00
84af278271 Accepting request 1154951 from devel:languages:python
- Update to 2.6.3:
  * Solved an error in the xmlformatter when using default namespaces. #89
  * #108: Fixed an error that happens if using namespaces like ns0 or ns1.
  * Added `InsertNamespace` and `DeleteNamespace` actions for better handling
    of changing namespaces. Should improve any "Unknown namespace prefix"
    errors. Changing the URI of a a namespace prefix is not supported, and
    will raise an error.
  * Used geometric mean for the node_ratio, for better handling of simple nodes.
  * Added an experimental --best-match method that is slower, but generate
    smaller diffs when you have many nodes that are similar.
  * The -F argument now also affects the --fast-match stage.
  * Make it possible to adjust the attributes considered when comparing nodes.
  * Python versions 3.7 to 3.11 are now supported.
  * Improved node matching method, that puts more emphasis similarities than
    differences when weighing attributes vs children.
  * Added a parameter to return error code 1 when there are differences
    between the files
  * Added a parameter for ignoring attributes in comparison.
  * Solved a bug in xmlpatch in certain namespace situations.
  * Added a --diff-encoding parameter to xmlpatch, to support diff-files
    that are not in your system default encoding.
- Switch to autosetup and pyproject macros.
- No more greedy globs in %files.
- Drop python-xmldiff-src-upgrades.patch, now included upstream.
- Drop python-xmldiff-no-six-remains.patch, no longer required.

OBS-URL: https://build.opensuse.org/request/show/1154951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=22
2024-03-05 17:50:50 +00:00
4474f3da5f - Update to 2.6.3:
* Solved an error in the xmlformatter when using default namespaces. #89
  * #108: Fixed an error that happens if using namespaces like ns0 or ns1.
  * Added `InsertNamespace` and `DeleteNamespace` actions for better handling
    of changing namespaces. Should improve any "Unknown namespace prefix"
    errors. Changing the URI of a a namespace prefix is not supported, and
    will raise an error.
  * Used geometric mean for the node_ratio, for better handling of simple nodes.
  * Added an experimental --best-match method that is slower, but generate
    smaller diffs when you have many nodes that are similar.
  * The -F argument now also affects the --fast-match stage.
  * Make it possible to adjust the attributes considered when comparing nodes.
  * Python versions 3.7 to 3.11 are now supported.
  * Improved node matching method, that puts more emphasis similarities than
    differences when weighing attributes vs children.
  * Added a parameter to return error code 1 when there are differences
    between the files
  * Added a parameter for ignoring attributes in comparison.
  * Solved a bug in xmlpatch in certain namespace situations.
  * Added a --diff-encoding parameter to xmlpatch, to support diff-files
    that are not in your system default encoding.
- Switch to autosetup and pyproject macros.
- No more greedy globs in %files.
- Drop python-xmldiff-src-upgrades.patch, now included upstream.
- Drop python-xmldiff-no-six-remains.patch, no longer required.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=19
2024-03-05 04:35:32 +00:00
bcab798f23 Accepting request 1010955 from devel:languages:python
- added patches
  fix 34b810f439
  + python-xmldiff-src-upgrades.patch
  https://github.com/Shoobx/xmldiff/issues/93
  + python-xmldiff-no-six-remains.patch

OBS-URL: https://build.opensuse.org/request/show/1010955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=21
2022-10-15 14:37:34 +00:00
ea611f4d51 fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=17
2022-10-14 14:58:34 +00:00
969ba5c400 Accepting request 1010919 from home:pgajdos:python
- added patches
  fix 34b810f439
  + python-xmldiff-src-upgrades.patch

OBS-URL: https://build.opensuse.org/request/show/1010919
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=16
2022-10-14 14:57:12 +00:00
1eae57fc1a Accepting request 897222 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/897222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=20
2021-06-03 22:34:02 +00:00
a83e969a25 Accepting request 897215 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/897215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=14
2021-06-03 13:47:32 +00:00
da69e430ba Accepting request 805901 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/805901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=19
2020-05-16 20:27:18 +00:00
Tomáš Chvátal
888ab32240 Accepting request 805851 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/805851
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=12
2020-05-15 17:42:51 +00:00
9d857fa5f5 Accepting request 744160 from devel:languages:python
- Update to 2.4:
  * Added an option to pass pairs of (element, attr) as unique
    attributes for tree matching.

OBS-URL: https://build.opensuse.org/request/show/744160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=18
2019-10-31 17:18:10 +00:00
Tomáš Chvátal
db2cf0be59 - Update to 2.4:
* Added an option to pass pairs of (element, attr) as unique
    attributes for tree matching.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=10
2019-10-30 12:39:03 +00:00
6e5ffcc348 Accepting request 697133 from devel:languages:python
- Conflict python-xmldiff (unversioned)

- Restore more useful description from before 2.3

- package reworked from scratch
- version update to 2.3
  - A complete, bottom-up, pure-python rewrit
  - A new default output format with new actions
  - A format intended to be parseable by anyone parsing the old format.
  - XML with changes marked though tags and attributes
  - Added options for faster node comparisons. The "middle" option is now
    default, it had very few changes in matches, but is much faster.
  - Implemented a Fast Match algorithm for even faster diffing.
  - Speed improvements through caching
  - Fixed a bug where MoveNode actions sometimes was in the wrong order
  - Added an InsertComment action, as comments require different handling,
    so it's easier to deal with them this way. You can still use DeleteNode and
    UpdateTextIn for them with no special handling.
  - When renaming tags the XMLFormatter will mark them with "diff:rename"
    instead of making a new tag and deleting the old.
  - Tags will now be moved first, and updated and renamed later, as the new
    tag name or attributes might not be valid in the old location.
  - Changed the substitution unicode character area to use the Private Use Area
    in BMP(0), to support narrow Python builds
  - Added --unique-attributes argument.
  - A workaround for dealing with top level comments and the xml formatter
  - Added a simple ``xmlpatch`` command and API.
  - Multiple updates to documentation and code style
- deleted patches
  - xmldiff-0.6.7-clean-tmp.patch (not needed)

OBS-URL: https://build.opensuse.org/request/show/697133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=17
2019-05-06 19:17:02 +00:00
Tomáš Chvátal
d16aec204e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=8 2019-04-23 11:51:01 +00:00
6603965d4d Accepting request 693655 from home:mcepl:branches:devel:languages:python
- Conflict python-xmldiff (unversioned)

OBS-URL: https://build.opensuse.org/request/show/693655
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=7
2019-04-12 08:12:52 +00:00
Tomáš Chvátal
91640c5d3a Accepting request 692793 from home:jengelh:branches:devel:languages:python
- Restore more useful description from before 2.3

OBS-URL: https://build.opensuse.org/request/show/692793
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=6
2019-04-10 08:43:52 +00:00
Tomáš Chvátal
aca82a81b8 Accepting request 692774 from home:pgajdos
- package reworked from scratch
- version update to 2.3
  - A complete, bottom-up, pure-python rewrit
  - A new default output format with new actions
  - A format intended to be parseable by anyone parsing the old format.
  - XML with changes marked though tags and attributes
  - Added options for faster node comparisons. The "middle" option is now
    default, it had very few changes in matches, but is much faster.
  - Implemented a Fast Match algorithm for even faster diffing.
  - Speed improvements through caching
  - Fixed a bug where MoveNode actions sometimes was in the wrong order
  - Added an InsertComment action, as comments require different handling,
    so it's easier to deal with them this way. You can still use DeleteNode and
    UpdateTextIn for them with no special handling.
  - When renaming tags the XMLFormatter will mark them with "diff:rename"
    instead of making a new tag and deleting the old.
  - Tags will now be moved first, and updated and renamed later, as the new
    tag name or attributes might not be valid in the old location.
  - Changed the substitution unicode character area to use the Private Use Area
    in BMP(0), to support narrow Python builds
  - Added --unique-attributes argument.
  - A workaround for dealing with top level comments and the xml formatter
  - Added a simple ``xmlpatch`` command and API.
  - Multiple updates to documentation and code style
- deleted patches
  - xmldiff-0.6.7-clean-tmp.patch (not needed)
  - xmldiff-0.6.7-xsldata.patch (not needed)

OBS-URL: https://build.opensuse.org/request/show/692774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmldiff?expand=0&rev=5
2019-04-10 06:21:40 +00:00
Stephan Kulow
54fb77e041 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=12
2011-12-06 17:58:20 +00:00
Lars Vogdt
1104e4ba0d Autobuild autoformatter for 80625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=10
2011-09-05 15:08:29 +00:00
Lars Vogdt
16f6b9e24a Accepting request 80625 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/80625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=9
2011-09-05 15:08:13 +00:00
OBS User autobuild
c275811c3f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=5 2010-03-18 15:24:58 +00:00
OBS User unknown
09676391f8 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=3 2009-06-17 22:20:11 +00:00
OBS User unknown
f842cfd8b9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmldiff?expand=0&rev=1 2007-01-15 14:34:46 +00:00