Skip to content

Commit e75b921

Browse files
committed
Add metadata support for e2fsprogs
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 2067ef4 commit e75b921

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2595
-1
lines changed

src/fetchcode/package.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,12 @@ class LinuxDirectoryListedSource(DirectoryListedSource):
592592
"uemacs/",
593593
]
594594

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

596602
DIR_SUPPORTED_PURLS = [
597603
"pkg:generic/busybox.*",
@@ -617,7 +623,8 @@ class LinuxDirectoryListedSource(DirectoryListedSource):
617623
"pkg:generic/ipkg.*",
618624
"pkg:generic/mtd-utils.*",
619625
"pkg:generic/barebox.*",
620-
"pkg:generic/linux.*"
626+
"pkg:generic/linux.*",
627+
"pkg:generic/e2fsprogs.*",
621628
]
622629

623630
DIR_LISTED_SOURCE_BY_PACKAGE_NAME = {
@@ -644,6 +651,7 @@ class LinuxDirectoryListedSource(DirectoryListedSource):
644651
"mtd-utils": MtdUtilsDirectoryListedSource,
645652
"barebox": BareboxDirectoryListedSource,
646653
"linux": LinuxDirectoryListedSource,
654+
"e2fsprogs": E2fsprogsDirectoryListedSource,
647655
}
648656

649657

0 commit comments

Comments
 (0)