-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)team-Loading-APIBUILD file and macro processing: labels, package(), visibility, globBUILD file and macro processing: labels, package(), visibility, globtype: feature request
Description
Motivation.
- Have an ability to write
my_pkg_tar
not repeating directories list:
my_pkg_tar(
name='xxx'
files={
'bin': [ *loooong_list ], # * just for clarity
'lib': [ *one_more_long_list ],
}
)
instead of:
my_pkg_tar(
name='xxx'
files={
':aaa': 'bin',
':aab': 'bin',
':aac': 'bin',
':aad': 'bin',
':aae': 'bin',
':aaf': 'bin',
':aag': 'bin',
......... looooooong list
':zzs': 'lib',
':zzt': 'lib',
':zzu': 'lib',
':zzv': 'lib',
':zzw': 'lib',
':zzx': 'lib',
':zzy': 'lib',
':zzz': 'lib',
}
)
- Dicts can not be added to
select
's of dicts (and even more+
is deprecated), one can not write:
{ ':aaa' : 'bin' } + select(....) + { ':zzz': 'lib' }
And we could write:
{ 'bin' : some_list + select(...), 'lib' : some_other_list }
Stuv7CB, winter3angle, metri, kestel, excitoon and 50 moretr0mb1r and webalex127pvlnes, AngryJKirk, RoVys, TopTuK, GrayNM and 3 morezdvitas, tr0mb1r and webalex127karimka and uri-canva
Metadata
Metadata
Assignees
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)team-Loading-APIBUILD file and macro processing: labels, package(), visibility, globBUILD file and macro processing: labels, package(), visibility, globtype: feature request