-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CleanupJob for removing non-existent files #10929
Comments
Hi, we (@WenJJ2000 @karlsb @burcukilic @muchembledMartin @LinusWallin) are a group of university students who would like to work on this issue if possible! |
As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at. Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback. |
Hi! We have implemented a cleanup job for removing non-existing files but do not know when to trigger it. Should there be a new field in the "cleanup entry" under "quality" in the app menu? Or should it be triggered automatically somewhere else? Is it in the scope of this issue? |
(This is #7288 (comment))
As user, I have renamed files, but JabRef still has the old links. JabRef perfectly links the new files, but also keeps the broken links. I want to have them removed.
Implement
org.jabref.logic.cleanup.RemoveLinksToNotExistentFiles
.That class is similar to
org.jabref.logic.cleanup.MoveFilesCleanup
, but usesorg.jabref.logic.externalfiles.LinkedFileHandler#findExistingFile
. Links withorg.jabref.model.entry.LinkedFile#isOnlineLink()
do not exist in the file system, but have to kept, too.When testing, please make use of JUnit's
@TempDir
or let inspire yourself with org.jabref.logic.search.DatabaseSearcherWithBibFilesTest.The text was updated successfully, but these errors were encountered: