Skip to content

Commit 76b3d34

Browse files
committed
reduce limit to less than 3
1 parent 80897fc commit 76b3d34

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/automated_ingestion/eessi_task_payload.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ def analyse_contents(self, config: Dict) -> str:
4848
tar_num_members = len(members)
4949
paths = sorted([m.path for m in members])
5050

51-
if tar_num_members < 100:
51+
# reduce limit for full listing from 100 to 3 because the description can
52+
# include 10s of tarballs and thus even 100 maybe too many; using a very
53+
# small number can still be useful if there is only a very small number
54+
# of files, say an architecture specific configuration file
55+
if tar_num_members < 3:
5256
tar_members_desc = "Full listing of the contents of the tarball:"
5357
members_list = paths
5458

0 commit comments

Comments
 (0)