Better error handling

This commit is contained in:
NunoSempere 2021-06-28 22:54:07 +02:00
parent 52633546ea
commit 80f60df4ae
93 changed files with 912 additions and 572 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
example/

50
debian/createSeries.sh vendored Executable file
View File

@ -0,0 +1,50 @@
#!/bin/bash
stemFolder="$(pwd)/$1"
stemFolderName="$1"
seriesFolder="$(pwd)/$1~series"
seriesNames=("focal" "groovy" "hirsute" "impish")
rm -r "$seriesFolder"
mkdir "$seriesFolder"
for seriesName in "${seriesNames[@]}"; do
# Create corresponding folder
newSeriesFolder="$seriesFolder/$stemFolderName~$seriesName"
echo "$seriesName"
cp -r "$stemFolder" "$newSeriesFolder"
cd "$newSeriesFolder"
# Make
dh_make --createorig -c mit --indep -y
wait
# Modify corresponding files
touch debian/install
echo "longnow usr/bin" > debian/install ## Add files to debian/install; depends on the files
cd debian
# Replace "unstable" for the series name ("bionic", "focal",...)
sed -i "s|unstable|$seriesName|g" changelog
# Edit the control file; change "unknown" section to "utils" (or some other section)
sed -i 's|Section: unknown|Section: utils|g' control
# Cosmetic stuff
# Delete the .ex and .docs and README.Debian files
rm *.ex; rm *.docs; rm README*; rm *.EX
sed -i 's|<insert the upstream URL, if relevant>|https://github.com/NunoSempere/longNowForMd|g' control
sed -i 's|Nuno <nuno@unknown>|Nuno Sempere <nuno.semperelh@gmail.com>|g' *
# Build
cd ..
debuild -S
wait
cd ..
dput ppa:nunosempere/longnowformd longnow_0.5~$seriesName-1_source.changes
wait
done
## How to use: ./createSeries.sh longnow-0.5

View File

@ -1,5 +0,0 @@
longnow (0.4~focal-1) focal; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 17:35:32 +0200

View File

@ -1 +0,0 @@
longnow_0.4~focal-1_source.buildinfo utils optional

View File

@ -1,5 +0,0 @@
longnow (0.4~groovy-1) groovy; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 17:36:35 +0200

View File

@ -1 +0,0 @@
longnow_0.4~groovy-1_source.buildinfo utils optional

View File

@ -1,5 +0,0 @@
longnow (0.4~hirsute-1) hirsute; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 17:37:30 +0200

View File

@ -1 +0,0 @@
longnow_0.4~hirsute-1_source.buildinfo utils optional

View File

@ -1,5 +0,0 @@
longnow (0.4~impish-1) impish; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 17:38:12 +0200

View File

@ -1 +0,0 @@
longnow_0.4~impish-1_source.buildinfo utils optional

View File

@ -1,38 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.4~focal-1
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Homepage: https://github.com/NunoSempere/longNowForMd
Standards-Version: 4.4.1
Build-Depends: debhelper-compat (= 12)
Package-List:
longnow deb utils optional arch=all
Checksums-Sha1:
d2f2c2af3d36fd4456ce6beb62b21d53d7be9111 1384 longnow_0.4~focal.orig.tar.xz
09a6dcf4038d71c187ddf4ecfdcf9cab44c378df 2076 longnow_0.4~focal-1.debian.tar.xz
Checksums-Sha256:
ea0f61ac2d2838e5ddfbe1697d4530d15087c8fd71ef5a764fc1097ea6a952ab 1384 longnow_0.4~focal.orig.tar.xz
0cc00805f81991160d5b06e797276a49b3de8629754238c4e3267b32f0279b13 2076 longnow_0.4~focal-1.debian.tar.xz
Files:
b31ddff5f335eb13fe71b0f7734ba5de 1384 longnow_0.4~focal.orig.tar.xz
8de30e3648cbb2cc6aec6c07fb2c75f9 2076 longnow_0.4~focal-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7FQZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV4jkDACUWss3QT7WF4NfOjkjy6YS
9TBagmcqfOhrizcdF2fZDfibTs6vDpKyLvYG9anRsrBkTdUpy9N7JwCRNfLp75jI
zzDIZMF/xooBY8YjdRg8B43Pn7KSNZnivUTDV/wZhgtLXOWMG1Md5y11QN2Ry0A7
fyBEF5Ou9SG0g++QmI97VR3xCAgo4r1aCMTbxo0hlQOi/WXTqV7u1992qZJRlFTg
9NHmrC5mBk8LIVH9oWRZLQQMehZEOHCwx6lwmBJaVqiSZUQfaTC1i+2TxWWNwGTh
rzoiP8b6LPuh4plp/3GaOIcE3qjjf9MTO+sdgjhOSodEQsBXhzU5vhLl3ivTjszc
uramELSx20keGYv1LIrZGHQirnJzWJ2w8d0QuJzSn6vEH4/RzsdWWoD4ZHVGeQRd
5TKDqQQARGETyZlMShho0TmbLs+iYcxrGhFiBhDPbceuyf15oXbLy8nncI2y9pyt
W2jyiV0lZnhjtbfPamFPhY2zgV/bNDI2gZtHjLrYjKU=
=+2/6
-----END PGP SIGNATURE-----

View File

@ -1,46 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Jun 2021 17:35:32 +0200
Source: longnow
Architecture: source
Version: 0.4~focal-1
Distribution: focal
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.4~focal-1) focal; urgency=medium
.
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
Checksums-Sha1:
86925abb62185702d58dfdd290d5b3a2b6ce79a0 1604 longnow_0.4~focal-1.dsc
d2f2c2af3d36fd4456ce6beb62b21d53d7be9111 1384 longnow_0.4~focal.orig.tar.xz
09a6dcf4038d71c187ddf4ecfdcf9cab44c378df 2076 longnow_0.4~focal-1.debian.tar.xz
3dd96259acba582ab6bda92372673573e29bc6d9 6156 longnow_0.4~focal-1_source.buildinfo
Checksums-Sha256:
e7d217e0b8fc599fb153ba68bad8885c56af6b59cb27d0eba880736939117338 1604 longnow_0.4~focal-1.dsc
ea0f61ac2d2838e5ddfbe1697d4530d15087c8fd71ef5a764fc1097ea6a952ab 1384 longnow_0.4~focal.orig.tar.xz
0cc00805f81991160d5b06e797276a49b3de8629754238c4e3267b32f0279b13 2076 longnow_0.4~focal-1.debian.tar.xz
f351cd19491fbfd0766bbd5d874a8ea98b5a097a0ad21817173e3df20143f76e 6156 longnow_0.4~focal-1_source.buildinfo
Files:
75ce90c0b0dc17219f4707d59fc589de 1604 utils optional longnow_0.4~focal-1.dsc
b31ddff5f335eb13fe71b0f7734ba5de 1384 utils optional longnow_0.4~focal.orig.tar.xz
8de30e3648cbb2cc6aec6c07fb2c75f9 2076 utils optional longnow_0.4~focal-1.debian.tar.xz
5aa37aa00204166465807d710fce453a 6156 utils optional longnow_0.4~focal-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHMBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7FgZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV5ghC/jno+6xyjVrGloUvBbSjJNn
md2gTORWRihkVyg78OXZUIUGfQPm/NrbA4gQlAGglb8mLfn+G84bLfWJjb9O86QU
e5PCFAbENxj7BSNGtbE/xgPTFOpPT1Ooczfo414Kv8S/Al5qFjUx2PjABKUxYUU4
OKn+Ns9grI1mpONU8vsD1Va+/D/YsPp9uluYWRm1hpsVZjIx9aOedDvg6GU6zZ3K
fVyvNT1u0oLR+TG379Uo0Y/bYVyq49YYp7H00on56P+r4/8S0zF5wbvuiVS8ItKT
WBj3ui6lVFealdKGfu5D4+FiFe+NhzCmSGJusdWfNuJq6TE7t0mY0vVnBILRGSUR
+gy9kKDdFvH3BazFLTg7hFP5pdDlsKbd+1UTOR5+LD1O9cRmfmK2maqJLhAxJUm6
XHZtiEj965iT6fT9eai2IW35i4EnbdnLrguFNh1CKfd8cHBIaluOujRv4wd19gl8
1I3mvu4spDBBYU0336uIOr4UQdwSwOxzxq7gHitB2A==
=LNMz
-----END PGP SIGNATURE-----

View File

@ -1,5 +0,0 @@
Successfully uploaded longnow_0.4~focal-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~focal.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~focal-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~focal-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~focal-1_source.changes to ppa.launchpad.net for ppa.

View File

@ -1,38 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.4~groovy-1
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Homepage: https://github.com/NunoSempere/longNowForMd
Standards-Version: 4.4.1
Build-Depends: debhelper-compat (= 12)
Package-List:
longnow deb utils optional arch=all
Checksums-Sha1:
a614dda48384d2b24bae696561e0e387d003234b 1384 longnow_0.4~groovy.orig.tar.xz
b8fafd8a3da397057bb2dbc8946f1246cf1335c6 2076 longnow_0.4~groovy-1.debian.tar.xz
Checksums-Sha256:
acf5c386c03e8bc207c9722e8c90d6d4254838566367c3ad2f5b473088bebc78 1384 longnow_0.4~groovy.orig.tar.xz
4dc8a413f5b379d9ddd34e11f6b56db96bafc262daf0a305c8504cb3dc09bd6d 2076 longnow_0.4~groovy-1.debian.tar.xz
Files:
ab684b1478f674da86cfc809b37417a3 1384 longnow_0.4~groovy.orig.tar.xz
c5dbdc570205c0e6e93007c984523171 2076 longnow_0.4~groovy-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7KUZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV7n/C/92ElYWZj0K5iUj/lo+55YI
kJFeczxqFwUmAfql0uh+P9yMmbtfeq4/Wx7fHLzO2wzQGKaFFvQpfS+6wijcjmQg
De7S7b5HcRCJsJTb+vZfduKStDR15/QaAug9G7GJ6j6Wdeb5Wv4KM1Ad8JsLwdiu
Dp5i1/v48W3Sth6ImLitkqoFPW4WJyDylq0L1IQxqX4OSxJvwnDNs3QgR52bHimT
SFr+aZxeo+H+XGame+LeQMJqOJdgQOFHpqs5jSUZ/iMhz5KUouSMzuRWVQBtu7GC
CwUFX4HWaoirzEk8+xjPQ37H3BtU7yIzprt4kL2sNgOyn5Dd8RoGB3cjutr0i/fQ
A9cIZY+E+hajALDWy0Cfgt+O9B+lYwhLE2DVWrdk47DI3kgp6QTKbbgYR1xMdYK4
lTskQf6rL9WCgBpXWYqTgIBmhPpDcyBpynijoG6+R1LI3E0WfWHdVHvGmvNZahrd
fhlxp6SwBGOcDSGzPSFnMaUIwS81O7tlusfURxmm90Q=
=4p2/
-----END PGP SIGNATURE-----

View File

@ -1,46 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Jun 2021 17:36:35 +0200
Source: longnow
Architecture: source
Version: 0.4~groovy-1
Distribution: groovy
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.4~groovy-1) groovy; urgency=medium
.
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
Checksums-Sha1:
784ed1829deac188dffcf45e4d329c1a601238e9 1611 longnow_0.4~groovy-1.dsc
a614dda48384d2b24bae696561e0e387d003234b 1384 longnow_0.4~groovy.orig.tar.xz
b8fafd8a3da397057bb2dbc8946f1246cf1335c6 2076 longnow_0.4~groovy-1.debian.tar.xz
2eedbd8ddb89753ef90e3f9c3ae7c583c099f02f 6160 longnow_0.4~groovy-1_source.buildinfo
Checksums-Sha256:
589ff5545636f832507490a353aa50f5f563dac1b2ff133167ba7fe288382159 1611 longnow_0.4~groovy-1.dsc
acf5c386c03e8bc207c9722e8c90d6d4254838566367c3ad2f5b473088bebc78 1384 longnow_0.4~groovy.orig.tar.xz
4dc8a413f5b379d9ddd34e11f6b56db96bafc262daf0a305c8504cb3dc09bd6d 2076 longnow_0.4~groovy-1.debian.tar.xz
14aa97d78916e3a40b53d23e3db967f9c67c24b173c30a40b9893c582c9f094b 6160 longnow_0.4~groovy-1_source.buildinfo
Files:
755b32a4140b78b484bb937e138cafb4 1611 utils optional longnow_0.4~groovy-1.dsc
ab684b1478f674da86cfc809b37417a3 1384 utils optional longnow_0.4~groovy.orig.tar.xz
c5dbdc570205c0e6e93007c984523171 2076 utils optional longnow_0.4~groovy-1.debian.tar.xz
704039d7e0067641cf1c621b6108d7d3 6160 utils optional longnow_0.4~groovy-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7KYZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV9RrC/457jVFZT1GxWcIqxkmA7cD
FTL+jk3nYt/R4cKXEBEaKbYdYDlcX0yicjtas1Bt4HtpdB9udaH3IziRldkxXrdp
Kpmo8DuXDD0G11SCFrg2TVKPKSKpDN4LDvq7+IHvMWO1hAfStlh18WwymRwimXwi
PkjrdwbCJJKbId2XFyEtU8lP+ou3DgSF8zOc7QXxi7BTQ5cpO74DhxRUXSK2vElR
e9aK6JBWpU3wyAPz1HmjO3W8SsYJitBCzYf+2C0S+aYaVqeac/2VCCwOAunlIO30
5XkP43MXM1VHrhG1HIBh2U4cgpQzazbra2bYLEtmVW0YD7sPzh32yZFRAjUr2UiX
CQOUbN3ffOtzvy7yx2HBMCjkz4bHiv1ibQSRKMiOcPchxBZ2ilTWX//3RLSuEap7
Vf1wSpc15cK8eoMxAw1y0YWhh59ROq90EmDmLgAsjhdPlUoH7PJsxfoOFgd/Vbcz
vlCih0xYEEShBIUr3F7Pw+WoBqbjtC+efc4M/2AwfRk=
=l2SD
-----END PGP SIGNATURE-----

View File

@ -1,5 +0,0 @@
Successfully uploaded longnow_0.4~groovy-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~groovy.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~groovy-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~groovy-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~groovy-1_source.changes to ppa.launchpad.net for ppa.

View File

@ -1,38 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.4~hirsute-1
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Homepage: https://github.com/NunoSempere/longNowForMd
Standards-Version: 4.4.1
Build-Depends: debhelper-compat (= 12)
Package-List:
longnow deb utils optional arch=all
Checksums-Sha1:
97b95f190c6b9f755815a5587679e85077081a53 1384 longnow_0.4~hirsute.orig.tar.xz
3d246b0c680da9d1cde6713510e9f8792fd82f9c 2076 longnow_0.4~hirsute-1.debian.tar.xz
Checksums-Sha256:
0e10ae031563ece89736d2e2b6d0a16470ab9fba2eeeca2955677e9ad89c052d 1384 longnow_0.4~hirsute.orig.tar.xz
7a3e49a053ef09faf21a20e6129bfc93283325a06c95beb1d20dc70701116f8b 2076 longnow_0.4~hirsute-1.debian.tar.xz
Files:
15227aca634f37b01d6b54cfdcc8b705 1384 longnow_0.4~hirsute.orig.tar.xz
c26a1427fd2282ae0893f15273ce008d 2076 longnow_0.4~hirsute-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7NAZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV9pAC/wINXeZ0VKbhiBizcvsmcuQ
tLbkX9KvkXxbFAzc6kbRVeS4t5IsllclXX3fTssXOXvNLM06dgEIpwi+cjyOF+uq
xYvQCipNfbG9qaCcxcMreqiYtyWCJuFHFFPPwLvX7iSZWbMMfrbWDJNywbgAg+io
Vv6pTmb2pIb1us9VQceCMjBzkyAWIYShB6PL+7qVtKAaqlQZzmLwGQnWg6k7dm2U
OWNu9Wv2JmtEduWzv2SP9jN5UBZcSkzvyshNq6Alnr6gJh72EJXsUVYuzMdnbuJm
cDf2p7Wr5R5x7gO02pOr09btpTpnZ0lDLvvpMWTPHfCZLaIAX3fYAHciw7kEqrRA
cSq3GXhfEIm5Qd+HS51AhcPOOxmWk6ssz1tjt+IS4HcBmuVJkPnLgOlnQG16D7uH
zGV2S0OwYAJZH8CC1rrtphslEQ6Gki8ZJeGnqiTu6gBGsg/vpxTdPIxnvXgHmHc4
h06zXvxeEzJCUYQ1hFFb/I3CI4gJDb86LON1BTBA6Bc=
=zrW2
-----END PGP SIGNATURE-----

View File

@ -1,46 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Jun 2021 17:37:30 +0200
Source: longnow
Architecture: source
Version: 0.4~hirsute-1
Distribution: hirsute
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.4~hirsute-1) hirsute; urgency=medium
.
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
Checksums-Sha1:
9186764d3543b3738033ca22ab3f0bad6baf9adc 1618 longnow_0.4~hirsute-1.dsc
97b95f190c6b9f755815a5587679e85077081a53 1384 longnow_0.4~hirsute.orig.tar.xz
3d246b0c680da9d1cde6713510e9f8792fd82f9c 2076 longnow_0.4~hirsute-1.debian.tar.xz
40665d49b62b21f57ce4211da47692099fd68531 6164 longnow_0.4~hirsute-1_source.buildinfo
Checksums-Sha256:
e098f33491d4101bc97362e558399a7f69e0377fcda650742790a4ebe4dd77bb 1618 longnow_0.4~hirsute-1.dsc
0e10ae031563ece89736d2e2b6d0a16470ab9fba2eeeca2955677e9ad89c052d 1384 longnow_0.4~hirsute.orig.tar.xz
7a3e49a053ef09faf21a20e6129bfc93283325a06c95beb1d20dc70701116f8b 2076 longnow_0.4~hirsute-1.debian.tar.xz
5f8cd1eae7b41228065322318da25784a3e43e4b4905456de2c5d96ed570a233 6164 longnow_0.4~hirsute-1_source.buildinfo
Files:
b3ea5c9b6b26aecf6413a70e377cb0fc 1618 utils optional longnow_0.4~hirsute-1.dsc
15227aca634f37b01d6b54cfdcc8b705 1384 utils optional longnow_0.4~hirsute.orig.tar.xz
c26a1427fd2282ae0893f15273ce008d 2076 utils optional longnow_0.4~hirsute-1.debian.tar.xz
9c5f5fdf02ca83def2125ce3ca207759 6164 utils optional longnow_0.4~hirsute-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7NEZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVxWFC/4tyamMylYKkxzWpJCDVQmC
0rE0oboe0wF+vZ2nxQNyWRoCxi7sHLReQeRX2axuPpi/lRO+2fVtR2FTAhfXc0b7
83dx5E1zjiEwGmCWCemSDV2X+ey9Zn9zRWySvf02p0i8PXQNW/UtNBnyJA0gPDzn
u0Ai6WCjtpP+r6eiD4OFde25Ym2PcYAHNRbyQFZ+/VIGEWz2sCitX+zOTowhWdFb
eyC4AR6ya9119LhpC9uOaxOdZ5PQMfPCgaXZvcwoTf4ZKF8NjnngoJsoTL0mqZjS
mdwihf01GHcjls/4PUDPP1nrPLXz+NLWDXxINU5LUX9SDHlWSoiHT3Z+Bj/Zk0H7
Zkuae2AGv6R4aWdxTYC1FvDJXp/Jct/tNYGTF6orAYB7X7Z2H/6dGBa8WJSIvkWN
UDgjwn7RmolON+hRnMWtvcbAsdUzOMIMH7/Nx5EXwr2Ea1LQ2bNg6UXYf9wFp8wY
wf8GhGyqAasOjJS6cIqbUx6j6SyCt/bCqxe4eSSf4+o=
=ih9u
-----END PGP SIGNATURE-----

View File

@ -1,5 +0,0 @@
Successfully uploaded longnow_0.4~hirsute-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~hirsute.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~hirsute-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~hirsute-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~hirsute-1_source.changes to ppa.launchpad.net for ppa.

View File

@ -1,38 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.4~impish-1
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Homepage: https://github.com/NunoSempere/longNowForMd
Standards-Version: 4.4.1
Build-Depends: debhelper-compat (= 12)
Package-List:
longnow deb utils optional arch=all
Checksums-Sha1:
f0d96c141ed85dd9815e0920e80745285645cc92 1380 longnow_0.4~impish.orig.tar.xz
9942ffc2b5d444c06cafd08e345330c810250bb2 2076 longnow_0.4~impish-1.debian.tar.xz
Checksums-Sha256:
4965a91f31ac0f00494c0419baf313790333f2c42ccffdb94f8c5008ed09effc 1380 longnow_0.4~impish.orig.tar.xz
223378c91aeafeec7c2bf0643d303e36e2598c76aae20325b3a7e753a6e9ac8b 2076 longnow_0.4~impish-1.debian.tar.xz
Files:
fd054620bc1acbef1e7cc130bc4466e5 1380 longnow_0.4~impish.orig.tar.xz
a37fd3d48c193ef96812e84ae9c8cd58 2076 longnow_0.4~impish-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7PsZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV4UKC/9l0V7iLQc30hsxEh5ndO6e
maReuXftTuclEv78X3E8RKHtldYos9s5/kgJ8rgp2bjA7mmnBI1W0nPcgTiIwcF/
yxddXmMlRN1FXBWz5lricqlj/lFxYNm4BFrLqUjzw0vePS8JADBh3rLpjozyglJK
hMOvNj94vcenjcAipqXj0iE8cCt559YPtMd94wFLzkN+X6LFSXHOblder/Ed1Rj2
A54F8Mbcc+9YS5iapPNEpxVX5jZtbX3FGS09iJmc0zxaIcfd9+qXGW5JjnSDYQeB
YgHtk5AAosXEwyb6YXcAvi5U5oiE8GMkMoYZYvQFlF7ZAzeFNPEyR7iM//sA8pIe
xo7W7eWLialZpCVwMhYMthRgCJ6jDx7H1rsjIqH8LffmMVtGuCYx4NcWSNeX9lOY
265Uw7jcz1V8JCDX/JDNKzKiJSYpvR9BziS/O92K85b6kxQelE2U3pHGxN3fqPIX
HAyg6eD0WM8BNejmPyxiKgUFzSRk+ivzGMbGAEztUNU=
=Sik7
-----END PGP SIGNATURE-----

View File

@ -1,46 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Jun 2021 17:38:12 +0200
Source: longnow
Architecture: source
Version: 0.4~impish-1
Distribution: impish
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.4~impish-1) impish; urgency=medium
.
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
Checksums-Sha1:
1362c3ae45c423aa9c97508c08e23254aa1f0612 1611 longnow_0.4~impish-1.dsc
f0d96c141ed85dd9815e0920e80745285645cc92 1380 longnow_0.4~impish.orig.tar.xz
9942ffc2b5d444c06cafd08e345330c810250bb2 2076 longnow_0.4~impish-1.debian.tar.xz
eaa4d6ba94dcc905c424e5c5771bf8391724783f 6160 longnow_0.4~impish-1_source.buildinfo
Checksums-Sha256:
ddeb4d2d36b2ccd7b72c6efcc0f80a4edca2826a4af79f7f42fc91803f838693 1611 longnow_0.4~impish-1.dsc
4965a91f31ac0f00494c0419baf313790333f2c42ccffdb94f8c5008ed09effc 1380 longnow_0.4~impish.orig.tar.xz
223378c91aeafeec7c2bf0643d303e36e2598c76aae20325b3a7e753a6e9ac8b 2076 longnow_0.4~impish-1.debian.tar.xz
b27c0909c67d7803c2fe0e1c4adc2ab000be9254ab27673acd181321051e8d13 6160 longnow_0.4~impish-1_source.buildinfo
Files:
f60c7616cad34f4eedf915f20ca31f32 1611 utils optional longnow_0.4~impish-1.dsc
fd054620bc1acbef1e7cc130bc4466e5 1380 utils optional longnow_0.4~impish.orig.tar.xz
a37fd3d48c193ef96812e84ae9c8cd58 2076 utils optional longnow_0.4~impish-1.debian.tar.xz
eeb46c5d2bcbbc3e1cae8c0430ed656b 6160 utils optional longnow_0.4~impish-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7PwZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVzUFC/4/uyEEd/QtPqFm4NuX4/HU
XSvU959os9SB+omYfgdJFlS0jyQXJ2Exk6+TReHXA4w+EwKbUk32daFPSbGtVI1e
1dgTzGtI1o3TS4f6I7/CcQpSTlu1JpS4ip72uJqk9wthqd/+WJzEPasUnJimGyPF
SuGPPZhmbBN3vojop6EIoqkLYcvnNTpfq95ZR7W+UNxL2KYuMA4UMZ39Cxb01+BP
JG1LF/TPTMUJJT1VUx0Q6cp9PSZLAVczU0KEQVbTACBjLCI1WK9BJXRQje7+eo0B
Y1Tg3O7lLQHjq2PtjKBvscPBqUoJ8V6GXqVc4fYSGMcTNVNjSkRg46VJPkIna8Jj
CRoV4FpXf5jlpt1nkTypoN7BiN7G63F6JZ0zZn/uwFNIEB8VgSevy8w/SMmcS4vA
PJ88BN6Y3to0IKaGzK8KQHBy5FVbkRZxwsiZ+LiyGdxRJ0YrG92Pg2pdC4IKSgCe
QDL7Ah6qF4pX+JQKCCE9UugO2/d3d2Krvsl6tnYloG0=
=Y0+j
-----END PGP SIGNATURE-----

View File

@ -1,5 +0,0 @@
Successfully uploaded longnow_0.4~impish-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~impish.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~impish-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~impish-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.4~impish-1_source.changes to ppa.launchpad.net for ppa.

View File

@ -23,22 +23,45 @@ function pushToArchive(){
input=$1
counter=1
rm -f "$1.archived"
touch "$1.archived"
## rm -f "$1.archived"
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
touch "$archivedLinksFile"
touch "$errorsFile"
## How to deal with errors that arise
echo "If this file contains errors, you can deal with them as follows:" >> "$errorsFile"
echo "- Do another pass with \$ longnow yourfile.md. If you don't delete yourfile.md.links.archived, past archive links are remembered, and only the links which are not there are sent again" >> "$errorsFile"
echo "- Input the offending links manually to https://archive.org/, add the results to the example.md.links.archived file manually, and then do another pass with \$ longnow yourfile.md" >> "$errorsFile"
echo "" >> "$errorsFile"
## Main body
while IFS= read -r line
do
wait
if [ $(($counter % 15)) -eq 0 ]
then
printf "\nArchive.org doesn't accept more than 15 links per min; sleeping for 1min...\n"
if [ $(($counter % 15)) -eq 0 ]; then
printf "Archive.org doesn't accept more than 15 links per min; sleeping for 1min...\n\n"
sleep 1m
fi
echo "Url: $line"
archiveURL=$(archivenow --ia $line)
echo $archiveURL >> "$1.archived"
urlAlreadyContained=$(grep "$line" "$archivedLinksFile")
if [ "$urlAlreadyContained" == "" ]; then
archiveURL=$(archivenow --ia $line)
if [[ "$archiveURL" == "Error"* ]]; then
echo "$line" >> "$errorsFile"
echo "$archiveURL" >> "$errorsFile"
echo "" >> "$errorsFile"
echo "There was an error. See $errorsFile for how to deal with it."
else
echo "$archiveURL" >> "$archivedLinksFile"
fi
counter=$((counter+1))
numSecondsSleep=$((5+ ($RANDOM%15)))
sleep $numSecondsSleep
else
archiveURL="$urlAlreadyContained"
fi
echo $archiveURL
counter=$((counter+1))
echo ""
done < "$input"
@ -52,6 +75,7 @@ function addArchiveLinksToFile(){
originalFileTemp="$originalFile.temp"
linksFile="$1.links"
archivedLinksFile="$1.links.archived"
errorsFile="$1.links.errors"
longNowFile="$1.longnow"
echo "Creating longnow file @ $longNowFile..."
@ -63,13 +87,16 @@ function addArchiveLinksToFile(){
while IFS= read -r url
do
wait
archivedUrl=$(grep "$url" "$archivedLinksFile" | tail -1)
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
if [ "$archivedUrl" != "" ]; then
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
##else
##echo "There was an error for $url; see the $errorsFile"
fi
done < "$linksFile"
mv "$originalFile" "$longNowFile"
mv "$originalFileTemp" "$originalFile"
@ -90,7 +117,11 @@ function longnow(){
getMdLinks $1
pushToArchive $1.links
addArchiveLinksToFile $1
numLinesErrorFile=$(wc -l "$1.md.links.errors" | awk '{ print $1 }')
if [ "$numLinesErrorFile" > 4 ] ;then
echo "It seems that there are errors. To view and deal with them, see the $1.links.errors file"
fi
fi
}
longnow "$1"
longnow "$1" ## don't copy this line into your .bashrc file

View File

@ -0,0 +1,5 @@
longnow (0.6~focal-1) focal; urgency=medium
* Better error messages
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 22:34:08 +0200

View File

@ -0,0 +1 @@
longnow_0.6~focal-1_source.buildinfo utils optional

View File

@ -23,22 +23,45 @@ function pushToArchive(){
input=$1
counter=1
rm -f "$1.archived"
touch "$1.archived"
## rm -f "$1.archived"
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
touch "$archivedLinksFile"
touch "$errorsFile"
## How to deal with errors that arise
echo "If this file contains errors, you can deal with them as follows:" >> "$errorsFile"
echo "- Do another pass with \$ longnow yourfile.md. If you don't delete yourfile.md.links.archived, past archive links are remembered, and only the links which are not there are sent again" >> "$errorsFile"
echo "- Input the offending links manually to https://archive.org/, add the results to the example.md.links.archived file manually, and then do another pass with \$ longnow yourfile.md" >> "$errorsFile"
echo "" >> "$errorsFile"
## Main body
while IFS= read -r line
do
wait
if [ $(($counter % 15)) -eq 0 ]
then
printf "\nArchive.org doesn't accept more than 15 links per min; sleeping for 1min...\n"
if [ $(($counter % 15)) -eq 0 ]; then
printf "Archive.org doesn't accept more than 15 links per min; sleeping for 1min...\n\n"
sleep 1m
fi
echo "Url: $line"
archiveURL=$(archivenow --ia $line)
echo $archiveURL >> "$1.archived"
urlAlreadyContained=$(grep "$line" "$archivedLinksFile")
if [ "$urlAlreadyContained" == "" ]; then
archiveURL=$(archivenow --ia $line)
if [[ "$archiveURL" == "Error"* ]]; then
echo "$line" >> "$errorsFile"
echo "$archiveURL" >> "$errorsFile"
echo "" >> "$errorsFile"
echo "There was an error. See $errorsFile for how to deal with it."
else
echo "$archiveURL" >> "$archivedLinksFile"
fi
counter=$((counter+1))
numSecondsSleep=$((5+ ($RANDOM%15)))
sleep $numSecondsSleep
else
archiveURL="$urlAlreadyContained"
fi
echo $archiveURL
counter=$((counter+1))
echo ""
done < "$input"
@ -52,6 +75,7 @@ function addArchiveLinksToFile(){
originalFileTemp="$originalFile.temp"
linksFile="$1.links"
archivedLinksFile="$1.links.archived"
errorsFile="$1.links.errors"
longNowFile="$1.longnow"
echo "Creating longnow file @ $longNowFile..."
@ -63,13 +87,16 @@ function addArchiveLinksToFile(){
while IFS= read -r url
do
wait
archivedUrl=$(grep "$url" "$archivedLinksFile" | tail -1)
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
if [ "$archivedUrl" != "" ]; then
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
##else
##echo "There was an error for $url; see the $errorsFile"
fi
done < "$linksFile"
mv "$originalFile" "$longNowFile"
mv "$originalFileTemp" "$originalFile"
@ -90,7 +117,11 @@ function longnow(){
getMdLinks $1
pushToArchive $1.links
addArchiveLinksToFile $1
numLinesErrorFile=$(wc -l "$1.md.links.errors" | awk '{ print $1 }')
if [ "$numLinesErrorFile" > 4 ] ;then
echo "It seems that there are errors. To view and deal with them, see the $1.links.errors file"
fi
fi
}
longnow "$1"
longnow "$1" ## don't copy this line into your .bashrc file

View File

@ -0,0 +1,5 @@
longnow (0.6~groovy-1) groovy; urgency=medium
* Better error messages
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 22:34:13 +0200

View File

@ -0,0 +1 @@
longnow_0.6~groovy-1_source.buildinfo utils optional

View File

@ -23,22 +23,45 @@ function pushToArchive(){
input=$1
counter=1
rm -f "$1.archived"
touch "$1.archived"
## rm -f "$1.archived"
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
touch "$archivedLinksFile"
touch "$errorsFile"
## How to deal with errors that arise
echo "If this file contains errors, you can deal with them as follows:" >> "$errorsFile"
echo "- Do another pass with \$ longnow yourfile.md. If you don't delete yourfile.md.links.archived, past archive links are remembered, and only the links which are not there are sent again" >> "$errorsFile"
echo "- Input the offending links manually to https://archive.org/, add the results to the example.md.links.archived file manually, and then do another pass with \$ longnow yourfile.md" >> "$errorsFile"
echo "" >> "$errorsFile"
## Main body
while IFS= read -r line
do
wait
if [ $(($counter % 15)) -eq 0 ]
then
printf "\nArchive.org doesn't accept more than 15 links per min; sleeping for 1min...\n"
if [ $(($counter % 15)) -eq 0 ]; then
printf "Archive.org doesn't accept more than 15 links per min; sleeping for 1min...\n\n"
sleep 1m
fi
echo "Url: $line"
archiveURL=$(archivenow --ia $line)
echo $archiveURL >> "$1.archived"
urlAlreadyContained=$(grep "$line" "$archivedLinksFile")
if [ "$urlAlreadyContained" == "" ]; then
archiveURL=$(archivenow --ia $line)
if [[ "$archiveURL" == "Error"* ]]; then
echo "$line" >> "$errorsFile"
echo "$archiveURL" >> "$errorsFile"
echo "" >> "$errorsFile"
echo "There was an error. See $errorsFile for how to deal with it."
else
echo "$archiveURL" >> "$archivedLinksFile"
fi
counter=$((counter+1))
numSecondsSleep=$((5+ ($RANDOM%15)))
sleep $numSecondsSleep
else
archiveURL="$urlAlreadyContained"
fi
echo $archiveURL
counter=$((counter+1))
echo ""
done < "$input"
@ -52,6 +75,7 @@ function addArchiveLinksToFile(){
originalFileTemp="$originalFile.temp"
linksFile="$1.links"
archivedLinksFile="$1.links.archived"
errorsFile="$1.links.errors"
longNowFile="$1.longnow"
echo "Creating longnow file @ $longNowFile..."
@ -63,13 +87,16 @@ function addArchiveLinksToFile(){
while IFS= read -r url
do
wait
archivedUrl=$(grep "$url" "$archivedLinksFile" | tail -1)
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
if [ "$archivedUrl" != "" ]; then
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
##else
##echo "There was an error for $url; see the $errorsFile"
fi
done < "$linksFile"
mv "$originalFile" "$longNowFile"
mv "$originalFileTemp" "$originalFile"
@ -90,7 +117,11 @@ function longnow(){
getMdLinks $1
pushToArchive $1.links
addArchiveLinksToFile $1
numLinesErrorFile=$(wc -l "$1.md.links.errors" | awk '{ print $1 }')
if [ "$numLinesErrorFile" > 4 ] ;then
echo "It seems that there are errors. To view and deal with them, see the $1.links.errors file"
fi
fi
}
longnow "$1"
longnow "$1" ## don't copy this line into your .bashrc file

View File

@ -0,0 +1,5 @@
longnow (0.6~hirsute-1) hirsute; urgency=medium
* Better error messages
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 22:34:19 +0200

View File

@ -0,0 +1 @@
longnow_0.6~hirsute-1_source.buildinfo utils optional

View File

@ -23,22 +23,45 @@ function pushToArchive(){
input=$1
counter=1
rm -f "$1.archived"
touch "$1.archived"
## rm -f "$1.archived"
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
touch "$archivedLinksFile"
touch "$errorsFile"
## How to deal with errors that arise
echo "If this file contains errors, you can deal with them as follows:" >> "$errorsFile"
echo "- Do another pass with \$ longnow yourfile.md. If you don't delete yourfile.md.links.archived, past archive links are remembered, and only the links which are not there are sent again" >> "$errorsFile"
echo "- Input the offending links manually to https://archive.org/, add the results to the example.md.links.archived file manually, and then do another pass with \$ longnow yourfile.md" >> "$errorsFile"
echo "" >> "$errorsFile"
## Main body
while IFS= read -r line
do
wait
if [ $(($counter % 15)) -eq 0 ]
then
printf "\nArchive.org doesn't accept more than 15 links per min; sleeping for 1min...\n"
if [ $(($counter % 15)) -eq 0 ]; then
printf "Archive.org doesn't accept more than 15 links per min; sleeping for 1min...\n\n"
sleep 1m
fi
echo "Url: $line"
archiveURL=$(archivenow --ia $line)
echo $archiveURL >> "$1.archived"
urlAlreadyContained=$(grep "$line" "$archivedLinksFile")
if [ "$urlAlreadyContained" == "" ]; then
archiveURL=$(archivenow --ia $line)
if [[ "$archiveURL" == "Error"* ]]; then
echo "$line" >> "$errorsFile"
echo "$archiveURL" >> "$errorsFile"
echo "" >> "$errorsFile"
echo "There was an error. See $errorsFile for how to deal with it."
else
echo "$archiveURL" >> "$archivedLinksFile"
fi
counter=$((counter+1))
numSecondsSleep=$((5+ ($RANDOM%15)))
sleep $numSecondsSleep
else
archiveURL="$urlAlreadyContained"
fi
echo $archiveURL
counter=$((counter+1))
echo ""
done < "$input"
@ -52,6 +75,7 @@ function addArchiveLinksToFile(){
originalFileTemp="$originalFile.temp"
linksFile="$1.links"
archivedLinksFile="$1.links.archived"
errorsFile="$1.links.errors"
longNowFile="$1.longnow"
echo "Creating longnow file @ $longNowFile..."
@ -63,13 +87,16 @@ function addArchiveLinksToFile(){
while IFS= read -r url
do
wait
archivedUrl=$(grep "$url" "$archivedLinksFile" | tail -1)
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
if [ "$archivedUrl" != "" ]; then
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
##else
##echo "There was an error for $url; see the $errorsFile"
fi
done < "$linksFile"
mv "$originalFile" "$longNowFile"
mv "$originalFileTemp" "$originalFile"
@ -90,7 +117,11 @@ function longnow(){
getMdLinks $1
pushToArchive $1.links
addArchiveLinksToFile $1
numLinesErrorFile=$(wc -l "$1.md.links.errors" | awk '{ print $1 }')
if [ "$numLinesErrorFile" > 4 ] ;then
echo "It seems that there are errors. To view and deal with them, see the $1.links.errors file"
fi
fi
}
longnow "$1"
longnow "$1" ## don't copy this line into your .bashrc file

View File

@ -0,0 +1,5 @@
longnow (0.6~impish-1) impish; urgency=medium
* Better error messages
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 22:34:24 +0200

View File

@ -0,0 +1 @@
longnow_0.6~impish-1_source.buildinfo utils optional

View File

@ -0,0 +1,127 @@
#!/bin/bash
function getMdLinks(){ # Use: Takes a markdown file file.md, extracts all links, finds the unique ones and saves them to file.md.links
echo ""
echo "Extracting links..."
grep -Eoi '\]\((.*)\)' $1 | grep -Eo '(http|https)://[^)]+' >> "$1.links"
## sed -i 's/www.wikiwand.com\/en/en.wikipedia.org\/wiki/g' $1
awk '!seen[$0]++' "$1.links" > "$1.links2" && mv "$1.links2" "$1.links"
echo "Done."
echo ""
}
function pushToArchive(){
# Use: Takes a txt file with one link on each line and pushes all the links to the internet archive. Saves those links to a textfile
# References:
# https://unix.stackexchange.com/questions/181254/how-to-use-grep-and-cut-in-script-to-obtain-website-urls-from-an-html-file
# https://github.com/oduwsdl/archivenow
# For the double underscore, see: https://stackoverflow.com/questions/13797087/bash-why-double-underline-for-private-functions-why-for-bash-complet/15181999
echo "Pushing to archive.org..."
input=$1
counter=1
## rm -f "$1.archived"
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
touch "$archivedLinksFile"
touch "$errorsFile"
## How to deal with errors that arise
echo "If this file contains errors, you can deal with them as follows:" >> "$errorsFile"
echo "- Do another pass with \$ longnow yourfile.md. If you don't delete yourfile.md.links.archived, past archive links are remembered, and only the links which are not there are sent again" >> "$errorsFile"
echo "- Input the offending links manually to https://archive.org/, add the results to the example.md.links.archived file manually, and then do another pass with \$ longnow yourfile.md" >> "$errorsFile"
echo "" >> "$errorsFile"
## Main body
while IFS= read -r line
do
wait
if [ $(($counter % 15)) -eq 0 ]; then
printf "Archive.org doesn't accept more than 15 links per min; sleeping for 1min...\n\n"
sleep 1m
fi
echo "Url: $line"
urlAlreadyContained=$(grep "$line" "$archivedLinksFile")
if [ "$urlAlreadyContained" == "" ]; then
archiveURL=$(archivenow --ia $line)
if [[ "$archiveURL" == "Error"* ]]; then
echo "$line" >> "$errorsFile"
echo "$archiveURL" >> "$errorsFile"
echo "" >> "$errorsFile"
echo "There was an error. See $errorsFile for how to deal with it."
else
echo "$archiveURL" >> "$archivedLinksFile"
fi
counter=$((counter+1))
numSecondsSleep=$((5+ ($RANDOM%15)))
sleep $numSecondsSleep
else
archiveURL="$urlAlreadyContained"
fi
echo $archiveURL
echo ""
done < "$input"
echo "Done."
echo ""
}
function addArchiveLinksToFile(){
originalFile="$1"
originalFileTemp="$originalFile.temp"
linksFile="$1.links"
archivedLinksFile="$1.links.archived"
errorsFile="$1.links.errors"
longNowFile="$1.longnow"
echo "Creating longnow file @ $longNowFile..."
rm -f "$longNowFile"
touch "$longNowFile"
cp "$originalFile" "$originalFileTemp"
while IFS= read -r url
do
wait
archivedUrl=$(grep "$url" "$archivedLinksFile" | tail -1)
if [ "$archivedUrl" != "" ]; then
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
##else
##echo "There was an error for $url; see the $errorsFile"
fi
done < "$linksFile"
mv "$originalFile" "$longNowFile"
mv "$originalFileTemp" "$originalFile"
echo "Done."
}
function longnow(){
doesArchiveNowExist=$(whereis "archivenow")
if [ "$doesArchiveNowExist" == "archivenow:" ]
then
echo "Required archivenow utility not found in path."
echo "Install with \$ pip install archivenow"
echo "(resp. \$ pip3 install archivenow)"
echo "Or follow instructions on https://github.com/oduwsdl/archivenow"
else
getMdLinks $1
pushToArchive $1.links
addArchiveLinksToFile $1
numLinesErrorFile=$(wc -l "$1.md.links.errors" | awk '{ print $1 }')
if [ "$numLinesErrorFile" > 4 ] ;then
echo "It seems that there are errors. To view and deal with them, see the $1.links.errors file"
fi
fi
}
longnow "$1" ## don't copy this line into your .bashrc file

Binary file not shown.

View File

@ -0,0 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.6~focal-1
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Homepage: https://github.com/NunoSempere/longNowForMd
Standards-Version: 4.4.1
Build-Depends: debhelper-compat (= 12)
Package-List:
longnow deb utils optional arch=all
Checksums-Sha1:
6b5d479566d7188cf647fdcb5f0619f211902a55 1896 longnow_0.6~focal.orig.tar.xz
c55dcb2c8bd17f9d9c8640d53764567cabffcd9e 2044 longnow_0.6~focal-1.debian.tar.xz
Checksums-Sha256:
eb9624826f0424e43227f6ff37f2cb900fa3b630fc395cb296f63fe26c5ccc7d 1896 longnow_0.6~focal.orig.tar.xz
0715e09a1ddeab4b7b2e39f009f4622e315d36553c4d6f6c28ea56bd884ec342 2044 longnow_0.6~focal-1.debian.tar.xz
Files:
3b6c3d99f48889e9bf80587a2f929613 1896 longnow_0.6~focal.orig.tar.xz
c986fdbc541be42cc4467286178e1a75 2044 longnow_0.6~focal-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMkMZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV1DQC/9NRadxk4VGIPeavWY2pk04
HCB//LEg9PS8OXo0gJ5+VNSH4KZAQzsyccNvshuG3XNa42opsoEel1hWJ4yRn0I0
cFwsUPTlaU05cn4OpVtjXclE1XGC6BpWzkHooaeyU+Bbwk8nBFOaynFlJub/9Bzm
IGxmBkW1I49+iPtK5ipjPoMQFKkzkEXjRaDN5jqdE2JMXQDMr+X2WO+juC6QrgsK
09C+AC/IfhFurATG19cuFA8wKR9Wi94ECVrnUPRbD/j0Jr3bdRhf4tF0PPT/d2XX
Snm+UZZKg03QLP/Zs85M6hYZv6dGKMDhwke2AAN4OchlVdnLLBXQKR24nUWrb+8d
BOOWIlRsPWOBylGX6NlsWq6dFsymVtyZn3YkOwYc7+pfIGCBZD4PyjTRf9V6r5cx
zybs9gM4jIJlNOPHMYm3+n+molk0h17GsMWL1Msn3UpEpNs0Il1BzB62ne0sG0kg
TYwxdgwsRF9S6oGZ+DwC7VldTWoD6TSw/U41Ku9iKoc=
=jVbs
-----END PGP SIGNATURE-----

View File

@ -1,6 +1,6 @@
dpkg-buildpackage -us -uc -ui -S
dpkg-buildpackage: info: source package longnow
dpkg-buildpackage: info: source version 0.4~focal-1
dpkg-buildpackage: info: source version 0.6~focal-1
dpkg-buildpackage: info: source distribution focal
dpkg-buildpackage: info: source changed by Nuno Sempere <nuno.semperelh@gmail.com>
dpkg-source --before-build .
@ -9,25 +9,25 @@ dh clean
dh_clean
dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building longnow using existing ./longnow_0.4~focal.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.4~focal-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.4~focal-1.dsc
dpkg-source: info: building longnow using existing ./longnow_0.6~focal.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.6~focal-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.6~focal-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../longnow_0.4~focal-1_source.changes
dpkg-genchanges --build=source >../longnow_0.6~focal-1_source.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian longnow_0.4~focal-1_source.changes ...
Now running lintian longnow_0.6~focal-1_source.changes ...
E: longnow source: debian-rules-is-dh_make-template
Finished running lintian.
Now signing changes and any dsc files...
signfile dsc longnow_0.4~focal-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
signfile dsc longnow_0.6~focal-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.4~focal-1.dsc longnow_0.4~focal-1_source.buildinfo
signfile buildinfo longnow_0.4~focal-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.6~focal-1.dsc longnow_0.6~focal-1_source.buildinfo
signfile buildinfo longnow_0.6~focal-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.4~focal-1.dsc longnow_0.4~focal-1_source.changes
fixup_changes buildinfo longnow_0.4~focal-1_source.buildinfo longnow_0.4~focal-1_source.changes
signfile changes longnow_0.4~focal-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.6~focal-1.dsc longnow_0.6~focal-1_source.changes
fixup_changes buildinfo longnow_0.6~focal-1_source.buildinfo longnow_0.6~focal-1_source.changes
signfile changes longnow_0.6~focal-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
Successfully signed dsc, buildinfo, changes files

View File

@ -5,16 +5,16 @@ Format: 1.0
Source: longnow
Binary: longnow
Architecture: source
Version: 0.4~focal-1
Version: 0.6~focal-1
Checksums-Md5:
75ce90c0b0dc17219f4707d59fc589de 1604 longnow_0.4~focal-1.dsc
c00784a11e85f4a64acca6e429966199 1604 longnow_0.6~focal-1.dsc
Checksums-Sha1:
86925abb62185702d58dfdd290d5b3a2b6ce79a0 1604 longnow_0.4~focal-1.dsc
85bfbb4d32baccf06ef7d86821b3ae1b95383b8a 1604 longnow_0.6~focal-1.dsc
Checksums-Sha256:
e7d217e0b8fc599fb153ba68bad8885c56af6b59cb27d0eba880736939117338 1604 longnow_0.4~focal-1.dsc
6f5c0476f8e40eda2d5188f313fb7791735bee1f9f5f38fe5a6a02a20594341b 1604 longnow_0.6~focal-1.dsc
Build-Origin: Ubuntu
Build-Architecture: amd64
Build-Date: Mon, 28 Jun 2021 17:35:46 +0200
Build-Date: Mon, 28 Jun 2021 22:34:09 +0200
Build-Tainted-By:
merged-usr-via-symlinks
usr-local-has-configs
@ -175,19 +175,19 @@ Environment:
LC_PAPER="de_AT.UTF-8"
LC_TELEPHONE="de_AT.UTF-8"
LC_TIME="de_AT.UTF-8"
SOURCE_DATE_EPOCH="1624894532"
SOURCE_DATE_EPOCH="1624912448"
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7FgZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVxAqC/45VsKlZvmTl6ujYsLcMaow
Xr2WMXz6uv/IBFjqIOsG/0Q/7uVSLZRZifBgsVdn9WUeTt0qJaQnl5/IDRscsqFL
SdL7UBIW6s7wgO/3hFZDklK9VEUNhd9w5MqZFY221UTBCXczNFEumLT0uARTMTrS
9OsOgD5/gmfK/yyb2nI8PARXEyIlErwmcfADApzXZ2J4S2VNIhY1Ip4xadnU//yT
mxkXcJbkJCvU6t8zDCF5Z3m/zedy41POPMVbBQPdTk+mIWoNfzmtDIY7Y81p96b/
zEc4afLjyGrWnjWzr8sHU/45KNcZCxcrmsq7FdowNsnPDJeyk3FwGnjfuTxyBIMC
L81UtehkIXfckFGwRvm1o7vjWb/nrWlX5lDVJOLWeFp19mvTwyO19d65XY7T504o
bP0+UVavPEko99uT/FqZrdsL3Aybb5qQx3Yy2dUcK+1kn7GGJg1OVrZNKl9+wBDQ
1lHF6sCav8uO5IX8WPmLu4xLMZ1WAxnLQ+DDfZnCD8Y=
=cP7e
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMkMZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV1EbC/93+A3cZAMMB+Mse5VsfLq6
3MM7Qsox8i4OY0E8xkeynwqk00ETbmG+ob5X3NSA2pzxefZoJLoKoYVoUo+HRmp7
DEyKwDnonDvOB1j3hrsm53t7q3EgqErINcM07k9HoKzko4hFQvVCP9z5VDeXoiTu
EgO9+0W8PE2qRCzSf5mpwe7PQH7vFbbAuziIXYQ9AxGfIFfaI5sIMxClGk2sCkJ9
C9dmwYv34ptNn4ABBN3DQquoukeMNy20vNyIrl6RaDFKWzmm6fGBkPVmw8RzSDAI
sspr8vHv5eqFy48OX8EtcRFu+KSc1DVQAQ8XS2jQ9zRFpPgeCsBG19WA8bk+HQ2i
pYmmJjdAHZSXcYu0pXIp2qWVGPyfQUDO/CVS88l1Y1HO4yY55BanC2xnj7Pu8Bup
G9XkttSzWcoOIXyCcaLcjJ/81+XwVJIImgtIMPV6fjayVoFEJgFc7oW8nPvlVLf7
1jYNsmOUas8e8dZXH4flH1lpuvUDpjBpWxOeuuvJa+U=
=mI++
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Jun 2021 22:34:08 +0200
Source: longnow
Architecture: source
Version: 0.6~focal-1
Distribution: focal
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.6~focal-1) focal; urgency=medium
.
* Better error messages
Checksums-Sha1:
85bfbb4d32baccf06ef7d86821b3ae1b95383b8a 1604 longnow_0.6~focal-1.dsc
6b5d479566d7188cf647fdcb5f0619f211902a55 1896 longnow_0.6~focal.orig.tar.xz
c55dcb2c8bd17f9d9c8640d53764567cabffcd9e 2044 longnow_0.6~focal-1.debian.tar.xz
a2c44617e62705dd87ee31a9f15e3e0c164000f2 6156 longnow_0.6~focal-1_source.buildinfo
Checksums-Sha256:
6f5c0476f8e40eda2d5188f313fb7791735bee1f9f5f38fe5a6a02a20594341b 1604 longnow_0.6~focal-1.dsc
eb9624826f0424e43227f6ff37f2cb900fa3b630fc395cb296f63fe26c5ccc7d 1896 longnow_0.6~focal.orig.tar.xz
0715e09a1ddeab4b7b2e39f009f4622e315d36553c4d6f6c28ea56bd884ec342 2044 longnow_0.6~focal-1.debian.tar.xz
933e4f24d1ac55d03bf494b3aeed384b22477c9e34c7e79dca871521eee9f153 6156 longnow_0.6~focal-1_source.buildinfo
Files:
c00784a11e85f4a64acca6e429966199 1604 utils optional longnow_0.6~focal-1.dsc
3b6c3d99f48889e9bf80587a2f929613 1896 utils optional longnow_0.6~focal.orig.tar.xz
c986fdbc541be42cc4467286178e1a75 2044 utils optional longnow_0.6~focal-1.debian.tar.xz
0a97edae0eae3d7b6a37040861cc4405 6156 utils optional longnow_0.6~focal-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMkMZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV9EYC/4uhWUD0q+VQlUuocOZmyt+
0NLLtl1ZKuDXs8cEBieq27OCeCwLn5Y+Z+cAOnhCwY9vdVOOir35Hwk2mpBUOcmD
8w3hCLlb+sl1QtPBtzZSwvnE6ymRgxQuvjwaM/WMi0EVGlZZJLmElwSocZ/IZ1T0
wFSok1AlbAV1DQ1+XYDyPhm0fSeyQd9UeM6KV3nh8HkPInoGih82kS7bRlQQo/pG
3IOKzOs3zYn3j31iA2AR3twXdd1XXqRA6ULhWLZCy3LOHYn//YhovYCHTUq4QZZE
VAdIHyFv8gGvGXfO7gW5lpt04QwvpAZFWtfvNe9dw4nEa0c8V186WuqjSyqGxzfz
0yW1oQX/qib4hgW2zV5lOIMBR0cRVHa/h6pauL4hIK0O8MwU7lP3mdMueX11lCMF
U+NaufbVrIkBGeWfehDPa0kWZYHo93e2TLIo3uuu58qCcxjCFvINHUize7a+ymC1
GvwgtQS3WwQja1ERSsnHRFC1TGUTW3xKVOaeoRLHkiY=
=ywh+
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,5 @@
Successfully uploaded longnow_0.6~focal-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~focal.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~focal-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~focal-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~focal-1_source.changes to ppa.launchpad.net for ppa.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.6~groovy-1
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Homepage: https://github.com/NunoSempere/longNowForMd
Standards-Version: 4.4.1
Build-Depends: debhelper-compat (= 12)
Package-List:
longnow deb utils optional arch=all
Checksums-Sha1:
e4c27ef0fc38255a778c1d0529489df995371745 1900 longnow_0.6~groovy.orig.tar.xz
143ae0a10187169e83bdafb8ac96915e735f7640 2048 longnow_0.6~groovy-1.debian.tar.xz
Checksums-Sha256:
5c14c9deb6b70a9b8c5547cdac21aba817946e891f4819f982235d23796fa55c 1900 longnow_0.6~groovy.orig.tar.xz
103ced3b3e5141c470d7878bfe0fd57384cdf6a3a88f62c6144d5d0dab3a7c8e 2048 longnow_0.6~groovy-1.debian.tar.xz
Files:
41547a222c098c8c75dc9d4b1f66e6f3 1900 longnow_0.6~groovy.orig.tar.xz
a02e93fbb442c7296430cdf9bb943401 2048 longnow_0.6~groovy-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMkgZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVw1SC/9jUSGG4jgNKfdwSxBiSLjO
BikUc30eGRzoM0ySLSEAF1/PTSaZLVCZgwqPLif8J37npdcWSm1JKUWun4VqH76y
rwnoIQfZ2E4ijBQlYuGVd3cnLoTolo1mEkjSyeSH/GHFb7P+iFNyY/Sv2BDcoQ26
EZCqaR0miHyZesU4A5XLppfIZ0qwHIQDByQyBANKsqGW5urGQ/n11btKqmCLpivK
0P92lflfIB22pH7fS0Hi4fXdiCA3pPuyeFJL8Hw2ApJRk7/qgeqiwKY5aQW6jHf7
6FCZiy5Ubsw0dLheDAPzC/Zod4DruF01leWnTfx7vKuB5n5Z7LbJXFUlXMJXU78S
i/n95J/CMkP/Cjpz65hb6fj83IrzTMeMrcCl6yHlvE0E583tv6vx6pZcSQjNhdcj
BLmxlbzlYgySSYgYSkRVvU/X8psI4l9cClgUllH4dE5v8jNqCS2yQ+SaDR+6olwq
8xattHWbeUN+CilhrqO1fb4CLAHtDgozj7Fa05+Ma1w=
=qWln
-----END PGP SIGNATURE-----

View File

@ -1,6 +1,6 @@
dpkg-buildpackage -us -uc -ui -S
dpkg-buildpackage: info: source package longnow
dpkg-buildpackage: info: source version 0.4~groovy-1
dpkg-buildpackage: info: source version 0.6~groovy-1
dpkg-buildpackage: info: source distribution groovy
dpkg-buildpackage: info: source changed by Nuno Sempere <nuno.semperelh@gmail.com>
dpkg-source --before-build .
@ -9,25 +9,25 @@ dh clean
dh_clean
dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building longnow using existing ./longnow_0.4~groovy.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.4~groovy-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.4~groovy-1.dsc
dpkg-source: info: building longnow using existing ./longnow_0.6~groovy.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.6~groovy-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.6~groovy-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../longnow_0.4~groovy-1_source.changes
dpkg-genchanges --build=source >../longnow_0.6~groovy-1_source.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian longnow_0.4~groovy-1_source.changes ...
Now running lintian longnow_0.6~groovy-1_source.changes ...
E: longnow source: debian-rules-is-dh_make-template
Finished running lintian.
Now signing changes and any dsc files...
signfile dsc longnow_0.4~groovy-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
signfile dsc longnow_0.6~groovy-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.4~groovy-1.dsc longnow_0.4~groovy-1_source.buildinfo
signfile buildinfo longnow_0.4~groovy-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.6~groovy-1.dsc longnow_0.6~groovy-1_source.buildinfo
signfile buildinfo longnow_0.6~groovy-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.4~groovy-1.dsc longnow_0.4~groovy-1_source.changes
fixup_changes buildinfo longnow_0.4~groovy-1_source.buildinfo longnow_0.4~groovy-1_source.changes
signfile changes longnow_0.4~groovy-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.6~groovy-1.dsc longnow_0.6~groovy-1_source.changes
fixup_changes buildinfo longnow_0.6~groovy-1_source.buildinfo longnow_0.6~groovy-1_source.changes
signfile changes longnow_0.6~groovy-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
Successfully signed dsc, buildinfo, changes files

View File

@ -5,16 +5,16 @@ Format: 1.0
Source: longnow
Binary: longnow
Architecture: source
Version: 0.4~groovy-1
Version: 0.6~groovy-1
Checksums-Md5:
755b32a4140b78b484bb937e138cafb4 1611 longnow_0.4~groovy-1.dsc
6e0967c8b625d9ebcf103b3aae056e3c 1611 longnow_0.6~groovy-1.dsc
Checksums-Sha1:
784ed1829deac188dffcf45e4d329c1a601238e9 1611 longnow_0.4~groovy-1.dsc
1ee6e59015ae6f38e17e3c9e8b99738f0cc4874b 1611 longnow_0.6~groovy-1.dsc
Checksums-Sha256:
589ff5545636f832507490a353aa50f5f563dac1b2ff133167ba7fe288382159 1611 longnow_0.4~groovy-1.dsc
8641deeb38f4b31a2d6e9d749bd16fd722a9d0aabe488236f17628b3a8069a72 1611 longnow_0.6~groovy-1.dsc
Build-Origin: Ubuntu
Build-Architecture: amd64
Build-Date: Mon, 28 Jun 2021 17:37:07 +0200
Build-Date: Mon, 28 Jun 2021 22:34:14 +0200
Build-Tainted-By:
merged-usr-via-symlinks
usr-local-has-configs
@ -175,19 +175,19 @@ Environment:
LC_PAPER="de_AT.UTF-8"
LC_TELEPHONE="de_AT.UTF-8"
LC_TIME="de_AT.UTF-8"
SOURCE_DATE_EPOCH="1624894595"
SOURCE_DATE_EPOCH="1624912453"
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7KUZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV+nCC/wOQnMMlAjEN1dRU6Y/Tvjo
uBAZUaKeUkRAmZzd26LnA/eHsfzl+TJiFutw3WW6JJ7uML6IWQwZEPQ37HLZDBzS
FHIo6MxCncq8tEq3tq9ME9lcaT5i8Cb7CM9w5iSC86dCUcEC0r8CUY0BL1S7bhHU
XMriV3MHXxRQLJXunB8rY7B5f09xA0TFF/fwj00g4oPKYbwG2cSDAE9dXvWcsHuu
P2jK/MxujEqf7q1EE5ZnTr+wySyWJNjbbkXdIH4Bt4OgMPiAAjkUgfrscVWMfvoH
x0dp7YCce34e3z+HmWfRIR92Vk2oJxssShH48LWlktnVckig5MvorawIPhoN9ZV/
1CXnlDeZAivkoe8ibUPWkwG1SzWIs195yz7pjqqbL3J6A98B7c4Q7CEuhgVBg1IE
thEt5orq/46hn1OjJqdlfij/oOjjkn7RmRwwC0cSFB86yk6yt2L0A2xrL2kYikcR
Yz6TF7yYczbsqMrU6R664EuPB6/lTQ2gJI/9xl0t6ZU=
=LPrR
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMkkZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV4M9C/99c3C8Kqf8so+S+Xvlgxpb
LYLJoHlHaBqRoWYRnxo9wJUmge9WB86ndaKTwzzv5MNTtZ+LGSAVVA8RjDZP91Kb
PZo8d3Eg2lcQiTOOIh5gk6q4AmKG2HN1QIzPkBYYfMRp7rP05cM9TkalCP9ucjIZ
WrclQviWTRx3NjStBiY12beG9+URXtjcoBedham+xLEi4MCkzcxbN2bDCYinGhFM
7u4WHhj1MmEy+SVq8TRFVhUd7bfFSym31+4OdjdBVV/SnKoiSEMY9O/U973W5Hia
VRCUFQVUSODe81kdekWClVwCeIRaJj8pdxE9SGNmXbaSPC1UEMTxWkEj5GWdnJia
zffytgrGZxiaetUG9d/m6fSbyqS++FxjzFP7ka3vAsVqPdbow8U5bDL8lUE11wnK
KypVAJi4RI1+R+OjUJwuuIDI2Sv0tvvmhAOprIEc9UDDksOWLyV3BYp2GL8AiJl4
YfNLQuUlzcz7lT3k7VZJ4yuE0i9llLfNCcExvm6NXIM=
=n6DP
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Jun 2021 22:34:13 +0200
Source: longnow
Architecture: source
Version: 0.6~groovy-1
Distribution: groovy
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.6~groovy-1) groovy; urgency=medium
.
* Better error messages
Checksums-Sha1:
1ee6e59015ae6f38e17e3c9e8b99738f0cc4874b 1611 longnow_0.6~groovy-1.dsc
e4c27ef0fc38255a778c1d0529489df995371745 1900 longnow_0.6~groovy.orig.tar.xz
143ae0a10187169e83bdafb8ac96915e735f7640 2048 longnow_0.6~groovy-1.debian.tar.xz
569838ad4c0007482f616b73bd8e8a57185b4957 6160 longnow_0.6~groovy-1_source.buildinfo
Checksums-Sha256:
8641deeb38f4b31a2d6e9d749bd16fd722a9d0aabe488236f17628b3a8069a72 1611 longnow_0.6~groovy-1.dsc
5c14c9deb6b70a9b8c5547cdac21aba817946e891f4819f982235d23796fa55c 1900 longnow_0.6~groovy.orig.tar.xz
103ced3b3e5141c470d7878bfe0fd57384cdf6a3a88f62c6144d5d0dab3a7c8e 2048 longnow_0.6~groovy-1.debian.tar.xz
7f14b9eecd5260861cc673f2e89e3955b16649023856d6d3d6c1932474f5fac3 6160 longnow_0.6~groovy-1_source.buildinfo
Files:
6e0967c8b625d9ebcf103b3aae056e3c 1611 utils optional longnow_0.6~groovy-1.dsc
41547a222c098c8c75dc9d4b1f66e6f3 1900 utils optional longnow_0.6~groovy.orig.tar.xz
a02e93fbb442c7296430cdf9bb943401 2048 utils optional longnow_0.6~groovy-1.debian.tar.xz
12628dfd67fe854f8b2a3bc243519857 6160 utils optional longnow_0.6~groovy-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMkkZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV/z/C/99iJRMdcVQK7tZCkarRvsH
zKbBokWXN2XYDlo5ShxwFDTJAIhIiaBwPL5lkhs9WEGlHWBAeL5T7rLhON42V2T8
gXNQtlKCJQT3OcviiUBt/7sgpeOGacWMBDvq5ClamIi9a/njowZgN2/psNEA7+BU
vt7hbxdEbHfFUlb786JwCg2eirA5icn7lkHIiErQaYkJM7PcHfkZVlYEV1Rr8Hnj
+jIDo4y099n3uq9g7vnUqQuqPK6PwVKLkZhffkcOjkiAHfkFTzljZzdF/uvUAAXB
xhowjEaIl6JsDiMqsalQhXi+WEy6D1Kkp0LXiwBodxcUf/sOy7+4hr57GR5LroXb
1gI4wvv09oHvo3SeqmBwGbXELuK7h52FZbUNPCg5zC57fJOX4LbBtv4CUanuT7l7
ifOqHi5b9lNUT0HsoSuwLzNBGLomsG3FVpI5VH/cKGqD4fNjkD81DVurVLdJrE/W
vgweDNGluwKVDr/Ef7K9e8kUE5u7YyoT9SOutgM8uMI=
=4Sfx
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,5 @@
Successfully uploaded longnow_0.6~groovy-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~groovy.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~groovy-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~groovy-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~groovy-1_source.changes to ppa.launchpad.net for ppa.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.6~hirsute-1
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Homepage: https://github.com/NunoSempere/longNowForMd
Standards-Version: 4.4.1
Build-Depends: debhelper-compat (= 12)
Package-List:
longnow deb utils optional arch=all
Checksums-Sha1:
4c97fff0bc785f21bb003871e77803bdab443794 1896 longnow_0.6~hirsute.orig.tar.xz
c07fe1c52cf5ecbb7ba57baf6fd7c7f66d99b969 2048 longnow_0.6~hirsute-1.debian.tar.xz
Checksums-Sha256:
2a43465def0335c7fa751c4b4d501f00007ac8355117016a1fbe439bf9b4f7c7 1896 longnow_0.6~hirsute.orig.tar.xz
335403b603da2cc780791c9c2de1a68987f3ac249743934c48be38a5e39a67d0 2048 longnow_0.6~hirsute-1.debian.tar.xz
Files:
7147bac0bba57b85e6264339c342f104 1896 longnow_0.6~hirsute.orig.tar.xz
2337d7ad2ebdc921702d193279ba92f8 2048 longnow_0.6~hirsute-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMk4ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV5+EDACe06/+0f3OCQc8ZsbVlvCz
zX/IASgOdu9XHhtbtf5B/gfxcZr/AaSTHek/WuZjIxyKypFXP8rIX2nK1sXqzLR4
NZL4Sa9VTgUOcDQlpD217m4961LAJhylfqC0uLBk4OvUSpkp/r0fdnJxsgYKHSeL
z/Bh7i4GmTSEhRuPXXnXX4Z0e81xx1sByZnRcvKl+1/Gfl42f7oFqe3eGUHXtza+
Bo0RIPDNB+k18ycgW58K+aJ597agjjju7euHEaiAi45kCLhDDUSpu9aK691ZX+Is
rF/KCfKofCdTemKCCrCeP3DWV4PAZLoqJ6AlS8MS2iVod5uoVrGoCdQv+0oKeh0a
4uE6N61eZoqPxt4ki5hNZbyvhPwJ6HL64aSDnOSxTkaov3LtnzEsEzQwYivKoxV4
Xj219uJNssSRijB0uejByKIlnMxnJ+eAIIwOO/j/x5tKUnnEZZ35kdgNltu+OXwq
J8ubs5QkfbdlbfV7DYdldVU7GWCp4g3DlS1kD3ZvGUI=
=9HgN
-----END PGP SIGNATURE-----

View File

@ -1,6 +1,6 @@
dpkg-buildpackage -us -uc -ui -S
dpkg-buildpackage: info: source package longnow
dpkg-buildpackage: info: source version 0.4~hirsute-1
dpkg-buildpackage: info: source version 0.6~hirsute-1
dpkg-buildpackage: info: source distribution hirsute
dpkg-buildpackage: info: source changed by Nuno Sempere <nuno.semperelh@gmail.com>
dpkg-source --before-build .
@ -9,25 +9,25 @@ dh clean
dh_clean
dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building longnow using existing ./longnow_0.4~hirsute.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.4~hirsute-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.4~hirsute-1.dsc
dpkg-source: info: building longnow using existing ./longnow_0.6~hirsute.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.6~hirsute-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.6~hirsute-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../longnow_0.4~hirsute-1_source.changes
dpkg-genchanges --build=source >../longnow_0.6~hirsute-1_source.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian longnow_0.4~hirsute-1_source.changes ...
Now running lintian longnow_0.6~hirsute-1_source.changes ...
E: longnow source: debian-rules-is-dh_make-template
Finished running lintian.
Now signing changes and any dsc files...
signfile dsc longnow_0.4~hirsute-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
signfile dsc longnow_0.6~hirsute-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.4~hirsute-1.dsc longnow_0.4~hirsute-1_source.buildinfo
signfile buildinfo longnow_0.4~hirsute-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.6~hirsute-1.dsc longnow_0.6~hirsute-1_source.buildinfo
signfile buildinfo longnow_0.6~hirsute-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.4~hirsute-1.dsc longnow_0.4~hirsute-1_source.changes
fixup_changes buildinfo longnow_0.4~hirsute-1_source.buildinfo longnow_0.4~hirsute-1_source.changes
signfile changes longnow_0.4~hirsute-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.6~hirsute-1.dsc longnow_0.6~hirsute-1_source.changes
fixup_changes buildinfo longnow_0.6~hirsute-1_source.buildinfo longnow_0.6~hirsute-1_source.changes
signfile changes longnow_0.6~hirsute-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
Successfully signed dsc, buildinfo, changes files

View File

@ -5,16 +5,16 @@ Format: 1.0
Source: longnow
Binary: longnow
Architecture: source
Version: 0.4~hirsute-1
Version: 0.6~hirsute-1
Checksums-Md5:
b3ea5c9b6b26aecf6413a70e377cb0fc 1618 longnow_0.4~hirsute-1.dsc
764a51a7f05511e91d99babdd16a53ac 1618 longnow_0.6~hirsute-1.dsc
Checksums-Sha1:
9186764d3543b3738033ca22ab3f0bad6baf9adc 1618 longnow_0.4~hirsute-1.dsc
2b2ecfd1d9178ea3b326ff1b2caa44ee26f1cbff 1618 longnow_0.6~hirsute-1.dsc
Checksums-Sha256:
e098f33491d4101bc97362e558399a7f69e0377fcda650742790a4ebe4dd77bb 1618 longnow_0.4~hirsute-1.dsc
5b2c4c80961d9845f6b4d06ff4ba6fdc3e2cd3b096ef83710096b922f6d2c328 1618 longnow_0.6~hirsute-1.dsc
Build-Origin: Ubuntu
Build-Architecture: amd64
Build-Date: Mon, 28 Jun 2021 17:37:50 +0200
Build-Date: Mon, 28 Jun 2021 22:34:20 +0200
Build-Tainted-By:
merged-usr-via-symlinks
usr-local-has-configs
@ -175,19 +175,19 @@ Environment:
LC_PAPER="de_AT.UTF-8"
LC_TELEPHONE="de_AT.UTF-8"
LC_TIME="de_AT.UTF-8"
SOURCE_DATE_EPOCH="1624894650"
SOURCE_DATE_EPOCH="1624912459"
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7NAZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV4g3DACPsE2/wiwxEhf6D/ILh+Ti
LiBX+cquxs5uBXv0imnTi7jj+iEf7ZgBtRcTAwVkexzPRxAkFFhik5d5wCkFHDvk
24g2MuZ3b8M1DqTJB0NDX7d7JSzJdbAp1RrgIpMohijWArOaiPTdu4SFnQKRVWu5
mpNbgXesMI+ClcIM6Jb0guRccUATg2oLBI8s2w7Q+/HapNxJ7q15IXHnN1tkAzRS
4TuG2CVfeCjqyHv5ujNfPsVfp1x1R6gCQs+dMdgzraq51T2901ctQ2inzDL5L33E
JbC5WsKDZwMtXqNGAlbwbG6n9jg0yikJ5oomAykS0UKAS5Fi+pt2ToyYLfHXkflf
gXwJ0Q9NKSctUNS64BsKD+JjhdAT5AQ4rYG9hY2qa4ee84rKmuC0/jyslhPxgAOF
sdi/su/IbpTcy2yaCcy3nKG190/4l3MyPY4CNBZh3+4bmZiVaUwxj24AkqYST4jn
asPU8ET5nna79ezXFOY/vaFkWuWg0FREIyck/RWK870=
=iWXh
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMk4ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV9ZVDACKnbZcI1eO8Z+vWz8QFmKr
/2VNiSx1MSZl1Q2cef3z5rnsNOImPUPuroiyh8ZuYVF3xy3Pqw3GfWu6QXr8plq+
nfNl3EH3tJOWUUsVpsuYO5P3n1lOYE46rUA6oS3tATL2F0aY9bojni5740WQXFVs
CfxmMSHwzIyEMUIckmTDMfo1w7B4GPyVyidxcbmTbEVmjnhRycSJ3aGX7ygpOVhB
+HzqM7UtDFXf4nq1y3AnfeIyqHomeLkn4F+4EqU8ryl5uA97DxLJjMzvzHyo5BkE
YSkHFgW3hN4rA3GWfjc4l6kR0M+yvmGxN1OrSnrfSEekRBKBMqlXM93XMMam6ebn
KHF0PqX+pZiOesnrq4tSZKKZ8Pxn8f0XDc89lEcBrVKLo7t4zzfz/TCn+ZD4uFDl
M9shj+LyNUj35CBYOm0CZOqMoD+29LYKYxfabbBmDTvp2+QXYakxaA/vLLwb0Bt6
gOSaHTeKGpYWs616Ci+AT2H7Ja+iM4vezPzikY6ZXBA=
=RUyU
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Jun 2021 22:34:19 +0200
Source: longnow
Architecture: source
Version: 0.6~hirsute-1
Distribution: hirsute
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.6~hirsute-1) hirsute; urgency=medium
.
* Better error messages
Checksums-Sha1:
2b2ecfd1d9178ea3b326ff1b2caa44ee26f1cbff 1618 longnow_0.6~hirsute-1.dsc
4c97fff0bc785f21bb003871e77803bdab443794 1896 longnow_0.6~hirsute.orig.tar.xz
c07fe1c52cf5ecbb7ba57baf6fd7c7f66d99b969 2048 longnow_0.6~hirsute-1.debian.tar.xz
e59de6906e063524ffe92654cc698bd7650054aa 6164 longnow_0.6~hirsute-1_source.buildinfo
Checksums-Sha256:
5b2c4c80961d9845f6b4d06ff4ba6fdc3e2cd3b096ef83710096b922f6d2c328 1618 longnow_0.6~hirsute-1.dsc
2a43465def0335c7fa751c4b4d501f00007ac8355117016a1fbe439bf9b4f7c7 1896 longnow_0.6~hirsute.orig.tar.xz
335403b603da2cc780791c9c2de1a68987f3ac249743934c48be38a5e39a67d0 2048 longnow_0.6~hirsute-1.debian.tar.xz
3e778275890a5c5133b6db5432c8b4c30fa53c0e9f96c2fe5e457428c009e203 6164 longnow_0.6~hirsute-1_source.buildinfo
Files:
764a51a7f05511e91d99babdd16a53ac 1618 utils optional longnow_0.6~hirsute-1.dsc
7147bac0bba57b85e6264339c342f104 1896 utils optional longnow_0.6~hirsute.orig.tar.xz
2337d7ad2ebdc921702d193279ba92f8 2048 utils optional longnow_0.6~hirsute-1.debian.tar.xz
652f13cf90fcb09a5abf3a714d3ddc32 6164 utils optional longnow_0.6~hirsute-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMk8ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV/hHDAChWfMqUH8UusK7wylzcYL2
54C+LxdW8RTfvhHeifhrhYsxG8t6Or++0gmyH1vTdEZXhsc/PM2Gsksxo4cK4it9
YsvtMUDSsA0mpD+fs3vWpUlVGmVNro2SXZb1i75/H1ycVevBkw4ZUaUSueaQPeny
Q7nR6tdkG0BWhyvkGMXtml/JkcGGjB6E9f8Hw9xxjHUws7Z8Tj2dU/AoMcYcjvok
AFtjv1wYzOTU1mqODgTbRF6LD/OQujsRA7e2f2IIfvZgeVNseUndhoEFvivDzSOX
gBbvZB6HETnaS25FREN3n2bD9jiHvlbsQl46poUPU1hwL/s3HljBsvIwXec0K5iJ
qhp7OsfaYozJMVGvAGgkWqmjLrUOso47OyUMFY8ki3L7rYp3aVNvMJ9PUvsraSYz
nz4RrHLQRN3eYQ0Bia/uQgL07/smH+T/rW4Jpx8lgWFw7ABLIGiqkm/m/Qq2P2Wz
rGSIFGPEOlMoO9HNb0rT5Jv4QkDsLhtXPB6GrFrkXs0=
=v2Op
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,5 @@
Successfully uploaded longnow_0.6~hirsute-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~hirsute.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~hirsute-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~hirsute-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~hirsute-1_source.changes to ppa.launchpad.net for ppa.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.6~impish-1
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Homepage: https://github.com/NunoSempere/longNowForMd
Standards-Version: 4.4.1
Build-Depends: debhelper-compat (= 12)
Package-List:
longnow deb utils optional arch=all
Checksums-Sha1:
61c8aeca5fffe55a4104f24c73d6a19b28557199 1900 longnow_0.6~impish.orig.tar.xz
212a0e0eb0cc5d76988d7123a1851ef4c0c67391 2048 longnow_0.6~impish-1.debian.tar.xz
Checksums-Sha256:
1ec760efdf0e5020daea404105dd1926ce8304c19ea29c4c13aa8772f4a40213 1900 longnow_0.6~impish.orig.tar.xz
380f3158b7d80776802cc8d5cae639eed882783af44ca65b3872a50c0dddea0a 2048 longnow_0.6~impish-1.debian.tar.xz
Files:
d708fd3e3fd5bcb9b435310bbd78a1b5 1900 longnow_0.6~impish.orig.tar.xz
6336c2bd9293361c69836bac9f8a30f7 2048 longnow_0.6~impish-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMlQZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVwf9C/sGHKP2PSh3X2e6Yh0fQpp8
r/YuPF3VIE0iKnq3ZUiY3X0FGwjOH847Oz2sN0zfKVLzzGKW63vE1qa6Z0ItBqyg
Hv74XCZ/4b90CrKzq4JxieyenD3CXNzsRirKhYcne/22JR5Oliq9L1ZiY3VJ//Dd
G286xv0FYIfwzhh8cwJHiO2+dtIomjZVkgVBqxaXNICGFe+p/A40GneTCULZLCfh
1dTtzXU5o0mLHwmMnqxnttG+S+hID4DMNTm5y5VQNUrxouy+idP/gRHHGN8bXTY/
F2JfaS2mozdKzCn5ZOM0ex7kKmL4BShP6GCXroGx8OS163s1h57QYem3jGKD2Pkb
KzPtD4nwnqqafcTKZ/UsY2cttInFCQrg8siRpHFpxfxhMkLBw7MjP+/B/yZ0EHca
yZ5k0fs6Gs60T1BxYs6ITAetTL4WsBRxXoEebmZN4p1DC9RBEgxfxIVlKYtOK8dX
lS6rxnIx4ULsXtbTFapLZmf01nujN2xCEGzTjF2Nb+U=
=PSTQ
-----END PGP SIGNATURE-----

View File

@ -1,6 +1,6 @@
dpkg-buildpackage -us -uc -ui -S
dpkg-buildpackage: info: source package longnow
dpkg-buildpackage: info: source version 0.4~impish-1
dpkg-buildpackage: info: source version 0.6~impish-1
dpkg-buildpackage: info: source distribution impish
dpkg-buildpackage: info: source changed by Nuno Sempere <nuno.semperelh@gmail.com>
dpkg-source --before-build .
@ -9,25 +9,25 @@ dh clean
dh_clean
dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building longnow using existing ./longnow_0.4~impish.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.4~impish-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.4~impish-1.dsc
dpkg-source: info: building longnow using existing ./longnow_0.6~impish.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.6~impish-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.6~impish-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../longnow_0.4~impish-1_source.changes
dpkg-genchanges --build=source >../longnow_0.6~impish-1_source.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian longnow_0.4~impish-1_source.changes ...
Now running lintian longnow_0.6~impish-1_source.changes ...
E: longnow source: debian-rules-is-dh_make-template
Finished running lintian.
Now signing changes and any dsc files...
signfile dsc longnow_0.4~impish-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
signfile dsc longnow_0.6~impish-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.4~impish-1.dsc longnow_0.4~impish-1_source.buildinfo
signfile buildinfo longnow_0.4~impish-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.6~impish-1.dsc longnow_0.6~impish-1_source.buildinfo
signfile buildinfo longnow_0.6~impish-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.4~impish-1.dsc longnow_0.4~impish-1_source.changes
fixup_changes buildinfo longnow_0.4~impish-1_source.buildinfo longnow_0.4~impish-1_source.changes
signfile changes longnow_0.4~impish-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.6~impish-1.dsc longnow_0.6~impish-1_source.changes
fixup_changes buildinfo longnow_0.6~impish-1_source.buildinfo longnow_0.6~impish-1_source.changes
signfile changes longnow_0.6~impish-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
Successfully signed dsc, buildinfo, changes files

View File

@ -5,16 +5,16 @@ Format: 1.0
Source: longnow
Binary: longnow
Architecture: source
Version: 0.4~impish-1
Version: 0.6~impish-1
Checksums-Md5:
f60c7616cad34f4eedf915f20ca31f32 1611 longnow_0.4~impish-1.dsc
c57df880025bbe1f01d71d551c068612 1611 longnow_0.6~impish-1.dsc
Checksums-Sha1:
1362c3ae45c423aa9c97508c08e23254aa1f0612 1611 longnow_0.4~impish-1.dsc
639a9a961806004053aaf3f135a5f498064b1c2e 1611 longnow_0.6~impish-1.dsc
Checksums-Sha256:
ddeb4d2d36b2ccd7b72c6efcc0f80a4edca2826a4af79f7f42fc91803f838693 1611 longnow_0.4~impish-1.dsc
611645718128812c83d80f2e0e11dedf52ba9ebc556245be5485f5b8665d702b 1611 longnow_0.6~impish-1.dsc
Build-Origin: Ubuntu
Build-Architecture: amd64
Build-Date: Mon, 28 Jun 2021 17:38:33 +0200
Build-Date: Mon, 28 Jun 2021 22:34:25 +0200
Build-Tainted-By:
merged-usr-via-symlinks
usr-local-has-configs
@ -175,19 +175,19 @@ Environment:
LC_PAPER="de_AT.UTF-8"
LC_TELEPHONE="de_AT.UTF-8"
LC_TIME="de_AT.UTF-8"
SOURCE_DATE_EPOCH="1624894692"
SOURCE_DATE_EPOCH="1624912464"
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDZ7PsZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVz2uC/9guIqAUCPKZKcrlcsv7ny6
JKlcji6KJZJldLeaJ0udrxmbEevilxW0PWYyOwvsvLWC0Eyrz9tOe92FhUIrQlTR
1uoGttQzD3DA3eTCXVYpVrlHjA7pOnby7pk86TWgBv5wpqpXk/BmIw/z0OvfwNQ8
hespeC19O1sRP6FbJwgWGEC87ID9bV1Onk+/q0JuuwquDgSolk1XXEXSO1WphWiu
5QtwFT1DGz2M9WD2JbxxdHVdTYyiRGQ8I25T8CaBUhCe+hRsLZwH9jol7vobp/yO
2lzWp6S8+sur071wK6ZG4Ma9HIh0NR2PqfwvG1eKo42GsC9RFrnJAKGDNyuk+8Fl
C6pRlfjUcDpmTkjzwFzpUlAyuHXKH10ISsOi9UQgEA/AZBmjD6rm6zgHwlxaXRUn
YM4i7Z/IrMw/c/IUuuUz6hpxBixIglsgpFOnPTcM7vHa+miQt/MKxX9QxA7GfCj9
lV4t3iEVcAzd9Cd4ndmbTrIhqqM0mYttYrtY7EGZdlg=
=PmbT
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMlQZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVzXDDACfzVGNE69bbjJbpytTK353
tDKxwxZAwrlXu0K0nD6PLxrKFCuSyIL57XQd3VdmCciPdgp7wA898rQY+72YP29s
s0zMvYFAtTjRvFc4Yua8qldEXtn2D14rgNo4pmxFXXpZu37UbBZ54vbB1LXeHfv2
N5F/lxrsts1ysSg4yE7GsyqU8p9oaBv5utH99dMvDro+juBc3XhkuBhOC23Pbv5K
/Lo0QuSp3qfDlInZRY0oldvNVK1oBh8/4MuBZyZA8YIRGVH53/aOMgw/AtdUNffQ
5BUZ7QMGl5CLkzw+2iAVuBbF/PEYq9rqukmfTepYmkMnwfbZ0TRDcZyprvCqXKBo
E70idvg1E6LR3Xe1QsSfqLQvvL7jDMPAQbI8ysm4QB2NZBCDoiTj3FlLIMNB4qLA
8Rg/gUd6iVCuWZhB/Ojza1j14Y5WsN4+2YFW9hONOL5pO2qwyIOyAtlX5Cf+KuCF
AbWowUxOO8jL4bxcceUMN5jESrrnF47vFNQlCbxlss8=
=EtAn
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Jun 2021 22:34:24 +0200
Source: longnow
Architecture: source
Version: 0.6~impish-1
Distribution: impish
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.6~impish-1) impish; urgency=medium
.
* Better error messages
Checksums-Sha1:
639a9a961806004053aaf3f135a5f498064b1c2e 1611 longnow_0.6~impish-1.dsc
61c8aeca5fffe55a4104f24c73d6a19b28557199 1900 longnow_0.6~impish.orig.tar.xz
212a0e0eb0cc5d76988d7123a1851ef4c0c67391 2048 longnow_0.6~impish-1.debian.tar.xz
3d61034a5752065a95e61bea56e96bb909a7787e 6160 longnow_0.6~impish-1_source.buildinfo
Checksums-Sha256:
611645718128812c83d80f2e0e11dedf52ba9ebc556245be5485f5b8665d702b 1611 longnow_0.6~impish-1.dsc
1ec760efdf0e5020daea404105dd1926ce8304c19ea29c4c13aa8772f4a40213 1900 longnow_0.6~impish.orig.tar.xz
380f3158b7d80776802cc8d5cae639eed882783af44ca65b3872a50c0dddea0a 2048 longnow_0.6~impish-1.debian.tar.xz
36f6d0c69df5c9a806ca83c5d3cce61b37d3596435b805db0543cd607e73bade 6160 longnow_0.6~impish-1_source.buildinfo
Files:
c57df880025bbe1f01d71d551c068612 1611 utils optional longnow_0.6~impish-1.dsc
d708fd3e3fd5bcb9b435310bbd78a1b5 1900 utils optional longnow_0.6~impish.orig.tar.xz
6336c2bd9293361c69836bac9f8a30f7 2048 utils optional longnow_0.6~impish-1.debian.tar.xz
ace8ffcb4a71a5236929eb48530eaecc 6160 utils optional longnow_0.6~impish-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDaMlQZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV6tAC/9uVlj8v0r9dPhbCfaOflKw
pRwvI276ofT7QqMK56SsrTcSdNntc3EbfKaxNHTjV/x5pBcQ3EYUodfHYNYS2DAr
gylhBFRA0ZEtP5lWCW7r4fkFtFmx/I3gdSGZP1yqq2Ker6tj/hbeRvkDpBZtIbWO
DIa2takjtmCyhBCOwWbJNSPuBETn2qGHZsxpgimmt+hOQ0UV6osxXM6XqtsUTqDf
BKIUhpDGyv4aXpS+eA3b4UyWfQqIm0axLGmwBpPqVbGvfz0CNqe4L0yFgf+fnLMs
wLqFe24Dyv6/SmKRxXVmq32/QA0clld1GfQSQa13zBchRc+sBVB+wE7x3QOxcF9r
0ISki45VSuxwD6OyDBw8R4fHxyu2vgbFwfl32l7mVQr2k6uJ4U8I77DrWq9WEk9z
A6Qcf0aPCTuZwmS1LCKUnekTLIABVkSvgnRLh6Gp7HjjX6+Eka7KQi2B5Mc6pK36
47H/dsz3Fh8/eb/QANk7szHglIRzGKIn1jcvJR99ZqI=
=5Mhu
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,5 @@
Successfully uploaded longnow_0.6~impish-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~impish.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~impish-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~impish-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.6~impish-1_source.changes to ppa.launchpad.net for ppa.

Binary file not shown.

View File

@ -1 +1,8 @@
These files outline how to place the longnow file in the `/usr/bin` directory with the adequate permissions for each of the last several Ubuntu releases.
These files outline how to place the longnow file in the `/usr/bin` directory with the adequate permissions, for each of the last several Ubuntu releases.
Because doing so is incredibly redundant (partly because I'm using a cannon to kill a mosquito), I can automate this process using the createSeries.sh utility. Doing it this ways means that people can install the repository using
```
$ sudo add-apt-repository ppa:nunosempere/longnowformd
$ sudo apt-get update
$ sudo apt install longnowformd
```

61
longnow Normal file → Executable file
View File

@ -23,22 +23,45 @@ function pushToArchive(){
input=$1
counter=1
rm -f "$1.archived"
touch "$1.archived"
## rm -f "$1.archived"
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
touch "$archivedLinksFile"
touch "$errorsFile"
## How to deal with errors that arise
echo "If this file contains errors, you can deal with them as follows:" >> "$errorsFile"
echo "- Do another pass with \$ longnow yourfile.md. If you don't delete yourfile.md.links.archived, past archive links are remembered, and only the links which are not there are sent again" >> "$errorsFile"
echo "- Input the offending links manually to https://archive.org/, add the results to the example.md.links.archived file manually, and then do another pass with \$ longnow yourfile.md" >> "$errorsFile"
echo "" >> "$errorsFile"
## Main body
while IFS= read -r line
do
wait
if [ $(($counter % 15)) -eq 0 ]
then
printf "\nArchive.org doesn't accept more than 15 links per min; sleeping for 1min...\n"
if [ $(($counter % 15)) -eq 0 ]; then
printf "Archive.org doesn't accept more than 15 links per min; sleeping for 1min...\n\n"
sleep 1m
fi
echo "Url: $line"
archiveURL=$(archivenow --ia $line)
echo $archiveURL >> "$1.archived"
urlAlreadyContained=$(grep "$line$" "$archivedLinksFile" | tail -1)
if [ "$urlAlreadyContained" == "" ]; then
archiveURL=$(archivenow --ia $line)
if [[ "$archiveURL" == "Error"* ]]; then
echo "$line" >> "$errorsFile"
echo "$archiveURL" >> "$errorsFile"
echo "" >> "$errorsFile"
echo "There was an error. See $errorsFile for how to deal with it."
else
echo "$archiveURL" >> "$archivedLinksFile"
fi
counter=$((counter+1))
numSecondsSleep=$((5+ ($RANDOM%15)))
sleep $numSecondsSleep
else
archiveURL="$urlAlreadyContained"
fi
echo $archiveURL
counter=$((counter+1))
echo ""
done < "$input"
@ -52,6 +75,7 @@ function addArchiveLinksToFile(){
originalFileTemp="$originalFile.temp"
linksFile="$1.links"
archivedLinksFile="$1.links.archived"
errorsFile="$1.links.errors"
longNowFile="$1.longnow"
echo "Creating longnow file @ $longNowFile..."
@ -63,13 +87,16 @@ function addArchiveLinksToFile(){
while IFS= read -r url
do
wait
archivedUrl=$(grep "$url" "$archivedLinksFile" | tail -1)
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
archivedUrl=$(grep "$url$" "$archivedLinksFile" | tail -1)
if [ "$archivedUrl" != "" ]; then
## echo "Url: $url"
## echo "ArchivedUrl: $archivedUrl"
urlForSed="${url//\//\\/}"
archiveUrlForSed="${archivedUrl//\//\\/}"
sed -i "s/$urlForSed)/$urlForSed) ([a]($archiveUrlForSed))/g" "$1"
##else
##echo "There was an error for $url; see the $errorsFile"
fi
done < "$linksFile"
mv "$originalFile" "$longNowFile"
mv "$originalFileTemp" "$originalFile"
@ -90,6 +117,10 @@ function longnow(){
getMdLinks $1
pushToArchive $1.links
addArchiveLinksToFile $1
numLinesErrorFile=$(wc -l "$1.md.links.errors" | awk '{ print $1 }')
if [ "$numLinesErrorFile" > 4 ] ;then
echo "It seems that there are errors. To view and deal with them, see the $1.links.errors file"
fi
fi
}