koppor / jabref

Collection of simple for JabRef issues. Please submit PRs to https://github.com/jabRef/jabref/.
https://github.com/jabRef/jabref/
MIT License
8 stars 13 forks source link

When copying and pasting an entry to another bib file - the .pdf should also be copied #520

Open koppor opened 2 years ago

koppor commented 2 years ago

As user, I have my personal.bib and a collaboratively edited paper.bib (Refs https://github.com/JabRef/jabref/issues/160). The paper.bib has configured a (separate) file directory where the PDFs are stored. If this is true, I would like to have to following behavior:

  1. I copy an entry of personal.bib. That entry has attached a PDF A.pdf.
  2. I paste that entry to paper.bib.
  3. A.pdf should be copied to the file directory of library paper.bib
u7484052 commented 10 months ago

Hi, I am a University student and would like to work on this issue as a part of one of my current assignments. If possible could it be allocated to me and furthermore do you have any tips that would improve the experience that I have working on the issue?

Thanks!

koppor commented 10 months ago

@u7484052 I assinged you.

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.

koppor commented 10 months ago

@u7484052 Please create two different folders. Open JabRef, create a bib file. Save it in folder A. Create another bib file, save it in folder B. Siwtch back to A. Add an entry and attach a PDF to the entry.

image

Attachment can be done using drag and drop

image

Please work on the test setting using JUnit. - This helps you to understand the logic of JabRef.

Note that the JUnit test setup is similar as for https://github.com/JabRef/jabref/issues/9798#issuecomment-1761330493. Maybe, you can benefit from that hint, too.