From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SrKa1-0007dn-Vj for garchives@archives.gentoo.org; Wed, 18 Jul 2012 03:05:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93F24E0841 for ; Wed, 18 Jul 2012 03:05:37 +0000 (UTC) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id C9B44E078D for ; Wed, 18 Jul 2012 01:12:04 +0000 (UTC) Received: by pbbrr13 with SMTP id rr13so1866137pbb.40 for ; Tue, 17 Jul 2012 18:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:reply-to:to:date:in-reply-to:references :content-type:x-mailer:mime-version; bh=nmWZo8FQz6p2KcOseAbLDSTJS4GdaphAD6dHI2i/99U=; b=JeADr5ffoopO1z+gJjyKl9FSJwjKtoNPAx/A2CBSB38nuVtYbAbTJT25sESFnW8YHy IX6A9sjAdNeRt9d9z5CLEL65Hshnu6jKLWFEJcSledV3RXuh630KA/nAg2bAMSiUZkar 7g8bLFU8tWUOpBE7RLbFaI9ccOuT5DpgAMcktZeParEGnW/WAJC+XPplmtdfvswjfmbF /QRJB+K0wSdWppQ/tsWYbITe4smBcmm0MgEauIf6BvoH/FamEnQVA5Ksop2j/lG+InZZ 5lpM0aQiNG8YZFvZoFc/wPee05fPARvs43HtVOuulZLXw0oItELdXTAoa3NIpqct+tPJ ZYJA== Received: by 10.66.78.73 with SMTP id z9mr791196paw.9.1342573924059; Tue, 17 Jul 2012 18:12:04 -0700 (PDT) Received: from [192.168.1.210] ([24.86.176.233]) by mx.google.com with ESMTPS id qi8sm15059110pbc.36.2012.07.17.18.12.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jul 2012 18:12:02 -0700 (PDT) Message-ID: <1342573904.28664.13.camel@big_daddy.dol-sen.ca> Subject: Re: [gentoo-soc] New gentoo packages -- report #8 From: Brian Dolbec To: gentoo-soc@lists.gentoo.org Date: Tue, 17 Jul 2012 18:11:44 -0700 In-Reply-To: <50053786.7010004@bacherikov.org.ua> References: <50053786.7010004@bacherikov.org.ua> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-3kjzGzcCjoRRMXDsO7C/" X-Mailer: Evolution 3.2.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: 56648956-813b-45e1-b5d6-8f4248748a31 X-Archives-Hash: 1352b0e5a62031062d50c270aea2e223 --=-3kjzGzcCjoRRMXDsO7C/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2012-07-17 at 12:59 +0300, Slava Bacherikov wrote: > Hello all. >=20 > My project task is creating new version of packages.gentoo.org site. > You could find it on > http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoo-packages.git;a=3Ds= ummary > or on https://github.com/bacher09/gentoo-packages > If you want to submit feature request you may do this by assign issue on > github to me. >=20 > I created changelog parser (now it not ideal, i plan > also little extend it) but some packages have bad data in changelog (for > example bad date in cdrtools "*cdrtools-1.11.29 (12 Ayg 2002)" typo > error in Aug). There are more problems than just a few typo's. In gentoolkit we've had to ignore some areas that would otherwise cause problems in equery's changelog. Check out what gentoolkit does for those. You may not need it, but check. > My changelog parser could fix some typos errors like > these that I have shown. But some packages have little different format > of changelog, that also trouble. > I've also made some fixes in design and in code. > =20 > Plans for the this week: > Highlight changelog, save latest changelog section, add to package some > data from newest ebuild in that package (like homepages, etc) Been there done that :) It is quite simple, have a look at porthole's code. It should be easy to adapt to django use with very little changes needed. You will need to change it to use django/web colors instead of gtk ones. Change porthole's portage_lib calls to your PM backend code. Change the gtk.Buffer to an html/xml string. But the highlighting/parsing code is there and works. blog: http://dol-sen.blogspot.ca/2009/12/changelog.html Code: http://porthole.git.sourceforge.net/git/gitweb.cgi?p=3Dporthole/porthole;a= =3Dblob;f=3Dporthole/views/changelog.py;h=3D97ed9016e83ca8d11888946346fa4d0= 00e88bb9d;hb=3DHEAD http://porthole.git.sourceforge.net/git/gitweb.cgi?p=3Dporthole/porthole;a= =3Dblob;f=3Dporthole/views/markup.py;h=3D4456f25058a6dd2db5a16b571e2f537c6c= a553fb;hb=3DHEAD Using that code, it should not take very long to convert/implement. I stopped short of making the email addresses click-able. They should use bugzilla rather than email people directly. If you have more questions, you know where to find me :) --=20 Brian Dolbec --=-3kjzGzcCjoRRMXDsO7C/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAABAgAGBQJQBg1QAAoJECIU2QoBTxfLiToIAK7GOmjDNt6laXW6eH/rjam6 3qeAbHCSvnKVjokSqerxH2Py5+qXPF0NwV/Sy+uvo0cUNI5YnjcX3rK2Gfbc48tJ R0oIVLxKNZuNSQ2bvVEPTvj37Rah1Ts7zWhUiB1PTyiHiONADUSA4L4WaUMqjBr1 lALFSnG8ONxhTDYgG0iBeEjFhXvot9h7eQ0NX3qDKcb3vrAq0TpkeEAJo3GtRdDX X1101V0y3kVEsAhsXLI1VGGB9pl2ValEeH5A8VpAwkeQX49DPbQcx8RWKTM38BUR ENVur58m/rFXUaSZSDrpNaOCV8OW9lcMQiStuUMW3DqrLeplYNQCe1iGUgBVgug= =56/q -----END PGP SIGNATURE----- --=-3kjzGzcCjoRRMXDsO7C/--