Releases: fluxcd/go-git-providers
Releases · fluxcd/go-git-providers
v0.3.2
v0.3.1
v0.3.0
This release comes with support for Stash (Bitbucket server).
CHANGELOG
- PR #118 Set GH token for goreleaser
- PR #117 Updates Git SaaS providers
- PR #116 [MAINTAINERS] Add org affinity for Yiannis
- PR #115 [Stash] Update secret needed for running e2e tests
- PR #114 [Stash] Implement gitprovider interfaces
- PR #113 Switch to "ListProjectMergeRequests" for GitLab
- PR #112 [Stash] Add deploy keys service for stash
- PR #111 Add PR List, Get and Merge support for GitHub and GitLab
- PR #110 [Stash] Go stash pr service
- PR #109 [Stash] Go stash commit service
- PR #108 [Stash] Go stash branch service
- PR #107 [Stash] Go stash repository service
- PR #106 add gitlab group err
- PR #105 [Stash] add a gitService
- PR #104 [Stash] adds projects service to the gostash client
- PR #103 [Stash] This add the stash client service GroupService
- PR #101 [Stash] Implement user service operations
- PR #100 adding a linter
- PR #99 fix often failing e2e tests
- PR #98 upgrade Go version to 1.16
- PR #96 add url link to commits
- PR #95 Refactors clientOption struct due to duplication
- PR #94 [Stash support]Add a http client.
- PR #93 Add emeritus maintainers
- PR #92 Remove @michaelbeaumont from MAINTAINERS
- PR #91 Update contact info in MAINTAINERS file
- PR #90 add more info to CommitInfo
- PR #87 update docs location
- PR #86 Add retries to integration tests
- PR #85 Support running tests in forked repository workflow
v0.2.0
v0.1.1
v0.1.0
v0.0.3
CHANGELOG
- PR #53 Implement HasTokenPermission to ensure token has requested permission
- PR #51 Adds Gitlab provider
- PR #50 Add Yiannis to maintainers
- PR #49 Add TokenVariable to github
- PR #48 Adds Simon to maintainers
- PR #47 Update default integration test user
- PR #46 Add Dinos to maintainers
- PR #45 Remove Lucas from MAINTAINERS file
- PR #42 Set private field in github repo creation
- PR #38 Add Mike Beaumont to maintainers
v0.0.2
v0.0.1
v0.0.1
Welcome to the first release of go-git-providers 🚀! Let's walk through what goodness we have in here.
Release Notes
- 🥇 Initial interfaces and types have been checked into the
gitprovider
directory, then refactored, improved, refactored and further made better 😄 - The GitHub provider has been implemented
- ⌛ Conditional Requests have been implemented to avoid being rate limited using https://pkg.go.dev/github.com/gregjones/httpcache?tab=doc
- 📝 Initial user documentation, and examples have been created
- 🛡️ Automated integration tests for the GitHub client have been made, covering organizations and repositories
- 📈 Code unit coverage is tracked by https://codecov.io, and linting is set up using https://golangci-lint.run/
Providers
- GitHub provider made with ❤️ and https://pkg.go.dev/github.com/google/go-github/[email protected]/github?tab=doc#Client
Features
- 🔒 Authentication: Personal Access Tokens, OAuth2 Tokens, and unauthenticated.
- 📃 Pagination: List calls automatically return all available pages.
- ⌛ Conditional Requests: Asks the Git provider if cached data is up-to-date before requesting, to avoid being rate limited.
- 🔄 Reconciling: Support reconciling desired state towards actual state and drift detection.
- ⚡ Low-level access: Access the underlying, provider-specific data easily, if needed, and support applying it to the server.
- 📦 Wrapped errors: Data-rich, Go 1.14-errors are consistent across provider, including cases like rate limit, validation, not found, etc.
- 🔭 Go modules: The major version is bumped if breaking changes, or major library upgrades are made.
- 🛡️ Validation-first: Both server and user data is validated prior to manipulation.
- 🗂️ URL Parsing: HTTPS user, organization and repository URLs can be parsed into machine-readable structs.
- 🏷️ Enums: Consistent enums are used across providers for similar lists of values.
- ⚙️ Domain customization: The user can specify their desired domain for the Git provider backend.
- ⏰ Context-first:
context.Context
is the first parameter for every API call.
Examples
Contributors
Thanks @stefanprodan @twelho @dinosk @luxas for your contributions.
v0.0.1-alpha.1
v0.0.1-alpha.1
Just first alpha cut of v0.0.1. GitHub provider is implemented provisionally, but will become more stable over time.