Search Results: "Paul Tagliamonte"

30 May 2012

Paul Tagliamonte: My first foray into non-compliant Debian packages

I ve decided to start putting together packages to rebuild the bare bones install I use for most of my systems, since rebuilding everything by hand is starting to get annoying. I call it hairy candy. Because my setup relies on some chem interesting chem hacks, none of this is fit in any way for the archive. If the vim team was to catch wind of what I was doing, they d be none too happy :) While these packages work great for me, I can t stress enough how badly they can break something. Using Zack s guide, I was able to get an archive up and running, no problem. Taking his advice, I even got signing working. Simple. mini-dinstall rocks a nice alternative to a PPA, for sure. At least, for one arch :) Now, the one spin I took on Zack s work was to add a landing page a listing of what s in the archive. I did this using a bit of Python & Jinja2. The script follows.
#!/usr/bin/env python
# Copyright (c) Paul Tagliamonte, under the terms of the Expat license.
from jinja2 import Template
import sys
def parse_packages(fd):
    ret = []
    cur =  
    key = None
    for line in fd.readlines():
    if line.strip() == "":
        ret.append(cur)
        cur =  
        continue
    if line[0] == " ":
        cur[key] += "\n" + line.strip()
    else:
        key, val = line.split(":", 1)
        cur[key] = val.strip()
    return ret
pkgs = parse_packages(open(sys.argv[1], 'r'))
context =  
    "pkgs": pkgs
 
t = Template(open(sys.argv[2], 'r').read())
print t.render(**context)
Invocation looks something like:
render.py $ARCHIVE/debian/wicked/Packages $DATA/index.html
I kick this script off in the singing script, since mini-dinstall doesn t have a exit hook. Works great, thanks everyone!

27 May 2012

Gregor Herrmann: RC bugs 2012/21

new week, new report about my work on RC bugs. again, mostly gcc 4.7 related, & again, mostly using patches prepared by others.

25 May 2012

Paul Tagliamonte: playing with non-lintian lintian checks

Crazy title, I know. Over the past $WHILE, I ve found myself checking for the same things. Some of these are fit for inclusion into lintian it s self others, not so much. Here s a rundown on what my lintian wrapper (tragically also called lintian and just higher up on my $PATH. I know it s a hack.) Since I only use lintian on .changes files - it pre-processes for some information that is stuffed in the changes. The first step is to get all the bugs that the package closes. It then takes these bugs, and queries the BTS to see what package they re filed against. If the bug is filed against a different bug then the package s source, it ll emit a warning. It has a greylist for stuff like WNPP . This will fail if something s filed against it s binary package rather then it s source :) Next, the wrapper will get other info from the changes. It checks if the suite is in the blacklist ( UNRELEASED , and testing , (stable for me as well, since I don t usually deal with SRUs often)). It ll also check for the changed-by and maintainer, ensuring they re the same. This will fail for co-maint d packages. If you ve not guessed by now, this system relies on false-positives :) Nextly, if there are .debs in the Files, it ll go through and check the control of each. It ll print out a stanza with the short-description inside a template, to see if the description works . After that, it ll attempt to make HTTP requests to the Homepage (and eventually URLs in the description and VCS-Browse) If the package has python in the source name anywhere, or in any of it s binary packages, it ll trigger jwilk s lintian4python over the source as well. After this, it passes through to regular lintian. Oh, and it colorizes all the output :) Here is a (mostly lint-free) package: As you can see, it s very (very) verbose, but i d rather cross stuff off a checklist then worry about something being off. Anyway, it s a work in progress. Not even a serious one, at that. It s a bunch of hacks put together, so I can t really endorse anyone else using this stuff. If you feel crazy enough to do so, all the tools are found on my dot-bin repo on GitHub

24 May 2012

Sylvestre Ledru: llvm & clang 3.1 in Debian unstable + GSoC

Released a few days ago, I am happy to announce that LLVM and clang 3.1 are already available in the Debian archive in Unstable. RC versions were already available for the last few weeks in Debian experimental. They are very likely to be part of wheezy.
We will soon try a new rebuild of the Debian archive with the version 3.1. Talking about clang, a couple of months ago, I proposed a GSoC project to extend the Debian infrastructure in order to use clang instead gcc to build Debian packages. The goal is not to replace gcc but it is more about building packages with a new compiler. With Paul Tagliamonte as co-mentor, Alexander Pashaliyski is going to work during the summer on this subject. The final deliverables should be: For now, Alexander is working on an installation of the wanna-build and buildd services in order to have a dedicated testing environment.

20 May 2012

Gregor Herrmann: RC bugs 2012/20

I was on vacations for a few days last week, therefor my list of RC bugs is a bit shorter this time. thanks again to everyone who sent patches to the BTS that I could just use.

19 May 2012

Paul Tagliamonte: introducing... po to

Firstly, please excuse the ugly formatting of this ultra-wide image on my blog, and I m sure the respective planets that I m on. po to is my first real node project, and I m planning to get it to a point where it makes email less painful then it otherwise is. The code s on my github, and I d like to thank Rick Waldron for his work in helping me, as well as Scott Wells for the name. For those wondering, po to is an Esperanto word meaning (according to wiktionary):
  1. a public institution (usually government-run) to deliver mail, post
  2. mail distribution in general
  3. one s mail, collectively
The front-end s name is po tilo the suffix denotes tool such that po tilo means something like mail tool fitting! More to come

13 May 2012

Gregor Herrmann: RC bugs 2012/19

like in the last two weeks, this week's bug squashing was mostly related to the gcc 4.7 FTBFS bugs:

11 May 2012

Paul Tagliamonte: gcc 4.7 patchathon part V

Another day, s more patches. Consider helping out!

6 May 2012

Gregor Herrmann: RC bugs 2012/17-18

as I was mostly offline last week, this is a report covering two weeks. as in the week before, it's mainly a mix of build-arch & gcc 4.7 bugs.

4 May 2012

Paul Tagliamonte: gcc 4.7 patchathon part IV

S more patches today to the grooven vibes of Home Movies. Consider helping out :)

28 April 2012

Paul Tagliamonte: Transparency Camp (Day 1)

I m at Transparency Camp, so if you re around, feel free to find me and say hi! I ve been pretty much off the radar completely, so this is just to say I m alive and doing well :) For those who don t know, Transparency Camp is an unconference on open government, government transparency and all that good stuff.

22 April 2012

Gregor Herrmann: RC bugs 2012/16

this week I've started to look at the (not yet release critical) gcc 4.7 bugs. luckily there are still enough patches for them in the BTS but at the time of writing, at least 138 are not fixed & don't have a patch yet. so still some work ahead.

& for those who prefer to fix debian/rules files, lucas' last archive rebuild (where build-arch was used) still leaves enough work, & many bugs are not difficult to fix with a basic understanding of makefiles & debian build sytems.

21 April 2012

Paul Tagliamonte: gcc 4.7 patchathon part III

S more days, s more patches: Hacked out a few over the last few days, this time, to some good eats. I m making a habit of this tv-hack-time thing. Consider helping out with the gcc-4.7 ftbfss, there s a bunch!

18 April 2012

Paul Tagliamonte: gcc 4.7 patchathon part II

Another day, more patches. This time, it was to the rockn vibes of Chopped. Patch for: In the mean-time, I put together a script for GCC 4.7 transition bugs that are owned by the QA team with patches in the BTS. It s easy as cake to throw together a QA upload, so I encourage anyone out there to do some easy hacking :)

14 April 2012

Paul Tagliamonte: pyutf (or, as it's known on my machine - .py)

code can be found on my github Forewarning, I can t actually tell if that second UTF (PILE-OF-POO) actually renders, since my typeface is lame. Anyway, introducing an idea that fermented a few days ago with some of the bopeeps ( iros, jugglinmike, tbranyen, greg) - known initially as .py (pronounced snowman-pile-of-poo-dot-py) Here s a code sample:
#!/usr/bin/env pyutf
lis = [ 1, 2, 3, 4, 5, 4, 3, 2, 1 ]
g =   x: x *  
  a   lis:
    print g(a)
Which outputs:
3.14159265359
6.28318530718
9.42477796077
12.5663706144
15.7079632679
12.5663706144
9.42477796077
6.28318530718
3.14159265359
Patches welcome, and bonus points for a py2snowmanpoo / snowmanpoo2py pull request. We ll call it a code compressor. Also, if someone could fix the loading the whole script at startup thing too. Yes, this is a joke. But also, yes, it works.

Paul Tagliamonte: gcc 4.7 patchathon

For no reason other then I had some time, I went on a patchathon against gcc-4.7 ftbfss while watching frasier This log is really for my own use :)

12 April 2012

Paul Tagliamonte: GeoParse update

I ve thrown a bit of work at the wall, and some of it stuck. I ve been working (slowly) on GeoParse, which is a (hopefully pythonic) library to clean, pamper, separate and really dig into fairly low-quality GPS data (like, say, from Google Latitude) Just the basics are in place now, but work s slowly progressing. Hopefully, I should have something workable in the short-term future.

5 April 2012

Paul Tagliamonte: Processing Geo-location data

I m in the middle of plotting and designing a library to handle loading, processing and interpreting Geo-location data. I have a fairly substantial corpus of data (latitude data since 2010-ish, on and off), and a bit of motivation to hack something up. So far, I would like to see a lib to do most (or all) of the following: Not everything is settled, but this is on my list for 1.0, I think.

31 March 2012

Paul Tagliamonte: Django + Git = ?

I d be interested in getting an instance set up of a Django powered Git project viewer (or rather, something between GitHub and viewgit) The ideal implementation would use something like dulwich, and be super snappy. If anyone feels like writing this, let me know. If something like this exists, please let me know even faster.

24 March 2012

Paul Tagliamonte: Software that doesn't suck volume 1

As many of you know, I m highly critical of most software. Anyone that s met me in person has most likely heard my all-too-common tirades on why software makes my life worse. I figured, since I m so hard, and I ve recently found some software I feel good about using, I d start another one of my ongoing series on software I don t hate, or rather, software I might actually say I like. Out of nothing but pure luck (the author followed me on twitter, so I ended up checking out his profile, finding some stuff I liked, and checked out his github), I came across Github Notifier, which works on Chrome, Firefox and Opera. This plugin shows the octocat on the toolbar, with a count of the unread GitHub notifications. Octocat 1 The GitHub API (both V2 and V3) don t have support for getting notification counts, so this plugin / extension works by scraping the notification page. I feel OK about this because the code is pretty minimal and clean. Here s it in use (on my machine) Octocat 2 Thanks, @sindresorhus!

Next.

Previous.