Re: [NEW] textproc/pup

2018-09-29 Thread Klemens Nanni
On Wed, Sep 19, 2018 at 12:52:30PM +0200, Solene Rapenne wrote:
> ping, this software is really handy.
Feel free to import after removing me as maintainer (you might as well
take over). I no longer have a need for this tool.

> not sure about the COMMENT, sthen@'s proposition is fine to me as I'm fine
> with the last tarball COMMENT using "parsing" instead of filter.
OK kn.



Re: [NEW] textproc/pup

2018-09-19 Thread Solene Rapenne
Stuart Henderson  wrote:
> On 2018/01/14 03:11, Anthony J. Bentley wrote:
> > Stuart Henderson writes:
> > > > $ pkg_info pup
> > > > Information for inst:pup-0.4.0
> > > > 
> > > > Comment:
> > > > Parsing HTML at the command line
> > >
> > > Lowercase start of COMMENT. It could be more informative, maybe
> > > "shell tool to filter HTML: CSS selectors, HTML/JSON output"?
> > 
> > That crams in a lot of detail for a COMMENT. How about just the first
> > part, "shell tool to filter HTML"? When casually browsing packages I'm
> > much more interested in the fact that it filters HTML than that it uses
> > CSS selectors to do so.
> > 
> 
> I don't think it's a bad thing for COMMENT to have a high signal:noise
> ratio..
> 
> "to filter HTML" doesn't give much idea what this does. It makes me think
> of something that strips out HTML and converts to text or similar?
> 
> If you know what you want to do and that a program exists to do it,
> but you can't remember it because it has a name that is neither memorable
> nor relates to what it does, at least grepping www/*/Makefile for 'CSS
> selector' will find it then. And if you don't know that such a program
> exists but know what a CSS selector is, it gives you a very good idea
> what it does without looking in DESCR.
> 
> As an alternative "command line tool to filter HTML using CSS selectors"
> is a bit easier-reading, though it does lose information.

ping, this software is really handy.

not sure about the COMMENT, sthen@'s proposition is fine to me as I'm fine
with the last tarball COMMENT using "parsing" instead of filter.

ok solene@ for the port though



Re: [NEW] textproc/pup

2018-01-14 Thread Stuart Henderson
On 2018/01/14 03:11, Anthony J. Bentley wrote:
> Stuart Henderson writes:
> > >   $ pkg_info pup
> > >   Information for inst:pup-0.4.0
> > > 
> > >   Comment:
> > >   Parsing HTML at the command line
> >
> > Lowercase start of COMMENT. It could be more informative, maybe
> > "shell tool to filter HTML: CSS selectors, HTML/JSON output"?
> 
> That crams in a lot of detail for a COMMENT. How about just the first
> part, "shell tool to filter HTML"? When casually browsing packages I'm
> much more interested in the fact that it filters HTML than that it uses
> CSS selectors to do so.
> 

I don't think it's a bad thing for COMMENT to have a high signal:noise
ratio..

"to filter HTML" doesn't give much idea what this does. It makes me think
of something that strips out HTML and converts to text or similar?

If you know what you want to do and that a program exists to do it,
but you can't remember it because it has a name that is neither memorable
nor relates to what it does, at least grepping www/*/Makefile for 'CSS
selector' will find it then. And if you don't know that such a program
exists but know what a CSS selector is, it gives you a very good idea
what it does without looking in DESCR.

As an alternative "command line tool to filter HTML using CSS selectors"
is a bit easier-reading, though it does lose information.



Re: [NEW] textproc/pup

2018-01-14 Thread Klemens Nanni
On Sun, Jan 14, 2018 at 03:11:29AM -0700, Anthony J. Bentley wrote:
> Stuart Henderson writes:
> > >   $ pkg_info pup
> > >   Information for inst:pup-0.4.0
> > > 
> > >   Comment:
> > >   Parsing HTML at the command line
> >
> > Lowercase start of COMMENT. It could be more informative, maybe
> > "shell tool to filter HTML: CSS selectors, HTML/JSON output"?
> 
> That crams in a lot of detail for a COMMENT. How about just the first
> part, "shell tool to filter HTML"? When casually browsing packages I'm
> much more interested in the fact that it filters HTML than that it uses
> CSS selectors to do so.
> 
"command line tool for parsing HTML with CSS selectors"?


pup.tgz
Description: Binary data


Re: [NEW] textproc/pup

2018-01-14 Thread Anthony J. Bentley
Stuart Henderson writes:
> > $ pkg_info pup
> > Information for inst:pup-0.4.0
> > 
> > Comment:
> > Parsing HTML at the command line
>
> Lowercase start of COMMENT. It could be more informative, maybe
> "shell tool to filter HTML: CSS selectors, HTML/JSON output"?

That crams in a lot of detail for a COMMENT. How about just the first
part, "shell tool to filter HTML"? When casually browsing packages I'm
much more interested in the fact that it filters HTML than that it uses
CSS selectors to do so.



Re: [NEW] textproc/pup

2018-01-14 Thread Stuart Henderson
On 2018/01/14 02:55, Klemens Nanni wrote:
> On Sat, Nov 18, 2017 at 12:01:12PM +0100, Klemens Nanni wrote:
> > On Fri, Nov 10, 2017 at 11:28:54PM +0100, Klemens Nanni wrote:
> > > Hey,
> > > 
> > > here's pup, a small but very helpful utility written in Go; pkg/DESCR:
> > > 
> > >   pup is a command line tool for processing HTML. It reads from
> > >   stdin, prints to stdout, and allows the user to filter parts of
> > >   the page using CSS selectors:
> > >   
> > >   
> > > https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Selectors
> > >   
> > >   Inspired by http://stedolan.github.io/jq/, pup aims to be a fast
> > >   and flexible way of exploring HTML from the terminal.
> > > 
> > > Running just fine on my amd64 machine, tests pass.
> > > 
> > > The port is really simple and only packages the actual binary (no
> > > upstream manual page).
> > > 
> > > Feedback, comments?
> > Any takers?
> Second bump, port reattached. DESCR now without URLs:
> 
>   $ pkg_info pup
>   Information for inst:pup-0.4.0
> 
>   Comment:
>   Parsing HTML at the command line

Lowercase start of COMMENT. It could be more informative, maybe
"shell tool to filter HTML: CSS selectors, HTML/JSON output"?



Re: [NEW] textproc/pup

2018-01-13 Thread Klemens Nanni
On Sat, Nov 18, 2017 at 12:01:12PM +0100, Klemens Nanni wrote:
> On Fri, Nov 10, 2017 at 11:28:54PM +0100, Klemens Nanni wrote:
> > Hey,
> > 
> > here's pup, a small but very helpful utility written in Go; pkg/DESCR:
> > 
> > pup is a command line tool for processing HTML. It reads from
> > stdin, prints to stdout, and allows the user to filter parts of
> > the page using CSS selectors:
> > 
> > 
> > https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Selectors
> > 
> > Inspired by http://stedolan.github.io/jq/, pup aims to be a fast
> > and flexible way of exploring HTML from the terminal.
> > 
> > Running just fine on my amd64 machine, tests pass.
> > 
> > The port is really simple and only packages the actual binary (no
> > upstream manual page).
> > 
> > Feedback, comments?
> Any takers?
Second bump, port reattached. DESCR now without URLs:

$ pkg_info pup
Information for inst:pup-0.4.0

Comment:
Parsing HTML at the command line

Description:
pup is a command line tool for processing HTML. It reads from stdin, 
prints to
stdout, and allows the user to filter parts of the page using CSS 
selectors.

Inspired by jq, pup aims to be a fast and flexible way of exploring 
HTML from
the terminal.

Maintainer: Klemens Nanni 

WWW: https://github.com/ericchiang/pup

Anyone willing to commit this?


pup.tgz
Description: Binary data


Re: [NEW] textproc/pup

2017-11-18 Thread Klemens Nanni
On Fri, Nov 10, 2017 at 11:28:54PM +0100, Klemens Nanni wrote:
> Hey,
> 
> here's pup, a small but very helpful utility written in Go; pkg/DESCR:
> 
>   pup is a command line tool for processing HTML. It reads from
>   stdin, prints to stdout, and allows the user to filter parts of
>   the page using CSS selectors:
>   
>   
> https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Selectors
>   
>   Inspired by http://stedolan.github.io/jq/, pup aims to be a fast
>   and flexible way of exploring HTML from the terminal.
> 
> Running just fine on my amd64 machine, tests pass.
> 
> The port is really simple and only packages the actual binary (no
> upstream manual page).
> 
> Feedback, comments?
Any takers?



[NEW] textproc/pup

2017-11-10 Thread Klemens Nanni
Hey,

here's pup, a small but very helpful utility written in Go; pkg/DESCR:

pup is a command line tool for processing HTML. It reads from
stdin, prints to stdout, and allows the user to filter parts of
the page using CSS selectors:


https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Selectors

Inspired by http://stedolan.github.io/jq/, pup aims to be a fast
and flexible way of exploring HTML from the terminal.

Running just fine on my amd64 machine, tests pass.

The port is really simple and only packages the actual binary (no
upstream manual page).

Feedback, comments?


pup.tgz
Description: application/tar-gz