Skip to content

Update module andygrunwald/go-gerrit to v0.5.2 - autoclosed

Created by: renovate[bot]

This PR contains the following updates:

Package Type Update New value References Sourcegraph
github.com/andygrunwald/go-gerrit require minor 0.5.2 source code search for "github.com/andygrunwald/go-gerrit"

Release Notes

andygrunwald/go-gerrit

v0.5.2

Compare Source

  • Fix panic in checkAuth() if Gerrit is down #​42
  • Implement ListVotes(), DeleteVotes() and add missing tests

v0.5.1

Compare Source

  • Added the AbandonChange, RebaseChange, RestoreChange and RevertChange functions.

v0.5.0

Compare Source

WARNING: This release includes breaking changes.

  • [BREAKING CHANGE] The SetReview function was returning the wrong entity type. (#​40)

v0.4.0

Compare Source

WARNING: This release includes breaking changes.

  • [BREAKING CHANGE] - Added gometalinter to the build and fixed problems discovered by the linters.
    • Comment and error string fixes.
    • Numerous lint and styling fixes.
    • Ensured error values are being properly checked where appropriate.
    • Addition of missing documentation
    • Removed filePath parameter from DeleteChangeEdit which was unused and unnecessary for the request.
    • Fixed CherryPickRevision and IncludeGroups functions which didn't pass along the provided input structs into the request.
  • Go 1.5 has been removed from testing on Travis. The linters introduced in 0.4.0 do not support this version, Go 1.5 is lacking security updates and most Linux distros have moved beyond Go 1.5 now.
  • Add Go 1.9 to the Travis matrix.
  • Fixed an issue where urls containing certain characters in the credentials could cause NewClient() to use an invalid url. Something like /, which Gerrit could use for generated passwords, for example would break url.Parse's expectations.

v0.3.0

Compare Source

WARNING: This release includes breaking changes.

  • [BREAKING CHANGE] Fix Changes.PublishDraftChange to accept a notify parameter.
  • [BREAKING CHANGE] Fix PublishChangeEdit to accept a notify parameter.
  • [BREAKING CHANGE] Fix ChangeFileContentInChangeEdit to allow the file content to be included in the request.
  • Fix the url being used by CreateChange
  • Fix type serialization of EventInfo.PatchSet.Number so it's consistent.
  • Fix Changes.AddReviewer so it passes along the reviewer to the request.
  • Simplify and optimize RemoveMagicPrefixLine

v0.2.0

Compare Source

WARNING: This release includes breaking changes.

  • [BREAKING CHANGE] Several bugfixes to GetEvents:
    • Update EventInfo to handle the changeKey field and apply the proper type for the Project field
    • Provide a means to ignore marshaling errors
    • Update GetEvents() to return the failed lines and remove the pointer to the return value because it's unnecessary.
  • [BREAKING CHANGE] In ec28f77 ChangeInfo.Labels has been changed to map to fix #​21.

v0.1.1

Compare Source

  • Minor fix to SubmitChange to use the http.StatusConflict constant instead of a hard coded value when comparing response codes.
  • Updated AccountInfo.AccountID to be omitted of empty (such as when used in ApprovalInfo).
    • and : in url parameters for queries are no longer escaped. This was causing 400 Bad Request to be returned when the + symbol was included as part of the query. To match behavior with Gerrit's search handling, the : symbol was also excluded.
  • Fixed documentation for NewClient and moved fmt.Errorf call from inside the function to a ErrNoInstanceGiven variable so it's easier to compare against.
  • Updated internal function digestAuthHeader to return exported errors (ErrWWWAuthenticateHeader*) rather than calling fmt.Errorf. This makes it easier to test against externally and also fixes a lint issue too.
  • Updated NewClient function to handle credentials in the url.
  • Added the missing Submitted field to ChangeInfo.
  • Added the missing URL field to ChangeInfo which is usually included as part of an event from the events-log plugin.

Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


This PR has been generated by Renovate Bot. View repository job log here.

Merge request reports

Loading