From a45048762330284bbde56d3cc86ce4f65f466998 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Wed, 16 Apr 2025 11:55:54 +0200 Subject: [PATCH 1/2] Remove the note that `paths` is only valid in `packages` Signed-off-by: Cristian Le --- docs/configuration/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/configuration/index.md b/docs/configuration/index.md index 1be0835d92..539d952101 100644 --- a/docs/configuration/index.md +++ b/docs/configuration/index.md @@ -80,7 +80,6 @@ files_to_sync: #### paths (*list*) List of relative paths in the upstream repository, which should be considered for the particular package (used mainly for monorepositories). Defaults to the root of the repository (`["./"]`). -This is the only key that can appear only inside [`packages`](#packages) dictionary values. #### specfile_path From 873a505e60a79b175819a8e01dfdc84f23b3b69c Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Wed, 16 Apr 2025 12:03:08 +0200 Subject: [PATCH 2/2] Document what `paths` does Signed-off-by: Cristian Le --- docs/configuration/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/configuration/index.md b/docs/configuration/index.md index 539d952101..cbba86be11 100644 --- a/docs/configuration/index.md +++ b/docs/configuration/index.md @@ -81,6 +81,11 @@ files_to_sync: (*list*) List of relative paths in the upstream repository, which should be considered for the particular package (used mainly for monorepositories). Defaults to the root of the repository (`["./"]`). +The first item of the list changes the working directory from which `specfile_path` is calculated and where other +actions and commands are run from. + +Other entries in this field list have no effect currently. + #### specfile_path (*string*) Relative path to a spec file within the upstream repository.