Giter Site home page Giter Site logo

Comments (10)

rydmike avatar rydmike commented on September 4, 2024 3

Ok this is just silly, now you loose pub points for being thorough and documenting things well with a good detailed changelog!?

This sends the wrong signal to devs. Encouraging logs like "We fixed a number of bugs". Logs that are not very useful, but will keep it short to stay below the 128kB limit for getting the desired "valid" changelog points.

from pana.

sigurdm avatar sigurdm commented on September 4, 2024 3

Maybe we can remove the check from pana entirely, since we have the size limit at upload time

from pana.

sigurdm avatar sigurdm commented on September 4, 2024 2

Yeah, this is just an accidental oversight - @isoos we should also fix this in pana!

from pana.

spydon avatar spydon commented on September 4, 2024 1

Maybe the issue with points being deducted is accidental and that this line just wasn't updated together with dart-lang/pub-dev#7065:
https://github.com/dart-lang/pana/blob/master/lib/src/report/template.dart#L26

from pana.

rydmike avatar rydmike commented on September 4, 2024 1

@spydon looks likely, since it would be really easy to forget that line and check when PR dart-lang/pub-dev#7065 was done. This limit default does not depend on any of the constants used for the upload sizes, it is just a hard coded number default. If call site then just uses the defaults, then bam, what we got now would be the result.

from pana.

renancaraujo avatar renancaraujo commented on September 4, 2024

if the biggest technical problem with large change logs is page load, the site could truncate the content up until a certain size.

from pana.

isoos avatar isoos commented on September 4, 2024

Ah, good point, sorry for the confusion it made! Transferring the issue to pana.

from pana.

spydon avatar spydon commented on September 4, 2024

Thanks for fixing this so incredibly quickly! 💙

from pana.

isoos avatar isoos commented on September 4, 2024

@spydon: this is only merged now, it may take a while until this gets released on pub.dev

from pana.

spydon avatar spydon commented on September 4, 2024

@spydon: this is only merged now, it may take a while until this gets released on pub.dev

No worries, at least now we know that the fix will be there at some point.

from pana.

Related Issues (20)

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.