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

Add support for directory listed source archives in package.info #107

Merged
merged 15 commits into from
Mar 11, 2024

Conversation

keshav-space
Copy link
Member

@keshav-space keshav-space commented Feb 29, 2024

This PR adds support for these PURLs in package.info

  • pkg;gnu/.*
  • pkg:generic/busybox
  • pkg:generic/bzip2
  • pkg:generic/dnsmasq
  • pkg:generic/dropbear
  • pkg:generic/ebtables
  • pkg:generic/hostapd
  • pkg:generic/ipkg
  • pkg:generic/iproute2
  • pkg:generic/iptables
  • pkg:generic/libnl
  • pkg:generic/lighttpd
  • pkg:generic/nftables
  • pkg:generic/openssh
  • pkg:generic/samba
  • pkg:generic/syslinux
  • pkg:generic/toybox
  • pkg:generic/uclibc
  • pkg:generic/uclibc-ng
  • pkg:generic/util-linux
  • pkg:generic/wpa_supplicant

Signed-off-by: Keshav Priyadarshi <[email protected]>
- Since there will be no new releases of ipkg, it's better to store them in a dictionary rather than fetching them every time.

Signed-off-by: Keshav Priyadarshi <[email protected]>
- packageurl.contrib.route doesn't have a way to properly
 specify the pattern where a particular versionless and
 versioned PURL needs to be routed to the same function.

Signed-off-by: Keshav Priyadarshi <[email protected]>
@keshav-space keshav-space force-pushed the support-dir-listed-packages branch 2 times, most recently from eaae40d to 97822bc Compare March 5, 2024 09:35
@keshav-space keshav-space requested a review from TG1999 March 5, 2024 09:37
Signed-off-by: Keshav Priyadarshi <[email protected]>
@keshav-space keshav-space force-pushed the support-dir-listed-packages branch from 97822bc to 8755b54 Compare March 5, 2024 09:48
Signed-off-by: Keshav Priyadarshi <[email protected]>
Signed-off-by: Keshav Priyadarshi <[email protected]>
Signed-off-by: Keshav Priyadarshi <[email protected]>
src/fetchcode/package.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@TG1999 TG1999 left a comment

Choose a reason for hiding this comment

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

LGTM!

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

Successfully merging this pull request may close these issues.

2 participants