From 72cc3621762c4cef835388dda0dadd0c77e02719 Mon Sep 17 00:00:00 2001 From: gforcada Date: Wed, 20 Jun 2018 11:49:00 +0200 Subject: [PATCH] [fc] Repository: plone.registry Branch: refs/heads/master Date: 2018-06-20T11:48:29+02:00 Author: Gil Forcada Codinachs (gforcada) Commit: https://github.com/plone/plone.registry/commit/e07254274e5ead26d2a315a4b027807ceb26525b Update README.rst Files changed: M README.rst Repository: plone.registry Branch: refs/heads/master Date: 2018-06-20T11:49:00+02:00 Author: Gil Forcada Codinachs (gforcada) Commit: https://github.com/plone/plone.registry/commit/9b2dc4c106b8a2b02b2b9848f7440edcdbf6884f Merge pull request #17 from plone/gforcada-patch-1 Update README.rst Files changed: M README.rst --- last_commit.txt | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/last_commit.txt b/last_commit.txt index c4cfe7bf36..f8ee1f48ab 100644 --- a/last_commit.txt +++ b/last_commit.txt @@ -2,33 +2,31 @@ Repository: plone.registry Branch: refs/heads/master -Date: 2018-06-19T16:19:30+01:00 -Author: Matthew Wilkes (MatthewWilkes) -Commit: https://github.com/plone/plone.registry/commit/bc13c371e09010ccb97487cd6cdd5ecfb72365cb +Date: 2018-06-20T11:48:29+02:00 +Author: Gil Forcada Codinachs (gforcada) +Commit: https://github.com/plone/plone.registry/commit/e07254274e5ead26d2a315a4b027807ceb26525b -Improve performance of RecordsProxy.__iter__ +Update README.rst Files changed: -M CHANGES.rst -M plone/registry/recordsproxy.py +M README.rst -b"diff --git a/CHANGES.rst b/CHANGES.rst\nindex 862a57e..bfb876a 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -14,7 +14,9 @@ New features:\n \n Bug fixes:\n \n-- *add item here*\n+- Improve performance of RecordsProxy.__iter__ which is now invoked more in\n+ core Plone as part of the requireJS configuration\n+ [MatthewWilkes]\n \n \n 1.1.2 (2016-12-06)\ndiff --git a/plone/registry/recordsproxy.py b/plone/registry/recordsproxy.py\nindex 58a541b..06c39ac 100644\n--- a/plone/registry/recordsproxy.py\n+++ b/plone/registry/recordsproxy.py\n@@ -115,7 +115,7 @@ def __iter__(self):\n if '.' not in name:\n yield name\n else:\n- key = '.'.join(name.split('.')[:-1])\n+ key = name.rsplit('.', 1)[0]\n if key != last:\n yield key\n last = key\n" +b'diff --git a/README.rst b/README.rst\nindex e106fa8..2b77954 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -1,6 +1,7 @@\n ============\n Introduction\n ============\n+\n This package provides debconf-like (or about:config-like) settings registries\n for Zope applications. A ``registry``, with a dict-like API, is used to get and\n set values stored in ``records``. Each record contains the actual value, as\n' Repository: plone.registry Branch: refs/heads/master -Date: 2018-06-20T08:39:31+02:00 +Date: 2018-06-20T11:49:00+02:00 Author: Gil Forcada Codinachs (gforcada) -Commit: https://github.com/plone/plone.registry/commit/ca12637ab52dcd3f252012ecf2046cf26202b43b +Commit: https://github.com/plone/plone.registry/commit/9b2dc4c106b8a2b02b2b9848f7440edcdbf6884f -Merge pull request #15 from plone/wilkes-performance-improvement +Merge pull request #17 from plone/gforcada-patch-1 -Improve performance of RecordsProxy.__iter__ +Update README.rst Files changed: -M CHANGES.rst -M plone/registry/recordsproxy.py +M README.rst -b"diff --git a/CHANGES.rst b/CHANGES.rst\nindex 862a57e..bfb876a 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -14,7 +14,9 @@ New features:\n \n Bug fixes:\n \n-- *add item here*\n+- Improve performance of RecordsProxy.__iter__ which is now invoked more in\n+ core Plone as part of the requireJS configuration\n+ [MatthewWilkes]\n \n \n 1.1.2 (2016-12-06)\ndiff --git a/plone/registry/recordsproxy.py b/plone/registry/recordsproxy.py\nindex 58a541b..06c39ac 100644\n--- a/plone/registry/recordsproxy.py\n+++ b/plone/registry/recordsproxy.py\n@@ -115,7 +115,7 @@ def __iter__(self):\n if '.' not in name:\n yield name\n else:\n- key = '.'.join(name.split('.')[:-1])\n+ key = name.rsplit('.', 1)[0]\n if key != last:\n yield key\n last = key\n" +b'diff --git a/README.rst b/README.rst\nindex e106fa8..2b77954 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -1,6 +1,7 @@\n ============\n Introduction\n ============\n+\n This package provides debconf-like (or about:config-like) settings registries\n for Zope applications. A ``registry``, with a dict-like API, is used to get and\n set values stored in ``records``. Each record contains the actual value, as\n'