1
Использование репозитория пакетов (repo.json)
lain edited this page 2025-02-05 14:34:04 +00:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Централизованный файл repo.json содержит список пакетов и ссылки на их манифесты. Пример:

{
  "packages": [
    {
      "name": "fastfetch",
      "manifest": "https://xn--80abmlgju2eo3byb.xn--p1ai/repo/fastfetch/manifest.json"
    },
    {
      "name": "choochoo-build",
      "manifest": "https://xn--80abmlgju2eo3byb.xn--p1ai/repo/choochoo-build/manifest.json"
    }
  ]
}

Train загружает этот файл, ищет нужный пакет по имени, а затем загружает соответствующий манифест.