Permalink
Commits on Apr 21, 2018
  1. Merge pull request #840 from sigmavirus24/feature/699

    sigmavirus24 committed Apr 21, 2018
    Accept sessions in GitHub{,Enterprise,Status}
  2. Accept sessions in GitHub{,Enterprise,Status}

    sigmavirus24 committed Apr 21, 2018
    Allow all of our main entry points to accept Sessions customized by the
    user, especially for the purposes of testing with Betamax.
    
    Closes #699
  3. Limit the number of workers with pytest-xdist

    sigmavirus24 committed Apr 21, 2018
    The pypy jobs on Travis never seem to pass with -nauto so let's specify
    a reasonable value.
  4. Merge pull request #839 from sigmavirus24/bug/837

    sigmavirus24 committed Apr 21, 2018
    Fix Branch.protect with the new protection method
  5. Add pytest-xdist and print test durations at the end

    sigmavirus24 committed Apr 21, 2018
    Parallelizing the tests takes the run time from ~30s to ~15 locally.
    Further, printing the test durations should help us identify the tests
    to target to improve the test time. While the test runs aren't terribly
    slow, they could definitely stand to improve.
  6. Fix Branch.protect with the new protection method

    sigmavirus24 committed Apr 21, 2018
    After we added the Branch.protection method, we broke the behaviour of
    Branch.protect which relied on Branch.protection being a dictionary, not
    a method. This fixes it to use the correct attribute to try to set the
    existing values.
    
    Closes gh-837
  7. Remove unnecessary swp file

    sigmavirus24 committed Apr 21, 2018
    This was checked in accidentally since I had to force git to add
    `tests/bin/`.
  8. Merge pull request #838 from sigmavirus24/bug/818

    sigmavirus24 committed Apr 21, 2018
    Return text from Branch.lastest_sha
Commits on Apr 20, 2018
  1. Return text from Branch.lastest_sha

    sigmavirus24 committed Apr 20, 2018
    This is a unique endpoint and was always intended to return text. Let's
    fix that for consistency. It's unlikely people are relying on this
    behaviour so I think it's probably safe to change.
    
    Closes gh-818
  2. Merge pull request #836 from sigmavirus24/extra-linters

    sigmavirus24 committed Apr 20, 2018
    Extra linters
  3. Fix up issues detected by proselint

    sigmavirus24 committed Apr 20, 2018
    Hack together some extra logic in our bash script to ignore typography
    errors since proselint doesn't have project-local config that we can
    use.
  4. Add commit linting to our tox environments

    sigmavirus24 committed Apr 20, 2018
    This will allow us to ensure a certain quality of commit message.
    
    Closes gh-811
Commits on Apr 19, 2018
  1. Add documentation linting to tox and Travis CI

    sigmavirus24 committed Apr 19, 2018
    This also fixes up the initial issues found by doc8.
  2. Merge pull request #706 from ja-jquast/feature/merge_settings

    sigmavirus24 committed Apr 19, 2018
    Add support for repository PR merge settings
  3. Add support for repository PR merge settings

    ja-jquast authored and sigmavirus24 committed May 19, 2017
    From GitHub documentation,
    
       https://help.github.com/articles/configuring-pull-request-merges/
    
    We may use the repository settings page to forcefully enable or disable
    any of the given options for pull request merges, this commit allows
    setting the values allow_rebase_merge, allow_squash_merge, and
    allow_merge_commit as keywords for the repo.edit() method.
  4. Fix-up the ability to create a branch

    sigmavirus24 committed Apr 19, 2018
Commits on Apr 18, 2018
  1. Add delete_ref to repositories

    megawac authored and sigmavirus24 committed Feb 17, 2015
  2. Merge pull request #835 from sigmavirus24/bug/834

    sigmavirus24 committed Apr 18, 2018
    Do not specify `_github_url` in our Project methods
  3. Do not specify `_github_url` in our Project methods

    sigmavirus24 committed Apr 18, 2018
    This doesn't need to be specified explicitly and this allows
    GitHubEnterprise to work.
    
    Closes gh-834
  4. Merge pull request #832 from sigmavirus24/bug/829

    sigmavirus24 committed Apr 18, 2018
    Fix reprs for auth classes with our GitHub object
  5. Merge pull request #833 from sigmavirus24/bug/830

    sigmavirus24 committed Apr 18, 2018
    Handle exceptional case in directory_contents
  6. Fix reprs for auth classes with our GitHub object

    sigmavirus24 committed Apr 18, 2018
    This will prevent tracebacks as seen in gh-829 from reoccurring.
    
    Closes gh-829
  7. Merge branch 'add-create-review' into develop

    sigmavirus24 committed Apr 18, 2018
  8. Merge branch 'add-create-review' of electrofelix/github3.py

    sigmavirus24 committed Apr 18, 2018
    Checking out this branch to finish up locally the last of the PR
    feedback.
  9. Merge pull request #831 from sigmavirus24/add-issue-template

    sigmavirus24 committed Apr 18, 2018
    Add an Issue Template
  10. Handle exceptional case in directory_contents

    sigmavirus24 committed Apr 18, 2018
    In the event a user calls Repository.directory_contents with a file or
    non-directory argument, let's handle the response and raise an
    appropriate, UnprocessableResponse for the user to handle.
    
    Closes gh-830
  11. Merge pull request #828 from aroig/gh/guard-none

    sigmavirus24 committed Apr 18, 2018
    Guard against pull_request_urls being None
  12. Add an Issue Template

    sigmavirus24 committed Apr 18, 2018
Commits on Apr 15, 2018
  1. Guard against pull_request_urls being None

    aroig committed Apr 15, 2018
    It can be None for non-PR issues
Commits on Apr 14, 2018
  1. Merge pull request #826 from sigmavirus24/fix-rtfd

    sigmavirus24 committed Apr 14, 2018
    Fix up documentation configuration for ReadTheDocs
  2. Fix up documentation configuration for ReadTheDocs

    sigmavirus24 committed Apr 14, 2018
  3. Merge pull request #807 from sigmavirus24/narrative-docs

    sigmavirus24 committed Apr 14, 2018
    WIP: Start re-organizing docs for rewrite
Commits on Apr 11, 2018
  1. Merge pull request #824 from katharosada/develop

    sigmavirus24 committed Apr 11, 2018
    Fix equality for IssueEvents without a commit.