retorquere / zotero-storage-scanner

A Zotero plugin to remove the broken & duplicate attachment link of the bibliography
530 stars 19 forks source link

Does it still work? #3

Closed ghost closed 6 years ago

ghost commented 7 years ago

I have Zotero v. 4.0.29.17 and the last version of storage scanner, which doesn't seem to work anymore. When I click on preferences->storage scanner nothing happen

retorquere commented 7 years ago

This plugin has no UI. When you select that option, it will silently scan your library and add a tag #broken for attachments whose file is missing, and #duplicates for references that have more than one attachment of a given type (more than one PDF attachment for example).

ghost commented 7 years ago

Thanks you. Is there a documentation for the plugin that I am missing?

retorquere commented 7 years ago

You're looking at it 😄

BenjaminHCCarr commented 7 years ago

He's being slightly facetious: There is no UI, it scans in the background but does a far better job than the built in scanner, frankly IU wish @retorquere would @PR this into @Zotero.

For example Zotero marks and PDFs that have supplementary material (many in my field) as duplicates. But zotero-storage-scanner does not tag them in #duplicates; #broken covers a lot of broken things including broken links to files, missing PDFs etc.

So if you run zotero-storage-scanner you will see a zotero process kick off, and it live updates the #duplicates and#broken smart folders as it goes. If those two folders are empty then you are golden, if there are entries tagged in their then your file/DB has issues to look at.

retorquere commented 7 years ago

Thanks for the PR; I didn't mean to be facetious (a word that gets way too little use BTW), it's just that my comment above was at the time the only documentation available :smile: Some of these plugins were created mostly because I had a need at the time, and I didn't figure others would think them useful; I just put them up here for safekeeping.

All of the plugins that people are chiming in on will get the Z5 treatment sooner or later, but BBT takes all my time and then some right now.

BenjaminHCCarr commented 7 years ago

oh I know. I know you. You know me. There are docs if you dig around the zot forums (sort of).

But yes, you had a need, and we appreciate you sharing; I doubt you have a metric for how many people are using non bbt plugins, maybe you do from XPI pulls.

But bah, I am using 5 non-bbt plugins from you.

I know your time is sucked up with bbt and it's HUGE user base, so me chiming in here was just trying to be helpful.

retorquere commented 7 years ago

And the help is much appreciated :bowing_man:, I was only trying to explain I wasn't intentionally brushing @raffam off.

I honestly have no idea how many users each plugin has. Github downloads stats are fairly useless, and I don't want to foist user tracking on anyone just to stroke my ego.

BenjaminHCCarr commented 7 years ago

if you did tags or releases 😉

There are many of us....

retorquere commented 7 years ago

BBT has releases and tags; download stats are still useless because it shows me "x downloaded today" but I have no idea whether those are new installs, upgrades, multiple FF profiles for one user, multiple systems for one user, etc.

All the rest of the plugins will get those as I move the build system I'm putting together for the BBT rewrite.

retorquere commented 7 years ago

BTW this plugin will almost certainly not work for Z5 as-is. Queued up for rework.

blip-bloop commented 6 years ago

:robot: this is your friendly neighborhood build bot announcing test build 12 ("webpack").

retorquere commented 6 years ago

Mind that the duplicate detection is still fairly stupid -- it deems attachments duplicates if they're under the same reference and have the same content type. So any two pdfs attached to a single reference will count as a duplicate, and even things that would usually be understood as duplicates (a word and a pdf version of the same text for example) would not be marked as duplicates.

blip-bloop commented 6 years ago

:robot: this is your friendly neighborhood build bot announcing test build 13 ("fixes #3").

retorquere commented 6 years ago

alright boys & girls -- you know the drill. Try build 13.

kld123509945 commented 6 years ago

OK, but where could I find the .xpi file? Thanks!

retorquere commented 6 years ago

Blip-bloop linked to the xpi

retorquere commented 6 years ago

Ah, the link has expired. I'll trigger a new build when I get home tonight, I don't have access to a pc here.

blip-bloop commented 6 years ago

:robot: this is your friendly neighborhood build bot announcing test build 15 ("Merge branch 'master' into 3").