Skip to content

Improve docs to reduce issues from #132 - #211

Closed
hamishwillee wants to merge 1 commit into
dronekit:masterfrom
hamishwillee:fix_use_of_cmds_clear
Closed

hamishwillee wants to merge 1 commit into
dronekit:masterfrom
hamishwillee:fix_use_of_cmds_clear

Conversation

@hamishwillee

Copy link
Copy Markdown
Contributor

This adds explicit warnings to the docs that you need to call flush after clear. We might remove this warning after #132 is fixed.

It also updates the examples appropriately. Those changes can be left after #132 is fixed because they "do no harm"

@tcr3dr

tcr3dr commented Jul 17, 2015

Copy link
Copy Markdown
Contributor

@hamishwillee Can you re-open this PR as a branch on dronekit-python? Looks like Travis will be giving us some trouble:

Encrypted environment variables are not available to pull requests from forks due to the security risk of exposing such information to unknown code.

Hence the CI failure.

@hamishwillee

Copy link
Copy Markdown
Contributor Author

@tcr3dr Unfortunately I do not know what you mean by " re-open this PR as a branch on dronekit-python?". This is a branch of dk-python - rebased off the upstream master and submitted to my fork.

@tcr3dr

tcr3dr commented Jul 17, 2015

Copy link
Copy Markdown
Contributor

@hamishwillee Ah yes. Can you push your fork's branch as a branch of https://github.com/diydrones/dronekit-python? And open a PR from that rather than hamishwillee:fix_use_of_cmds_clear.

Travis CI doesn't like giving environment variable access to forks. Looks like any PRs submitting directly from your fork (rather than as a branch of the original repo) will continue to fail. :(

@hamishwillee

Copy link
Copy Markdown
Contributor Author

@tcr3dr Are you saying that anyone who wants to contribute will have to create branches on the main repo? That sounds like travis is broken - adn will mean further updates to the contribution docs because they currently mandate the fork-branch-merge-upstream model.

I will try to do as you have suggested in this case. I am not particularly good with github.

@hamishwillee

Copy link
Copy Markdown
Contributor Author

@tcr3dr closed this - replaced by #213.

@tcr3dr Are you saying that anyone who wants to contribute will have to create branches on the main repo? That sounds like travis is broken - and will mean further updates to the contribution docs because they currently mandate the fork-branch-merge-upstream model.

Actually I think that I still get to work in a remote fork etc, but this does mean that we end up with potentially a lot of branches on the main repo. So maybe just "more messy". I just need to understand the model so I can document it.

@tcr3dr

tcr3dr commented Jul 17, 2015

Copy link
Copy Markdown
Contributor

@hamishwillee You're right. I'll have to review this further also. I think there is a way in which this model works for external forks, I'll dig into it.

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