-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Support html when parsing arXiv identifiers #14474
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
Conversation
- Added 'html' to ARXIV_PREFIX regex pattern to recognize arxiv.org/html/ URLs - Added test cases for HTML URLs with HTTP/HTTPS and with/without version numbers Fixes JabRef#14451
Hey @omkarrr2533!Thank you for contributing to JabRef! Your help is truly appreciated ❤️ We have automated checks in place, based on which you will soon get feedback if any of them are failing. In a while, maintainers will also review your contribution. Once that happens, you can go through their comments in the "Files changed" tab and act on them, or reply to the conversation if you have further inputs. Please re-check our contribution guide in case of any other doubts related to our contribution workflow. |
| <JavaCodeStyleSettings> | ||
| <option name="DO_NOT_WRAP_AFTER_SINGLE_ANNOTATION" value="true" /> | ||
| <option name="SPACE_INSIDE_ONE_LINE_ENUM_BRACES" value="true" /> | ||
| <option name="LAYOUT_ON_DEMAND_IMPORT_FROM_SAME_PACKAGE_FIRST" value="false" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert changes here
|
@omkarrr2533 Why no CHANGELOG.md update? Was it too hard for you? |
| private static final Logger LOGGER = LoggerFactory.getLogger(ArXivIdentifier.class); | ||
|
|
||
| private static final String ARXIV_PREFIX = "http(s)?://arxiv.org/(abs|pdf)/|arxiv|arXiv"; | ||
| private static final String ARXIV_PREFIX = "http(s)?://arxiv.org/(abs|pdf|html)/|arxiv|arXiv"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about alphabetical ordering?! I changed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually that's my first contribution , i tried my best
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You did very well. You had a quick reaction time and kept communicating with the maintainers.
If something is addressed or modified by us, its mostly something simple we fix quickly in the web interface to get the PR ready to be merged. Nothing to be concerned of.
We would love to see more from you. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just make sure you carefully read the contribution guidelines and stay true in what you code and what you write.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure .
|
You ticked that you modified If you made changes that are visible to the user, please add a brief description along with the issue number to the |
…ue676 * upstream/main: (227 commits) Adapt welcome message (JabRef#14487) Add message when closing a PR Add collection of "all" AI features (JabRef#14438) Trigger conflict-detection on push on main (JabRef#14479) Add unassigned_comment on comment issue New Crowdin updates (JabRef#14483) Tweak labels also at merge conflicts Merge --remove-label and --add-label Remove SmartGroup and refactor groups factory (JabRef#14398) more debug Support html when parsing arXiv identifiers (JabRef#14474) Add debug and fix run Remove "ready-for-review" if changes are required Have label move as last step of comment Add pr number to output change files to file(s) (JabRef#14465) Add CDS archive (JabRef#14476) Fix adapting labels (JabRef#14477) Chore(deps): Bump jablib/src/main/resources/csl-styles (JabRef#14468) Chore(deps): Bump net.bytebuddy:byte-buddy in /versions (JabRef#14472) ...
* upstream/main: (102 commits) Adapt welcome message (JabRef#14487) Add message when closing a PR Add collection of "all" AI features (JabRef#14438) Trigger conflict-detection on push on main (JabRef#14479) Add unassigned_comment on comment issue New Crowdin updates (JabRef#14483) Tweak labels also at merge conflicts Merge --remove-label and --add-label Remove SmartGroup and refactor groups factory (JabRef#14398) more debug Support html when parsing arXiv identifiers (JabRef#14474) Add debug and fix run Remove "ready-for-review" if changes are required Have label move as last step of comment Add pr number to output change files to file(s) (JabRef#14465) Add CDS archive (JabRef#14476) Fix adapting labels (JabRef#14477) Chore(deps): Bump jablib/src/main/resources/csl-styles (JabRef#14468) Chore(deps): Bump net.bytebuddy:byte-buddy in /versions (JabRef#14472) ...
Closes #14451
This PR adds support for parsing arXiv HTML URLs (e.g.,
https://arxiv.org/html/2511.01348v2). TheARXIV_PREFIXregex pattern has been updated to includehtmlalongside the existingabsandpdfpatterns, and corresponding test cases have been added.Steps to test
https://arxiv.org/html/2511.01348v2Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)