Go to file
Alberto González Palomo 30fb81c71e Use issue number/index instead of id for API URL. (#3298)
Using the API calls, the issue objects retrieved by
/repos/{owner}/{repo}/issues
contains the wrong value in the "url" field:
it uses the "id" value instead of the "number" value.

For instance, in a new repo in try.gitea.io with just one issue:
[{
  "id": 896,
  "url": "https://try.gitea.io/api/v1/repos/AlbertoGP/uno/issues/896",
  "number": 1,
   ...
}]

The given URL does not work, but if you replace the "896" by "1" it
does.
2018-01-03 19:41:33 -06:00
.github
assets
cmd Add repo-sync-releases admin command (#3254) 2017-12-31 16:45:46 +02:00
contrib
custom/conf
docker
docs
integrations
models Use issue number/index instead of id for API URL. (#3298) 2018-01-03 19:41:33 -06:00
modules
options [skip ci] Updated translations via Crowdin 2018-01-03 08:35:03 +00:00
public Added progressbar for issues (#1146). (#3171) 2018-01-03 02:34:13 -06:00
routers Fix guide link for webhooks in repository settings (#3291) (#3292) 2018-01-03 23:50:09 +08:00
scripts
templates Added progressbar for issues (#1146). (#3171) 2018-01-03 02:34:13 -06:00
vendor
.changelog.yml
.dockerignore
.drone.yml
.editorconfig
.gitattributes
.gitignore
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
CHANGELOG.md
CONTRIBUTING.md Update standard copyright header for new year (#3289) 2018-01-02 20:03:24 -06:00
DCO
Dockerfile
LICENSE
main.go
MAINTAINERS
Makefile
package.json
README_ZH.md
README.md Add build instruction in README, reorganize some sections (#3257) 2018-01-01 15:38:49 +02:00

简体中文

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.

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:

  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!

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.