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

Integration of mvdkleijn/atlantis and florianbeisel/atlantis efforts #2

Merged
merged 21 commits into from
Feb 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
0e7c635
chore(deps): update dependency pnpm to v8.15.1 in .tool-versions (#4230)
renovate[bot] Feb 11, 2024
44cf761
fix(deps): update module golang.org/x/term to v0.17.0 in go.mod (#4231)
renovate[bot] Feb 11, 2024
2939daf
fix(deps): update module github.com/go-playground/validator/v10 to v1…
renovate[bot] Feb 12, 2024
cfa19c5
initial gitea support added
florianbeisel Feb 12, 2024
599c518
Merge branch 'main' of https://github.com/florianbeisel/atlantis
florianbeisel Feb 12, 2024
b213f96
Merge remote-tracking branch 'remotes/florian/main' into test-merge
mvdkleijn Feb 13, 2024
b8e68de
Fix some post-merge issues
mvdkleijn Feb 13, 2024
97f8859
Replace HidePrevCommandComments by version from @florianbeisel
mvdkleijn Feb 13, 2024
3a1cb4a
Update mocks
mvdkleijn Feb 13, 2024
04e87ef
feat: add Webhook Signature Verification
florianbeisel Feb 13, 2024
3a2ce8e
fix: use release version in go.mod
florianbeisel Feb 13, 2024
011c06f
Set default Gitea url to cloud.gitea.com
mvdkleijn Feb 14, 2024
6c78b50
Fix and Add tests for Gitea
mvdkleijn Feb 14, 2024
8b2c16e
Merge branch 'test-merge' of github.com:mvdkleijn/atlantis into test-…
mvdkleijn Feb 14, 2024
f973c88
Fix missing copyright header
mvdkleijn Feb 14, 2024
182f62a
Changed comment to reflect no max comment length
mvdkleijn Feb 14, 2024
a4f268a
Implement GetCloneURL()
florianbeisel Feb 14, 2024
37dec75
Decode Base64 before passing on downloaded file content
florianbeisel Feb 14, 2024
c2904d4
Enable Gitea client as API Client
florianbeisel Feb 14, 2024
7a0bb60
Remove unneded comments
florianbeisel Feb 16, 2024
a9ef335
Remove old redundant file
mvdkleijn Feb 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed comment to reflect no max comment length
Apparently there's no max comment length in Gitea at this point in time.
  • Loading branch information
mvdkleijn authored Feb 14, 2024
commit 182f62af20e3f9bad178bf04582d1756c91257ef
3 changes: 1 addition & 2 deletions server/events/vcs/gitea/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ func (c *GiteaClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest
return changedFiles, nil
}

// CreateComment creates a comment on the merge request. It will write multiple
// comments if a single comment is too long.
// CreateComment creates a comment on the merge request. As far as we're aware, Gitea has no built in max comment length right now.
func (c *GiteaClient) CreateComment(repo models.Repo, pullNum int, comment string, command string) error {
opt := gitea.CreateIssueCommentOption{
Body: comment,
Expand Down