drdoctr / doctr

A tool for automatically deploying docs from Travis CI to GitHub pages.
https://drdoctr.github.io
MIT License
107 stars 30 forks source link

[next release] list of repos using doctr to PR fixes to #160

Open gforsyth opened 7 years ago

gforsyth commented 7 years ago

As of 1.5.0, the --gh-pages-docs flag is deprecated in favor of a required command line argument (doctr deploy deploy_dir). Several repos need to be updated.

Following the merge and release of #157

The list of repos I have using doctr (searching for doctr and filtering for YAML files) is:

bryanwweber commented 7 years ago

Hi! I'm the @bryanwweber that's using Doctr for my two repositories (and I'm setting up a third right now). What do I need to do here?

asmeurer commented 7 years ago

Nothing until we do a release, but we are deprecating the --gh-pages-docs flag of doctr deploy, and replacing it with a requirement argument (like doctr deploy .). Once we do a release we want to make sure all these repos are updated so that the change will have minimal impact once we remove the flag entirely.

bryanwweber commented 7 years ago

OK got it. I'll watch for the release and update accordingly. Thanks!

gforsyth commented 7 years ago

Hey @bryanwweber -- the latest doctr has been released, so you should change your doctr deploy lines to just treat the deploy directory as a required argument. I'm happy to PR that in if you'd like.

asmeurer commented 7 years ago

Fixing SymPy at https://github.com/sympy/sympy/pull/12339

gforsyth commented 7 years ago

Don't. Critical bug

gforsyth commented 7 years ago

Something in the checks to only push from the master branch isn't working

gforsyth commented 7 years ago

The push travis run will push the docs

asmeurer commented 7 years ago

OK, will hold off.

Carreau commented 7 years ago

Something in the checks to only push from the master branch isn't working

That might be in interference with the thing I did with branch whitelists. I'll dig into it as well.

gforsyth commented 7 years ago

I think I found it -- this line (https://github.com/drdoctr/doctr/blob/master/doctr/travis.py#L166) if any([re.compile(x).match(TRAVIS_BRANCH) for x in branch_whitelist]): should be if not any([re.compile(x).match(TRAVIS_BRANCH) for x in branch_whitelist]): since we set canpush=False inside of that conditional. So instead we're allowing pushes from any branch except for master or anything in the whitelist

Carreau commented 7 years ago

Agreed, should we change if branch_whitelist is None to if not branch_whitelist, that won't behave the same if branch_whitelist is set to empty set or empty list.

gforsyth commented 7 years ago

ooh, yeah. good point. I'll put that in, too.

gforsyth commented 7 years ago

Ok. 1.5.1 is out and on conda-forge. I've reopened the PRs I had to the repos listed above.

bryanwweber commented 7 years ago

@gforsyth Noted and I will update in the next commit I push to those repos