Skip to content

Conversation

YustinaKvr
Copy link
Contributor

  1. Switch to new otc-metadata-rework structure


main(BASE_DIR_REGULAR, BASE_RTC_TABLE, BASE_DOC_TABLE, STYRING_URL_REGULAR)
main(BASE_DIR_SWISS, f"{BASE_RTC_TABLE}_swiss", f"{BASE_DOC_TABLE}_swiss", STYRING_URL_SWISS)
main(BASE_DIR_UNIFIED, BASE_RTC_TABLE, BASE_DOC_TABLE, STYRING_URL_REGULAR, target_cloud="eu_de")
Copy link
Member

Choose a reason for hiding this comment

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

instead of hardcoding can you dynamically query it from otc-metadata to avoid that in future you need to change it with every new env?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see need to use var here, because in case of changes, we anyway need to change it, here or in var. But using vars could potentially complicate and confuse either changes or debugging, because implies and rely on using one more tool here. So since this is not a sensitive content and not not changes very often, I'd prefer use explicit path here

page = 1

if rtc_table == "repo_title_category":
org = "docs"
Copy link
Member

Choose a reason for hiding this comment

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

also this part can be dynamically fetched from otc-metadata

@YustinaKvr YustinaKvr requested a review from vladimirhasko July 14, 2025 16:16
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.

4 participants