Giter VIP home page Giter VIP logo

Comments (6)

nvinson avatar nvinson commented on September 15, 2024 1

@xxc3nsoredxx @mjeveritt In the meantime, you can find the ebuild you're seeking at https://github.com/nvinson/nuntoo/blob/379da4e38ed0f1d03c5246cf7a777c5da609c87b/app-text/wgetpaste/wgetpaste-2.31_pre20210505.ebuild

@Cogitri Do you have a specific test framework in mind?

from wgetpaste.

nvinson avatar nvinson commented on September 15, 2024

I don't know about @Cogitri, @bcattaneo, and the others, but I couldn't care less what gentoo's package maintainer wants.

However, I will admit that there have been several updates since 2.30, so a version bump might be a good idea.

from wgetpaste.

Cogitri avatar Cogitri commented on September 15, 2024

We certainly want to help package maintainers, so tagging a new release would be a good idea. I think before we do that (or accept new feature work), we should look into a simple test suite for wgetpaste that just creates a paste with a test string and then fetches it and asserts it gets the same string back.

from wgetpaste.

xxc3nsoredxx avatar xxc3nsoredxx commented on September 15, 2024

One possibility could be to have a file containing some test data, posting that onto the pastebins, wget from the returned URL making sure to use the "raw" version (eg, https://dpaste.com/<ID>.txt in the case of dpaste), then checking the exit code of diff -q test.txt <downloaded file> to see if the download matches the original. This could be done pretty easily with a simple shell script.

from wgetpaste.

Cogitri avatar Cogitri commented on September 15, 2024

Yup, a simple bash script would do the trick, I suppose.

from wgetpaste.

xxc3nsoredxx avatar xxc3nsoredxx commented on September 15, 2024

@Cogitri I created a script that does the above

See PR #28

from wgetpaste.

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.