-
-
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
Quick import should support RFC links #11949
Comments
Hello, I have read and understand the entire issue and am very interested in this issue. Can it be assigned to me? |
Welcome to the vibrant world of open-source development with JabRef! Newcomers, we're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly. In case you encounter failing tests during development, please check our developer FAQs! Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback. Happy coding! 🚀 |
Thanks for the guidance! I'm going to follow your advice and handle the RFC ID by detecting it and calling RfcFetcher . I will update the question once the changes are ready! |
* Add RfcId to handle RFC url link to support quick import * Refactor RFC URL parsing Add JavaDoc comments Remove unnecessary lowercase * Refactor RFC URL parsing Add JavaDoc comments Remove unnecessary lowercase * Adjust code style * Adjust code style * According to CI test feedback: - Removed RFC entry from identifier list(StandardField.java) - Modified RfcId class to extend EprintIdentifier * Accorfing to maintainer feedback to fix: - Replaced RfcId name with RFC class for consistency and clarity. - Updated RFC parsing logic to support both plain RFC IDs (e.g., "rfc7276") and full URLs (e.g., "https://www.rfc-editor.org/rfc/rfc7276.html"). - Added tests in RFCTest to validate proper parsing of RFC identifiers from both formats. - Removed unnecessary method (isValid) improved code clarity. - Adjusted the CompositeIdFetcher to integrate the new RFC class functionalities. * Refactored RFCTest to adhere to the suggestions provided: - Converted `testParsePlainRfcId` to a `@ParameterizedTest` using `@CsvSource`. - Adjusted `testInvalidRfc` to use `assertEquals(Optional.empty(), rfc)`. - Updated `testGetExternalUri` to verify the URI using `Optional.of()` for consistent checks. * adjust code format according to CI test(checkstyle) * Swap expected and input * Fix OpenRewrite issues * fix code style according to checkstyle --------- Co-authored-by: Cheng <[email protected]> Co-authored-by: Oliver Kopp <[email protected]>
Is this issue still open? |
As far as I am aware, the PR addresses all functionality requested, so let's close. |
I want to quickly import RFC 7276 using JabRef.
The URL is https://www.rfc-editor.org/rfc/rfc7276.html#section-2.2.2.
I would like to use the quick import
It says, however, that no Id was found.
Pasting it into the main table leads to
Using the Id fetcher explicitly, works
The text was updated successfully, but these errors were encountered: