use generic packages tree for all repos

This commit is contained in:
2025-07-30 16:59:35 +03:00
parent 81494059dd
commit cea706c4b6
4 changed files with 1 additions and 3 deletions

View File

@@ -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,

View File

@@ -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:

View File

@@ -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),