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

Add a link for pkg-fallout list of each port on portsfallout.com #181

Closed
dbaio opened this issue Nov 3, 2020 · 8 comments
Closed

Add a link for pkg-fallout list of each port on portsfallout.com #181

dbaio opened this issue Nov 3, 2020 · 8 comments
Assignees

Comments

@dbaio
Copy link

dbaio commented Nov 3, 2020

Hi.

Opening an issue as asked.

pkg-fallout list for individual ports:
https://portsfallout.com/fallout?port=www%2Ffirefox%24

Query is port=www/firefox$, using regular expressions.

Something like

https://portsfallout.com/fallout?port=
+
rawurlencode("port/category$")

Don't know if it's necessary, but here is a query with the API as well:

https://portsfallout.com/api/fallout/?search=www%2Ffirefox
https://portsfallout.com/api/fallout/?format=json&search=www%2Ffirefox
^^ This is an exact match.

If you will use an image icon, here is what we are using, but feel free to use any icon you want to:
https://github.com/dbaio/portsfallout/blob/master/static/favicon-16x16.png
https://github.com/dbaio/portsfallout/tree/master/static/
^^ There are other sizes as well

Thank you!

@dlangille dlangille self-assigned this Nov 3, 2020
@dlangille
Copy link
Contributor

The icon links are much appreciated.

@dlangille
Copy link
Contributor

dlangille commented Nov 25, 2020

Please review on dev.freshports.org. You should see it on

  • main page
  • each port page
  • search results

@dbaio
Copy link
Author

dbaio commented Nov 25, 2020

Hi.

Could you add $ in the end?

https://portsfallout.com/fallout?port=
+
rawurlencode("port/category$")

https://dev.freshports.org/audio/id3lib
https://portsfallout.com/fallout?port=audio%2Fid3lib
OK

https://dev.freshports.org/www/nginx
https://portsfallout.com/fallout?port=www%2Fnginx
It shows fallouts for www/nginx-full.

https://dev.freshports.org/devel/py-pip
https://portsfallout.com/fallout?port=devel%2Fpy-pip
It shows results for devel/py-pip-licenses.

https://portsfallout.com/fallout?port=devel%2Fpy-pip%24
^^
This is the desired url.

And thank you!

@dlangille
Copy link
Contributor

How's that now?

@dbaio
Copy link
Author

dbaio commented Nov 25, 2020

Great.
Just one more thing, I think you can remove it from the main page, as the commits can reference more ports.

@dlangille
Copy link
Contributor

Good point.

Have a look now. It is per port, not per commit.

@dlangille
Copy link
Contributor

Also: added an FAQ entry for this new icon: https://dev.freshports.org/faq.php

@dbaio
Copy link
Author

dbaio commented Nov 25, 2020

awesome, thank you

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