* Add Attachment API * repos/:owner/:repo/releases (add attachments) * repos/:owner/:repo/releases/:id (add attachments) * repos/:owner/:repo/releases/:id/attachments * repos/:owner/:repo/releases/:id/attachments/:attachment_id Signed-off-by: Jonas Franz <[email protected]> * Add unit tests for new attachment functions Fix comments Signed-off-by: Jonas Franz <[email protected]> * fix lint * Update vendor.json Signed-off-by: Jonas Franz <[email protected]> * remove version of sdk Signed-off-by: Jonas Franz <[email protected]> * Fix unit tests Add missing license header Signed-off-by: Jonas Franz <[email protected]> * Add CreateReleaseAttachment Add EditReleaseAttachment Add DeleteReleaseAttachment Signed-off-by: Jonas Franz <[email protected]> * Add filename query parameter for choosing another name for an attachment Signed-off-by: Jonas Franz <[email protected]> * Fix order of imports Signed-off-by: Jonas Franz <[email protected]> * Restricting updatable attachment columns Signed-off-by: Jonas Franz <[email protected]> * gofmt Signed-off-by: Jonas Franz <[email protected]> * Update go-sdk Replace Attachments with Assets Signed-off-by: Jonas Franz <[email protected]> * Update go-sdk Signed-off-by: Jonas Franz <[email protected]> * Updating go-sdk and regenerating swagger Signed-off-by: Jonas Franz <[email protected]> * Add missing file of go-sdk Signed-off-by: Jonas Franz <[email protected]> * Change origin of code.gitea.io/sdk to code.gitea.io/sdk Update code.gitea.io/sdk Signed-off-by: Jonas Franz <[email protected]> * Update swagger Signed-off-by: Jonas Franz <[email protected]> * Update updateAttachment
Gitea - Git with a cup of tea
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Purpose
The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs since 2016.11 but changed a lot.
Building
From the root of the source tree, run:
make generate all
More info: https://docs.gitea.io/en-us/install-from-source/
Using
./gitea web
NOTE: If you're interested in using our APIs, we have experimental support with documentation.
Contributing
Expected workflow is: Fork -> Patch -> Push -> Pull Request
NOTES:
- YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
- If you have found a vulnerability in the project, please write privately to [email protected]. Thanks!
Further information
For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, Matrix room, or forum!
Authors
License
This project is licensed under the MIT License. See the LICENSE file for the full license text.











