items/zfs_dataset: remove automatic dependency detection for now
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This basically reverts commit 1086ed28c3
This commit is contained in:
parent
cee2a41771
commit
84d55c246a
12 changed files with 56 additions and 8 deletions
|
@ -119,13 +119,16 @@ class ZFSDataset(Item):
|
|||
# XXX Could be optimized by finding the "largest"
|
||||
# parent only.
|
||||
yield item.id
|
||||
elif self.attributes.get('mountpoint'):
|
||||
for item_type in ['directory', 'file', 'git_deploy']:
|
||||
if (
|
||||
item.ITEM_TYPE_NAME == item_type and
|
||||
item.name.startswith('{}:{}'.format(item_type, self.attributes['mountpoint']))
|
||||
):
|
||||
yield item.id
|
||||
|
||||
# XXX This populates 'needs', not 'needed_by'. We have opened
|
||||
# an issue: https://github.com/bundlewrap/bundlewrap/issues/648
|
||||
# elif self.attributes.get('mountpoint'):
|
||||
# for item_type in ['directory', 'file', 'git_deploy']:
|
||||
# if (
|
||||
# item.ITEM_TYPE_NAME == item_type and
|
||||
# item.name.startswith('{}:{}'.format(item_type, self.attributes['mountpoint']))
|
||||
# ):
|
||||
# yield item.id
|
||||
|
||||
|
||||
if not pool_item_found:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue