[gentoo-portage-dev] [PATCH] rsync: quarantine data prior to verification (bug 660410)

2018-07-05 Thread Zac Medico
Sync into a quarantine subdirectory, using the rsync --link-dest option to create hardlinks to identical files in the previous snapshot of the repository. If hardlinks are not supported, then show a warning message and sync directly to the normal repository location. If verification succeeds, then

[gentoo-portage-dev] [PATCH] GitSync: abort checkout for signature problem (bug 660372)

2018-07-05 Thread Zac Medico
Fetch the upstream remote and use git merge to update the checkout only after successful verification of the upstream head. Suggested-by: Richard Freeman Bug: https://bugs.gentoo.org/660372 --- pym/portage/sync/modules/git/git.py | 34 +- 1 file changed, 29 insert