Hoboneer

Results 25 issues of Hoboneer

A way to dump the output of intermediate steps (the request response, the downloaded HTML page, the downloaded OpenSearch description) would be good. Exposing the internal intermediate results would also...

enhancement
opensearch2elvis

The import time for jinja annoys me. Something like Mustache-compliant template engines (chevron?) would work, but they don't have *any* logic. I'll have to do a lot of pre-processing in...

code quality
surfraw-tools library

On commit `9bac109b2f8ba6b286071db0e085b4d77f7301fa` of my elvi repo, and commit `9f265df3397e9ae00a7a170130b9501e1c976a47` of this repo, the serial compile time of all the elvi differed: On Jinja2 v2.11.3: ~4.100s On Jinja2 v3.0.2: ~7.900s...

surfraw-tools library

The most testing I've done is ad-hoc regression testing by remaking all [my elvi](https://github.com/Hoboneer/surfraw-elvis) and checking the diffs between the new elvi and the elvi I've already installed locally. ~~I...

enhancement
help wanted
code quality

Each `SurfrawOption` subclass should specify how an instance is created from: 1. the CLI; 2. the input file (see #49); and 3. future ways of specifying elvi. As for (1),...

code quality
surfraw-tools library

INI files are a good candidate file format because: 1. They're easy to machine-generate 2. They're easy to read Needs #53 .

enhancement
mkelvis
opensearch2elvis

Maybe do this to ensure all files have up-to-date headers upon release? But what about files that *weren't* modified since last release? This might also make it much more tedious...

code quality

Options like `--suggestions=TYPE:QUERY_URL` would be good. This would need embedded shell snippets to have the correct output--like `https://example.com/suggestions?q=$it&n=$SURFRAW_example_results`. Maybe there could be mappings (`MappingOption`) for these URLs? It's a bit...

enhancement
surfraw-tools library

I'd also like to remove the `span` attribute from `OpenSearchParameter`. It's not even used anywhere or in `OpenSearchURL.get_surfraw_template(...)`--its main purpose (IIRC). The element order in `OpenSearchURL.params` should be good enough....

enhancement
opensearch2elvis

If anything, this would help me design the program and remember how it works. - [ ] Document common conventions for elvi (with example elvi that do it) - [...

documentation