Skip to content

Fix conf.py for external versions #7845

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

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Fix conf.py for external versions #7845

merged 2 commits into from
Jan 19, 2021

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Jan 19, 2021

version.vcs_url shouldn't have access to the db for external versions. The value was being evaluated for all aversions

@ericholscher ericholscher added the PR: hotfix Pull request applied as hotfix to release label Jan 19, 2021
@stsewd stsewd merged commit c6d9754 into master Jan 19, 2021
@stsewd stsewd deleted the fix-conf branch January 19, 2021 19:50
@@ -170,6 +174,7 @@ def get_config_params(self):
'downloads': downloads,
'subproject_urls': subproject_urls,
'build_url': build_url,
'vcs_url': vcs_url,
Copy link
Member

Choose a reason for hiding this comment

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

Why don't we pass always self.version.vcs_url instead only when it's external? I think that will simplify code reading and thinking about why.

Otherwise, we could have a comment in the previous if.

Copy link
Member Author

Choose a reason for hiding this comment

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

this is only used in external versions currently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: hotfix Pull request applied as hotfix to release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants