Skip to content

pastebinit fails with bad API request #449

@mdeguzis

Description

@mdeguzis

Fails:

desktop@steamos:~/SteamOS-Tools-Packaging/sprunge$ cat ~/test.txt | pastebinit 
Bad API request, invalid api_dev_key

Works:

desktop@steamos:~/SteamOS-Tools-Packaging/sprunge$ cat ~/test.txt | pastebinit -b http://paste.debian.net
http://paste.debian.net/

Bug report upstream:
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1303214.html

I could recompile the package you have to include a default destination link to debian's, but I would prefer Valve make the call. If you check the upstream bug, it seems that http://pastebin.com, the default paste service,became closed to anonymous pasting. It is quite easy to divert lsb_release to detect SteamOS. SteamOS does not have it's own destination pastebin.

The uptream patches seem to be present, but since the default PB is closed to anonymous pasting, this is an issue.

desktop@steamos:~/SteamOS-Tools-Packaging$ cat /etc/*-release
DISTRIB_ID=SteamOS
DISTRIB_RELEASE=2.0
DISTRIB_CODENAME=brewmaster
DISTRIB_DESCRIPTION="SteamOS 2.0"

PRETTY_NAME="SteamOS GNU/Linux 2.0 (brewmaster)"
NAME="SteamOS GNU/Linux"
VERSION_ID="2"
VERSION="2 (brewmaster)"
ID=steamos
ID_LIKE=debian
HOME_URL="http://www.steampowered.com/"
SUPPORT_URL="http://support.steampowered.com/"
BUG_REPORT_URL="http://support.steampowered.com/"

My package pool (with debian paste as default) is below. Whether or not this is the "right" thing to do, is up to the Valve maintainers. Defaulting to another site like slexy should work fine.

http://packages.libregeek.org/SteamOS-Tools/pool/main/p/pastebinit/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions