ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] gb-task-check-lastchange: inheritance by src.rpm changelog
@ 2010-03-16 14:11 Alexey Tourbin
  2010-03-16 14:44 ` Alexey Tourbin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexey Tourbin @ 2010-03-16 14:11 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

gb-task-check-lastchange: new check for inheritance
http://git.altlinux.org/people/at/packages/girar-builder.git?a=commitdiff;h=132737dc

+#
+# When updating a package V1->V2, last changelog entry in V1
+# must be present among changelog entries in V2.  This is how
+# we can retain NMU and promote QA activity.
+#

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] gb-task-check-lastchange: inheritance by src.rpm changelog
  2010-03-16 14:11 [devel] gb-task-check-lastchange: inheritance by src.rpm changelog Alexey Tourbin
@ 2010-03-16 14:44 ` Alexey Tourbin
  2010-03-16 16:30 ` Alexey Tourbin
  2010-03-16 17:24 ` Alexey Tourbin
  2 siblings, 0 replies; 4+ messages in thread
From: Alexey Tourbin @ 2010-03-16 14:44 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

On Tue, Mar 16, 2010 at 05:11:01PM +0300, Alexey Tourbin wrote:
> gb-task-check-lastchange: new check for inheritance
> http://git.altlinux.org/people/at/packages/girar-builder.git?a=commitdiff;h=132737dc
> 
> +# When updating a package V1->V2, last changelog entry in V1
> +# must be present among changelog entries in V2.  This is how
> +# we can retain NMU and promote QA activity.

Maybe we need an exception for kernel modules.

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] gb-task-check-lastchange: inheritance by src.rpm changelog
  2010-03-16 14:11 [devel] gb-task-check-lastchange: inheritance by src.rpm changelog Alexey Tourbin
  2010-03-16 14:44 ` Alexey Tourbin
@ 2010-03-16 16:30 ` Alexey Tourbin
  2010-03-16 17:24 ` Alexey Tourbin
  2 siblings, 0 replies; 4+ messages in thread
From: Alexey Tourbin @ 2010-03-16 16:30 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 4886 bytes --]

On Tue, Mar 16, 2010 at 05:11:01PM +0300, Alexey Tourbin wrote:
> gb-task-check-lastchange: new check for inheritance
> http://git.altlinux.org/people/at/packages/girar-builder.git?a=commitdiff;h=132737dc

Here is the result for changes between
/ALT/archive/Sisyphus/2009/09/01
/ALT/archive/Sisyphus/2009/09/04

cdrkit-1.1.9.832-alt1.src.rpm: missing last changelog entry from cdrkit-1.1.10.svn830-alt1.src.rpm:
* Sun May 31 2009       ruslandh@altlinux       1.1.10.svn830-alt1
dovecot-1.2.4-alt5.src.rpm: missing last changelog entry from dovecot-1.1.6-alt3.src.rpm:
* Wed Jun 10 2009       raorn@altlinux  1.1.6-alt3

--- cdrkit-1.1.10.svn830-alt1.src.rpm.changelog 2010-03-16 19:25:09 +0300
+++ cdrkit-1.1.9.832-alt1.src.rpm.changelog     2010-03-16 19:25:09 +0300
@@ -1,25 +1,4 @@
-* Sun May 31 2009 Hihin Ruslan <ruslandh@altlinux> 1.1.10.svn830-alt1
-- add patch  Curtis Magyar from  http://bugs.gentoo.org/attachment.cgi?id=191945
-
-* Wed Nov 05 2008 Hihin Ruslan <ruslandh@altlinux> 1.1.9-alt2
-- Fix spec %post_control readom
-
-* Mon Nov 03 2008 Hihin Ruslan <ruslandh@altlinux> 1.1.9-alt1
-- New Version.
-- New structure package.
-
-* Wed Sep 17 2008 Hihin Ruslan <ruslandh@altlinux> 1.1.8-alt1
-- New Version
-
-* Sun Feb 10 2008 Hihin Ruslan <ruslandh@altlinux> 1.1.6-alt1
-- New Version
-
-* Tue Jan 16 2007 Hihin Ruslan <ruslandh@altlinux> 1.1.1-alt2
-- corrext summary
-
-* Sun Jan 14 2007 Hihin Ruslan <ruslandh@altlinux> 1.1.1-alt1
-- correct description
-
-* Sun Jan 14 2007 Hihin Ruslan <ruslandh@altlinux> 1.1.1-alt0
-- initial build
+* Thu Sep 03 2009 Dmitry V. Levin <ldv@altlinux> 1:1.1.9.832-alt1
+- Initial revision, based on cdrkit post-1.1.9 svn revision 832 and
+  patches from cdrkit-1.1.9-owl3.

--- dovecot-1.1.6-alt3.src.rpm.changelog        2010-03-16 19:24:24 +0300
+++ dovecot-1.2.4-alt5.src.rpm.changelog        2010-03-16 19:24:24 +0300
@@ -1,25 +1,45 @@
-* Wed Jun 10 2009 Alexey I. Froloff <raorn@altlinux> 1.1.6-alt3
-- Built with GSSAPI support (closes: #19695)
+* Thu Sep 03 2009 Maxim Ivanov <redbaron at altlinux> 1.2.4-alt5
+- Fixed bug with multiple sieve-before scripts
 
-* Thu Oct 30 2008 Sergey Ivanov <seriv@altlinux> 1.1.6-alt2
-- version 1.1.6-alt2: fix partial merge of upstream 1.1.6 in -alt1
+* Wed Sep 02 2009 Maxim Ivanov <redbaron at altlinux> 1.2.4-alt4
+- Added option to compile debug version 
+- sievec is now part of dovecot package
 
-* Thu Oct 30 2008 Sergey Ivanov <seriv@altlinux> 1.1.6-alt1
-- version 1.1.6: "The invalid message address parsing bug is pretty important since it
-allows a remote user to send broken mail headers and prevent the
-recipient from accessing the mailbox afterwards, because the process
-will always just crash trying to parse the header. This is assuming that
-the IMAP client uses FETCH ENVELOPE command, not all do. Note that it
-doesn't affect versions older than v1.1.4."
+* Tue Sep 01 2009 Maxim Ivanov <redbaron at altlinux> 1.2.4-alt3
+- conflicts and obsoletes are corrected
 
-* Tue Oct 07 2008 Sergey Ivanov <seriv@altlinux> 1.1.4-alt1
-- version 1.1.4
+* Sat Aug 29 2009 Maxim Ivanov <redbaron at altlinux> 1.2.4-alt2
+- Added GSSAPI auth fix
 
-* Thu Jul 24 2008 Sergey Ivanov <seriv@altlinux> 1.1.2-alt1
-- version 1.1.2 with many fixes/improvements, and fix bug #16381
+* Sat Aug 29 2009 Maxim Ivanov <redbaron at altlinux> 1.2.4-alt1
+- dovecot 1.2.4, managesieve 0.11.9, sieve 0.1.12
+- added dist-upgrade and upgrade notifications
 
-* Thu Jun 26 2008 Sergey Ivanov <seriv@altlinux> 1.1.1-alt1
-- added conflict against dovecot1.0
+* Mon May 18 2009 Ivanov Maxim <redbaron@altlinux> 1.2-alt2.rc3
+- Use separate libexecdir to remove conflict to other dovecot version.
+  BEWARE! Update your MTA config, /usr/libexec/dovecot/deliver if you
+  are upgrading from obsolete dovecot1.2 package
+- Spec cleanup.
+- make various bundled files more universal to handle multiple versions
+
+* Tue May 05 2009 Ivanov Maxim <redbaron@altlinux> v1.2-alt1.rc3
+- Updated to 1.2.rc3
+- Fixed macros warnings in spec
+
+* Tue Nov 18 2008 Sergey Ivanov <seriv@altlinux> v1.2-alt3_alpha3
+- fix: in v1.2-alt2_alpha3 managesieve was lost due to my mistake.
+
+* Mon Nov 17 2008 Sergey Ivanov <seriv@altlinux> v1.2-alt2_alpha3
+- upstream fixes ManageSieve SECURITY hole: virtual users can edit scripts of other virtual users
+
+* Mon Oct 27 2008 Sergey Ivanov <seriv@altlinux> v1.2-alt1_alpha3
+- dovecot-1.2 (alpha3) for Sisyphus
+
+* Sun Jul 06 2008 Sergey Ivanov <seriv@altlinux> 1.2.rc8-alt1
+- dovecot-1.2 (rc8) for Sisyphus
+
+* Thu Jun 26 2008 Sergey Ivanov <seriv@altlinux> 1.0.15-alt2
+- Renamed to dovecot1.0 and set conflicts against dovecot
 
 * Sun Jun 22 2008 Sergey Ivanov <seriv@altlinux> 1.0.15-alt1
 - Release v1.0.15 (see Changelog) and fix check-subdirs


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] gb-task-check-lastchange: inheritance by src.rpm changelog
  2010-03-16 14:11 [devel] gb-task-check-lastchange: inheritance by src.rpm changelog Alexey Tourbin
  2010-03-16 14:44 ` Alexey Tourbin
  2010-03-16 16:30 ` Alexey Tourbin
@ 2010-03-16 17:24 ` Alexey Tourbin
  2 siblings, 0 replies; 4+ messages in thread
From: Alexey Tourbin @ 2010-03-16 17:24 UTC (permalink / raw)
  To: devel


[-- Attachment #1.1: Type: text/plain, Size: 586 bytes --]

On Tue, Mar 16, 2010 at 05:11:01PM +0300, Alexey Tourbin wrote:
> gb-task-check-lastchange: new check for inheritance
> http://git.altlinux.org/people/at/packages/girar-builder.git?a=commitdiff;h=132737dc
> 
> +#
> +# When updating a package V1->V2, last changelog entry in V1
> +# must be present among changelog entries in V2.  This is how
> +# we can retain NMU and promote QA activity.
> +#

More examples follow along with a simple script to automate comparsion.

[at@altair at]$ ./changelogdiff /ALT/archive/Sisyphus/2009/08/01 /ALT/archive/Sisyphus/2009/09/01 >diff

[-- Attachment #1.2: changelogdiff --]
[-- Type: text/plain, Size: 915 bytes --]

#!/bin/sh -efu

. tmpdir.sh
cd $TMPDIR

repo1=$1
repo2=$2

ls $repo1/files/SRPMS/ |perl -pe 's/(.+)-(.+)-(.+)/$1\t$1-$2-$3/' >NF1
ls $repo2/files/SRPMS/ |perl -pe 's/(.+)-(.+)-(.+)/$1\t$1-$2-$3/' >NF2

sort -u -o NF1{,}
sort -u -o NF2{,}

join NF1 NF2 |awk '$2!=$3{print$2,$3}' >check

changelog()
{       
	rpmquery --qf '[%{CHANGELOGTIME:day}\t%{CHANGELOGNAME}\n]' -p "$1" |
	perl -pe 's/\t.*<(\S+)(?:\@| at )([\w-]+).*>[ \t]*/\t$1\@$2\t/'
}

check()
{       
        changelog "$1" >c1
        changelog "$2" >c2
        lastchange=$(head -1 c1)
        if ! fgrep -qs -x -e "${lastchange:?}" c2; then
		rpm -q --changelog -p "$1" >${1##*/}.changelog
		rpm -q --changelog -p "$2" >${2##*/}.changelog
		diff -u {${1##*/},${2##*/}}.changelog || [ $? = 1 ]
        fi
}

while read -r F1 F2; do
	F1=$repo1/files/SRPMS/$F1
	F2=$repo2/files/SRPMS/$F2
	check $F1 $F2
done <check

[-- Attachment #1.3: diff.gz --]
[-- Type: application/x-gzip, Size: 6350 bytes --]

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-16 17:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-16 14:11 [devel] gb-task-check-lastchange: inheritance by src.rpm changelog Alexey Tourbin
2010-03-16 14:44 ` Alexey Tourbin
2010-03-16 16:30 ` Alexey Tourbin
2010-03-16 17:24 ` Alexey Tourbin

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