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

Remove unused fallback method for post_status #1528

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

mortenpi
Copy link
Member

In git_push we only use the method that passes the DeployConfig as the first positional argument, so this one is unnecessary. Potentially using this method in Documenter in the future is probably a bad idea, since it calls auto_detect_deploy_system() again, potentially introducing environment-dependent bugs.

In git_push we only use the method that passes the DeployConfig as the
first positional argument, so this one is unnecessary. Potentially using
this method in Documenter in the future is probably a bad idea, since it
calls auto_detect_deploy_system() again, potentially introducing
environment-dependent bugs.
@fredrikekre
Copy link
Member

@mortenpi
Copy link
Member Author

mortenpi commented Feb 15, 2021

Arguably it would be better to change that to

Documenter.post_status(Documenter.auto_detect_deploy_system(); type="pending", repo="github.com/fredrikekre/Literate.jl.git")

? auto_detect_deploy_system is called on 3 separate occasions in that make.jl, two of which are implicit calls.

@mortenpi mortenpi merged commit 4be8243 into master Feb 16, 2021
@mortenpi mortenpi deleted the mp/rm-post-status-fallback branch February 16, 2021 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants