Skip to content

Support indexing of directory listed and GNU packages - #318

Merged
keshav-space merged 10 commits into
mainfrom
support-indexing-of-dir-listed-packages
Mar 19, 2024
Merged

keshav-space merged 10 commits into
mainfrom
support-indexing-of-dir-listed-packages

Conversation

@keshav-space

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

Copy link
Copy Markdown
Member

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

Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
@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 <git@keshav.space>
Signed-off-by: Keshav Priyadarshi <git@keshav.space>

@JonoYang JonoYang left a comment

Copy link
Copy Markdown
Member

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

Comment thread minecode/tests/test_gnu.py Outdated
Comment thread minecode/tests/test_gnu.py
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
@JonoYang

Copy link
Copy Markdown
Member

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

@pombredanne

Copy link
Copy Markdown
Member

IMHO we should switch to use Azure pipelines instead

@pombredanne

Copy link
Copy Markdown
Member

but this is another thing entirely.

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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.

Comment thread minecode/visitors/generic.py
Comment thread minecode/visitors/generic.py Outdated
Comment thread minecode/visitors/generic.py
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
@keshav-space
keshav-space merged commit e676fc0 into main Mar 19, 2024
@keshav-space
keshav-space deleted the support-indexing-of-dir-listed-packages branch March 19, 2024 07:05
JonoYang pushed a commit that referenced this pull request Apr 14, 2025
…ages

Support indexing of directory listed and GNU packages
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