[ / / / / / / / / / ] [ dir / ameta / asmr / dcfg / hwndu / kpop / newbrit / tgcraft / wai ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 12 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


New user? Start here ---> http://hydrusnetwork.github.io/hydrus/

Current to-do list has: 755 items

Current big job: finishing off duplicate search/filtering workflow


File: 3c05f4f5db8fb00⋯.gif (1.98 MB, 280x177, 280:177, twerk tube man.gif)

17148f No.5485

Is there a way to replace a tag with another tag and keep all its parent/sibling relationships intact?

000000 No.5495

AFAIK, no. But after adding a hundred of those today I feel like that would be a very useful feature.

Actually, wouldn't it be awesome if hydrus-dev implemented parent/sibling editing with external text editor? I would totally just do simple search and replace then.

Can I get that, please?


3c2970 No.5507

File: b44d01f6ffcbd57⋯.jpg (105.97 KB, 1041x1472, 1041:1472, b44d01f6ffcbd57c25eadce3b2….jpg)

>>5485

I expect to extend the siblings/parents system so parents apply to all siblings.

I will make sure this applies retroactively, so that existing siblings get the parents of any of their other siblings along the chain.

i.e. if you have:

siblings A->B and B->C

and

parent B->P

After the update, all A and C will get P.

Once this works, you can 'rename' a tag while maintaining relationships by just adding a new sibling.

If you literally want to rename a tag but keep all the counts and everything exact, then if you are brave you can edit the db file directly. Make a backup of client.master.db in your db directory and then run sqlite3.

Do something like this:


.open client.master.db
UPDATE subtags SET subtag="better_tag" WHERE subtag="bad_tag";
.exit

Or you can browse the db more sensibly in a proper application like SQLiteStudio.

Messing around with this stuff may obviously cause problems if you either mess around or affect tags on your cache of the PTR (the PTR will not think the tags are called that, if your client ever talks to it about them).

>>5495

The siblings and parents dialogs are a huge mess behind the scenes. The more relationships that get added, the less well they work. It all needs an overhaul, and I expect to make a portable HydrusTagArchive kind of way of storing and importing/exporting siblings and parents. At this point, it should be much easier to allow easy import/export!




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / ] [ dir / ameta / asmr / dcfg / hwndu / kpop / newbrit / tgcraft / wai ]