9001 / 9001/copyparty

Request: Protocol-specific shadowing

Đang mở
#1,355 0 bình luận 0 reaction 1 người được giao Được @9001 nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
46.6k
Fork
1.9k
Merge trung bình
10 ngày 16 giờ
Pull request đã merge (30 ngày)
5

Mô tả

## Problem

I tried shadowing a folder so it isn't synced over WebDAV but this _also_ hides them from the Web UI.

## Describe the idea / solution you'd like

To be able to shadow a folder only for the WebDAV server, but not the Web UI.

There is also the more general problem of not being able to hide a folder. We can hide subdirectories but not directories in themselves.
e.g. I can put `h:` on it, but it will appear in the Web UI but not in WebDAV. I can mount a volume to `/var/empty` but then it is blank everywhere.

## Alternatives I've considered

I used the `h:` flag which worked as far as stopping sync, as did mounting to `/var/empty`, but they are all-or-nothing.

## Additional context

I have a WebDAV mount. Because it is the mount of [TiddlyWiki](https://tiddlywiki.com/), which has a dual single-file and node.js setup, it means I have to store things in a specific root structure

```
tiddlywiki
├── assets/
├── package.json
├── plugins/
├── single-file-snapshots/
├── tiddlers/
├── tiddlywiki.info
└── mywiki.html
```

Of these, only `mywiki.html` and the `assets` folder are necessary to sync, though I sync my `single-file-snapshots/` too. The `tiddlers/` folders have lots of files as do `plugins/`, and are strictly for node-wiki's use.

The structure must be maintained exactly like this so the relative paths inside my single-file wiki work.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.