Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is lynx optional? #103

Open
jgarte opened this issue May 2, 2022 · 3 comments
Open

Is lynx optional? #103

jgarte opened this issue May 2, 2022 · 3 comments

Comments

@jgarte
Copy link
Contributor

jgarte commented May 2, 2022

Would you consider lynx to be optional when providing the bower package in a GNU/Linux distribution?

As for Lynx specifically, whether you’d leave it as is (in which case
it’s found if and only if it’s in $PATH), or whether you’d use
‘substitute*’ depends on whether it’s an optional dependency or not. If
Bower can gracefully handle lack of Lynx and, for instance, fall back to
another rendering method, then perhaps you can leave it as is.

@wangp
Copy link
Owner

wangp commented May 3, 2022

I think so. Lynx is used by default to render HTML as text but you can configure it to whatever you want. It doesn't behave that nicely when lynx is missing but it won't crash.

I'm considering changing the default to w3m.

Or we could remove the default entirely. I try to make bower work reasonably with little configuration but I'm not sure we can expect lynx to be installed these days.

@jgarte
Copy link
Contributor Author

jgarte commented May 3, 2022

That's good to know. Thanks for the reply!

I like the idea of not having a default and letting the user choose which software they'd like to use to render html emails.

I'll share this thread with the Guix maintainers so we can discuss more on how we'd like to package bower.

@wangp
Copy link
Owner

wangp commented May 8, 2022

I've removed the default HTML filter command on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants