summaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
Commit message (Collapse)AuthorAgeFilesLines
* Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146)Giteabot2024-05-291-2/+2
| | | | | Backport #31054 by @lunny Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Document that all unmerged feature PRs will be moved to next milestone when ↵Lunny Xiao2024-03-041-1/+1
| | | | | | | | | | | | the feature freeze time comes (#29578) Some contributors may be surprised when moving the feature PRs to the next release when the feature freeze time comes. So this PR documents the habits we have done for feature freeze so people expect the maintainers' behaviors. We are sorry for disturbing you with the milestones changes. A feature freeze announcement should be published 2 or 3 weeks before the feature freeze by maintainers.
* Document our issue locking policy (#29433)delvh2024-02-261-0/+8
|
* Document how the TOC election process works (#29135)delvh2024-02-141-9/+27
| | | | | | This is supposed to prevent a power vacuum so that a problem similar to the 2024 election will not happen again Additionally, update current TOC members from 2023 to 2024.
* Update JS and PY dependencies, build for `es2020` browsers (#28977)silverwind2024-02-021-1/+1
| | | | | | | | | - Update all JS dependencies minus @mcaptcha/vanilla-glue - Fix new lint errors - Regenerate SVGs - Switch to maintained stylelint stylistic plugin - Tested Mermaid, Citation, Swagger, sorting - Raise ESBuild target to `es2020` as dictated by `pretty-ms` dependency.
* Update golang links to use https (#28980)Mike Cifelli2024-01-301-1/+1
| | | | | | | Many of the golang links point to the old site and don't use https. This pull request updates these outdated links to https://go.dev . https://github.com/go-gitea/gitea/issues/28979
* Require clear descriptions both for feature and breaking PRs prior to the ↵delvh2023-11-191-5/+18
| | | | | | | | | | | | | | | | merge (#28112) When writing the release blog, it is really annoying and time-consuming to re-discover and write down how a feature behaves and capture a screenshot of it, for every single feature merged since the last release. This should not be the responsibility of maintainers, but rather of the person implementing a feature in the first place. They know best how to use the feature and how to gather screenshots for it. Similarly for breaking changes and their effects. As such, let's require everything to be up-to-date and easily understandable before merging features or breaking changes.
* Document our new labeling strategy (#27523)delvh2023-10-091-9/+12
|
* Use docs.gitea.com instead of docs.gitea.io (#26739)Lunny Xiao2023-08-271-1/+1
|
* Fix typos in Contributing.md (#26170)Niko Hoffrén2023-07-261-2/+2
| | | | | | | | | | | | | Fixed typos considering CONTRIBUTING.md. This line: GitHub API compatability #github-api-compatability changed to: GitHub API compatibility #github-api-compatibility and this line: GitHub API compatability changed to: GitHub API compatibility
* Update blog links (#25843)HesterG2023-07-121-2/+2
| | | | | | | | As title. Permalinks for lastest version of blog has changed, update the blog links. --------- Co-authored-by: Giteabot <teabot@gitea.io>
* Use the new download domain replace the old (#25405)Lunny Xiao2023-06-211-2/+2
| | | As title.
* Change branch name from master to main in some documents' links (#25126)HesterG2023-06-081-1/+1
| | | As title. And needs to backport to 1.19
* Update `CONTRIBUTING.md` (#24492)John Olheiser2023-05-231-263/+384
| | | | | | | | | | | | | | | Previously, the `CONTRIBUTING` was severely outdated in certain aspects such as workflows. These sections have been brought up to date. Furthermore, the `CONTRIBUTING` now mentions the TOC, how it is structured, elected, and its duties. --------- Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: delvh <dev.lh@web.de>
* Remove .lgtm and reference to old bot (#24464)silverwind2023-05-011-2/+1
| | | | | Since we now use [gitea-backporter](https://github.com/GiteaBot/gitea-backporter) for LGTM, we no longer need this.
* Improving CONTRIBUTING.md for backport details (#23057)wxiaoguang2023-02-221-3/+11
| | | | | | | See the changes. Two key points: * Necessary enhancements could be backported. * The backports shouldn't break downgrade between minor releases.
* Add Contributed backport command (#22643)zeripath2023-01-311-18/+2
| | | | | | | | | | | | This PR provides a contributed backport command to help create backports for Gitea. It represents a significant improvement on my previously described shell-script. It can be installed using `go install contrib/backport/backport.go`. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update standard copyright header to use a placeholder year (#22254)Yarden Shoham2022-12-271-1/+1
|
* Test views of LFS files (#22196)Nick2022-12-231-0/+2
|
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+2
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Add wording about keeping PRs up-to-date in CONTRIBUTING.md (#21468)Yarden Shoham2022-10-151-0/+10
| | | | | | | | | Following a discord discussion from today I've written the policy explained to me about keeping PRs up-to-date. Signed-off-by: Yarden Shoham <hrsi88@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Contribution guidelines (#21425)KN4CK3R2022-10-121-24/+8
| | | | | | | | | | | | | Some changes to the contribution guidelines. - I removed the `Large Character Comments` part because I think they are bad design. They are used in big files to group sections of code. This code should be organized into individual files. - Updated some paths. - Added `Documentation` because our documentation is not good at the moment. We should enforce documentation of newly added features to help our users. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Kd/ci playwright go test (#20123)Kyle D2022-09-021-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add initial playwright config * Simplify Makefile * Simplify Makefile * Use correct config files * Update playwright settings * Fix package-lock file * Don't use test logger for e2e tests * fix frontend lint * Allow passing TEST_LOGGER variable * Init postgres database * use standard gitea env variables * Update playwright * update drone * Move empty env var to commands * Cleanup * Move integrations to subfolder * tests integrations to tests integraton * Run e2e tests with go test * Fix linting * install CI deps * Add files to ESlint * Fix drone typo * Don't log to console in CI * Use go test http server * Add build step before tests * Move shared init function to common package * fix drone * Clean up tests * Fix linting * Better mocking for page + version string * Cleanup test generation * Remove dependency on gitea binary * Fix linting * add initial support for running specific tests * Add ACCEPT_VISUAL variable * don't require git-lfs * Add initial documentation * Review feedback * Add logged in session test * Attempt fixing drone race * Cleanup and bump version * Bump deps * Review feedback * simplify installation * Fix ci * Update install docs
* Add markdownlint (#20512)silverwind2022-07-281-56/+66
| | | | Add `markdownlint` linter and fix issues. Config is based on the one from electron's repo with a few rules relaxed.
* homebrew updates via crontechknowlogick2022-03-031-1/+0
|
* Add announcement steps to release-howto (#18896)Norwin2022-02-271-0/+5
| | | | | | * add announcements steps to release-howto * Also add homebrew update
* Add a few more comments to the CONTRIBUTING.md document (#18469)zeripath2022-01-301-4/+74
| | | | | | | | | | | | * Explain how to title your Backport PR * Advise that the first comment in a PR should explain the PR * Include information about BREAKING changes * Include information about backports/frontports * Add reference command for creating backports * Add reference commandline for creating large characters * Add information about updating docs/config.yaml * Update year in the copyright Signed-off-by: Andrew Thornton <art27@cantab.net>
* Make gitea, gitea-vet future-proof (#18361)Gusted2022-01-221-1/+1
| | | | | | | | | * Make gitea, gitea-vet future-proof - Ref: https://gitea.com/gitea/gitea-vet/pulls/18 * Correct order Co-authored-by: zeripath <art27@cantab.net>
* update description about vendoring in CONTRIBUTING.md (#18280)a10121127962022-01-171-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * update description about vendoring in CONTRIBUTING.md follow #18277 Signed-off-by: a1012112796 <1012112796@qq.com> * Update CONTRIBUTING.md Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> * fix and readd test-vendor step * remove vendor from .gitattributes @silverwind * simplify go mod check Signed-off-by: a1012112796 <1012112796@qq.com> * Revert "remove vendor from .gitattributes @silverwind" This reverts commit 4789e704cb7a2c80934e4a4cd31efb161e6c8666. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* Update owners for 2022 (#18155)65432022-01-021-0/+5
|
* Fix various typos of software names (#18083)qwerty2872021-12-241-14/+14
| | | | | | | | | | | | | | | | * `git` -> `Git` * `Github` and `github` -> `GitHub` * `crowdin` -> `Crowdin` * `git-lfs` -> `Git LFS` * `githooks`, `git hooks`, `git-hooks` -> `Git Hooks` * `discord` -> `Discord` * `2fa` -> `2FA` * `gitlab` and `Gitlab` -> `GitLab` * `web hook` -> `webhook` * `linux` -> `Linux` * `sqlite` -> `SQLite` * `MYSQL` and `mysql` -> `MySQL` * rename refs to `master` branch -> `main` * Fix English grammar
* [API] generalize list header (#16551)65432021-08-121-2/+6
| | | | | | | | | | | | | * Add info about list endpoints to CONTRIBUTING.md * Let all list endpoints return X-Total-Count header * Add TODOs for GetCombinedCommitStatusByRef * Fix models/issue_stopwatch.go * Rrefactor models.ListDeployKeys * Introduce helper func and use them for SetLinkHeader related func
* Change the release cycle to match actual situations (#16430)Lunny Xiao2021-07-141-6/+8
| | | | | | | | * Change the release cycle to match actual situations * Update CONTRIBUTING.md Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Update owners for 2021 (#14206)techknowlogick2021-01-011-0/+5
| | | Fix #13801
* [Docs] fix typos and reference to structs package (#13856)Nuno Silva2020-12-051-5/+5
|
* Add link to owners election tickets, reorder to most-recent first (#11632)Sandro Santilli2020-05-261-12/+12
|
* docs: update 'Testing redux' in CONTRIBUTING.md (#11386)赵智超2020-05-141-17/+15
| | | | | | | | | | | | * docs: update 'Testing redux' in CONTRIBUTING.md try simplfy it to make it more easy for contributor to follow it to test their work by themselves. Signed-off-by: a1012112796 <1012112796@qq.com> * align help message strings Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* move CSS build to webpack (#9983)silverwind2020-01-281-9/+1
| | | | | | | | | | | | | | - added new 'make webpack' target - deprecated 'make js' and 'make css' - extend webpack config to load the less files - updated docs I had to rename the source file of `arc-green.less` to avoid generating a useless JS entrypoint via webpack-fix-style-only-entries which would not work with different source/destination filenames. I hear that there should be cleaner solutions possible once we upgrade to Webpack 5. Co-authored-by: zeripath <art27@cantab.net>
* Update date for new year (#9644)techknowlogick2020-01-071-1/+1
|
* [Docs] Add guide on howto develop API (#9587)65432020-01-041-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | * draft 1 * add suggestions thanks to @bagasme @techknowlogick @davidsvantesson * http methods * use permalinks * Apply suggestions from code review Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Apply suggestions from code review Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * code format + add to INDEX Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* Update CONTRIBUTING.md to include building JS (#9454)sunboyy2019-12-241-4/+4
| | | | | | | | | | | | | | | * Update CONTRIBUTING.md to include building JS Signed-off-by: sunboyy <sura_sun@hotmail.com> * Edit minimum Node.js version in CONTRIBUTING.md Signed-off-by: sunboyy <sura_sun@hotmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net>
* Update Owners for upcoming year (#9290)techknowlogick2019-12-071-1/+6
| | | Close #9230
* Correct some outdated statements in the contributing guidelines (#8612)Lukas2019-10-211-2/+4
| | | | | | | | | | | | | * More information for drone-cli in CONTRIBUTING.md * Increases the version of drone-cli to 1.2.0 * Adds a note for the Docker Toolbox on Windows Signed-off-by: LukBukkit <luk.bukkit@gmail.com> * Fix the url for the blog repository (now on gitea.com) Signed-off-by: LukBukkit <luk.bukkit@gmail.com>
* Basic Design guidelines (describing different parts of the code) (#8601)David Svantesson2019-10-201-0/+19
| | | | | | * Design guidelines with description of different parts of code * Better readability with code parts in bold.
* Update CONTRIBUTING.md with information about DCO (#7397)techknowlogick2019-07-171-12/+11
| | | | | | | | | | | * Update CONTRIBUTING.md with information about DCO References: #7389 More information: https://about.gitlab.com/handbook/marketing/community-relations/code-contributor-program/#developer-certificate-of-origin-dco * Update CONTRIBUTING.md Co-Authored-By: zeripath <art27@cantab.net>
* update contributing to use recent version of drone cli (#7351)techknowlogick2019-07-031-1/+1
| | | fix #7350
* add make targets for js and css, add js linter (#6952)silverwind2019-05-161-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add make targets for js,css, add javascript linter - add `make js`, deprecating `make javascripts` - add `make css`, deprecating `make generate-stylesheets` and `make stylesheets-check` - changed the unclean css check to only run on CI - add JS linting via eslint with basic configuration and fixed discovered issues - changed autoprefixer to use official `postcss-cli` avoiding the need to loop in the makefile - moved browserslist to package.json so other future tools can use it too. - update documentation for new make targets and added JS section * fix indentation * move functions used in html to 'exported' list * Run lessc binary without having to install anything to node_modules * use relative paths to node bin scripts, removing npx * Revert "use relative paths to node bin scripts, removing npx" This reverts commit 119b725525a8430b32ee7a6e6009b4ece544e39b. * fix lessc and postcss plugins * check for node_modules and use actual bin names
* Use Go1.11 module (#5743)Mura Li2019-03-271-2/+2
| | | | | | | | | | | | | | | | | | * Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
* fix testing instructions in CONTRIBUTING.md (#6305)stevegt2019-03-181-9/+20
| | | | | | | | | | | | | | | | | * add scripts/test-local.sh and fix CONTRIBUTING.md - fixes #6243 - partial fix for #6269 Signed-off-by: Steve Traugott <stevegt@t7a.org> * remove reference to possible automated drone run * remove bash version of drone-cli test script * fix issue number links in testing instructions * remove scripts/test-local.sh
* Makefile changes for Windows and easier development (#6103)John Olheiser2019-02-201-1/+1
| | | | | | | | * Added Go Path and node_modules to PATH * Uses npx now for generate-stylesheets * Uses `go env GOPATH` to calculate adding GOPATH/bin to PATH * Added note about installing Node 8.0+ to generate stylesheets * Added preferred Node version to CONTRIBUTING.md