From: Artem Semenov <sav70792@gmail.com>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] gear-remotes-uscan && gear-commit - два дополнительных коммита в рабочем репозитории
Date: Thu, 13 Nov 2025 16:24:58 +0300
Message-ID: <7d26fde2-e927-4be8-b99b-62c8a8eb9f1d@gmail.com> (raw)
In-Reply-To: <eec86854-e542-4ee8-be64-9988f02835d3@yandex.ru>
13.11.2025 15:30, Alexander Lubyagin пишет:
> 2) Команда $ gear-commit добавляет ещё один коммит. В результате, в
> рабочем репозитории хранятся два дополнительных коммита после
> тэгированного v4.6.1. Избыточность? Зачем нужны эти два дополнительных
> коммита (после нужного тэга)?
>
> commit 7a9822c947c9264bc3a235c0e2b313d2b4214a12 (HEAD-> sisyphus)
> Author: Alexander Lubyagin <dfpl@altlinux.org>
> Date: Thu Nov 13 15:22:12 2025 +0300
>
> 4.6.1-alt1 - New version 4.6.1.
>
Это гир коммит, он обозначает изменение версии в спеке. Т.Е. им вы
фиксируете повышение версии или альт релиза.
По идее изменения в спеке, не касающиеся релиза или версии -- это вроде
как изменение кода. А релиз отбивается отддельным коммитом такого вида.
> commit 4183023bbcc5b95f25268cccfb1490f0dac4d8e7
> Merge: e084575b 7a879833
> Author: Alexander Lubyagin <dfpl@altlinux.org>
> Date: Thu Nov 13 15:20:32 2025 +0300
>
> Merge tag 'v4.6.1' into sisyphus
>
> Release v4.6.1
>
Это мерж тег. ветка sisyphus, в которой вы разрабатываете пакет -- это
не мастерветка проекта. по этому вы делаете в неё мерж изменений.
Коммиты между тем, который был последний в ветке sisyphus и текущим
смержены этим коммитом. А по мержкоммиту видно, кто и когда его смержил
сюда.
> ...
>
> # gpg: Не могу проверить подпись: открытый ключ не найден
>
> commit 7a879833337f68fd358c350366db3f24cf441ed7 (tag: v4.6.1)
> Author: Tan Le <tan.le@hey.com>
> Date: Thu Sep 25 10:47:30 2025 +1000
>
> Release v4.6.1 (#2164)
>
> --
>
> _______________________________________________
> devel-newbies mailing list
> devel-newbies@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-newbies
next prev parent reply other threads:[~2025-11-13 13:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-13 12:30 Alexander Lubyagin
2025-11-13 13:24 ` Artem Semenov [this message]
2025-11-13 13:27 ` Ilya Sorochan
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=7d26fde2-e927-4be8-b99b-62c8a8eb9f1d@gmail.com \
--to=sav70792@gmail.com \
--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