Skip to content

Commit

Permalink
fix: follow redirects, update wakemeops repo url
Browse files Browse the repository at this point in the history
  • Loading branch information
fyhertz committed Jan 23, 2022
1 parent 96cf38e commit 08e0c43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wakemebot/apt.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _build_repository_component(


def parse_repository(repository_url: str, distribution: str) -> Repository:
with httpx.Client(base_url=repository_url) as client:
with httpx.Client(base_url=repository_url, follow_redirects=True) as client:
release = _download_repository_release_file(client, distribution)
architectures = release["Architectures"].split(" ")
components = release["Components"].split(" ")
Expand Down
2 changes: 1 addition & 1 deletion src/wakemebot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def version() -> None:
@app.command(name="docs", help="Update documentation")
def update_documentation(
debian_repository: str = typer.Option(
"http://deb.wakemeops.com/ stable",
"http://deb.wakemeops.com/wakemeops/ stable",
"--repository",
"-r",
envvar="OPS2DEB_REPOSITORY",
Expand Down

0 comments on commit 08e0c43

Please sign in to comment.