9001 / 9001/copyparty

Request: Protocol-specific shadowing

Aberta
#1,355 0 comentários 0 reações 1 responsável Reivindicada por @9001 Ver no GitHub
enhancement
Linguagem predominante
Python
Estrelas
46.7k
Forks
1.9k
Merge médio
9d 2h
PRs com merge (30d)
4

Descrição

## 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.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Examine o servidor WebDAV e o código da Web UI para entender como o shadowing é implementado. A issue menciona a flag «h:» e a montagem em «/var/empty». Comece encontrando onde a visibilidade das pastas é controlada por protocolo. Verifique se existe um sistema de configuração ou de flags para comportamento específico de cada protocolo. O objetivo é permitir que uma pasta fique oculta no WebDAV, mas visível na Web UI.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
backend, web-dev
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.