Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for base_url #151

Merged
merged 5 commits into from Apr 30, 2024
Merged

Add support for base_url #151

merged 5 commits into from Apr 30, 2024

Conversation

dholth
Copy link
Contributor

@dholth dholth commented Apr 8, 2024

Description

Add support for base_url. Fix #150

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Apr 8, 2024
@dholth
Copy link
Contributor Author

dholth commented Apr 8, 2024

Should we add base_url to index.html also? Would need to be applied to all package filenames but not repodata.json.

@@ -499,8 +500,10 @@ def __init__(
write_zst=False,
write_run_exports=False,
compact_json=True,
*,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make newer arguments keyword-only and not passable by position

conda_index/cli/__init__.py Show resolved Hide resolved
conda_index/cli/__init__.py Outdated Show resolved Hide resolved
conda_index/index/__init__.py Show resolved Hide resolved
@dholth dholth merged commit b6f5d67 into main Apr 30, 2024
21 checks passed
@dholth dholth deleted the base-url branch April 30, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Status: 🏁 Done
Development

Successfully merging this pull request may close these issues.

Support base_url
3 participants