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

Azure Devops support #719

Merged
merged 73 commits into from
Oct 26, 2019
Merged

Azure Devops support #719

merged 73 commits into from
Oct 26, 2019

Commits on Apr 2, 2019

  1. initial changes for azure devops support

    David McPike committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    fe25896 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2019

  1. Configuration menu
    Copy the full SHA
    ce380ec View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2019

  1. Configuration menu
    Copy the full SHA
    cfcf59d View commit details
    Browse the repository at this point in the history
  2. merge from head

    mcdafydd committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    1946dc0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03bfefe View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. Configuration menu
    Copy the full SHA
    5a1eb59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5eb119 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    08d47de View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. - switch to go-azuredevops package

    - remove ADHostname
    - add ADOrg and ADProject
    mcdafydd committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    a17e565 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2019

  1. add azure devops cmd flags

    mcdafydd committed Apr 13, 2019
    Configuration menu
    Copy the full SHA
    2c83238 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2019

  1. Configuration menu
    Copy the full SHA
    262e31b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    811a2a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40593c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7ff1c2 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2019

  1. Configuration menu
    Copy the full SHA
    a058a66 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2019

  1. Azure Devops support fork development

    cmd/server.go:
    - Add default empty strings for Azure Devops webhook basic user/pass
    
    server/user_config.go:
    - Rename AzureDevopsBasicUser to AzureDevopsWebhookBasicUser to signify
    difference from the API call credentials
    
    server/server.go:
    - fix azuredevopsClient var
    - add Azure Devops to []supportedVCSHosts
    - add AzureDevopsRequestValidator for basic auth webhook support
    
    server/azuredevops_request_validator*.go:
    - add charset utf-8 to support content-types for webhooks
    - start adding validator tests
    
    server/events_controller.go*:
    - change azuredevops webhook header to Request-Id
    - move Validate() and Basic Auth webhook support to go-azuredevops
    - add pull and comment event functions
    mcdafydd committed Apr 27, 2019
    Configuration menu
    Copy the full SHA
    7dd2687 View commit details
    Browse the repository at this point in the history
  2. Updates to azuredevops_client.go

    - remove unneeded NewAzureDevopsClient() code
    - change to using const refs
    - add GetPullRequest()
    mcdafydd committed Apr 27, 2019
    Configuration menu
    Copy the full SHA
    4bffa57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d11f80 View commit details
    Browse the repository at this point in the history
  4. Initial support for azure devops events

    - Pull request events
    - Work item comment events
    mcdafydd committed Apr 27, 2019
    Configuration menu
    Copy the full SHA
    5cbcf25 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2019

  1. Configuration menu
    Copy the full SHA
    87e88e3 View commit details
    Browse the repository at this point in the history
  2. Azure Devops support

    - Add missing headRepo set to AzureDevops event parser
    - Strip 'refs/heads' from branch values sent to models.PullRequest
    - Fix calls to NewClient() to use org, not username
    - Add notes about use of /'s in repo FullName
    - Force use of 'dev.azure.com' for VCSHost.Hostname value
    - NewAzureDevopsClient(): Rename 'account' to 'username' to match docs
    - NewAzureDevopsClient(): Rename unused 'hostname' to 'org'
    mcdafydd committed Apr 28, 2019
    Configuration menu
    Copy the full SHA
    4eb9a01 View commit details
    Browse the repository at this point in the history
  3. update readme

    mcdafydd committed Apr 28, 2019
    Configuration menu
    Copy the full SHA
    8c27c12 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10abea0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    10f210c View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2019

  1. Azure Devops support

    - Add bluemonday to strip HTML tags from comments
    - Rename all WorkItemEvent refs to WorkItemCommentedEvent
    - Rename pullEvent to event to match types
    - Minor comment clean-ups
    - Support multiple pull request links in a work item
    mcdafydd committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    cbb28ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36a849d View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2019

  1. Azure Devops support

    - Fixes logic error in PullIsMergeable()
    - Replace GetRemoteURL() with GetWebURL() - returns what we want
    mcdafydd committed Apr 30, 2019
    Configuration menu
    Copy the full SHA
    bf1ccc4 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2019

  1. Azure Devops fork updates

    - Remove project from NewRepo() calls
    - Add new function SplitAzureDevopsRepoFullName
    mcdafydd committed May 17, 2019
    Configuration menu
    Copy the full SHA
    7f1fd23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd9041f View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. update readme

    mcdafydd committed May 20, 2019
    Configuration menu
    Copy the full SHA
    5d7d3c0 View commit details
    Browse the repository at this point in the history
  2. Azure Devops support

    - Add blackfriday for markdown-to-html comment translation
    Azure Devops doesn't support markdown in work item comments
    
    - Restore NewRepo() to original form - removing project parameter
    - Add models.SplitAzureDevopsRepoFullName() to handle project name
    All Azure Devops URIs need owner, project, and repo.  This function
    allows us to avoid adding project to NewRepo()
    
    - Update calls to azuredevops.NewClient() to match library requirements
    - Add context to azuredevops client to match library requirements
    - Basic working CreateComment() and MergePull() support (not widely
    tested)
    mcdafydd committed May 20, 2019
    Configuration menu
    Copy the full SHA
    12f95c5 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2019

  1. Configuration menu
    Copy the full SHA
    cb9bdb0 View commit details
    Browse the repository at this point in the history
  2. Minor README update

    mcdafydd committed May 25, 2019
    Configuration menu
    Copy the full SHA
    299ed4d View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

  1. Configuration menu
    Copy the full SHA
    475381b View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2019

  1. Configuration menu
    Copy the full SHA
    03d1050 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eeaab9f View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. Configuration menu
    Copy the full SHA
    f8d9e30 View commit details
    Browse the repository at this point in the history
  2. Update Azure Devops Event Parser

    - Always set explicit return values
    - Add baseURL func parameter to facilitate testing
    mcdafydd committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    29b74d2 View commit details
    Browse the repository at this point in the history
  3. Commit Azure Devops mocks

    mcdafydd committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    424a6b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2019

  1. Configuration menu
    Copy the full SHA
    9f51aad View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2019

  1. Fix panic from nil error

    mcdafydd committed Jul 26, 2019
    Configuration menu
    Copy the full SHA
    c9c8f01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52a794b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6dc489 View commit details
    Browse the repository at this point in the history
  4. Fix Azure Devops Pull Events

    - Event type assertion should be pointer
    - Remove merge attempted webhook event type
    - Move closed pull request to updated event type
    mcdafydd committed Jul 26, 2019
    Configuration menu
    Copy the full SHA
    e8cfe5a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    75527a3 View commit details
    Browse the repository at this point in the history
  6. Minor style updates

    mcdafydd committed Jul 26, 2019
    Configuration menu
    Copy the full SHA
    ff611af View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2019

  1. Configuration menu
    Copy the full SHA
    40cd535 View commit details
    Browse the repository at this point in the history
  2. Azure Devops PR minor cleanup, fix tests, checks

    - Re-write tests for azuredevops_client
    - CircleCI checks should pass
    - NewAzureDevopsClient() now takes a hostname like NewGithubClient()
    - Docs include comment about default merge strategy requirements
    mcdafydd committed Jul 28, 2019
    Configuration menu
    Copy the full SHA
    acef89a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83d0b04 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3879daa View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2019

  1. Resolve Azure Devops PR comments

    - Remove AzureDevopsWorkItemID from CommandContext struct
    - Add new dependencies to dep vendoring
    - Change final CreateComment return to nil error value
    - Clean up unused code/comments
    mcdafydd committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    b13bb2f View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Configuration menu
    Copy the full SHA
    a31afcb View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Configuration menu
    Copy the full SHA
    c346cce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e04005a View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2019

  1. Configuration menu
    Copy the full SHA
    bb88c95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6dca2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba3808e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70814fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a6779bb View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2019

  1. Azure Devops update

    - Remove org and project configs
    - Add support for WriteGitCreds
    mcdafydd committed Sep 23, 2019
    Configuration menu
    Copy the full SHA
    495cf76 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2019

  1. Azure Devops event parser updates

    - Extract owner and project from workitem.commented payload
    - Process all Relations and return last error
    mcdafydd committed Sep 24, 2019
    Configuration menu
    Copy the full SHA
    9714c87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19f7ea0 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2019

  1. Configuration menu
    Copy the full SHA
    ce76e8e View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2019

  1. Update runatlantis.io/guide/testing-locally.md

    Co-Authored-By: Luke Kysow <1034429+lkysow@users.noreply.github.com>
    mcdafydd and lkysow authored Oct 2, 2019
    Configuration menu
    Copy the full SHA
    1671fac View commit details
    Browse the repository at this point in the history
  2. Update runatlantis.io/docs/configuring-webhooks.md

    Co-Authored-By: Luke Kysow <1034429+lkysow@users.noreply.github.com>
    mcdafydd and lkysow authored Oct 2, 2019
    Configuration menu
    Copy the full SHA
    dab4613 View commit details
    Browse the repository at this point in the history
  3. Update runatlantis.io/docs/deployment.md

    Co-Authored-By: Luke Kysow <1034429+lkysow@users.noreply.github.com>
    mcdafydd and lkysow authored Oct 2, 2019
    Configuration menu
    Copy the full SHA
    d64be55 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    95234bf View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2019

  1. Configuration menu
    Copy the full SHA
    3b5a5b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2019

  1. Complete migration to PR comment event

    - Update docs
    - Remove work item commented event code
    mcdafydd committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    9424893 View commit details
    Browse the repository at this point in the history
  2. Update mocks

    mcdafydd committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    92e5126 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2019

  1. Configuration menu
    Copy the full SHA
    7c42914 View commit details
    Browse the repository at this point in the history
  2. Clean up log messages

    mcdafydd committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    a8685e0 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2019

  1. Configuration menu
    Copy the full SHA
    822928c View commit details
    Browse the repository at this point in the history