Post details: to view packages or not to view packages -- that is, urm, a gentoo problem?

2 October, 2007

Permalink 21:06 UTC, by Markus Ullmann, 348 words, 3430 views   English (US)
Categories: gentoo

to view packages or not to view packages -- that is, urm, a gentoo problem?

So you read it in the title. Yes it sounds weird, by intention. When our primary site for package viewing went down some time ago, I didn't notice much. It was more a good friend of mine asking me if I know when it will be back. Okay, it was down for three days so no big deal if something serious happened. You know the rest of the story or can read it up on the bug (just don't comment there unless real help offered).

But why am I writing about this here? Well, also some time ago, araujo and me started something called gui project. Main target was obviously getting some nice gui for our day-to-day tasks. I don't really know where (maybe some mailinglist) it came to my ears that our obviously loved packages site was down more a month. So hey, we're a gui project, I more or less have finished my previous tinderbox thingy (just minor stuff open). So some spare time available. I never did a webpage yet with a python based framework so I decided to give some of them a try and if I would find a nice and not bloated one, this could be worth a try.

Two days of trying different ones later, I finally got settled with cherrypy and genshi (there's a nice tutorial on the genshi homepage if you're curious now)..

After some thinking about databases and stuff, finally got a db generator going resulting in data useful for such a site. That's the moment where I started to git the code and let the show begin. In the meantime I was on holiday for more than a week so you might notice some inactivity in the timeline. Anyway, at least startpage and some filtering works. See http://tinyurl.com/2fq9dw for working features of the live version at http://packages.gentooext.net

It's a starting project, mind you, though basics are working now, more stuff to come. If you have questions or comments, feel free to join irc.freenode.net #gentoo-guis , cookies are on topic ;)

Trackback address for this post:

http://planet.gentoo.org/developers/htsrv/trackback.php/1409

Comments, Trackbacks:

Comment from: Chewi [Visitor] Email
Wow. Looks like you've done the bulk of it already. You'll go down in history as the guy who saved packages.gentoo.org. :D I, for one, did use it a lot. Thank you.
PermalinkPermalink 2 October, 2007 @ 21:53
Comment from: robbat2 [Visitor] Email
I like it. If you want to make it feature-equivalent to the old packages.g.o (which taviso still hasn't finished auditing), I can give you a temp password for accessing the protected copy of packages.g.o (that's up for auditing purposes).

If your code is saner/shorter than the old one, I don't see any reason why we can't just replace it outright ;-).
PermalinkPermalink 2 October, 2007 @ 21:57
Comment from: Markus Ullmann [Member]
Well it's the intention to fully replace it ;)
PermalinkPermalink 2 October, 2007 @ 22:22
Comment from: Francois [Visitor] Email
Much nicer and more familiar than the other option at gentoo-portage.com.
Much appreciated!
PermalinkPermalink 2 October, 2007 @ 23:07
Comment from: Andreas Arens [Visitor] Email
Looking nice, HOWEVER:

PLEASE avoid Javascript. I can browse all gentoo with Javascript, which I usually have off to protect myself, but for this I will need it as it seems.
PermalinkPermalink 3 October, 2007 @ 08:29
Comment from: Michael C [Visitor] Email
Thank you, it looks good. For my own education, why did you choose 'genshi'?
PermalinkPermalink 3 October, 2007 @ 15:45
Comment from: Markus Ullmann [Member]
>PLEASE avoid Javascript. I can browse all gentoo with Javascript
>which I usually have off to protect myself, but for this I will
>need it as it seems.

Err no, there is no need for any javascript here. Maybe I will introduce some searchbox in ajax but that won't ever be a requirement.
PermalinkPermalink 3 October, 2007 @ 17:36
Comment from: hrongyorgy [Visitor] Email
It seems cool. I found some screenbug if i view it from Firefox under KDE.
PermalinkPermalink 4 October, 2007 @ 22:01
Comment from: Markus Ullmann [Member]
> Comment from: Michael C [Visitor]
> For my own education, why did you choose 'genshi'?

Well the 2 options in the end for me were cheetah and genshi. Cheetah has the advantage of pre-processing templates, rendering them as still-readable python code to save time.

Downside of it, when you look at the example at [1], it's not fully xml so stuff looks cluttered when viewing it un-processed.

Second thing was that due to maintaining another two websites with xml/xslt (also gentoo does this), I'm used to XPath, XInclude and whatnot and cheetah doesn't support it that easily.

Uncached pageviews take slightly longer to generate with genshi than with cherrypy but cherrypy has sane caching, so I'm with it this time.

[1] http://www.cheetahtemplate.org/examples.html
PermalinkPermalink 8 October, 2007 @ 09:29
Comment from: Anonymous [Visitor]
Thank you so much! Only suggestion.. need some softer colors for the KEYWORDS status.. they are kind of harsh on the eyes currently.
PermalinkPermalink 16 October, 2007 @ 06:20
Comment from: laen [Visitor] Email
One feature users of gentoo-portage.com are loving (and i am one of them) is the ability to see the dependencies and USE flags per release.

If you could implement that, i wouldn't have to visit gentoo-portage and packages.gentoo all the time, and packages.gentoo would be so awesome :)
PermalinkPermalink 16 October, 2007 @ 07:39
Comment from: Horace Swaby [Visitor]
Great work -- thanks for the site.

Am I correct in thinking there was a search capability on packages.gentoo.org? Would be very useful on packages.gentooext.net.

Or have I missed something?
PermalinkPermalink 16 October, 2007 @ 12:25
Comment from: Nuno [Visitor] Email
Since the system is being re-written, I think it'd make sense if you could somehow distinguish between operating system kernels (linux, fbsd) and architectures (x86, alpha, sparc, amd64, etc...). I've always interpreted the current view more like an workaround then a definitive solution, and it would make much more sense to separate apples from oranges.
PermalinkPermalink 17 October, 2007 @ 22:18
Comment from: Queight [Visitor] · http://queight.blogspot.com/
I agree with laen, there would be nice to see USE flags and dependencies, and it would be awesome to see revdeps.
One more thing that I miss is categories list.

PS Can't have email in gmail?
PermalinkPermalink 19 October, 2007 @ 17:21

This post has 1 feedback awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Markus Ullmann

October 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 81

powered by
b2evolution