1. 31 5月, 2016 9 次提交
    • G
      Add template tests · 9144e1df
      ganmacs 提交于
      9144e1df
    • N
      Fix typo: issueTempalte => issueTemplate · ad6ac945
      Nick LaMuro 提交于
      For the longest time I was assuming that this was a whitespace change
      with `git diff`, even though I had fixed it when building this a few
      weeks back, so I decided to not bother adding it to the previous
      commits.  When I removed it and re-ran the tests, things stopped
      working... oops :)
      ad6ac945
    • N
      Implement GeneratePRTemplate in pull_request.go · fae4730b
      Nick LaMuro 提交于
      Implements the GeneratePRTemplate in pull_request.go instead of the
      custom logic that previously existed in the file.  Addresses:
      
      * Title being defaulted as the first line of the template
      * Commit messages not defaulting as the title only properly
      fae4730b
    • N
      Add commit message support for GeneratePRTemplate · 4a46188f
      Nick LaMuro 提交于
      This allows the github.GeneratePRTemplate() function to autofill the
      pull request title for a single commit pull request with either:
      
      * The entire commit message, if it is a single line commit message
      * The first line of the commit message, if it is a multi-line commit
        message
      
      As far as the code is concerned, both cases above are interpreted in the
      same fashion, but the expectations of the user are defined with each of
      the new test cases in github/template_test.go
      
      FYI, this commit message would be an example of a multi line commit
      message :)
      4a46188f
    • N
      Add GeneratePRTemplate method to github/template · a1e49b89
      Nick LaMuro 提交于
      The function of this method is to defer the logic of generating a commit
      message to template.go, and eventually remove that logic from
      commands/pull_request.go
      
      Also adds tests for this new method, which also modifies the
      fixtures/test_repo.go file to accomidate a test repo with a `.github` PR
      dir.
      a1e49b89
    • G
      fix typo · 085821f0
      ganmacs 提交于
      085821f0
    • G
      Support issue template · 05b9c616
      ganmacs 提交于
      05b9c616
    • G
      Support Pull Request tempalte · 2cf8451a
      ganmacs 提交于
      2cf8451a
    • G
      Implement reading github template from file · 470b692a
      ganmacs 提交于
      470b692a
  2. 09 5月, 2016 1 次提交
  3. 03 5月, 2016 4 次提交
  4. 21 4月, 2016 2 次提交
  5. 08 3月, 2016 1 次提交
    • S
      Fix #1100: Append /api/v3/ to request when using GHE · 5c0280b3
      Simon Aquino 提交于
      Git Hub Enterprise requests should always include /api/v3 in the URL
      in order to hit the correct API endpoint. The ci-status and release
      commands were producing the wrong request URL. As result, an LDAP
      authentication page was returned rather than the expected JSON. A
      parsing error could be seen: "invalid character '<' looking for beginning
      of value".
      
      This commit changes the construction of the request URL for the
      ci-status and release commands, making sure the existing client.requestURL
      function is called. This makes sure the API request hits always hits the
      right endpoint in Git Hub Enterprise.
      5c0280b3
  6. 05 3月, 2016 1 次提交
  7. 28 2月, 2016 4 次提交
  8. 27 2月, 2016 3 次提交
  9. 16 2月, 2016 4 次提交
  10. 15 2月, 2016 4 次提交
  11. 02 2月, 2016 4 次提交
  12. 01 2月, 2016 3 次提交