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

Package links missing for Kali #1350

Closed
elboulangero opened this issue Sep 13, 2023 · 1 comment
Closed

Package links missing for Kali #1350

elboulangero opened this issue Sep 13, 2023 · 1 comment

Comments

@elboulangero
Copy link
Contributor

Hello, I noticed that for Kali, there's no link to the sources, eg:

https://repology.org/project/twofi/versions

This package, as all Kali package, has a Vcs field:

$ apt showsrc twofi | grep Vcs
Vcs-Browser: https://gitlab.com/kalilinux/packages/twofi
Vcs-Git: https://gitlab.com/kalilinux/packages/twofi.git

I had a look at the code here, and I thought that the Vcs-Browser field would have been picked up by this code:

if (url := _extract_vcs_link(pkgdata)) is not None:
if self._allowed_vcs_urls_re is not None and self._allowed_vcs_urls_re.match(url):
pkg.add_links(LinkType.PACKAGE_SOURCES, url)

Apparently that's not the case. Do you have any idea what's wrong?

To be clear: I don't know if it worked before (hence it's a regression), or if it never worked.

Thanks!

@elboulangero
Copy link
Contributor Author

Thank you @AMDmi3!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants