-
Notifications
You must be signed in to change notification settings - Fork 7
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
Implement api.json generation in pulp-docs #59
Implement api.json generation in pulp-docs #59
Conversation
e46a59e
to
0f32b6d
Compare
* Add openapi generation module + tests * Add pytest suite to CI. Only build sanity test was being run.
0f32b6d
to
2be5c96
Compare
install_cmd = ["pip", "install", "pulpcore"] | ||
else: | ||
url = f"git+{plugin.get_remote_url()}" | ||
install_cmd = ["pip", "install", "pulpcore", url] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each plugin depends on pulpcore. Why adding that here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somehow I've ignored that.
if plugin.is_subpackage or plugin.name == "pulpcore": | ||
if Path(self.venv_path).exists(): | ||
return | ||
install_cmd = ["pip", "install", "pulpcore"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We install the others from git why is it different for pulpcore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It shouldnt be.
I'll send another PR with those fixes |
About this PR:
{plugin}-api.json
usingpulpcore-manager openapi
command.