From c54cfaec0e30fde73964b82fa6039ba07e09c9f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Thu, 11 Jan 2024 16:35:22 +0100 Subject: [PATCH] Update docs for asset cache Issue: https://progress.opensuse.org/issues/153145 --- docs/Contributing.asciidoc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/Contributing.asciidoc b/docs/Contributing.asciidoc index 8850c65bd220..20b63eeec263 100644 --- a/docs/Contributing.asciidoc +++ b/docs/Contributing.asciidoc @@ -415,13 +415,17 @@ as part of openSUSE Tumbleweed. push directly) locally, e.g. `osc co devel:openQA/openQA`. 2. Get the script `update-cache.sh` from the main git repository with `osc service ra` -3. Run `bash *update-cache.sh` inside the repository folder. Follow the log - checking no download errors occurred. -4. Do a sanity check on the generated `cache.txz`. It usually should not be +3. If you changed a url or added a new asset, you have to run the steps from + `update-cache.sh` manually, and instead of running + `./tools/generate-packed-assets` from the upstream git, you have to run it + on the git checkout that contains the change. +4. If there are no changes or new urls, run `bash *update-cache.sh` inside the + repository folder. Follow the log checking no download errors occurred. +5. Do a sanity check on the generated `cache.txz`. It usually should not be smaller than before, contain the newly added sources and must not contain any empty files. -5. Add an entry to the changes file using `osc vc openQA.changes`. -6. `osc ci -m 'Update asset cache'` +6. Add an entry to the changes file using `osc vc openQA.changes`. +7. `osc ci -m 'Update asset cache'` == Managing the database