devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: Anton Farygin <rider@basealt.ru>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] changelog in spec and commit message
Date: Thu, 25 Sep 2025 14:44:55 +0300
Message-ID: <86747ecc-e973-457b-860a-9b97c7f5c18d@basealt.ru> (raw)
In-Reply-To: <33b84fb5-6a4e-43de-bd20-e51b60caff32@basealt.ru>

On 9/25/25 14:43, Anton Farygin wrote:
> On 9/25/25 14:33, Alexander Lubyagin wrote:
>> Добрый день.
>>
>> В каких случаях запись 'commit message' (git commit -m) дублирует 
>> многострочную запись в spec's changelog?
>>
>> В каких случаях они различаются? Есть ли рекомендации?
>
>
> Изменения в rpm spec обычно фиксируются через команду gear-commit -a, 
> эта команда автоматически в commit message добавит записи из changelog
>
> Другие изменения в пакете лучше фиксировать отдельными коммитами, 
> оформленными по обычным рекомендациям к написанию commit message на 
> английскком языке:
> -------------------------
>
> Короткий заголовок в повелительном наклонении (до 50 символов)
>
> Более развернутое объяснение изменений:
> - Что изменено
> - Почему это важно
> - Ссылки: Fixes #NNN
> -------------------------
>
>
> Важно фиксировать не только то, что изменилось, но и зачем было 
> сделано это изменение.
>
> пример (выдуман):
> ----------------------- 

Почему-то в примере слетело форматирование:


Add systemd hardening options to keepalived.service


Enabled additional security directives:
- ProtectSystem=full
- ProtectHome=true
- ProtectKernelModules=true
- RestrictRealtime=true

These options reduce the attack surface by limiting access to
system files, user homes and kernel interfaces.
Fixes: ALT#55878




  reply	other threads:[~2025-09-25 11:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25 11:33 Alexander Lubyagin
2025-09-25 11:43 ` Anton Farygin
2025-09-25 11:44   ` Anton Farygin [this message]
2025-09-25 12:12 ` Paul Wolneykien
2025-09-25 21:24 ` Leonid Krivoshein

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=86747ecc-e973-457b-860a-9b97c7f5c18d@basealt.ru \
    --to=rider@basealt.ru \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git