Skip to content

Commit aed4345

Browse files
authored
Merge pull request #12341 from nextcloud/fix/archaic-wording
fix(developer): Rephrase some parts to avoid archaic wording
2 parents d512df2 + 9e58a13 commit aed4345

File tree

4 files changed

+43
-21
lines changed

4 files changed

+43
-21
lines changed

developer_manual/design/introduction.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@
44
Introduction
55
============
66

7-
Nextcloud design and brand standards are used to maintain the identity of Nextcloud apps. If you're a developer who wants to create or contribute to a Nextcloud app, following this guide will make sure your app looks like it belongs to the Nextcloud family.
7+
Nextcloud design and brand standards are used to maintain the identity of Nextcloud apps.
8+
If you're a developer who wants to create or contribute to a Nextcloud app, following this guide will make sure your app looks like it belongs to the Nextcloud family.
89

9-
Each Nextcloud app is unique and different, but there are a couple of standards that are used in everything. All Nextcloud apps are built keeping some basic principles in mind.
10+
Each Nextcloud app is unique and different, but there are a couple of standards that are used in everything.
11+
All Nextcloud apps are built keeping some basic principles in mind.
1012

1113

1214
* Software should be quick and easy to use. Show only the most important elements. Secondary elements can be showed on hover or via an "Advanced" function.
1315
* Nextcloud apps are built for everybody. Use a friendly tone with simple sentences. Make sure your app is responsive and runs on all browsers and devices.
1416
* Accessibility: Make sure to regularly test accessibility, for example with `Lighthouse <https://developers.google.com/web/tools/lighthouse>`_\ , `WAVE <https://wave.webaim.org/>`_\ , and `Google Accessibility Scanner <https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.auditor>`_. Aim for WCAG Level AA. You can learn more about accessibility standards in the `W3 website <https://www.w3.org/WAI/standards-guidelines/wcag/glance/>`_
15-
* Software should work. Only put features into master when they are complete. It is better to not have a feature instead of having one that works poorly.
16-
* Software should get out of the way. Do things automatically instead of offering configuration options. When people ask for a setting, find out what the root of the problem is and fix that instead. Also read `Choosing our Preferences <http://ometer.com/preferences.html>`_.
17+
* Software should work.
18+
Only put features into main branch when they are complete. It is better to not have a feature instead of having one that works poorly.
19+
* Software should get out of the way.
20+
Do things automatically instead of offering configuration options. When people ask for a setting, find out what the root of the problem is and fix that instead.
21+
Also read `Choosing our Preferences <http://ometer.com/preferences.html>`_.
1722
* People’s data is sacred. Provide undo for most operations and optionally a confirmation for bigger more complex operations, but be careful about confirmations `as they might be dismissed <http://www.alistapart.com/articles/neveruseawarning/>`_.
1823
* The state of the application should be clear. If something loads, provide feedback. Reactions should be quick, ideally under 100ms as per `response time limits <https://www.nngroup.com/articles/response-times-3-important-limits/>`_\.
1924
* The state of the application should be clear. If something loads, provide feedback.

developer_manual/getting_started/codingguidelines.rst

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,20 @@ General
99

1010
* Ideally, discuss your plans on the `forums <https://help.nextcloud.com>`_ to see if others want to work with you on it
1111
* We use `GitHub <https://github.com/nextcloud>`_, please get an account there and clone the repositories you want to work on
12-
* Fixes go directly to master, nevertheless they need to be tested thoroughly.
13-
* New features are always developed in a branch and only merged to master once they are fully done.
14-
* Software should work. We only put features into master when they are complete. It's better to not have a feature instead of having one that works poorly.
15-
* It is best to start working based on an issue - create one if there is none. You describe what you want to do, ask feedback on the direction you take it and take it from there.
16-
* When you are finished, use the merge request function on GitHub to create a pull request. The other developers will look at it and give you feedback. You can signify that your PR is ready for review by adding the label "3. to review" to it. See `the code review page for more information <../prologue/bugtracker/codereviews.html>`_
17-
* It is key to keep changes separate and small. The bigger and more hairy a PR grows, the harder it is to get it in. So split things up where you can in smaller changes - if you need a small improvement like a API addition for a big feature addition, get it in first rather than adding it to the big piece of work!
18-
* Decisions are made by consensus. We strive for making the best technical decisions and as nobody can know everything, we collaborate. That means a first negative comment might not be the final word, neither is positive feedback an immediate GO. Nextcloud is built out of modular pieces (apps) and maintainers have a strong influence. In case of disagreement we consult other seasoned contributors.
12+
* Fixes go directly to the main branch, nevertheless they need to be tested thoroughly.
13+
* New features are always developed in a branch and only merged to the main branch once they are fully done.
14+
* Software should work. We only put features into the main branch when they are complete.
15+
It's better to not have a feature instead of having one that works poorly.
16+
* It is best to start working based on an issue - create one if there is none.
17+
You describe what you want to do, ask feedback on the direction you take it and take it from there.
18+
* When you are finished, use the merge request function on GitHub to create a pull request.
19+
The other developers will look at it and give you feedback. You can signify that your PR is ready for review by adding the label "3. to review" to it.
20+
See `the code review page for more information <../prologue/bugtracker/codereviews.html>`_
21+
* It is key to keep changes separate and small. The bigger and more hairy a PR grows, the harder it is to get it in.
22+
So split things up where you can in smaller changes - if you need a small improvement like a API addition for a big feature addition, get it in first rather than adding it to the big piece of work!
23+
* Decisions are made by consensus. We strive for making the best technical decisions and as nobody can know everything, we collaborate.
24+
That means a first negative comment might not be the final word, neither is positive feedback an immediate GO. Nextcloud is built out of modular pieces (apps) and maintainers have a strong influence.
25+
In case of disagreement we consult other seasoned contributors.
1926

2027
Labels
2128
------
@@ -64,12 +71,15 @@ Coding
6471
* No global variables or functions
6572
* Unit tests
6673
* HTML should be HTML5 compliant
67-
* When you ``git pull``, always ``git pull --rebase`` to avoid generating extra commits like: *merged master into master*
74+
* When you ``git pull``, always ``git pull --rebase`` to avoid generating extra commits like: *merged main into main*
6875

6976
License headers
7077
---------------
7178

72-
Nextcloud is licensed under the `GNU AGPLv3 <https://www.gnu.org/licenses/agpl>`_. From June, 16 2016 on we switched to "GNU AGPLv3 or any later version" for better long-term maintainability. If you create a new file please use this header:
79+
Nextcloud is licensed under the `GNU AGPLv3 <https://www.gnu.org/licenses/agpl>`_.
80+
From June, 16 2016 on we switched to "GNU AGPLv3 or any later version" for better long-term maintainability.
81+
82+
If you create a new file please use this header:
7383

7484
.. code-block:: php
7585

developer_manual/prologue/bugtracker/codereviews.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ code reviews shall take place on GitHub as well.
1818
Precondition
1919
------------
2020

21-
From now on no direct commits/pushes to master or any of the stable branches are
21+
From now on no direct commits/pushes to the main or any of the stable branches are
2222
allowed in general. **Every code** change - **even one liners** - have to be
2323
reviewed!
2424

@@ -37,8 +37,8 @@ How will it work?
3737
#. In case the reviewer is okay with the changes and thinks all their comments and
3838
suggestions have been taken into account a :+1 on the comment will signal a positive
3939
review.
40-
#. Before a pull request will be merged into master or the corresponding
41-
branch at least 2 reviewers need to give :+1 score.
40+
#. Before a pull request will be merged into the main corresponding stable branch
41+
at least 2 reviewers need to give :+1 score.
4242
#. Our continuous integration server will give an additional indicator for
4343
the quality of the pull request (the results can be accessed from the GitHub
4444
interface for that pull request).

developer_manual/prologue/bugtracker/triaging.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,18 @@ Let's go over each step.
7575
Finding duplicates
7676
^^^^^^^^^^^^^^^^^^
7777

78-
To find duplicates, the search tool in GitHub is your first stop. In `this screen <https://github.com/nextcloud/server/issues>`_ you can easily search for a few keywords from the bug report. If you find other bugs with the same content, decide what the best bug report is (often the oldest or the one where one or more developers have already started to engage and discuss the problem). That is the 'master' bug report, you can now close the other one (or comment that it can be closed as duplicate).
79-
80-
If the bug report you were reviewing contains additional information, you can add that information to the 'master' bug report in a comment. Mention this bug report (using #<bug report number>) so a developer can look up the original, closed, report and perhaps ask the initial reporter there for additional information.
81-
82-
If you can't find anything, look in closed bug reports. The problem might be solved already and be listed there! Of course, these other bug reports might be closed as duplicates of the one you are looking at now - if you can't find one that is solved nor can find any duplicates, you can move on to the next step. If you are unsure, just add a comment: "might be a duplicate of #<bug nr here>" will usually suffice.
78+
To find duplicates, the search tool in GitHub is your first stop.
79+
In `this screen <https://github.com/nextcloud/server/issues>`_ you can easily search for a few keywords from the bug report.
80+
If you find other bugs with the same content, decide what the best bug report is (often the oldest or the one where one or more developers have already started to engage and discuss the problem).
81+
That is the 'prime' bug report, you can now close the other one (or comment that it can be closed as duplicate).
82+
83+
If the bug report you were reviewing contains additional information, you can add that information to the 'prime' bug report in a comment.
84+
Mention this bug report (using #<bug report number>) so a developer can look up the original, closed, report and perhaps ask the initial reporter there for additional information.
85+
86+
If you can't find anything, look in closed bug reports.
87+
The problem might be solved already and be listed there!
88+
Of course, these other bug reports might be closed as duplicates of the one you are looking at now - if you can't find one that is solved nor can find any duplicates, you can move on to the next step.
89+
If you are unsure, just add a comment: "might be a duplicate of #<bug nr here>" will usually suffice.
8390

8491
When the issue is a feature request, you can be helpful in the same way: merge related requests by adding information of one to the other and closing the first.
8592

0 commit comments

Comments
 (0)