git-send-xmpp now supports /proper/ file uploads -- it might be truly comparable to git-send-email now eh?
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
このコミットが含まれているのは:
コミット
16f80f69a0
|
@ -0,0 +1,4 @@
|
|||
Freedom License v1 (2023年05月12日)
|
||||
|
||||
全く無限的自由です。
|
||||
It's infinite freedom.
|
15
DPL-2.3
15
DPL-2.3
|
@ -1,15 +0,0 @@
|
|||
Discordian Public License 2.3 (DPL-2.3)
|
||||
|
||||
All Rites Reversed (ĸ) 3188 Aoi Koizumi [Champagne Supernova the 1st Magician of Chaotic Confusion] <koizumi.aoi@kyoko-project.wer.ee>
|
||||
|
||||
Permission is hereby granted, to any person obtaining a copy of this
|
||||
material without restriction, including but not limited the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the material, subject to the following conditions:
|
||||
|
||||
YOU AGREE THAT THERE IS NO GODDESS BUT GODDESS AND SHE IS YOUR GODDESS &
|
||||
THAT THERE IS NO ERISIAN MOVEMENT BUT THE ERISIAN MOVEMENT AND IT IS THE
|
||||
ERISIAN MOVEMENT.
|
||||
|
||||
HAIL ERIS!
|
||||
FIVE TONS OF FLAX
|
|
@ -0,0 +1,8 @@
|
|||
PREFIX=/usr/local
|
||||
|
||||
install:
|
||||
install -m0755 git-send-paste ${PREFIX}/bin/git-send-paste
|
||||
install -m0755 git-send-xmpp ${PREFIX}/bin/git-send-xmpp
|
||||
uninstall:
|
||||
rm -f ${PREFIX}/bin/git-send-paste
|
||||
rm -f ${PREFIX}/bin/git-send-xmpp
|
2
README
2
README
|
@ -8,4 +8,4 @@ These scripts are sort of inspired by git-send-email & co.
|
|||
* It assumes a termbin instance is running on port 9999
|
||||
|
||||
* git-send-xmpp
|
||||
* Depends on xmppc (git@codeberg.org:Anoxinon_e.V./xmppc)
|
||||
* Depends on go-sendxmpp <https://salsa.debian.org/mdosch/go-sendxmpp>
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
# $KyokoNet: git-send-paste, v 0.1.0 2022/11/11 22:20:00 akoizumi Exp $
|
||||
# $TheSupernovaDuo: git-send-paste,v 0.1.0 2023/5/27 23:35:57 yakumo_izuru Exp $
|
||||
#
|
||||
# Send git patches to a pastebin endpoint using nc(1)
|
||||
# https://git.kyoko-project.wer.ee/koizumi.aoi/git-crap
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#!/bin/sh
|
||||
# $KyokoNet: git-send-xmpp, v0.0.3, 2022/11/22 17:48:03 akoizumi Exp $
|
||||
# $TheSupernovaDuo: git-send-xmpp,v 0.0.4 2023/5/27 23:31:33 yakumo_izuru Exp $
|
||||
#
|
||||
# Send git patches over the XMPP protocol
|
||||
# https://git.kyoko-project.wer.ee/koizumi.aoi/git-crap
|
||||
# https://git.chaotic.ninja/yakumo.izuru/git-crap
|
||||
|
||||
# I have a feeling I could totally do this in Golang,
|
||||
# if I wasn't inept with I/O handling in real programming
|
||||
usage() {
|
||||
cat <<EOF
|
||||
Usage
|
||||
|
@ -29,5 +31,5 @@ if [ -z $pass && -z $user && -z $target && -z $diff ]; then
|
|||
exit 1
|
||||
else
|
||||
printf "Sending patch file %s to recipient %s over XMPP\n" "${diff}" "${target}"
|
||||
xmppc --jid ${user} --pwd ${pass} -m message chat ${target} "$(curl -sF file=@$diff https://ttm.sh)"
|
||||
fi
|
||||
go-sendxmpp -u ${user} -p ${pass} -h ${diff} -a ${user} ${target}
|
||||
fi
|
||||
|
|
読み込み中…
新しいイシューから参照