Skip to content

Commit d964992

Browse files
committed
trivial: Rename a few more cases of add-f-c to update-from-config
1 parent 30000c0 commit d964992

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/general/initial-setup.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ You can import your own file like this to set up your archive configuration:
172172

173173
.. code-block:: shell-session
174174
175-
$ lk-admin archive add-from-config ./archive-config.toml
175+
$ lk-admin archive update-from-config ./archive-config.toml
176176
177177
This action, if run multiple times, should not add suites multiple times, it will however override existing
178178
properties of suites with the same time.
@@ -202,7 +202,7 @@ Spears (Package Migrations / QA)
202202

203203
.. code-block:: shell-session
204204
205-
$ lk-admin spears add-from-config ./spears-tasks.toml
205+
$ lk-admin spears update-from-config ./spears-tasks.toml
206206
207207
The configuration file must contain migration tasks that determine what should
208208
be migrated from where, and also include the delays (in days) for each package
@@ -222,7 +222,7 @@ Synchrotron (Pull packages from a source OS)
222222

223223
.. code-block:: shell-session
224224
225-
$ lk-admin synchrotron add-from-config ./synchrotron-config.toml
225+
$ lk-admin synchrotron update-from-config ./synchrotron-config.toml
226226
227227
The configuration file needs to set up several synchronization sources and
228228
sync configurations.

tests/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def database(sources_dir, samples_dir, localconfig, create_database):
294294
'--config',
295295
localconfig.fname,
296296
'archive',
297-
'add-from-config',
297+
'update-from-config',
298298
os.path.join(samples_dir, 'config', 'archive-config.toml'),
299299
],
300300
check=True,

0 commit comments

Comments
 (0)