From 33cb0505b834f28032f1d619cb7cfefc460ff83c Mon Sep 17 00:00:00 2001 From: Vlee Date: Tue, 5 Jul 2022 15:59:51 +0700 Subject: [PATCH 1/2] Add linkMethod relative symlink --- content/doc/feature/filesystem.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/content/doc/feature/filesystem.md b/content/doc/feature/filesystem.md index 3418cf26..15e752d4 100644 --- a/content/doc/feature/filesystem.md +++ b/content/doc/feature/filesystem.md @@ -25,11 +25,19 @@ Example: }, "test2": { "rootDir": "/opt/srv2/aptly_public", - "linkMethod": "copy", - "verifyMethod": "md5" + "linkMethod": "absoluteSymlink" }, "test3": { "rootDir": "/opt/srv3/aptly_public", + "linkMethod": "relativeSymlink" + }, + "test4": { + "rootDir": "/opt/srv4/aptly_public", + "linkMethod": "copy", + "verifyMethod": "md5" + }, + "test5": { + "rootDir": "/opt/srv5/aptly_public", "linkMethod": "hardlink" } }, @@ -41,8 +49,9 @@ Each endpoint has a name and the following associated settings: * `rootDir`: The publish directory, e.g., `/opt/srv/aptly_public`. * `linkMethod`: - This is one of `hardlink`, `symlink` or `copy`. It specifies how aptly links the + This is one of `hardlink`, `symlink`, `absoluteSymlink`, `relativeSymlink` or `copy`. It specifies how aptly links the files from the internal pool to the published directory. + The option `symlink` will be treated as `absoluteSymlink` If not specified, empty or wrong, this defaults to `hardlink`. * `verifyMethod`: This is used only when setting the `linkMethod` to `copy`. Possible values are From abd0237243041acb80ac5c2e4cbca107aa3c2936 Mon Sep 17 00:00:00 2001 From: Vlee Date: Tue, 5 Jul 2022 16:22:48 +0700 Subject: [PATCH 2/2] Update filesystem.md --- content/doc/feature/filesystem.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/doc/feature/filesystem.md b/content/doc/feature/filesystem.md index 15e752d4..5df4f939 100644 --- a/content/doc/feature/filesystem.md +++ b/content/doc/feature/filesystem.md @@ -49,8 +49,8 @@ Each endpoint has a name and the following associated settings: * `rootDir`: The publish directory, e.g., `/opt/srv/aptly_public`. * `linkMethod`: - This is one of `hardlink`, `symlink`, `absoluteSymlink`, `relativeSymlink` or `copy`. It specifies how aptly links the - files from the internal pool to the published directory. + This is one of `hardlink`, `symlink`, `absoluteSymlink`, `relativeSymlink` or `copy`. + It specifies how aptly links the files from the internal pool to the published directory. The option `symlink` will be treated as `absoluteSymlink` If not specified, empty or wrong, this defaults to `hardlink`. * `verifyMethod`: