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

Support indexing of directory listed and GNU packages #318

Merged
merged 10 commits into from
Mar 19, 2024

Conversation

keshav-space
Copy link
Member

@keshav-space keshav-space commented Mar 6, 2024

PR adds support for indexing these PURLs

  • 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

@keshav-space keshav-space force-pushed the support-indexing-of-dir-listed-packages branch 3 times, most recently from 77d9faa to dedf971 Compare March 8, 2024 05:47
@keshav-space keshav-space force-pushed the support-indexing-of-dir-listed-packages branch from dedf971 to 5d6e1d7 Compare March 8, 2024 06:03
Signed-off-by: Keshav Priyadarshi <[email protected]>
Signed-off-by: Keshav Priyadarshi <[email protected]>
Copy link
Member

@JonoYang JonoYang left a comment

Choose a reason for hiding this comment

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

@keshav-space Looks good, I just had some questions in test_gnu.py

minecode/tests/test_gnu.py Outdated Show resolved Hide resolved
minecode/tests/test_gnu.py Show resolved Hide resolved
Signed-off-by: Keshav Priyadarshi <[email protected]>
@JonoYang
Copy link
Member

@keshav-space I think the PR looks alright. @pombredanne Do you have any thoughts on this?

@pombredanne
Copy link
Member

IMHO we should switch to use Azure pipelines instead

@pombredanne
Copy link
Member

but this is another thing entirely.

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

Some minor nits for your consideration. Good to merge at your convenience.

logger.error(error)
return error

package_data = packages[0].to_dict()
Copy link
Member

Choose a reason for hiding this comment

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

can there be more than 1?

Copy link
Member Author

Choose a reason for hiding this comment

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

For a versioned PURL it cannot be more than one.

minecode/visitors/generic.py Show resolved Hide resolved
minecode/visitors/generic.py Outdated Show resolved Hide resolved
minecode/visitors/generic.py Show resolved Hide resolved
@keshav-space keshav-space merged commit e676fc0 into main Mar 19, 2024
6 of 8 checks passed
@keshav-space keshav-space deleted the support-indexing-of-dir-listed-packages branch March 19, 2024 07:05
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.

3 participants