Skip to content
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

Fix url shortening for gitlab, and more test for github #1888

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

Carreau
Copy link
Collaborator

@Carreau Carreau commented Jun 18, 2024

Closes #1887

Note that some non cannonical url (not having /-/) are not properly shortened.

Closes pydata#1887

Note that some non cannonical url (not having /-/) are not properly
shortened.
"gitlab-org/gitlab#375583",
),
(
# todo, non cannonical url, needs extra parsing.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this TODO still outstanding? Looks like all tests are passing...

Copy link
Collaborator Author

@Carreau Carreau Jun 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that both gitlab.com/foo/bar/issues and gitlab.com/foo/bar/-/issues should shorten to the same.

It's more a good to have but would be an extra feature for another time.

tests/test_short_url.py Show resolved Hide resolved
@Carreau Carreau changed the title Fix url shortening for gitlab. Fix url shortening for gitlab, and more test for github Jun 19, 2024
Copy link
Collaborator

@drammock drammock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok with me to address the TODOs in a later PR

@trallard
Copy link
Collaborator

Since this has been approved and CI is happy I will go ahead and merge

@trallard trallard added the kind: enhancement New feature or request label Jun 25, 2024
@trallard trallard merged commit be9f10d into pydata:main Jun 25, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

failure to parse http links containing dashes
3 participants