You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Antoine GIRARD d99f4ab003 Git LFS lock api (#2938)
* Implement routes

* move to api/sdk and create model

* Implement add + list

* List return 200 empty list no 404

* Add verify lfs lock api

* Add delete and start implementing auth control

* Revert to code.gitea.io/sdk/gitea vendor

* Apply needed check for all lfs locks route

* Add simple tests

* fix lint

* Improve tests

* Add delete test + fix

* Add lfs ascii header

* Various fixes from review + remove useless code + add more corner case testing

* Remove repo link since only id is needed.

Save a little of memory and cpu time.

* Improve tests

* Use TEXT column format for path + test

* fix mispell

* Use NewRequestWithJSON for POST tests

* Clean path

* Improve DB format

* Revert uniquess repoid+path

* (Re)-setup uniqueness + max path length

* Fixed TEXT in place of VARCHAR

* Settle back to maximum VARCHAR(3072)

* Let place for repoid in key

* Let place for repoid in key

* Let place for repoid in key

* Revert back
7 years ago
.github
assets
cmd
contrib
custom/conf Fix fault PR renaming app.ini (#2977) 7 years ago
docker
docs Dockerfile for docs copy proper files into image (#2989) 7 years ago
integrations Git LFS lock api (#2938) 7 years ago
models Git LFS lock api (#2938) 7 years ago
modules Git LFS lock api (#2938) 7 years ago
options [skip ci] Updated translations via Crowdin 7 years ago
public Add fingerprint to ssh key endpoints. (#3009) 7 years ago
routers Git LFS lock api (#2938) 7 years ago
scripts
templates Various wiki bug fixes (#2996) 7 years ago
vendor Add fingerprint to ssh key endpoints. (#3009) 7 years ago
.changelog.yml
.dockerignore
.drone.yml Import docs into main repository (#2874) 7 years ago
.editorconfig
.gitattributes
.gitignore
.lgtm
CHANGELOG.md
CONTRIBUTING.md [ci skip] Fix #2964 Document updated proposal process (#2999) 7 years ago
DCO
Dockerfile
LICENSE
MAINTAINERS [ci skip] Add @techknowlogick to MAINTAINERS file (#2993) 7 years ago
Makefile Fix coverage reports (#2974) 7 years ago
README.md
README_ZH.md
main.go Update hard-coded version to 1.4.0-dev (#2988) 7 years ago
package.json

README.md

简体中文

Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ Join the Matrix chat at https://matrix.to/#/#gitea:matrix.org codecov Go Report Card GoDoc Release

Dashboard Repository Commits History
Branches Issues Pull Request View
Releases Activity Wiki
Diff Organization Profile

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.

Notes

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!
  3. If you're interested in using our APIs, we have experimental support with documentation.

Docs

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!

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.