Comments (6)
@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.
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.
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.
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.
Yup, a simple bash script would do the trick, I suppose.
from wgetpaste.
@Cogitri I created a script that does the above
See PR #28
from wgetpaste.
Related Issues (20)
- app-text/wgetpaste-2.28-r1 generates incorrect URLs (Gentoo) HOT 2
- wgetpaste fails with bpaste HOT 10
- wgetpaste also fails with dpaste (suspect 30x redirect failure too) HOT 9
- Remove "Your paste can be seen here:" output HOT 5
- Enhancement: use jq utility for JSON stuff HOT 4
- new dpaste API seems to mangle whitespace HOT 4
- strace outputs nothing when used in wgetpaste HOT 7
- Feature Request: Debian Paste
- Feature Request: Sourcehut Paste
- gists.github.com gives an error
- Github Gists not working with current example "token" ; workaround/fix included HOT 2
- colors HOT 2
- dpaste.com is broken when using DNSSEC HOT 1
- make something useful with the old domain HOT 1
- prevent exceeding post limits HOT 2
- Feature request - include informational max file size message for bpaste server HOT 1
- wgetpaste fails with bpaste HOT 2
- Always 'Apparently nothing was received'
- Config file for custom pastebin url
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wgetpaste.