Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664960 - app-text/urlscan: Mutt and terminal url selector, similar to urlview (new package)
Summary: app-text/urlscan: Mutt and terminal url selector, similar to urlview (new pac...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-31 12:10 UTC by crest.wave
Modified: 2023-10-12 10:08 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for urlscan 0.9.0 (urlscan-0.9.0.ebuild,612 bytes, text/plain)
2018-08-31 12:10 UTC, crest.wave
Details
ebuild for urlscan 0.9.0 (urlscan-0.9.0.ebuild,612 bytes, text/plain)
2018-09-02 03:02 UTC, crest.wave
Details
A working ebuild for version 1.0.1 of urlscan (urlscan-1.0.1.ebuild,650 bytes, text/plain)
2023-10-12 10:07 UTC, Hund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crest.wave 2018-08-31 12:10:13 UTC
Created attachment 545596 [details]
ebuild for urlscan 0.9.0

Urlscan—designed to integrate with the mutt mailreader—parses an email message or file and scans it for URLs and email addresses. It then displays the URLs and their context within the message, and allows you to choose one or more URLs to send to your Web browser. Alternatively, it can send a list of the URLs found to stdout.
Comment 1 Jonas Stein gentoo-dev 2018-09-01 14:57:54 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

• Please test the ebuild with repoman full -x https://wiki.gentoo.org/wiki/Repoman
• We always try to use the latest EAPI, please bump to EAPI=7
• use SRC_URI="mirror://github/....

CC'ing to the mail-client/mutt maintainer.
Comment 2 crest.wave 2018-09-02 03:02:27 UTC
Created attachment 545758 [details]
ebuild for urlscan 0.9.0

(In reply to Jonas Stein from comment #1)
> Thank you for your contribution. I had a short look on the ebuild. 
> Here a few ideas:
> 
> • Please test the ebuild with repoman full -x
It didn't find any problems with it.
> • We always try to use the latest EAPI, please bump to EAPI=7
Ah, thanks. The updated ebuild implements this.
> • use SRC_URI="mirror://github/....
As far as I know, that URI scheme can't download this, as its repository doesn't have any uploads, only archives.
Comment 3 Blake Bartenbach 2021-12-19 14:05:49 UTC
It looks like this is still open, so apologies if it's not. I haven't used this bug tracker much.

Someone in #neomutt was able to identify another bug where `extract_url` was referenced. I added the normal urlview binding but simply replaced urlview with extract_url and it seems to work great.

`macro pager \cb <pipe-entry>'extract_url'<enter> 'Follow links with extract_url'`

It also mentions here that extract_url is intended to be a replacement for urlview: https://github.com/m3m0ryh0l3/extracturl

Whether or not that makes a difference here, I am not sure. I believe urlscan, urlview, and extract_url do very similar things. If nothing else, hopefully someone finds this and can use extract_url as a workaround until urlscan is added. I wasn't sure if the intention of this issue is to find just any program that can provide this functionality, or specifically urlscan for some reason.
Comment 4 Hund 2023-10-12 10:07:06 UTC
Created attachment 872603 [details]
A working ebuild for version 1.0.1 of urlscan

I was able to get version 1.0.1 to work with the attached ebuild that I made. I'm a beginner at this, so please let me know if I did anything wrong.
Comment 5 Hund 2023-10-12 10:08:10 UTC
Ops. Don't mind the first line in the ebuild. It's just something that I use to automate things locally on my computer. :)