icyphox / legit

web frontend for git
https://git.icyphox.sh
MIT License
376 stars 25 forks source link

Added license detection and display to repo page #7

Closed judah-caruso closed 1 year ago

judah-caruso commented 1 year ago

I added this to my own instance and figured it might be nice to have upstream. The actual license detection is pretty rudimentary since I didn't want to create extra files/over complicate things and it gets the job done.

icyphox commented 1 year ago

Hey there, thanks for taking the time to send this patch. I don't really want to have license detection in legit since it probably makes more sense in a "git forge" (like GitHub or sourcehut). legit is meant to simply be a read-only front end on top of git and licenses are slightly out of its scope.

prologic commented 1 year ago

FWIW I also found it a bit out of place, it felt like a bit of a hack in terms of the UI/UX 😅