From: Leonid Krivoshein <klark.devel@gmail.com>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] Отчёт об атомарном образе и предложение для улучшения пакетной базы
Date: Wed, 2 Apr 2025 02:17:36 +0300
Message-ID: <d7667328-9ba3-43e6-bc33-572d8cf4547d@gmail.com> (raw)
In-Reply-To: <765135e6-e2b3-45f6-83fe-7d7d31a8a87f@gmail.com>
On 4/2/25 01:39, Leonid Krivoshein wrote:
> Добрый день!
>
>
> On 4/1/25 23:22, Дмитрий wrote:
>> Что если сделать приложение/сайт которое будут анализировать все спек
>> файлы в репозитории, находить там старые/давно не обновляемые пакеты
>> или пакеты которые например не применяют подход systemd-tmpfiles
>> помечать их и в удобной форме отображать списком?
>
> Все спеки во всех репозиториях: https://github.com/altlinux/specs/
>
> Сайт https://packages.altlinux.org/en/sisyphus/ берёт данные с бэкенда
> https://rdb.altlinux.org/api/, который тесно интегрирован со
> сборочницей, данные в формате JSON с него можно тянуть через
> самоописываемый API swagger.
>
Пример использования (p10/systemd):
curl -X GET -H 'accept: application/json' \
'https://rdb.altlinux.org/api/package/specfile_by_name?branch=p10&name=systemd'
|
jq -r .specfile_content |base64 -d |highlight -S spec -O xterm256
|less -r
(должны быть установлены curl, jq и highlight).
--
WBR, Leonid Krivoshein.
next prev parent reply other threads:[~2025-04-01 23:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-01 20:22 Дмитрий
2025-04-01 22:39 ` Leonid Krivoshein
2025-04-01 23:17 ` Leonid Krivoshein [this message]
2025-04-02 8:10 ` Anton Farygin
2025-04-03 10:27 ` Alexey Shabalin
2025-04-03 11:23 ` Дмитрий
2025-04-03 11:27 ` Anton Farygin
2025-04-03 11:29 ` Anton Midyukov
2025-04-03 11:30 ` Anton Farygin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d7667328-9ba3-43e6-bc33-572d8cf4547d@gmail.com \
--to=klark.devel@gmail.com \
--cc=devel-distro@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Distributions development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
public-inbox-index devel-distro
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-distro
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git