Skip to content

rewrite or drop as paste.debian.net's xml-rpc interface is gone? #15

@crpb

Description

@crpb

paste.debian.net's xml-rpc endpoint was removed and grml-paste has no functionality anymore.

So it stands to question if it would even be still worth keeping the package alive or either switch to something like pastebinit if that will have functionality for paste.debian.net or maybe just add a function to grml-etc-core which allows of pasting files/stdin instead.

curl works so far..

command -p curl --show-error --fail --silent \
  -Fposter="$USER" \
  -Flang=bash \
  -Fprivate=1 \
  -Fcode= \
  -F"upload=@/etc/os-release" \
  -Fexpire=7776000 \
  -Fpaste=Send https://paste.debian.net \
  --write-out https://paste.debian.net"%header{location}"

so this could probably be done via pythons urrlib instead ?_?

bugs.debian.org #1124076 (just so there is one..)

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