mac_maker.utilities.workspace

Workspace representation.

class mac_maker.utilities.workspace.WorkSpace[source]

Workspace representation.

add_folder(folder_location)[source]

Add a local filesystem folder to the current Workspace.

Parameters:

folder_location (str) – A validated filesystem path to add.

Return type:

None

add_repository(repo, branch_name)[source]

Add a GitHub Repository to the current Workspace.

Parameters:
  • repo (GithubRepository) – The GitHub Repository object.

  • branch_name (Optional[str]) – The GitHub Repository branch name.

Return type:

None

add_spec_file()[source]

Generate and write a spec file to this workspace.

Raises:

WorkSpaceInvalid

Return type:

None