0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
Beyond coding. We forge.
Find a file
Earl Warren 6a555996dc
[GITEA] POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments (squash) do not implicitly create a review
If a comment already exists in a review, the comment is added. If it
is the first comment added to a review, it will implicitly create a
new review instead of adding to the existing one.

The pull_service.CreateCodeComment function is responsibe for this
behavior and it will defer to createCodeComment once the review is
determined, either because it was found or because it was created.

Rename createCodeComment into CreateCodeCommentKnownReviewID to expose
it and change the API endpoint to use it instead. Since the review is
provided by the user and verified to exist already, there is no need
for the logic implemented by CreateCodeComment.

The tests are modified to remove the initial comment from the fixture
because it was creating the false positive. I was verified to fail
without this fix.
2024-01-18 11:09:05 +00:00
.devcontainer
.forgejo [CI] Forgejo Actions e2e tests (squash) generate 2024-01-15 13:26:56 +00:00
.gitea [WORKFLOW] yaml issue templates 2024-01-15 14:48:04 +00:00
assets [GITEA] Use maintained gziphandler 2024-01-15 16:11:58 +00:00
build
cmd [CLI] implement forgejo-cli 2024-01-15 13:26:55 +00:00
contrib [GITEA] fix VSCode settings 2024-01-15 16:11:59 +00:00
custom/conf [GITEA] Add support for shields.io-based badges 2024-01-15 16:51:45 +00:00
docker
docs [GITEA] notifies admins on new user registration 2024-01-15 16:11:57 +00:00
models [GITEA] Fix the topic search paging 2024-01-15 16:51:45 +00:00
modules [GITEA] Fix relative links rendering 2024-01-17 17:45:55 +01:00
options [GITEA] Include a branch link in the recently pushed banner 2024-01-15 16:51:45 +00:00
public [API] Forgejo API /api/forgejo/v1 2024-01-15 14:48:03 +00:00
releases/images [DOCS] RELEASE-NOTES.md 2024-01-15 14:48:03 +00:00
routers [GITEA] POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments (squash) do not implicitly create a review 2024-01-18 11:09:05 +00:00
services [GITEA] POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments (squash) do not implicitly create a review 2024-01-18 11:09:05 +00:00
snap
templates [GITEA] DELETE /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments/{comment} 2024-01-18 09:30:47 +00:00
tests [GITEA] POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments (squash) do not implicitly create a review 2024-01-18 11:09:05 +00:00
web_src [GITEA] Use vertical tabs on issue filters 2024-01-15 16:11:57 +00:00
.air.toml
.changelog.yml
.deadcode-out [GITEA] Enable mocked HTTP responses for GitLab migration test 2024-01-15 16:11:58 +00:00
.dockerignore
.editorconfig
.eslintrc.yaml
.gitattributes [META] Use correct language for .tmpl 2024-01-15 14:48:03 +00:00
.gitignore [DEVELOPMENT] added /local/ to .gitignore 2024-01-15 14:48:04 +00:00
.gitpod.yml
.golangci.yml
.ignore
.markdownlint.yaml Update JS dependencies (#28537) 2023-12-30 05:29:03 +00:00
.npmrc
.spectral.yaml
.stylelintrc.yaml Update JS dependencies (#28537) 2023-12-30 05:29:03 +00:00
.yamllint.yaml
BSDmakefile
build.go
CHANGELOG.md
CODEOWNERS [META] Add CODEOWNERS files 2024-01-15 14:48:04 +00:00
CONTRIBUTING.md [DOCS] CONTRIBUTING 2024-01-15 14:48:03 +00:00
DCO
Dockerfile [CI] Forgejo Actions based release process 2024-01-15 13:26:56 +00:00
Dockerfile.rootless [CI] Forgejo Actions based release process 2024-01-15 13:26:56 +00:00
go.mod [GITEA] Use existing error functionality 2024-01-15 16:11:58 +00:00
go.sum [GITEA] Use maintained gziphandler 2024-01-15 16:11:58 +00:00
LICENSE [DOCS] LICENSE: add Forgejo Authors 2024-01-15 14:48:03 +00:00
main.go [SEMVER] store SemVer in ForgejoSemVer after a database upgrade 2024-01-15 14:48:04 +00:00
MAINTAINERS
Makefile [SEMVER] 7.0.0+0-gitea-1.22.0 2024-01-15 15:45:14 +00:00
package-lock.json Update JS dependencies (#28537) 2023-12-30 05:29:03 +00:00
package.json Update JS dependencies (#28537) 2023-12-30 05:29:03 +00:00
playwright.config.js
poetry.lock
poetry.toml
pyproject.toml
README.md [DOCS] README 2024-01-15 14:48:03 +00:00
RELEASE-NOTES.md [DOCS] RELEASE-NOTES.md 2024-01-15 14:48:03 +00:00
vitest.config.js
webpack.config.js [API] Forgejo API /api/forgejo/v1 2024-01-15 14:48:03 +00:00

Welcome to Forgejo

Hi there! Tired of big platforms playing monopoly? Providing Git hosting for your project, friends, company or community? Forgejo (/for'd͡ʒe.jo/ inspired by forĝejo the Esperanto word for forge) has you covered with its intuitive interface, light and easy hosting and a lot of builtin functionality.

Forgejo was created in 2022 because we think that the project should be owned by an independent community. If you second that, then Forgejo is for you! Our promise: Independent Free/Libre Software forever!

What does Forgejo offer?

If you like any of the following, Forgejo is literally meant for you:

  • Lightweight: Forgejo can easily be hosted on nearly every machine. Running on a Raspberry? Small cloud instance? No problem!
  • Project management: Besides Git hosting, Forgejo offers issues, pull requests, wikis, kanban boards and much more to coordinate with your team.
  • Publishing: Have something to share? Use releases to host your software for download, or use the package registry to publish it for docker, npm and many other package managers.
  • Customizable: Want to change your look? Change some settings? There are many config switches to make Forgejo work exactly like you want.
  • Powerful: Organizations & team permissions, CI integration, Code Search, LDAP, OAuth and much more. If you have advanced needs, Forgejo has you covered.
  • Privacy: From update checker to default settings: Forgejo is built to be privacy first for you and your crew.
  • Federation: (WIP) We are actively working to connect software forges with each other through ActivityPub, and create a collaborative network of personal instances.

Learn more

Dive into the documentation, subscribe to releases and blog post on our website, find us on the Fediverse or hop into our Matrix room if you have any questions or want to get involved.

Get involved

If you are interested in making Forgejo better, either by reporting a bug or by changing the governance, please take a look at the contribution guide.