You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/getting_started/index.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
Getting Started
3
3
#################
4
4
5
-
The IDF Component Manager is included and enabled by default in all `supported ESP-IDF <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/versions.html>`_ versions.
5
+
The IDF Component Manager comes pre-installed and enabled by default in all `supported ESP-IDF versions <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/versions.html>`_.
6
6
7
7
********************************************
8
8
Checking the IDF Component Manager Version
9
9
********************************************
10
10
11
-
If you are unsure which version of the IDF Component Manager is included in your ESP-IDF installation, you can find out by running a CLI command.
11
+
If you're unsure which version of the IDF Component Manager is included in your ESP-IDF installation, you can check it using a CLI command.
12
12
13
13
First, activate the `ESP-IDF environment <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#installation>`_, then run the help command:
14
14
@@ -18,7 +18,7 @@ First, activate the `ESP-IDF environment <https://docs.espressif.com/projects/es
18
18
19
19
Windows
20
20
21
-
Run ``ESP-IDF PowerShell Environment`` or ``ESP-IDF Command Prompt (cmd.exe)`` from the Start menu and run the following command:
21
+
Open ``ESP-IDF PowerShell Environment`` or ``ESP-IDF Command Prompt (cmd.exe)`` from the Start menu and run the following command:
22
22
23
23
.. code:: powershell
24
24
@@ -42,4 +42,4 @@ First, activate the `ESP-IDF environment <https://docs.espressif.com/projects/es
42
42
$ . $IDF_PATH/export.fish
43
43
$ compote version
44
44
45
-
Older versions of the component manager may not include the ``compote version`` command. If the command is not available in your IDF Component Manager, please consider upgrading it to the latest version. See `Upgrading the IDF Component Manager <#installing-and-upgrading-the-idf-component-manager>`_.
45
+
If you're using an older version of the Component Manager, the ``compote version`` command might not be available. In that case, consider upgrading to the latest version. For details, see `Upgrading the IDF Component Manager <#installing-and-upgrading-the-idf-component-manager>`_.
Copy file name to clipboardExpand all lines: docs/en/guides/partial_mirror.rst
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
This feature is available in version 2.1 and later.
8
8
9
-
A partial mirror contains only a subset of the components available in the main mirror. This can be useful when you have limited network connectivity or bandwidth, or when you want to restrict the versions of components available to your developers.
9
+
A partial mirror contains only a subset of the components available in the main mirror. This is useful when you have limited network connectivity or bandwidth, or when you want to restrict which versions of components are available to your developers.
10
10
11
11
******************************
12
12
Sync from Component Registry
@@ -18,68 +18,68 @@ To sync from the component registry, use the following command:
You don't have to worry about components with different versions required by different projects when you're using ``--resolution latest``. The version solver will find the versions that satisfy the requirements of all the projects.
74
+
You don’t need to worry about components required in different versions by different projects when using ``--resolution latest``. The version solver will find versions that satisfy all project requirements.
75
75
76
-
For example, if project A requires ``example/cmp<3.1``, and project B requires ``example/cmp<4``, both versions ``3.0.3`` and ``3.3.9~1`` will be downloaded to the mirror to satisfy the requirements of both projects.
76
+
For example, if project A requires ``example/cmp<3.1`` and project B requires ``example/cmp<4``, then both versions ``3.0.3`` and ``3.3.9~1`` will be downloaded to the mirror to fulfill the dependencies.
After the partial mirror is created, you can apply it to a profile in the :doc:`../reference/config_file` by adding the mirror URL to the ``local_storage_url`` field. For example, if your mirror is located at ``/opt/compote-mirror``, add the following to the configuration file:
82
+
After creating the partial mirror, apply it to a profile in the :doc:`../reference/config_file` by adding the mirror URL to the ``local_storage_url`` field. For example, if your mirror is located at ``/opt/compote-mirror``, update the configuration file like this:
83
83
84
84
.. code:: yaml
85
85
@@ -88,9 +88,9 @@ After the partial mirror is created, you can apply it to a profile in the :doc:`
88
88
local_storage_url:
89
89
- file:///opt/compote-mirror
90
90
91
-
The version solver will look for the versions in the partial mirror before looking in the main mirror. For more information, see :ref:`url_precedence`.
91
+
The version solver will check the versions in the partial mirror before looking in the main mirror. For more information, see :ref:`url_precedence`.
92
92
93
-
You may also run a file server to serve the mirror. For example, to serve the mirror at ``http://localhost:9004``, add the following to the configuration file:
93
+
You can also serve the mirror using a file server. For example, to serve it at ``http://localhost:9004``, update the configuration file as follows:
Copy file name to clipboardExpand all lines: docs/en/guides/roles.rst
+29-24Lines changed: 29 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,78 +6,83 @@ Users can authenticate into the ESP Component Registry using their GitHub accoun
6
6
7
7
- Upload and manage components in the registry
8
8
- Access the registry's API
9
-
- Manage various access and permission settings
9
+
- Manage access and permission settings
10
10
11
-
Roles are used to control access in the ESP Component Registry. They can be assigned at two levels:
11
+
Roles are used to control access within the ESP Component Registry. They can be assigned at two levels:
12
12
13
-
#. **Namespace Level** - Grants access and permissions within a particular namespace.
14
-
#. **Component Level** - Grants more fine-grained control for individual components.
13
+
#. **Namespace Level** – Grants access and permissions within a specific namespace.
14
+
#. **Component Level** – Provides more fine-grained control over individual components.
15
15
16
16
.. _what_is_namespace:
17
17
18
18
**********************
19
19
What Is a Namespace?
20
20
**********************
21
21
22
-
A *namespace* in the ESP Component Registry is a logical container for your components. By default, when you first log in using GitHub, you automatically get a namespace that matches your GitHub username. For example, if your GitHub username is `jdoe`, you will have a namespace named `jdoe` in the registry.
22
+
A *namespace* in the ESP Component Registry is a logical container for your components. By default, when you first log in with GitHub, a namespace matching your GitHub username is automatically created. For example, if your GitHub username is `jdoe`, your namespace will be `jdoe`.
23
23
24
-
- **Why use namespaces?** Namespaces keep your components organized and prevent naming collisions with components of other users. If two users want to create a component named `wifi-utilities`, having separate namespaces ensures that the components don't conflict.
25
-
- **How to find or create namespaces?** The default namespace for each user is created automatically. Organizations or teams can request or create additional namespaces (for example, an organization might have a `my-company` namespace). See :ref:`namespace_requests` for more details on creating additional namespaces.
24
+
- **Why use namespaces?** Namespaces keep components organized and prevent naming collisions between different users. For instance, if two users create a component called `wifi-utilities`, namespaces ensure they don't conflict.
25
+
- **How to find or create namespaces?** Each user gets a default namespace automatically. Organizations or teams can request additional namespaces (e.g., a `my-company` namespace). See :ref:`namespace_requests` for more information.
26
26
27
27
*****************
28
28
Namespace Roles
29
29
*****************
30
30
31
-
When a user logs into the ESP Component Registry, they automatically gain access to the namespace that corresponds to their GitHub username. This means they can start uploading components and managing them under that namespace.
31
+
When a user logs into the ESP Component Registry, they automatically gain access to their personal namespace (matching their GitHub username), allowing them to upload and manage components.
32
32
33
-
If you want to grant access to your namespace to other users (e.g., collaborators), you can assign one of the following roles:
33
+
To grant access to your namespace to other users (e.g., collaborators), assign them one of the following roles:
34
34
35
-
- **owner** - Automatically assigned to the user who created the namespace. - Can manage components in the namespace - upload new component versions, yank and delete existing component versions - Can manage namespace roles for other users (assign, modify or revoke their roles).
36
-
- **member** - Can manage components in the namespace - upload new component versions, yank and delete component versions
35
+
- **owner** – Automatically assigned to the creator of the namespace. - Can manage all components in the namespace. - Can upload new versions, yank, or delete components. - Can manage namespace roles for other users (assign, modify or revoke their roles).
36
+
- **member** – Can manage components in the namespace: - Can upload new versions, yank, and delete components.
37
37
38
38
.. note::
39
39
40
-
Only a user with the **owner** role can assign or revoke roles from others at the namespace level.
40
+
Only a user with the **owner** role can assign or revoke roles at the namespace level.
41
41
42
42
*****************
43
43
Component Roles
44
44
*****************
45
45
46
-
While namespace roles apply to all components under a namespace, sometimes you need more granular control over a specific component. That's where **component roles** come in. By assigning roles at the component level, you can let others collaborate on a single component without giving them control over all components in your namespace.
46
+
While namespace roles apply to all components within a namespace, component roles offer more granular control over individual components. That's where component roles come in. Assigning roles at the component level allows collaboration on specific components without granting broader access.
47
47
48
-
The following component-level roles are available:
48
+
Available component-level roles:
49
49
50
-
- **maintainer** - Can manage all aspects of a single component - upload new versions, yank and delete existing versions - Managing component roles for other users - Useful when you want someone else to help maintain a component but not all components in your namespace.
51
-
- **developer** - Can perform actions needed to develop a component - upload new versions, yank and delete existing versions
50
+
- **maintainer** – Full control over a single component. - Can upload, yank, or delete versions. - Can manage component roles for other users. - Useful for delegating control over a specific component.
51
+
- **developer** – Limited control. - Can upload new versions, yank, and delete existing versions.
52
52
53
53
***************************************
54
54
Managing Roles in the Permissions Tab
55
55
***************************************
56
56
57
-
You can manage roles for both your namespaces and components through the ESP Component Registry web interface. Navigate to the dropdown, and click on the **Permissions** tab. Here, you can:
57
+
You can manage roles for both namespaces and components using the ESP Component Registry web interface. To access role management:
58
+
59
+
#. Open the dropdown menu
60
+
#. Click on the **Permissions** tab
61
+
62
+
Here, you can:
58
63
59
64
- Create a request for a new namespace (see :ref:`namespace_requests`)
60
65
- View a list of all namespaces you have access to
61
66
62
-
Clicking on a namespace name will lead you to the namespace's permissions page, where you can:
67
+
Clicking a namespace name opens its permissions page, where you can:
63
68
64
69
- View a list of all users with roles in the namespace
65
70
- Assign or revoke roles for users in the namespace
66
71
- View a list of all components in the namespace
67
-
- Click on a component name to view its permissions page
72
+
- Click a component name to open its permissions page
68
73
69
74
On the component permissions page, you can:
70
75
71
-
- View a list of all users with roles for the component
72
-
- Assign or revoke roles for users for the component
76
+
- View a list of users and their roles for the component
77
+
- Assign or revoke roles for users at the component level
73
78
74
79
.. _namespace_requests:
75
80
76
81
Namespace Requests
77
82
==================
78
83
79
-
If you need a namespace, which is not your default namespace (e.g., you want a namespace for your organization), you can request one by following these steps:
84
+
If you need a namespace other than your default (e.g., for an organization), request one by following these steps:
80
85
81
86
#. **Log in** to the ESP Component Registry using your GitHub account.
82
-
#. **Navigate** to the **Permissions** tab.
83
-
#. Fill in the **Request a new namespace** form with the name you want for your new namespace.
87
+
#. **Go to** the **Permissions** tab.
88
+
#. Fill out the **Request a new namespace** form with your desired namespace name.
0 commit comments