Skip to content

Commit 42a1fdb

Browse files
committed
Merged in [13197] from rcross@amsl.com:
Fix issue with bin/merge-person-records when User.last_login == None. Fixes ietf-tools#2274. - Legacy-Id: 13207 Note: SVN reference [13197] has been migrated to Git commit 767e9f9
2 parents 978e8f7 + 767e9f9 commit 42a1fdb

2 files changed

Lines changed: 63 additions & 1 deletion

File tree

changelog

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,64 @@
1+
ietfdb (6.49.1) ietf; urgency=medium
2+
3+
**IETF 98 code sprint release 2**
4+
5+
This release collects the remaining sprint contributions, and in particular
6+
contains the move of the downref registry to the datatracker which has been
7+
requested by the IESG. This release also reverts some of the changes made in
8+
6.48.0 with respect to presentation of htmlized drafts and RFCs.
9+
10+
From the commit log:
11+
12+
* Merged in [13181] from housley@vigilsec.com:
13+
This completes a good chunk of the downref registry work requested in ticket
14+
#2069. The registry has been imported to the database and can be shown, and
15+
entries can be added to the registry. Addresses issue #2069.
16+
17+
* Merged in [13183] from rcross@amsl.com:
18+
Fix error when selecting a document on the Telechat agenda that does
19+
not have a writeup. Fixes #2262.
20+
21+
* Changed the signature of ietf.utils.aliases.dump_sublist() to include a
22+
list of the alias domains, in order to be able to generate IRTF group
23+
aliases @irtf.org. Updated ietf/bin/generate-*-aliases accordingly.
24+
25+
* Trying to re-apply already run migrations after loading a new databases
26+
dump runs into the problem that new tables created by the migrations
27+
linger, even if the tables loaded from the dump match the non-migrated
28+
state. Having lists of the tables matching the latest release available
29+
makes it easy to construct an sql command to dump the extra tables, so the
30+
migrations can be run. Adding generation and saving of a table list to
31+
bin/mkrelease.
32+
33+
* Reverted the search result rows to the pre-6.48.0 state.
34+
35+
* Changed some tests to use unicontent(r) instead of r.content, which
36+
decodes non-ascii content according to the response charset.
37+
38+
* Added some debug functionality which makes it possible to see from
39+
where (python source file and line) an SQL query comes when looking at the
40+
sql query summary available at the bottom of pages in debug mode, on
41+
INTERNAL_IPS.
42+
43+
* Extended the DRAFT_NAMES_WITH_DOT regexp.
44+
45+
* Expand the milestone information on the document metainfo tab a bit.
46+
47+
* Fixed a bug in the json_agenda data, now calculating room midpoints
48+
correctly.
49+
50+
* Changed a test case to look at the html being verified, rather than the
51+
whole page, to avoid test failures due to for instance new menu entries.
52+
53+
* Getting to the floorplans for a meeting venue required going via the
54+
agenda, which can take time to load. Escpecially on a handheld device,
55+
when you want to see where the room of your next session is, it would be
56+
useful to have a menu entry to go directly to the meeting floor-plans.
57+
Adding one.
58+
59+
-- Henrik Levkowetz <henrik@levkowetz.com> 12 Apr 2017 05:09:30 -0700
60+
61+
162
ietfdb (6.49.0) ietf; urgency=medium
263

364
**IETF 98 code sprint release 1**

ietf/bin/merge-person-records

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ django.setup()
2727
# -------------------------------------------------------------------------------------
2828

2929
import argparse
30+
import datetime
3031
import pprint
3132
import syslog
3233
from django.contrib import admin
@@ -54,7 +55,7 @@ def determine_merge_order(source,target):
5455
if source.user and not target.user:
5556
source,target = target,source # swap merge order
5657
if source.user and target.user:
57-
source,target = sorted([source,target],key=lambda a: a.user.last_login)
58+
source,target = sorted([source,target],key=lambda a: a.user.last_login if a.user.last_login else datetime.datetime.min)
5859
return source,target
5960

6061
def get_extra_primary(source,target):

0 commit comments

Comments
 (0)