OWASP / OWASP/Nest

Handle repository transfers better

Open
#20 8 comments 0 reactions 0 assignees View on GitHub
low priority
Dominant language
Python
Stars
451
Forks
707
Avg merge
22h 59m
Merged PRs (30d)
91

Description

The sync process does not support the case when a repo goes from user's space to OWASP space.
https://github.com/izar/pytm/ was transferred and it caused

`duplicate key value violates unique constraint "unique_key_owner" DETAIL: Key (key, owner_id)=(pytm, 1) already exists.`
due to `node_id` clashing (it seems so).

These cases are pretty rare but are quite disruptive for syncing logic.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.