patch to extract license data
Sam Ruby
rubys at intertwingly.net
Fri Dec 14 13:15:37 EST 2007
Nathan Kinkade wrote:
> 2007/12/9, Sam Ruby <rubys at intertwingly.net>:
>> Documentation and a test case would be helpful.
>>
>> http://www.intertwingly.net/code/venus/docs/templates.html
>> http://intertwingly.net/code/venus/tests/data/filter/tmpl/
>>
>> The first URI above contains a simple table of all of the supported
>> variables. Anything added should be listed.
>>
>> The second URI contains a set of files, one per test. A test contains a
>> simple feed and an assertion of what template data should be produced
>> from that feed.
>>
>> - Sam Ruby
>
> I have created a unittest for the cc_license.plugin and also altered
> docs/templates.html to reflect the 2 new fields that the patch to
> tmpl.py exposes to htmltmpl templates.
>
> The unit test is tests/test_cc_license.py.
> The config for that is tests/data/config/config-cc_license.ini
Cool!
> This time I did a 'bzr get http://intertwingly.net/code/venus' and
> then copied in all of my changes and then uploaded that to:
> http://a5.creativecommons.org/~nkinkade/venus/
>
> However, I can't seem to get a checkout of that directory using 'bzr
> get'. I get the following error:
>
> $ bzr get http://a5.creativecommons.org/~nkinkade/venus/
> bzr: ERROR: Invalid http response for
> http://a5.creativecommons.org/~nkinkade/venus/.bzr/repository/knits/8c/planet.intertwingly.net2006testfeed23-20060818190211-1f4faac06927d96a.knit:
> Missing the Content-Range header in a 206 range response
$ bzr pull http://a5.creativecommons.org/~nkinkade/venus/
No revisions to pull.
Did you do a bzr commit?
- Sam Ruby
More information about the devel
mailing list