-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
53 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ def get_apt_repo_url(public: bool = False) -> str: | |
return f"[email protected]:{packages_repo}.git" | ||
|
||
|
||
def apt_clone(public: bool=False, sparse: bool=False): | ||
def apt_clone(public: bool = False, sparse: bool = False): | ||
"""Checks out the GR apt repo""" | ||
if GR_APT_REPO_PATH.is_dir(): | ||
echo(f"Packages repo has already been cloned to {GR_APT_REPO_PATH}", "blue") | ||
|
@@ -93,7 +93,7 @@ def apt_push(): | |
raise click.ClickException("Failed to push to apt repo") | ||
|
||
|
||
def apt_add(deb: Optional[Path]=None, sparse: bool=False): | ||
def apt_add(deb: Optional[Path] = None, sparse: bool = False): | ||
"""Adds a .deb to the GR apt repo""" | ||
|
||
if not GR_APT_REPO_PATH.exists(): | ||
|
@@ -122,6 +122,7 @@ def apt_add(deb: Optional[Path]=None, sparse: bool=False): | |
cwd=GR_APT_REPO_PATH, | ||
) | ||
|
||
|
||
class Packaging(PlatformCliGroup): | ||
def create(self, cli: click.Group): | ||
@cli.group(help="Packaging commands") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters