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 basic support for openwrt packages #2376 #2400

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/packagedcode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from packagedcode import npm
from packagedcode import nuget
from packagedcode import opam
from packagedcode import openwrt
from packagedcode import phpcomposer
from packagedcode import pubspec
from packagedcode import pypi
Expand Down Expand Up @@ -134,6 +135,7 @@
win_pe.WindowsPackage,
pubspec.PubspecPackage,
cran.CranPackage
openwrt.OpenwrtPackage,
]


Expand Down
3 changes: 3 additions & 0 deletions src/packagedcode/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ class BasePackageData(BaseModel):
# list of known metafiles for a package type
file_patterns = tuple()

# list of known installation db path for a package type
installed_dbs = tuple()

# Optional. Public default web base URL for package homepages of this
# package type on the default repository.
default_web_baseurl = None
Expand Down
Loading