Show More
@@ -3,8 +3,12 b'' | |||||
3 | Repository Extra Fields |
|
3 | Repository Extra Fields | |
4 | ======================= |
|
4 | ======================= | |
5 |
|
5 | |||
6 |
Extra fields attached to a |repo| allow you to configure additional |
|
6 | Extra fields attached to a |repo| allow you to configure additional fields for | |
7 | |RCX|. To install and read more about |RCX|, see the :ref:`install-rcx` section. |
|
7 | each repository. This allows storing custom data per-repository. | |
|
8 | ||||
|
9 | It can be used in :ref:`integrations-webhook` or in |RCX|. | |||
|
10 | To install and read more about |RCX|, see the :ref:`install-rcx` section. | |||
|
11 | ||||
8 |
|
12 | |||
9 | Enabling Extra Fields |
|
13 | Enabling Extra Fields | |
10 | --------------------- |
|
14 | --------------------- | |
@@ -27,9 +31,14 b' 2. On the |repo| settings page, select t' | |||||
27 |
|
31 | |||
28 | .. image:: ../images/extra-repo-fields.png |
|
32 | .. image:: ../images/extra-repo-fields.png | |
29 |
|
33 | |||
|
34 | The most important is the `New field key` variable which under the value will | |||
|
35 | be stored. It needs to be unique for each repository. The label and description | |||
|
36 | will be generated in repository settings where users can actually save some | |||
|
37 | values inside generated extra fields. | |||
30 |
|
38 | |||
31 | Example Usage |
|
39 | ||
32 | ------------- |
|
40 | Example Usage in extensions | |
|
41 | --------------------------- | |||
33 |
|
42 | |||
34 | To use the extra fields in an extension, see the example below. For more |
|
43 | To use the extra fields in an extension, see the example below. For more | |
35 | information and examples, see the :ref:`extensions-hooks-ref` section. |
|
44 | information and examples, see the :ref:`extensions-hooks-ref` section. |
General Comments 0
You need to be logged in to leave comments.
Login now