update contributing.md due to gitea changes

This commit is contained in:
fox 2021-01-24 09:25:44 +03:00
parent 6c546f37ba
commit 1507b051fd
1 changed files with 6 additions and 18 deletions

View File

@ -1,25 +1,13 @@
## Contributing code the right way ## Contributing code the right way
*(or: how I learned to post merge requests without crying myself to sleep)* TLDR: it works like Github.
New user accounts on Gogs are not allowed to fork repositories because people 1. Register on the [development website](https://git.tt-rss.org);
use development accounts to spam. To get initial fork access, do the following: 2. Fork the repository you're interested in;
3. Do the needful;
4. File a PR against master branch;
1. Register on the forums and on [Gogs](https://git.tt-rss.org); If you have any other questions, see this [forum thread](https://discourse.tt-rss.org/t/how-to-contribute-code-via-pull-requests-on-git-tt-rss-org/1850).
2. Create a thread describing your proposed changes in [Development subforum](https://community.tt-rss.org/c/tiny-tiny-rss/development)
while including your Gogs username;
3. You'll be given proper access and will be able to fork repositories and file PRs, etc;
If you already have a fully functional Gogs account it works pretty much like Github:
1. Fork the repository you're interested in;
2. Do the needful;
3. File a pull request with your changes against master branch;
That's it. If you have any other questions, see this [forum thread](https://discourse.tt-rss.org/t/how-to-contribute-code-via-pull-requests-on-git-tt-rss-org/1850).
If you don't want to deal with the above, you can also clone one of the repositories
locally, do the needful, and post resulting patches on the [forums](https://community.tt-rss.org/c/tiny-tiny-rss/development).
Please don't inline patches in forum posts, attach files instead (``.patch`` or ``.diff`` file Please don't inline patches in forum posts, attach files instead (``.patch`` or ``.diff`` file
extensions should work). extensions should work).