Create fake user accounts in DB #6

Closed
opened 2022-10-27 10:51:39 +02:00 by Ghost · 1 comment

There are several danglging userid entries. Next to the userids faked by OBS itself, there are also users who were deleted or that had typos.

ERROR:root:UserID AdrianSuSE not found
ERROR:root:UserID mrdocs not found

(and this is only a* imported).

So let's create a fake entry in the users table. E.g. what the old importer used, "OBS Account AdrianSuSE null@suse.de" should do.

But careful: only treat 404 error codes as triggering this. Other HTTP Error codes might be temporary.

There are several danglging userid entries. Next to the userids faked by OBS itself, there are also users who were deleted or that had typos. ERROR:root:UserID AdrianSuSE not found ERROR:root:UserID mrdocs not found (and this is only a* imported). So let's create a fake entry in the users table. E.g. what the old importer used, "OBS Account AdrianSuSE <null@suse.de>" should do. But careful: only treat 404 error codes as triggering this. Other HTTP Error codes might be temporary.
Author

Not creating them in the DB but on export now

Not creating them in the DB but on export now
Ghost closed this issue 2022-11-07 13:26:50 +01:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: importers/git-importer#6
No description provided.