summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2024-12-16update to libgit2 version 1.8.4. dump old github and vendor stuffJeff Carr
go install go.wit.com/apps/go-clone@latest go install go.wit.com/apps/go-mod-clean@latest go-clone --recusive go.wit.com/lib/git2go Signed-off-by: Jeff Carr <[email protected]>
2022-10-04Fix the `github-tag-action` workflow (#932)lhchavez
This has been failing for a while because of some changes in `git`.
2022-10-04libgit2 v1.5.0 #major (#929)Sanskar Jaiswal
Update libgit2 to v1.5.0. Replace `SmartProxyOptions()` with `SmartRemoteConnectOptions()`. Fixes: https://github.com/libgit2/git2go/issues/899 Signed-off-by: Sanskar Jaiswal <[email protected]> Co-authored-by: lhchavez <[email protected]>
2022-04-14Uprev libgit to v1.3.1 (#911)lhchavez
🔒 This is a security release to provide compatibility with git's changes to address [CVE 2022-24765](https://github.blog/2022-04-12-git-security-vulnerability-announced/). libgit2 (and by extension git2go) are not directly affected by this vulnerability, because libgit2 does not directly invoke any executable. But we are providing these changes as a security release for any users that use libgit2 for repository discovery and then also use git on that repository. In this release, we will now validate that the user opening the repository is the same user that owns the on-disk repository. This is to match git's behavior. In addition, we are providing several correctness fixes where invalid input can lead to a crash. These may prevent possible denial of service attacks. At this time there are not known exploits to these issues.
2021-11-08Generate stringer files automatically (#841)Kirill
Added `stringer` annotations to `git.go` for `ErrorClass` and `ErrorCode`. Added `generate` rule for `Makefile` to generate string representations for these types (first building cgo files in `_obj` dir to get C constants). Finally, updated `ci` actions workflow to check that generated files are up to date. Fixes: #543
2021-10-14libgit2 v1.3.0 #major (#840)lhchavez
This commit introduces libgit2 v1.3.0 to git2go, which brings a large number of [bugfixes and features](https://github.com/libgit2/libgit2/releases/tag/v1.3.0). This also marks the start of the v33 release.
2021-09-05libgit2 v1.2.0 #majorlhchavez
This commit introduces libgit2 v1.2.0 to git2go, which brings a large number of [bugfixes and features](https://github.com/libgit2/libgit2/releases/tag/v1.2.0). This also marks the start of the v32 release.
2021-09-04Declare forward-compatibility with libgit2 v1.2.0 #minor (#800)lhchavez
We can't yet ship a fully libgit2 v1.2.0-compatible library due to a missing public symbol, but we can allow the v1.1.0-era codebase to link against libgit2 v1.2.0 in the meantime.
2021-09-04Rename the default branch to `main` (#786)lhchavez
We've renamed the default branch from `master` to `main`, so we need to change a bunch of references to that.
2021-09-03Remove the legacy builders (#776)lhchavez
These builds are no longer working because some of the dependencies now require newer versions of Go. Seems like the ecosystem has moved to Go 1.11+, so we are now forced to follow suit.
2020-12-06Add `NewCredentialSSHKeyFromSigner` (#706)lhchavez
This change adds `NewCredentialSSHKeyFromSigner`, which allows idiomatic use of SSH keys from Go. This also lets us spin off an SSH server in the tests.
2020-12-06Build improvements (#707)lhchavez
This change makes the test be verbose and use parallelization if possible (when using gmake to build).
2020-11-28Relax libgit2 minor version check (#696)nmeum
The major version must still be an exact match since libgit2 uses semantic versioning and changes to the major number indicate backwards incompatible changes to the API. Fixes: #695
2020-11-02Use the correct branch name for backporting into v1.0 (#674)lhchavez
This change uses the correct branch name (`release-1.0`) to backport changes into the v1.0 branch.
2020-10-26Create v31 to support libgit2 v1.1.x (#668)Suhaib Mujahid
The libgit2 `v1.1.0` is released two weeks ago. This PR allows `git2go` to link against the new version.
2020-10-23CI refresh (#666)lhchavez
This change: * Makes the Travis tests only run tip, since the rest of the Go versions are better served by GitHub Actions. * Use Go 1.15 in the CI. This has been released for a while.
2020-08-18Add support for creating signed commits and signing commits during a rebase ↵michael boulton
(#626)
2020-08-16Add two more GitHub Actions workflows (#633)lhchavez
This change adds: * `tag.yml`: Creates a new tag every time the master or a release branch is pushed. * `backport.yml`: Creates a cherry-pick in older release branches to keep them up to date with little cost.
2020-08-15Refresh the GitHub Actions CI (#632)lhchavez
This change: * Builds the library with Go 1.14, too. * Builds the non-legacy tests with Ubuntu Focal (20.04). * Adds testing for system-wide libraries, both static and dynamic versions. * Fixes a typo in the README.
2020-06-20Update the `README.md` to clarify some aspects of static libgit2 (#620)lhchavez
This change improves the documentation surrounding libgit2 static builds and modules. Fixes: #618
2020-02-22Update CI configurationlhchavez
This change: * Updates the GitHub actions so that they run different commands for the dynamic and static flavors of libgit2. * Updates the .travis.yml file so that it does roughly the same as the GitHub actions. * Adds the release-* branches to the CI configurations.
2020-02-12Update .github/workflows/ci.ymllhchavez
2019-08-15submoduleCarlos Martín Nieto
2019-08-15Setup CI via ActionsCarlos Martín Nieto