Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
8c4b94bb04
3 changed files with 43 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
[[!comment format=mdwn
|
||||
username="psxvoid"
|
||||
avatar="http://cdn.libravatar.org/avatar/fde068fbdeabeea31e3be7aa9c55d84b"
|
||||
subject="This behavior should be the default one"
|
||||
date="2024-02-10T08:11:30Z"
|
||||
content="""
|
||||
This behavior needs to be the default. Though, I understand that everyone have different needs.
|
||||
|
||||
At least it may be better to configure the behavior via a command argument, e.g. by default `git annex view` preserves the directory structure.
|
||||
|
||||
And when `--plain` argument is provided, then it would behave as it currently does - the directory structure is not preserved.
|
||||
|
||||
Personally, I do not see any use cases for the active behavior because usually I set tags to many files (thousands), and it's not practical for me to see thousand files in a single directory (view tag). As a more real-world example - I've tried to prepare files to be burned into BDXL disk, and for that purpose I tagged the files I want to burn as `bdxl-disk-1` tag. I then used `ncdu` to analyze the space taken by that tag. But then when I started \"fine tuning\" what should and should not go to that disk, I found it too difficult because `git annex view` places all tagged files into a single directory.
|
||||
|
||||
Are there any workarounds? I'm using git annex version `10.20231228`.
|
||||
"""]]
|
|
@ -0,0 +1,19 @@
|
|||
[[!comment format=mdwn
|
||||
username="psxvoid"
|
||||
avatar="http://cdn.libravatar.org/avatar/fde068fbdeabeea31e3be7aa9c55d84b"
|
||||
subject="Update: workaround with branches"
|
||||
date="2024-02-10T10:53:56Z"
|
||||
content="""
|
||||
Seems like there is a way to use git annex as I would like, though it may not be obvious.
|
||||
|
||||
In order to organize files and then burn them on to BDXL, instead of using tags, I've just switched to a new branch.
|
||||
e.g.:
|
||||
|
||||
```sh
|
||||
git checkout -b view/bdxl
|
||||
```
|
||||
|
||||
and then moved files and folders to a new folder which I intend to burn later. I've also assigned `git annex tag bdxl-disk-1 . --force` directly in this folder, so later I can see which files are burned even on the main branch (because tags are tied to git annex content and shared across branches).
|
||||
|
||||
P.S.: In any case, preserving the folder structure on the first `git annex view tag=*` may be much more powerful and intuitive.
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="yarikoptic"
|
||||
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
|
||||
subject="comment 3"
|
||||
date="2024-02-09T21:58:56Z"
|
||||
content="""
|
||||
Thank you! Yet to try/follow the steps. FWIW -- we have not pushed anything to github yet, so we have everything only locally and thus should potentially be able to not reveal older objects.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue