Sourcehut fetcher uses regexps #244

Open
opened 2024-04-21 10:43:40 +00:00 by puck · 1 comment
Owner

Describe the bug

The Sourcehut fetcher uses a regex to match against the info/refs file in the git repo. This is bad, as it means you cannot reliably match against refs with a . in their name, like v1.2.3.

## Describe the bug The Sourcehut fetcher uses a regex to match against the `info/refs` file in the git repo. This is bad, as it means you cannot reliably match against refs with a `.` in their name, like `v1.2.3`.
puck added the
bug
label 2024-04-21 10:43:40 +00:00
Owner

Can you still match against literal periods by escaping them? v1\.2\.3?

Can you still match against literal periods by escaping them? `v1\.2\.3`?
jade added the
stability
label 2024-06-24 23:42:28 +00:00
jade added this to the Broken regexes project 2024-06-24 23:47:42 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#244
No description provided.