-
-
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
Merge libraries #12290
Comments
Test cases need to be implemented. Either create a separate sub folder in JabRef or use jimfs: testImplementation ('com.google.jimfs:jimfs:1.2') {
exclude group: "com.google.auto.service"
exclude group: "com.google.code.findbugs"
exclude group: "org.checkerframework"
} |
Hi we are a group of students from the ANU and we would really like to work on this issue. What is the procedure to go about doing that? |
In addition to the above question, we would like to ask for some clarification surrounding definitions. |
@leonzolati I assigned you. Thus, it should be clear for others that someone is working on it. Providing some background:
I don't get your question fully. I think, you mean, the BibTeX key However, Maybe following helps: Please check the paragraph https://en.wikipedia.org/wiki/BibTeX#Basic_structure at. With I also have a small presentation at https://speakerdeck.com/koppor/jabref-and-open-source-development?slide=6 - however, it is somehow incomplete as |
thank you for this explanation it helped us a lot. Just to keep you informed, we have a working prototype of the code with some black-box testing but plan to increase code coverage in the coming days. We would like to ask for some additional clarification on this point: what is meant by the following: If the attached file is not stored relatively under the directory of the bib file where it is imported, ask to copy it. Do you mean that the directory the the .bib files to merge should be in a child of the working directory and if it isn't, we should ask to copy it into a new directory that is a child of the working directory? Thank you very much, Leon. |
Maybe, this is too confusing for the user and should be a separate functionality. :) - Forget in your PR. |
Just out of curiosity, in which way is this different to opening both files in JabRef, copying all entries from one file and pasting them in the other file? Isn't there already some check for duplicates and possibilities of merging? And if not sufficient, should this be enhanced on the go while implementing this functionality? |
It is more a convenience feature. JabRef currently does not allow for having a "view" on all bibtex libraries. JabRef is still file-based. Situation: the researcher group manages papers at c:\git-repositories\publications. I manage my bib at c:\git-repositories\private-library. I just want to know all entries of the whole group. I can open all bib files, but with > 300 publications of the whole group, the usability of JabRef would shrink. Moreover, I do not want to manually open the bib file of each new publication and put into JabRef. I just want, if I am in the mode of collecting references, to have a "sync" of existing references. Thereby, I do not want to think: Which publications are new? Which bib files might have changed... I know Nevertheless a good exercise for students to think of cases, edge cases, ... For sure, the duplication check needs to be adapted (in any case) - refs #9769. |
Got it, in your use case with a ton of different publications with own .bib files, that indeed makes sense! Additionally, there might be use cases where one wants to remove a group from an entry in the central database (possibly also remove the entry altogether if no groups from sources are left) in case where an entry is removed from a source. That might be even harder to implement in a robust way, though. |
As researcher, I have created dozens of
.bib
files, which I want to consolidate into one: I would like to point JabRef do a directory. Then, it recursively crawls the directory for*.bib
files. For each found file: Import it in the currently opened library.For each entry:
Note that this issue refs #160. That issue is about updated paper-bib-files and a main file, whereas this issue here is about merging data of "old" bib files.
The text was updated successfully, but these errors were encountered: