Skip to content

Commit

Permalink
Add metadata support for e2fsprogs
Browse files Browse the repository at this point in the history
Signed-off-by: Keshav Priyadarshi <[email protected]>
  • Loading branch information
keshav-space committed Mar 28, 2024
1 parent 2067ef4 commit e75b921
Show file tree
Hide file tree
Showing 52 changed files with 2,595 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/fetchcode/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,12 @@ class LinuxDirectoryListedSource(DirectoryListedSource):
"uemacs/",
]

class E2fsprogsDirectoryListedSource(DirectoryListedSource):
source_url = "https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/"
source_archive_regex = re.compile(r"^(e2fsprogs-)(?P<version>[\w.-]*)(.tar.gz)$")
is_nested = True
ignored_files_and_dir = ["testing/"]


DIR_SUPPORTED_PURLS = [
"pkg:generic/busybox.*",
Expand All @@ -617,7 +623,8 @@ class LinuxDirectoryListedSource(DirectoryListedSource):
"pkg:generic/ipkg.*",
"pkg:generic/mtd-utils.*",
"pkg:generic/barebox.*",
"pkg:generic/linux.*"
"pkg:generic/linux.*",
"pkg:generic/e2fsprogs.*",
]

DIR_LISTED_SOURCE_BY_PACKAGE_NAME = {
Expand All @@ -644,6 +651,7 @@ class LinuxDirectoryListedSource(DirectoryListedSource):
"mtd-utils": MtdUtilsDirectoryListedSource,
"barebox": BareboxDirectoryListedSource,
"linux": LinuxDirectoryListedSource,
"e2fsprogs": E2fsprogsDirectoryListedSource,
}


Expand Down
Loading

0 comments on commit e75b921

Please sign in to comment.