mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-04-07 11:03:37 +00:00
use generic packages tree for all repos
This commit is contained in:
@@ -95,7 +95,6 @@ class TreeMigrate(Handler):
|
||||
"""
|
||||
# we don't care about devtools chroot
|
||||
for attribute in (
|
||||
RepositoryPaths.archive,
|
||||
RepositoryPaths.packages,
|
||||
RepositoryPaths.pacman,
|
||||
RepositoryPaths.repository,
|
||||
|
||||
Binary file not shown.
@@ -93,7 +93,7 @@ class RepositoryPaths(LazyLogging):
|
||||
Returns:
|
||||
Path: archive directory root
|
||||
"""
|
||||
return self.root / "archive" / self._suffix
|
||||
return self.root / "archive"
|
||||
|
||||
@property
|
||||
def build_root(self) -> Path:
|
||||
|
||||
@@ -69,7 +69,6 @@ def test_move_tree(mocker: MockerFixture) -> None:
|
||||
|
||||
TreeMigrate.tree_move(from_paths, to_paths)
|
||||
rename_mock.assert_has_calls([
|
||||
MockCall(from_paths.archive, to_paths.archive),
|
||||
MockCall(from_paths.packages, to_paths.packages),
|
||||
MockCall(from_paths.pacman, to_paths.pacman),
|
||||
MockCall(from_paths.repository, to_paths.repository),
|
||||
|
||||
Reference in New Issue
Block a user