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 M1M3 bump tests reports endpoint #232

Merged
merged 2 commits into from
Feb 5, 2024
Merged

Conversation

sebastian-aranda
Copy link
Contributor

@sebastian-aranda sebastian-aranda commented Jan 24, 2024

This PR adds the reports/m1m3-bump-tests endpoint in order to query the new app of the LOVE-commander: lsst-ts/LOVE-commander#66.
Also several pre-commit warnings were fixed.

@@ -547,7 +562,10 @@ def salinfo_topic_names(request):
query = ""
if "categories" in request.query_params:
query = "?categories=" + request.query_params["categories"]
url = f"http://{os.environ.get('COMMANDER_HOSTNAME')}:{os.environ.get('COMMANDER_PORT')}/salinfo/topic-names{query}"
url = (
f"http://{os.environ.get('COMMANDER_HOSTNAME')}:"
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way to add https somehow? Can that be an ENV variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a great suggestion @pkubanek, although I think I'll leave this for another ticket as it would mean a refactor not realted to this specific PR. Created: DM-42782.

Copy link
Member

@pkubanek pkubanek left a comment

Choose a reason for hiding this comment

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

Mostly re-formatted using pre-commit, looks good.

@sebastian-aranda sebastian-aranda merged commit 74ec5ff into develop Feb 5, 2024
2 checks passed
@sebastian-aranda sebastian-aranda deleted the tickets/DM-42550 branch February 5, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants