Skip to content

archrelease: support subdirectories in package directories

Levente Polyak requested to merge fix/archrelease-support-subdirs into master

We need to support subdirectories for the keys directory used to distribute PGP keys alongside the packaging sources.

This is achieved by using svn ls to list the files and directories in the packaging root and leverage the behavior of svn copy to consider subdirectories inside the root but only copy over files and directories under the subdirectory that are already tracked by svn. As a step in between, we now use svn ls --recursive to list all tracked svn files in the current repos directory and remove all tracked files in the staging area. Hence the svn copy in combination with the svn rm will result in a sync behavior from the packaging root to the repos directory.

Signed-off-by: Levente Polyak anthraxx@archlinux.org

Merge request reports