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 1SrYgf-0004I3-1a for garchives@archives.gentoo.org; Wed, 18 Jul 2012 18:09:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1B5DE002E for ; Wed, 18 Jul 2012 18:09:24 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id B0F89E0477 for ; Wed, 18 Jul 2012 15:45:34 +0000 (UTC) Received: by bkwj4 with SMTP id j4so1526304bkw.40 for ; Wed, 18 Jul 2012 08:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bacherikov.org.ua; s=google; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=ewfNHiFkya+nai4kQvvJ0w4s3BemT0v/GT42yJq202c=; b=TI+qNRzjo8XkoJmZeUtw8LqDPWThL4QjIdPEsuGWPXFw4kRSzHGhswKWHaWJ3ClTka 6mqOEObUoYTFRas2TjlWODaOK/zEGesVWk6SDi+ZoW6xmmTUYtGntMs222Sa3MVSbbl0 8ndY4TSjFpF87Zia75icV47B09SKUTqib1Yfg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=ewfNHiFkya+nai4kQvvJ0w4s3BemT0v/GT42yJq202c=; b=nR8vcu9LPS/VdRH2cd+xNX/jcnE/PdKEJsGKKzcOANnZewmgNHvknECHq6LFj5D+zN 1HYUTfVmfZHEYhdwqvyP4JOz9LZnOEGVV8+qlsjISNH9D969FCA/PEB/l3HYUMFoPf1v e14zdkUDdMVc+L4hkaAj86iZSTi7RCIyL4wkNfSlMnuJjzCoBLD3Jp+3GOL8V2JDhEbf uBiCYZVgqqr9KXOG3NodaIpJaoTJlv9AXD8odaDGFerYXECRmhev8wcy7/n5x3TvBszR 8NjPptbX396jGY70PcB2JWRB3ZCoZZ+dVJAONMOGnArHENT5UR7mdgFe525pNyOcjVCr w4Eg== Received: by 10.204.152.216 with SMTP id h24mr2028792bkw.42.1342626333212; Wed, 18 Jul 2012 08:45:33 -0700 (PDT) Received: from [192.168.1.34] (132-113-93-178.pool.ukrtel.net. [178.93.113.132]) by mx.google.com with ESMTPS id g6sm12197917bkg.2.2012.07.18.08.45.32 (version=SSLv3 cipher=OTHER); Wed, 18 Jul 2012 08:45:32 -0700 (PDT) Sender: =?UTF-8?B?0JLRj9GH0LXRgdC70LDQsiDQkdCw0YfQtdGA0LjQutC+0LI=?= Message-ID: <5006DA1B.5040306@bacherikov.org.ua> Date: Wed, 18 Jul 2012 18:45:31 +0300 From: Slava Bacherikov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120617 Thunderbird/13.0 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 To: gentoo-soc@lists.gentoo.org Subject: Re: [gentoo-soc] New gentoo packages -- report #8 References: <50053786.7010004@bacherikov.org.ua> <1342573904.28664.13.camel@big_daddy.dol-sen.ca> In-Reply-To: <1342573904.28664.13.camel@big_daddy.dol-sen.ca> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmOciK+f9usuDDhRN4tAjVS5IruWiUjNMcPemTo9nT7g4yGp6kiV5MI+7LTYzNwTjZ2gJI8 X-Archives-Salt: 36836baf-4b58-4ce0-bc34-9d93e2e975d3 X-Archives-Hash: 7c625c3308c0953dcc64ab28249279ad -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > On Tue, 2012-07-17 at 12:59 +0300, Slava Bacherikov wrote: >> Hello all. >> >> My project task is creating new version of packages.gentoo.org site. >> You could find it on >> http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=summary >> 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. >> > >> 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. >> > > >> 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=porthole/porthole;a=blob;f=porthole/views/changelog.py;h=97ed9016e83ca8d11888946346fa4d000e88bb9d;hb=HEAD > http://porthole.git.sourceforge.net/git/gitweb.cgi?p=porthole/porthole;a=blob;f=porthole/views/markup.py;h=4456f25058a6dd2db5a16b571e2f537c6ca553fb;hb=HEAD > > > 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 :) Dol-sen thanks for helping, I was planning use my parser also like highlighter(maybe pygments lexer). My parser also ignore some areas but i have idea how don't do so. (I already check my parser on all portage tree and overlays) - -- Slava Bacherikov -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJQBtobAAoJEGjUsUT09Eyz1T0QAIjP6nRy7vut9wPW4Y+FGmh3 p8EqDsJAfkcU9Wog3dXRxEEsalpsyf672/MbAaK0/IM7JYTwyd2Q85DZpmJg2HxI ss/nDN8p6yICCVGWxSdJRC3hTqmvbPJVIQWJXuhXpmeJDBieFW0t8yszCfxhYzRD ymAdZHPHHCfON+lycRMqf8Wl7ItGd6Xxm+rd35pNWLhBd3yv43p/izxzCWp+D/xR MloMTnJbSW5lbPgqO+4+JylYJE8bGGgZIOPs7BHNZtiJQK+Dpl6MQxHc2w9WhTTh iGjvqeHe/xu/fF36BuxHTnb5j9i7N8EthPEPuUD9FlrT6i0y9/wLlZAfMCuOodHT gS+LUB6ii7pJusMDnYLG9CemWi4BFL3fafIRhvHEtrgyEuV9QAQMs18/BR8N5qAW Sm4XlIzDGjaiblMucliNXwWl5cqfAh5PuQeYrCv9chQUHqI8miC9z55HAKulvI5J 5O6Qf0uaMYo+DtmYOznp9ncrfunMpWZ1Ch57me9jjGeyI2bLkcMtMex5rRglD7Yr DJnOVXBTd6EMadqXx7FSJ1czfIQ/jZl0FZjRyZeFYECtdRN8FK0qF02tf9eAvygJ 4wsaNa4Jcp/mK8MkPXeQnTnwZuB7PnJWlZPcWp0LYwyzsc5HnjBlUB4MgoS95tvp 4MkpMBHQ2j01LKdu9Glg =iGvF -----END PGP SIGNATURE-----