Skip to content

v1.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 15:14
· 4 commits to main since this release
90018a4

Change lists

  • A rerun of a list that merges a winner away again (merge_person I0005 into I0004, then I0004 into I0001) now skips each merge that landed. Before, it stopped at the first merge with no Person with Gramps ID I0004. When the list also made the first loser (add_person with key p-new, then merge_person with loser key:p-new into I0004), the rerun made that person again before it stopped, so a second --apply left a duplicate in the tree. The skip of a merge holds for every merge op, and so does the skip of the add, as the next entry says.
  • A rerun of a list that makes an object and then merges it away now skips the add for every class with a merge op. add_event, add_place, add_source, add_repository and add_citation now do what add_person and add_family already did. Before, the rerun made the object again, or reused the winner when it had the same fields, and then merged again or stopped at the merge. A new gwt run of such a list now stops at its dry run (exit 3), since the add is a skip and not a no-op. Before, it wrote a duplicate. Pass --accept-skip KEY when the rerun is meant.
  • A rerun of a list whose merge winner's Gramps ID now names another object reads the merge on the one object that holds its merge note. For example, add_person with key p-new, merge_person with loser key:p-new into I0004, then I0004 into I0001, and a new person got I0004 later. Before, the rerun made p-new again, merged it into the new I0004, and then merged that unrelated person into I0001. Now the three ops skip, and an op of the list that names I0004 stops instead of changing the new I0004, also when it comes before the merges.

Fixed

  • The apply docs said a Gramps Web GET ETag never works as If-Match. That is no longer true from Gramps Web API 3.26.0 (Gramps Web 26.11.3), where a plain GET returns the object's own hash; it works as If-Match once the :gzip or :br suffix a compressed response adds is removed. gwt-apply did not change: it still reads the object again before each PUT, which works on every server version and was checked against 26.11.2 and 26.11.3.
  • gwt-spanish-poller no longer prints 0 pending notifications or no changes for a DEHú inbox it did not read. Before, an accepted list that read fewer rows than its tab counter failed the whole DEHú read, and the summary then showed the kept snapshot from an earlier poll as if it were new, while the inbox had two pending notifications. Now each DEHú list is checked against its tab counter on its own, a short accepted or communications list no longer throws the pending list away, and a side or list that was not read says NOT READ in the summary, also when there is no earlier snapshot of it. A short list of any kind still exits 2. The first DEHú read that works after failed ones reports its pending notifications. A sede search that answers «Página no encontrada» is named as such.
  • The gwt-spanish-poller DEHú login failed about half the time and reported it as «did not reach the inbox (https://dehu.redsara.es/)», which read as a stop on the public page. DEHú and Cl@ve leave about one request in a hundred unanswered, from any network. When the lost request was a script of the DEHú app, the page stayed blank and the login waited out its 6 minutes. When it was a page load, the login stopped at once. Now a page load that times out is tried again, a login page that stays the same for about 18 seconds is loaded again, and a failed login says whether it showed a blank page, the public page or an unknown page.
  • A second gwt-apply --apply of a list with chained merges no longer makes a person or family the list already merged away, and no longer stops at the first merge. A merge whose winner is gone is read on the one object that holds its merge note now (#263).
  • A second gwt-apply --apply no longer makes an event, place, source, repository or citation again when the list made it and then merged it away (#267). This holds also when another object of the class got the Gramps ID the merged object had, unless the add would reuse that object.
  • merge_person, merge_event and merge_family stop with winner and loser are the same when the loser key:<key> names the winner, for example when the list's add_event reused the winner itself. Before, the server merged the object into itself, which can delete it. merge_place, merge_source, merge_citation and merge_repository already stopped.
  • A second gwt-apply --apply no longer merges an unrelated object that got the Gramps ID of a merge winner the list merged away. The merge is read on the one object that holds its merge note (#268).