2004 Commits

Author SHA1 Message Date
Paulo Gomes
e61537e80c Merge pull request #867 from pjbgf/commit-checker
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Git Compatibility / test ([master ubuntu-latest]) (push) Has been cancelled
Git Compatibility / test ([v2.11.0 ubuntu-latest]) (push) Has been cancelled
Test / version-matrix (1.19.x, macos-latest) (push) Has been cancelled
Test / version-matrix (1.19.x, ubuntu-latest) (push) Has been cancelled
Test / version-matrix (1.19.x, windows-latest) (push) Has been cancelled
Test / version-matrix (1.20.x, macos-latest) (push) Has been cancelled
Test / version-matrix (1.20.x, ubuntu-latest) (push) Has been cancelled
Test / version-matrix (1.20.x, windows-latest) (push) Has been cancelled
Test / version-matrix (1.21.x, macos-latest) (push) Has been cancelled
Test / version-matrix (1.21.x, ubuntu-latest) (push) Has been cancelled
Test / version-matrix (1.21.x, windows-latest) (push) Has been cancelled
stale issues bot / stale-bot (push) Has been cancelled
build: Add github workflow to check commit message format
2023-10-09 23:08:03 +01:00
Paulo Gomes
1a73661645 build: Add github workflow to check commit message format
Adds automation to confirm the commit messages align with the contributing guidelines.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-10-09 22:49:36 +01:00
Paulo Gomes
771a3eb05b Merge pull request #868 from pjbgf/fix-fuzz
plumbing: protocol/packp, Add validation for decodeLine
2023-10-09 21:58:18 +01:00
Paulo Gomes
7ef7dc7e38 Merge pull request #860 from enverbisevac/master
add clone --shared feature
2023-10-08 12:51:15 +01:00
Paulo Gomes
b2df4aa707 Merge pull request #854 from zeripath/graph-chain
plumbing: commitgraph, Allow reading commit-graph chains
2023-10-08 12:12:05 +01:00
Andrew Thornton
946bb81836 plumbing: commitgraph, fix types and handle commit-graph-chains
Unfortunately the original variant makes some incorrect typing
assumptions about commit-graphs which make handling graph chains
difficult to do correctly. This creates a new subpackage and deprecates
the old one. It then adds support commit graph chains.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-10-08 09:38:00 +01:00
enverbisevac
479d3e952e git: clone --shared implemented 2023-10-08 00:40:30 +02:00
Paulo Gomes
1d26511c71 plumbing: protocol/packp, Add validation for decodeLine
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-10-07 18:44:31 +01:00
Paulo Gomes
19fe126d88 Merge pull request #858 from 0x34d/fuzzing-cleanup
*: add cifuzz and update fuzzers
2023-10-06 09:15:22 +01:00
Arjun Singh
d32d6cdd1e [fuzzing] cifuzz, update fuzzers, bug fix
Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
2023-10-06 12:58:22 +05:30
Paulo Gomes
f92cb0d490 Merge pull request #761 from liwenqiu/parse-commit-encoding-header
plumbing: parse the encoding header of the commit object
2023-10-04 08:01:25 +01:00
liwenqiu
3dbb11f2d9 plumbing: parse the encoding header of the commit object
other part can re-code the commit message according to the encoding to this encoding info
2023-10-04 13:12:38 +08:00
Paulo Gomes
ced662e9db Merge pull request #855 from 0x34d/fuzzing
fuzzing :  fuzz testing support for oss-fuzz integration
2023-10-03 21:24:30 +01:00
Arjun Singh
c135ec2f6a fuzzing : fuzz testing support for oss-fuzz integration
Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
2023-10-02 07:22:29 +05:30
Paulo Gomes
52c2972976 Merge pull request #853 from zeripath/graph-sha256
plumbing: commitgraph, allow SHA256 commit-graphs
2023-10-01 21:53:52 +01:00
Andrew Thornton
9c9c8c331b plumbing: commitgraph, allow SHA256 commit-graphs
Since the build-tag sha256 was introduced the commit graph code should
be switched to use hash.Size and only use a graph if it has the correct
hash version for the version of go-git that is built.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-09-30 10:35:18 +01:00
Paulo Gomes
3e9173c2bd Merge pull request #850 from pjbgf/adjust-stale 2023-09-29 07:06:50 +01:00
Paulo Gomes
85f63b17e0 *: Change stale bot order to ascending and improve msg format
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-09-28 23:55:05 +01:00
Paulo Gomes
7d047a9f8a Merge pull request #836 from hezhizhen/typo
*: fix some typos
2023-09-28 00:25:30 +01:00
Paulo Gomes
c0e9df9ef7 Merge pull request #849 from pjbgf/close-state-issues
*: Add bot to close stale issues
2023-09-27 23:41:25 +01:00
Paulo Gomes
db02bbcb24 *: Add bot to close stale issues
Due to the limited amount of active maintainers, adding a stale bot
to focus the available maintainership on active PRs and issues.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-09-27 23:03:52 +01:00
Paulo Gomes
3af874d1d4 Merge pull request #847 from adityasaky/support-mergetag
plumbing/object: Support mergetag in merge commits
2023-09-27 22:46:34 +01:00
Aditya Sirish
cbfd0c5005 plumbing/object: Support mergetag in merge commits
When a merge commit is created from merging a signed tag, the tag object
is embedded in the commit object. This commit adds support for this tag
data when encoding and decoding a commit object.

Signed-off-by: Aditya Sirish <aditya@saky.in>
2023-09-27 16:28:43 -04:00
Paulo Gomes
809f9df1b7 Merge pull request #840 from nodivbyzero/fix-pull-proxy-options
git: worktree, apply ProxyOption on Pull
2023-09-16 23:48:06 +01:00
Paulo Gomes
c208b4d513 Merge pull request #782 from ThinkChaos/feat/plain-init-branch
git: add PlainInitOptions.Bare and allow using InitOptions with PlainInitWithOptions
2023-09-15 17:56:55 +01:00
ThinkChaos
644929ade3 git: allow using InitOptions with PlainInitWithOptions 2023-09-15 12:44:52 -04:00
ThinkChaos
1ad7d8dd02 git: add PlainInitOptions.Bare
Refactor `PlainInit` to call `PlainInitWithOptions`
2023-09-15 12:44:52 -04:00
nodivbyzero
c67eceb3c2 git: worktree:: apply ProxyOption on Pull. Fixes #840 2023-09-15 07:45:22 -07:00
Máximo Cuadros
e24e0f714c *: Bump go-billy to v5.5.0 2023-09-12 11:26:49 +02:00
Paulo Gomes
ff0bd08062 Merge pull request #837 from pjbgf/bump
Bump dependencies and Go to 1.19
2023-09-12 07:52:09 +01:00
Paulo Gomes
cbbeb495ae *: Bump to Go 1.19
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-09-12 00:06:25 +01:00
Paulo Gomes
cf3a75c423 *: Bump dependencies
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-09-11 23:19:26 +01:00
Zhizhen He
32975ee2c7 *: fix some typos
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-09-08 09:30:43 +08:00
Paulo Gomes
51e9c9f1d9 Merge pull request #835 from matejrisek/feature/do-not-swallow-vcs-host-errors
plumbing: Do not swallow http message coming from VCS providers
2023-09-05 18:55:40 +01:00
matej.risek
5ad72db3bd plumbing: Do not swallow http message coming from VCS providers.
For diagnostics reasons we want to surface error messages coming from VCS providers.
That's why we introduce the reason field to Err struct in http package.
This field can be used by an end user of the library in order to better understand failures.
2023-09-05 17:09:59 +02:00
Paulo Gomes
0377d0627f Merge pull request #821 from daolis/bug/resetfix
git: worktree, reset ignored files that are part of the worktree: Fixes #819
2023-09-04 13:56:16 +01:00
Stephan
753b0d5cef git: worktree, reset ignored files that are part of the worktree: Fixes #819 2023-09-04 08:13:33 +02:00
Paulo Gomes
cd3a21c619 Merge pull request #832 from svghadi/CVE-2023-37788
Update goproxy dependency to fix CVE-2023-37788 vulnerability
2023-08-29 09:27:18 -04:00
Siddhesh Ghadi
f71a44910a *: Bump goproxy dep. Fixes #826
CVE-2023-37788 is patched in goproxy v0.0.0-20230731152917-f99041a5c027

Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>
2023-08-29 16:20:34 +05:30
Paulo Gomes
cd6170c6f8 Merge pull request #438 from john-cai/jc/commit-ammend
Add Amend option to CommitOptions
2023-08-05 10:30:24 +01:00
Paulo Gomes
e6f68d2e4c Merge branch 'master' into jc/commit-ammend 2023-08-05 10:20:38 +01:00
Paulo Gomes
4ec6b3f4fa Merge pull request #820 from ninedraft/ninedraft/issue740
plumbing: transport, handle IPv6 while parsing endpoint. Fixes #740
2023-08-05 09:57:13 +01:00
merlin
a105da8474 plumbing: transport, handle IPv6 while parsing endpoint. Fixes #740 2023-07-26 12:17:19 +03:00
Paulo Gomes
36477e82f2 Merge pull request #804 from pjbgf/docs
*: Improve docs on examples, compatibility and extensibility
2023-07-24 10:00:51 +01:00
Paulo Gomes
13c4886a54 Merge pull request #815 from pjbgf/bump-deps
*: Bump dependencies
2023-07-21 10:29:20 +01:00
Paulo Gomes
efe3292fb1 *: Bump dependencies
- dario.cat/mergo v1.0.0
- github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95
- github.com/skeema/knownhosts v1.2.0
- golang.org/x/crypto v0.11.0
- golang.org/x/net v0.12.0
- golang.org/x/sys v0.10.0
- golang.org/x/text v0.11.0

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-07-21 09:01:38 +01:00
Paulo Gomes
1a1bc14927 Merge pull request #814 from pjbgf/fix-build
*: Fix broken CI
2023-07-21 07:49:01 +01:00
Paulo Gomes
fe5ec4028b *: Fix broken CI
apt-get is struggling to find libcurl4-openssl-dev out of the box.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-07-20 21:27:47 +01:00
Paulo Gomes
0f46b7a16f Merge pull request #812 from L11R/incoming-dir-fix
storage: filesystem/dotgit, add support for tmp_objdir prefix
2023-07-20 19:40:25 +01:00
Savely Krasovsky
939ad4a432 storage: filesystem/dotgit, add support for tmp_objdir prefix 2023-07-20 20:55:07 +03:00