ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [git pull] gear changes
Date: Tue, 08 Apr 2008 14:28:20 +0400
Message-ID: <47FB48C4.7030500@altlinux.ru> (raw)
In-Reply-To: <75e139a00804080307o6a8999ddvecff06a7f5580493@mail.gmail.com>

Slava Semushin wrote:
> Примерчик бы хоть показал, а то звучит как-то очень фичасто, но
> непонятно где его применять. Вроде gear-commit -a пока хватает (лично
> мне).

Эта утилита делает обратную операцию утилите gear-commit т.е. 
gear-commit создаёт git commit из сообщения changelog, gear-changelog 
создаёт changelog по git commit.

$ git-log --pretty='format:%s' 1.4.0-alt1..HEAD
Merge branch 'master' of git.alt:/people/legion/packages/gear into 
gear-changelog
gear-changelog-{deb,rpm}: Use 'fmt' for group message
gear-sh-functions: Fix uninitialized parameter
gear-sh-functions: Fix uninitialized parameter
gear-changelog: Read first commit too
gear-changelog: Fix typo
New utiltiy to able make changelog entries from commit messages
Remove boldface from the NAME section of man pages

$ gear-changelog -f rpm --no-rules
Tue Apr 08 2008 Alexey Gladkov <legion@altlinux.org> 1.4.0-alt1
- gear-changelog-{deb,rpm}: Use 'fmt' for group message.
- gear-sh-functions: Fix uninitialized parameter.
- gear-changelog: Read first commit too.
- gear-changelog: Fix typo.
- New utiltiy to able make changelog entries from commit messages.
- Remove boldface from the NAME section of man pages (thx Dmitry V. 
Levin).

Ключ --no-rules потому что я не написал правил группировки.

$ cat /tmp/changelog-rules
group: gear-changeslog changes
regexp: ^gear-changelog:

group: gear-changelog format changes
regexp: ^gear-changelog-.*

group: Common fixes
regexp: .*

$ gear-changelog -f rpm -r /tmp/changelog-rules
Tue Apr 08 2008 Alexey Gladkov <legion@altlinux.org> 1.4.0-alt1
- gear-changeslog changes:
   + gear-changelog: Read first commit too.
   + gear-changelog: Fix typo.
- gear-changelog format changes:
   + gear-changelog-{deb,rpm}: Use 'fmt' for group message.
- Common fixes:
   + gear-sh-functions: Fix uninitialized parameter.
   + New utiltiy to able make changelog entries from commit messages.
   + Remove boldface from the NAME section of man pages (thx Dmitry V. 
Levin).

Это удобно если ты у тебя структурированные коммиты и их можно 
классифицировать.

-- 
Rgrds, legion



  reply	other threads:[~2008-04-08 10:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-08  9:28 Alexey Gladkov
2008-04-08 10:07 ` Slava Semushin
2008-04-08 10:28   ` Alexey Gladkov [this message]
2008-04-08 10:44     ` Slava Semushin
2008-04-08 11:14       ` Alexey Gladkov

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=47FB48C4.7030500@altlinux.ru \
    --to=legion@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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