Skip to content

Symlinks from pkgnames to pkgbases in management repo

David Runge requested to merge pkgname_symlink into main

repod/action/task.py: Change WriteOutputPackageBasesToTmpFileInDirTask to create a subdirectory named "pkgname" in the management repository directory of a repository and to add symlinks from the names of the packages of an OutputPackageBase to its pkgbase into it. Change WriteOutputPackageBasesToTmpFileInDirTask to expose the created temporary files as absolute Paths in its filename attribute. Change MoveTmpFilesTask.do() to use filenames of WriteOutputPackageBasesToTmpFileInDirTask instances directly, as they are now absolute Paths.

tests/action/test_task.py: Change test_movetmpfilestask_do() to correctly work with the fact that WriteOutputPackageBasesToTmpFileInDirTask.filenames now represent absolute Paths. Change test_writeoutputpackagebasestotmpfileindirtask_do() to correctly work with the fact that WriteOutputPackageBasesToTmpFileInDirTask.filenames now represent absolute Paths. Change test_printoutputpackagebasestask() to ignroe comparison-overlap.

Relates to #106 (closed)

Merge request reports

Loading