[ARVADOS] updated: 1.3.0-2771-gd7e3b180b

Git user git at public.arvados.org
Fri Jul 10 15:23:06 UTC 2020


Summary of changes:
 sdk/python/arvados/commands/federation_migrate.py | 2 ++
 1 file changed, 2 insertions(+)

       via  d7e3b180b3a2114fab340746791ecd913b69d795 (commit)
      from  9a625dbcc8bca7f42a9043913006738a30a329d2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d7e3b180b3a2114fab340746791ecd913b69d795
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Fri Jul 10 12:22:39 2020 -0300

    16589: Migrates users' first & last names.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>

diff --git a/sdk/python/arvados/commands/federation_migrate.py b/sdk/python/arvados/commands/federation_migrate.py
index 615578983..0649bfb54 100755
--- a/sdk/python/arvados/commands/federation_migrate.py
+++ b/sdk/python/arvados/commands/federation_migrate.py
@@ -220,6 +220,8 @@ def choose_new_user(args, by_email, email, userhome, username, old_user_uuid, cl
                 user = homearv.users().create(
                     body={"user": {
                         "email": email,
+                        "first_name": olduser["first_name"],
+                        "last_name": olduser["last_name"],
                         "username": username,
                         "is_active": olduser["is_active"]}}).execute()
             except arvados.errors.ApiError as e:

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list