Giter Club home page Giter Club logo

Comments (7)

hartwork avatar hartwork commented on May 30, 2024

Hi! Is there a chance that you could provide a patch?

from wnpp.debian.net.

guillemj avatar guillemj commented on May 30, 2024

Hmm, for the alt text perhaps, for the selectable truncation I'm afraid that might take too much time as I don't speak php. But I can happily wait until this gets fixed, it's not very urgent, and I'm not a regular user of the site, I just thought it might be a nice improvement to the layout. :) Thanks!

from wnpp.debian.net.

reedjc avatar reedjc commented on May 30, 2024

I was about to open a bug for the same problem. See:
$MAX_PROJECT_LEN = 20;
$MAX_DESCR_LEN = 60;

The project name is much more valuable than the description.

Please increase the $MAX_PROJECT_LEN.

If you are trying to save real estate, then lower the $MAX_DESCR_LEN (after raising the $MAX_PROJECT_LEN ).

from wnpp.debian.net.

reedjc avatar reedjc commented on May 30, 2024

By the way, of the packages in stretch main: The first 20 unique characters of a package name covers at least 94% of the packages. The index.php5 only shows up to first 16 characters as the shrink() loses four for the [...] replacement.

10 :29593 :58.1886
15 :42088 :82.7575
20 :47809 :94.0067
25 :49847 :98.014
30 :50648 :99.589
35 :50811 :99.9096
40 :50846 :99.9784
41 :50851 :99.9882
42 :50853 :99.9921
43 :50857 :100
44 :50857 :100
45 :50857 :100
50 :50857 :100
55 :50857 :100
60 :50857 :100
65 :50857 :100
100 :50857 :100

My problem was with golang- packages. For those golang- packages, the first 37 unique characters handles all of them so MAX_PROJECT_LEN=41.

from wnpp.debian.net.

hartwork avatar hartwork commented on May 30, 2024

I have added 18 more characters now for a start. Change is live, already.

from wnpp.debian.net.

reedjc avatar reedjc commented on May 30, 2024

Thank you. That is helpful.

from wnpp.debian.net.

hartwork avatar hartwork commented on May 30, 2024

This seems fixed, please re-open as needed. Current package name truncation works with the first 37-38 characters.

from wnpp.debian.net.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.