[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [ANNOUNCE] checkpatch and git-am bots
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [ANNOUNCE] checkpatch and git-am bots |
Date: |
Mon, 28 Jan 2013 07:20:26 -0600 |
User-agent: |
Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Andreas Färber <address@hidden> writes:
> Am 21.01.2013 19:45, schrieb Anthony Liguori:
>> I've published the code for patches although I've not announced it yet.
>> I'm still making some CLI changes but hope to do a proper announcement
>> in the next week or so.
>>
>> http://github.com/aliguori/patches.git
>>
>> If anyone wants to try it out, let me know, and I would be happy to
>> answer questions/help you set it up.
>
> $ patches fetch http://wiki.qemu.org/patches/patches.json
Sorry, that's a bug. There's an implicit mode where you put the JSON
file location in ~/.patchesrc and that's what I've been using recently.
I pushed a fix so the explicit URL syntax works again.
Regards,
Anthony Liguori
> Traceback (most recent call last):
> File "/usr/local/bin/patches", line 140, in <module>
> sys.exit(main(sys.argv[1:]))
> File "/usr/local/bin/patches", line 136, in main
> return args.func(args)
> File "/usr/local/bin/patches", line 31, in do_fetch
> return fetch.main(args)
> File "/usr/local/lib/python2.7/site-packages/patchlib/fetch.py", line
> 22, in main
> fetch(args.url[0])
> File "/usr/local/lib/python2.7/site-packages/patchlib/fetch.py", line
> 36, in fetch
> fp = urlopen(url)
> File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
> return _opener.open(url, data, timeout)
> File "/usr/lib64/python2.7/urllib2.py", line 392, in open
> protocol = req.get_type()
> File "/usr/lib64/python2.7/urllib2.py", line 254, in get_type
> raise ValueError, "unknown url type: %s" % self.__original
> ValueError: unknown url type: h
>
> Am I missing some Python dependency? I can access the URL from my browser.
>
> Regards,
> Andreas
>
> --
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg