Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ def _after_make_experiments(self, workspace, app_inst=None):

package_manager_family("info-package-manager")

def get_package_list(self, workspace):
del workspace
return []

def environment_load_commands(self) -> List[str]:
return []

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ class WhenPackageManager(PackageManagerBase):
when=["+pkg_man_required_key"],
)

def get_package_list(self, workspace):
del workspace
return []

def environment_load_commands(self) -> List[str]:
return []

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ def _add_software_to_results(self, workspace, app_inst=None):
prov_cache[self.name][env_name] = pkg_list
self.app_inst.result.software[self.output_prefix] = pkg_list

# Methods that need to be defined by every derived package manager
@abc.abstractmethod
def get_package_list(self, workspace):
"""Method used by add_software_to_results phase to get software provenance info"""
del workspace
return []

@abc.abstractmethod
def environment_load_commands(self) -> List[str]:
Expand Down