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

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

Open
28 of 32 tasks
gforsyth opened this issue Mar 6, 2017 · 15 comments
Open
28 of 32 tasks

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

gforsyth opened this issue Mar 6, 2017 · 15 comments

Comments

@gforsyth
Copy link
Member

gforsyth commented Mar 6, 2017

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
Copy link

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
Copy link
Member

asmeurer commented Mar 6, 2017

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
Copy link

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

@gforsyth
Copy link
Member Author

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 added a commit to asmeurer/sympy that referenced this issue Mar 17, 2017
@asmeurer
Copy link
Member

Fixing SymPy at sympy/sympy#12339

@gforsyth
Copy link
Member Author

Don't. Critical bug

@gforsyth
Copy link
Member Author

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

@gforsyth
Copy link
Member Author

The push travis run will push the docs

@asmeurer
Copy link
Member

OK, will hold off.

@Carreau
Copy link
Collaborator

Carreau commented Mar 17, 2017

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
Copy link
Member Author

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
Copy link
Collaborator

Carreau commented Mar 17, 2017

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
Copy link
Member Author

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

@gforsyth
Copy link
Member Author

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

@bryanwweber
Copy link

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

bryanwweber added a commit to bryanwweber/thermostate that referenced this issue Apr 13, 2017
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

No branches or pull requests

4 participants