Re: rawhide report: 20080318 changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 18 March 2008, Bill Nottingham wrote:
> Ville Skyttä (ville.skytta@xxxxxx) said:
> > On Tuesday 18 March 2008, Rawhide wrote:
> > > Updated Packages:
> >
> > [...]
> >
> > > portecle-1.3-3.fc9
> > > ------------------
> >
> > [no changelog included]
> >
> > It looks like none of my package updates get changelog entries
> > automatically included in Rawhide reports or Bodhi updates [0].  Any
> > ideas why?  UTF-8 in my last name?
>
> http://git.fedorahosted.org/git/?p=mash;a=blob_plain;f=utils/treediff;hb=HE
>AD
>
> Go nuts. :)

Ok, attached is a fix for one obvious bug; changelogs were not extracted at 
all if there were less than 3 log entries altogether.
--- treediff~	2008-03-21 09:06:03.000000000 +0200
+++ treediff	2008-03-21 10:56:19.000000000 +0200
@@ -35,8 +35,8 @@
    if len(names) == 1:
         times = [times]
    for i in range(0, num):
-      if num > len(names) -1:
-	continue
+      if i > len(names) -1:
+	break
       s.append("* %s %s" %(time.strftime(timeformat, time.gmtime(times[i])),
                            names[i]))
       s.append("%s\n" %(text[i]))
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux