| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Since FileCopier now captures exceptions instead of showing
a traceback, it's necessary to explicitly log them.
Bug: https://bugs.gentoo.org/699400
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/699392
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Since DeletionIterator needs to stat the distfile and therefore find
one working path for it, pass it to DeletionTask instead of recomputing
it there. This also fixes wrongly assuming that first layout will
always be correct.
Bug: https://bugs.gentoo.org/697890
Reviewed-by: Zac Medico <zmedico@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unlink for all distfile layouts rather than for all but primary. This
wrongly assumed that the primary layout will always be removed
as a result of earlier code. However, the rename() call correctly
assumes that the primary layout may be an old symlink, and operates
on realpath(). Therefore, the real file from a secondary layout may
be renamed, leaving dangling symlink.
Bug: https://bugs.gentoo.org/697906
Reviewed-by: Zac Medico <zmedico@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Read mirror layout from layout.conf in distfiles directory. When
multiple layouts are used, fetch according to the first one and then
hardlink according to the remaining layouts. Similarly, when deleting
recycle or delete according to the first layout, then unlink according
to all remaining layouts.
Reviewed-by: Zac Medico <zmedico@gentoo.org>
Closes: https://github.com/gentoo/portage/pull/463
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Closes: https://github.com/gentoo/portage/pull/343
|