Rework CI votes processing
1. Take into account only votes for the merged change requests. 2. Make processing compatible with the latest DriverLog: process comments only and allow multiple CIs share the same gerrit-id NOTE: this patch introduces incompatible changes into data stored in runtime storage. Full re-load is required. Change-Id: Ic3e31d3cd3164c5ce786e0a19df2b4d0529ef40f
This commit is contained in:
		| @@ -45,8 +45,8 @@ def _normalize_user(user): | ||||
|         launchpad_id=user.get('launchpad_id'), | ||||
|         emails=user.get('emails'), | ||||
|         gerrit_id=user.get('gerrit_id'), | ||||
|         github_id=user.get('user_id'), | ||||
|         ldap_id=user.get('ldap_id')) | ||||
|         github_id=user.get('github_id'), | ||||
|         ldap_id=user.get('ldap_id')) or user.get('user_id') | ||||
|  | ||||
|  | ||||
| def _normalize_users(users): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ilya Shakhat
					Ilya Shakhat