aboutcode-org / aboutcode-org/fetchcode

Add missing metadata like homepage, description in DirectoryListedSource

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
HTML
Stars
13
Forks
24
PR merge metrics
No merged PRs in 30d

Description

We should add a `get_default_package` class method with hardcoded metadata in each `DirectoryListedSource`, and `get_package_info` should build upon this default data with download_url, released_date, etc.
```python
@classmethod
def get_default_package(cls):
"""Return a Package object populated with default for this data source."""
return Package(
homepage="",
description="",
vcs_url="",
)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.