0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 21:54:34 +01:00
No description https://gitea.io
Find a 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 Fixed link to Issue 165 in comment, that was broken by commit 2d68bd1ef9 (index 8110ac85..0f6163c4 100644). (#3267) 2017-12-29 22:19:38 -06:00
docker
docs Add docs for REDIRECT_OTHER_PORT and PORT_TO_REDIRECT config options (#3262) 2017-12-27 08:35:19 -06:00
integrations Responsive view (#2750) 2017-12-30 18:47:52 -06:00
models Use issue number/index instead of id for API URL. (#3298) 2018-01-03 19:41:33 -06:00
modules Add an option to allow redirect of http port 80 to https. (#1928) 2017-12-25 23:23:43 +01:00
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 Remove unused vendor github.com/stretchr/testify/require (#3273) 2017-12-31 09:11:08 +08:00
.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 Add more bench (#3161) 2017-12-24 02:33:34 +02:00
package.json
README.md Add build instruction in README, reorganize some sections (#3257) 2018-01-01 15:38:49 +02:00
README_ZH.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.

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.