Comments (4)
TMSU itself has no filesystem operations, so it's never destructive. The script you're talking about is a convenience helper that may well have limitations.
To be frank I think the solution may be to just remove these scripts, because they're limited and if we're spending loads of effort getting these correct then we may as well spend the efort to have TMSU have this functionality built in. Except I find that idea distasteful.
I've never wanted TMSU to be able to write to the file system, other than its own database, so that a user can have confidence of TMSU's role in their filesystem.
from tmsu.
Having said all that, I think the actual problem here may be a bug in tmsu repair --manual
. Reframed as such, it would be something that can be fixed.
from tmsu.
They're definitely nice shorthands to have, but I see why you wouldn't want them built-in. I was even going to recreate them myself until I found out about the "native" ones. For now I'll just customize them directly. It just hadn't occurred to me that these were mere shell scripts, so I never thought about check their content.
Having said all that, I think the actual problem here may be a bug in
tmsu repair --manual
.
I think it's a good thing that repair
fails in that scenario; I don't see what else it should be supposed to do. If I wanted to "merge" the files, I'd just use tag --from
and untag --all
instead.
from tmsu.
It should fail, but it should probably fail more gracefully than a database constraint violation.
from tmsu.
Related Issues (20)
- database locked occasionally
- VFS can be very slow
- Feature Request in VFS: Listing files outside of the `files` folder and hiding `queries` folder
- Cannot install TMSU HOT 1
- Package available in Void Linux
- too many SQL variables - transport endpoint is not connected when too many tag values exist
- Use unique indexes and upserts? HOT 1
- "tmsu init" ignores TMSU_DB environment variable
- release v0.8 HOT 2
- `tmsu tag -h` should be an alias for `tmsu help tag`
- `tmsu repair` should operate on the root or on `.` if no paths are given
- another app using the database? HOT 1
- how does 0 value_id work? HOT 1
- Tags attributes HOT 3
- Unit tests are shaky: Fingerprint incorrect
- `tmsu help repair` message contains a typo
- Compilation error
- Support hierarchical tags
- Ubuntu 24.04 LTS Installation Fails for Lack of Release file HOT 1
- Cannot generate thumbnails for symlinks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmsu.