Further improvements

This commit is contained in:
NunoSempere 2021-06-30 22:58:58 +02:00
parent b8cfc113ad
commit 0a1b5f1727
92 changed files with 924 additions and 908 deletions

View File

@ -10,10 +10,10 @@ seriesFolder="$(pwd)/$1~series"
seriesNames=("focal" "groovy" "hirsute" "impish")
gitFolder="/home/nuno/Documents/core/software/fresh/bash/sid/longnowformd_package/longnow-git/"
rm -r "$stemFolder"
rm -rf "$stemFolder"
mkdir "$stemFolder"
rm -r "$seriesFolder"
rm -rf "$seriesFolder"
mkdir "$seriesFolder"
cp "$gitFolder/longnow" "$stemFolder/longnow"
@ -40,7 +40,7 @@ for seriesName in "${seriesNames[@]}"; do
sed -i "s|unstable|$seriesName|g" changelog
# Meaningful update message
sed -i 's|Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>|Small improvement; numeric comparison and deleting the old links file to allow for manual user intervention|g' changelog
sed -i 's|Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>|Minor tweak.|g' changelog
# Edit the control file; change "unknown" section to "utils" (or some other section)
sed -i 's|Section: unknown|Section: utils|g' control
@ -57,11 +57,15 @@ for seriesName in "${seriesNames[@]}"; do
wait
cd ..
dput ppa:nunosempere/longnowformd longnow_0.8~$seriesName-1_source.changes
dput ppa:nunosempere/longnowformd longnow_1.1~$seriesName-1_source.changes
wait
done
## How to use: ./createSeries.sh longnow-0.8
## How to use: ./createSeries.sh longnow-1.1
cp -r "$stemFolder" "$gitFolder/debian/$stemFolderName"
cp -r "$seriesFolder" "$gitFolder/debian/$stemFolderName~series"
cp "/home/nuno/Documents/core/software/fresh/bash/sid/longnowformd_package/createSeries.sh" "$gitFolder/debian/createSeries.sh"
sudo cp "$gitFolder/longnow" "/usr/bin/longnow"
sudo chmod 555 "/usr/bin/longnow"

View File

@ -1,5 +0,0 @@
longnow (0.9~focal-1) focal; urgency=medium
* Minor usability improvements
-- Nuno Sempere <nuno.semperelh@gmail.com> Tue, 29 Jun 2021 18:32:55 +0200

View File

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

View File

@ -1,5 +0,0 @@
longnow (0.9~groovy-1) groovy; urgency=medium
* Minor usability improvements
-- Nuno Sempere <nuno.semperelh@gmail.com> Tue, 29 Jun 2021 18:33:04 +0200

View File

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

View File

@ -1,5 +0,0 @@
longnow (0.9~hirsute-1) hirsute; urgency=medium
* Minor usability improvements
-- Nuno Sempere <nuno.semperelh@gmail.com> Tue, 29 Jun 2021 18:33:09 +0200

View File

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

View File

@ -1,5 +0,0 @@
longnow (0.9~impish-1) impish; urgency=medium
* Minor usability improvements
-- Nuno Sempere <nuno.semperelh@gmail.com> Tue, 29 Jun 2021 18:33:15 +0200

View File

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

View File

@ -1,132 +0,0 @@
#!/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
linksFile="$1.links"
linksFile2="$1.links2"
echo ""
echo "Extracting links..."
rm "$1.links" -f
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]++' "$linksFile" > "$linksFile2" && mv "$linksFile2" "$linksFile"
echo "Done."
numLinesLinkFile=$(wc -l "$linksFile" | awk '{ print $1 }')
totalTimeInMinutes=$(echo "scale=0; ($numLinesLinkFile*7.5 + 60*$numLinesLinkFile/15)/60" | bc)
echo "Expected to take $totalTimeInMinutes mins."
}
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
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
## rm -f "$archivedLinksFile"
rm -f "$errorsfile"
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 yourfile.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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
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"; 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.links.errors" | awk '{ print $1 }')
if [ "$numLinesErrorFile" -gt 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

View File

@ -1,38 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: longnow
Binary: longnow
Architecture: all
Version: 0.9~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:
200c0e401440ee6a0ad112a99bde8a72ef03a7c5 2024 longnow_0.9~focal.orig.tar.xz
eea14dc3320524cf4d85428d73e07164a71b3c58 2052 longnow_0.9~focal-1.debian.tar.xz
Checksums-Sha256:
3ae730632ae5eedf81c7d9af5354373bed2fb76cc28bd7d500fd846ea5199fd6 2024 longnow_0.9~focal.orig.tar.xz
dd7a320329cb357eb24ca29c1fed3572847dc952772edd9c724b94a85e8694cb 2052 longnow_0.9~focal-1.debian.tar.xz
Files:
c8ef19ec02f5f27b3d975b61400f54a8 2024 longnow_0.9~focal.orig.tar.xz
92c5fd919322fedafe6bdd58ae16f51a 2052 longnow_0.9~focal-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbSzoZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV8OaC/9iRXo24iB+Xv2pj6ZX7dPg
g2ExN6SkgVBFQ68RqipWf/v5XU/+DOcnSCMPfeYf+9SOGyJP1Kg74hQ5jj19Vjyt
PxogvPlq79MFATiXbfA/giiYxRTReAwgC5UxaA5Ql74uVvwHnjMgnQ4Qx5mW7bq/
ktjGeLwon2sh0KbSlXwvx4VW5u/nvbYu1BNIMVAtgdf3QFCkSxad9EQHMKXzIK9L
/sJZ0dDd6XgTJhFx03en1gMkCXkIxKzzBsvyzacEQQnV6SrVyIQLsc1wy1z4hUom
WIXlWkvr4qJhvflRBotVZV9KeQ1uATROHFCw2vbmAoDgkMFsjBTTsWSLv+5wUW/u
ZkvPF5/Y4209It2l2mANDZg4zqUZBDhwzZyLPrc7QoHoNjD+XQ2YYWawddqudbEH
hI/YEFhQMLMn7t1tsgFLeCZ6YMoGzMlIulq/SCatIfNlD+C299k/8BpLJcRKIkHJ
C3Bbm/fL12Zwle010CrC6QOeYFne6TKE5TIMO675JP8=
=BayX
-----END PGP SIGNATURE-----

View File

@ -1,46 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 29 Jun 2021 18:32:55 +0200
Source: longnow
Architecture: source
Version: 0.9~focal-1
Distribution: focal
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.9~focal-1) focal; urgency=medium
.
* Minor usability improvements
Checksums-Sha1:
08ec1cf6064335a4242828cdd9ecf94fa8a041d3 1604 longnow_0.9~focal-1.dsc
200c0e401440ee6a0ad112a99bde8a72ef03a7c5 2024 longnow_0.9~focal.orig.tar.xz
eea14dc3320524cf4d85428d73e07164a71b3c58 2052 longnow_0.9~focal-1.debian.tar.xz
e3bff68dc4f41553f1b41099c7b9f035d0cef3f4 6156 longnow_0.9~focal-1_source.buildinfo
Checksums-Sha256:
8cbac37a7c9304a79be035bbcff82e0085bd0ad04b61726c582423e6be9197a0 1604 longnow_0.9~focal-1.dsc
3ae730632ae5eedf81c7d9af5354373bed2fb76cc28bd7d500fd846ea5199fd6 2024 longnow_0.9~focal.orig.tar.xz
dd7a320329cb357eb24ca29c1fed3572847dc952772edd9c724b94a85e8694cb 2052 longnow_0.9~focal-1.debian.tar.xz
ba898312c50ae7aa918b4e9b7528b391d79aa80f7fd8f9706dc4333e15d44ec8 6156 longnow_0.9~focal-1_source.buildinfo
Files:
b86b492acfdd55fd2c9ec08f576cc39d 1604 utils optional longnow_0.9~focal-1.dsc
c8ef19ec02f5f27b3d975b61400f54a8 2024 utils optional longnow_0.9~focal.orig.tar.xz
92c5fd919322fedafe6bdd58ae16f51a 2052 utils optional longnow_0.9~focal-1.debian.tar.xz
fc2b323bc729035e169afc0a6996a6cd 6156 utils optional longnow_0.9~focal-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbSz4ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV3rcC/9agXXVgXimqFmJLeEIiMz2
l8zo2gZjjwAQvaObjVEKBHsCLLhcZm/TOauVn9gikMwKl4kANcrfReZ+nCepVu0B
u8MduvmyQt/ZTUi6CRQJ2erEQ8KkaHCUryLS2XqMcWEF2/gUnyry+xgJqIh1swvL
xQ6pUhhzAHgp29RvH80gLM/13YWeb7+YLBfPaZ+GcC7ii24+SItYk9h/w7Yfb2ZL
m6Mpbag4k8CRLb3JIkRHduwEB7ZGYlAl4grtl5KDGp/0Wst2wZCGcdBIjZ4hKpAp
fmnmenZxAE5Rz9QbMWXcvab18ARPd3EeuygVgP1NVBSF7UV6cft9eRvbQFAACfQc
E/dvh7vrbJ3wcLy3P1T0Gk1Wb0LUkoKfVqPwW5ZKaGmJNi/fYZFLOAMaWuKyxLD0
cI0lmoK3nSayQBDGv39Arp8bTruCxQAiY5WxtYQWklVeK3LAOKmW4mRfp8l+qjhX
5p0g969sWzGdwqFlCKn0XzekPEnnNi9E7LN5ghaHzXg=
=HFm3
-----END PGP SIGNATURE-----

View File

@ -1,5 +0,0 @@
Successfully uploaded longnow_0.9~focal-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~focal.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~focal-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~focal-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~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.9~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:
b9304cb63a205a367dbe606cfd3832b1bfd4c679 2024 longnow_0.9~groovy.orig.tar.xz
4c3449fd7965e234a6ca51ebebf81da1faa9d82b 2052 longnow_0.9~groovy-1.debian.tar.xz
Checksums-Sha256:
cd95955dd8d633318506a1b3bb0e7d6de8aa382749626283419d1bca1496cb7f 2024 longnow_0.9~groovy.orig.tar.xz
21c3b3787f7741c9ce2e8b3a0bdcb4898d5e5df73a185f739fdb09b5266aac0e 2052 longnow_0.9~groovy-1.debian.tar.xz
Files:
552b819e55f7580bcfc3972651af6731 2024 longnow_0.9~groovy.orig.tar.xz
0fb0db0596cc269166a6aebdc5164509 2052 longnow_0.9~groovy-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS0MZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV8bTC/9dHVsqYX/gaDdeaPYVZX6r
DXPaYCERVYnPKV5vQtfSNvnoISIS5UsfgVs0n9EltsslCDFbzOsCjTirIarfIqLI
pMWQ7cmG4/JltELCf8QOOz2Zn4KSgSFeeB4clu+plvlMvUFsGMsky76dEJtZybsW
2OzUKtNjcI8/lkl0ONvOJZvEpVuOwqZAlo8ida1zfUBtHH3t2hv1ynTSq3VPU9d/
z/m584fkEsR8nz/MSaJ76BoTvYKl6J5+mU7kZrGhusbSrZB8J41kN5kZeeKPexOn
8XbxOK8I0JQUNcFc+jdxvUON+HVyHqlwNeqc0hVS8/Bq7rn9nCzIiHR70aj0uWRf
XaWz4YQUbv2Kdn2bAkphQl2b7/VMX0qLVza+ZIj25GJIUrHv6a+gT97OwAfDOQxK
5KEKq9iP+U6UrdhxQNOaN4V9kbO8wvgd7gih0VQSJdxGugh6wMO8w0QU5Bk4jzsK
qjXD3T0FDYrUp47X/hODo/JThVsTIOvBS8bIL6JhWow=
=QiAk
-----END PGP SIGNATURE-----

View File

@ -1,46 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 29 Jun 2021 18:33:04 +0200
Source: longnow
Architecture: source
Version: 0.9~groovy-1
Distribution: groovy
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.9~groovy-1) groovy; urgency=medium
.
* Minor usability improvements
Checksums-Sha1:
f0e4b4dd3895e3581ed03207c750262918e20c71 1611 longnow_0.9~groovy-1.dsc
b9304cb63a205a367dbe606cfd3832b1bfd4c679 2024 longnow_0.9~groovy.orig.tar.xz
4c3449fd7965e234a6ca51ebebf81da1faa9d82b 2052 longnow_0.9~groovy-1.debian.tar.xz
3ebce866e1c31113f412547d2b003001bf7fe1af 6160 longnow_0.9~groovy-1_source.buildinfo
Checksums-Sha256:
87cb8dcb363fbd0571c9ca592450bad139bafd354ede7db5cfc56ca2d537ca09 1611 longnow_0.9~groovy-1.dsc
cd95955dd8d633318506a1b3bb0e7d6de8aa382749626283419d1bca1496cb7f 2024 longnow_0.9~groovy.orig.tar.xz
21c3b3787f7741c9ce2e8b3a0bdcb4898d5e5df73a185f739fdb09b5266aac0e 2052 longnow_0.9~groovy-1.debian.tar.xz
05183f953c51b9aab5cb74cad45b8a01717104e78c86276d7e2a14abd0ed3b95 6160 longnow_0.9~groovy-1_source.buildinfo
Files:
314419d5192df14e1417faf85fc28d68 1611 utils optional longnow_0.9~groovy-1.dsc
552b819e55f7580bcfc3972651af6731 2024 utils optional longnow_0.9~groovy.orig.tar.xz
0fb0db0596cc269166a6aebdc5164509 2052 utils optional longnow_0.9~groovy-1.debian.tar.xz
3dad477ac1e762334e06056aa070d887 6160 utils optional longnow_0.9~groovy-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS0MZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV+7DC/4mqYQyREuQwS1s2uTJXD40
gWpyPJMrw42aFm6lw7BVdhKyrJe4UnfXRt4jM7+sm8xRU3APwd/MihJyYKh0RPJZ
SGoc7OVexNC+ZNl7z5UOqeeuxZW+p/pTwS3Jji8REbKefcIj+yjzznb8JWvUXSM4
RcNj7epWqiDR1IiTcfLeQ7rAHrAf6MWnWtIIMW8Ae02hERDQPddZGfuB9XEmbID9
8dkGQXafpvD54tnINQJjGLnCW5QsGrYpqNhXZtGUWIi47k8Z2AZQjHbsDah1giv6
mM9Gi3/QmEpeN6a/jXd/P4XyiiEVaS8XODuVjXqnbE0CBpgZ00dpPa2BloAvdeWA
NCkMztu6T+HI3uOWWZSkAqscD1Xo7uOghkOZAF8Bg1mCM0D/N5+S24MXMzfle0le
DjYyJsI8087hmVEz+/GsJBifD+qJa97t+wbIZxGq+A6qRfHXCu81lTgaE1T340rD
T55NnjuIzO5sVU30jZ0EaqeijyiA5UE65lEtT/45Ve8=
=XpI7
-----END PGP SIGNATURE-----

View File

@ -1,5 +0,0 @@
Successfully uploaded longnow_0.9~groovy-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~groovy.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~groovy-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~groovy-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~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.9~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:
73c843257e155f651e481bbb724767fb38e4bd6d 2024 longnow_0.9~hirsute.orig.tar.xz
fe75a3ca3f34afe4421c142c26d37ba11a413588 2056 longnow_0.9~hirsute-1.debian.tar.xz
Checksums-Sha256:
b9197464deb295e6a15245e1ebbf0a272290524f1e61aff1512f4ea28f3b332d 2024 longnow_0.9~hirsute.orig.tar.xz
b488f39ee3626e5fee4a3fe91f65df2cef3dd6a2433bb9fda843cacab53a680e 2056 longnow_0.9~hirsute-1.debian.tar.xz
Files:
bd8cba7d0e134af04988b3d4adf825ae 2024 longnow_0.9~hirsute.orig.tar.xz
ce4cdc35b2c17ba49da426c746347059 2056 longnow_0.9~hirsute-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS0gZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVx28DACe6WHYlqGAKdBdaGFzsp4B
88KA+BhtpAEAD+c4AExYSjcCLUeRV711DEH6cEhzaBi92c4slO2M2fYMHWB3ELAQ
4OUWLZotl5BGmyP6h1O11uBp9173gnYFZ+dKrEzMjHRXK4AfvO6HLnXmrvCig6cd
HsOR4JQC+dTq/Mns8nI5gJKgB1+mRXFVZx2Rk5z2bqB/lH1bk/6F6MNTJ615Egse
pd1hkmCmlgGtDhsFG2hMdPgBkTMzLaBf3cois44QDf2uCbK5crMsZQwjYpxMNzuN
pUkw/5EjcwzTci8DD3glumDre5Us5jdE1lNRP4+cNejIjOpBz4Mmm6liCjLYEtPk
OqzgE7xYjKc6JUVay4tNqKLBFd+ypAJ1INcOhDdzahaziL0NUu1vlOrtBZdUWhMa
Mm3wkw018fFgx6rU47GueP03Hrsar0hFfxXMkJOjXEBPStiDttMyN8yYHn0AC22S
v11cpTrhF9OXnYf6Cl2T+fUMGMikve9i7gzygHluyBY=
=MGOa
-----END PGP SIGNATURE-----

View File

@ -1,46 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 29 Jun 2021 18:33:09 +0200
Source: longnow
Architecture: source
Version: 0.9~hirsute-1
Distribution: hirsute
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.9~hirsute-1) hirsute; urgency=medium
.
* Minor usability improvements
Checksums-Sha1:
345dae6747943c1eacaf667bfcc4be0abc8ba4e4 1618 longnow_0.9~hirsute-1.dsc
73c843257e155f651e481bbb724767fb38e4bd6d 2024 longnow_0.9~hirsute.orig.tar.xz
fe75a3ca3f34afe4421c142c26d37ba11a413588 2056 longnow_0.9~hirsute-1.debian.tar.xz
d439d2fa4d04b92735e280a560eda26bb81df47b 6164 longnow_0.9~hirsute-1_source.buildinfo
Checksums-Sha256:
74db777fd63426f54b9282e54c9467357a040a3d61448b0f2562330f322ad161 1618 longnow_0.9~hirsute-1.dsc
b9197464deb295e6a15245e1ebbf0a272290524f1e61aff1512f4ea28f3b332d 2024 longnow_0.9~hirsute.orig.tar.xz
b488f39ee3626e5fee4a3fe91f65df2cef3dd6a2433bb9fda843cacab53a680e 2056 longnow_0.9~hirsute-1.debian.tar.xz
5dd4cec98d906fb10f208aae61fb1c1d6da13efa739e07b30cbf0028063dfa6c 6164 longnow_0.9~hirsute-1_source.buildinfo
Files:
f0ecb7e11ea36969603b45dd61fb3a39 1618 utils optional longnow_0.9~hirsute-1.dsc
bd8cba7d0e134af04988b3d4adf825ae 2024 utils optional longnow_0.9~hirsute.orig.tar.xz
ce4cdc35b2c17ba49da426c746347059 2056 utils optional longnow_0.9~hirsute-1.debian.tar.xz
fc701321a30529c5eef4c6b7c5901f82 6164 utils optional longnow_0.9~hirsute-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS0kZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVyfWDACVpoovytpOMCa5zynSP2pN
d16wVOn/dqeNRqVkHbQoNuznw8H2qtzk/1q2ib7VzP9FqHkCzgz+lZRPZn+7iBIo
ekXUO5PHb5fXmYB4KZML1QHTd+I5k7985uNDaeOQ7Q/7XJc+NC/d0pL7Wk9PD6tH
1KUXoYDxiIsasFN07e2knO4NHncc68p7IVADN82gu0CzwFyCWGuD+UR0kw9U67ga
8pSMKuUC23TGP0QVMqe79vDt/dPc5O2tBYGR/LbyQ3XZon9CXgPVF+CYY2pq3GB7
BxdNWYVmjLmxcQwE8MHFoTInmGpfuRWfG+qaUIQwb3dbCxBYmgA0M2DbiJ1qA5Vc
5T5nWGWyY+DioaVwvMikk7gWuViPix5gs2ph7Yz3K7XO9iMhalw2y0Q4fGXwUaFr
X9IGT4lSQxCcrfl3qwRCBm2JgUGVryylBHLrNuViAxwkKOYPyESlLu5RVKff9cPa
LVbXCzGoSLjf9PoOAY1hufSZR3k1IQPq8fwiAXMHqVE=
=HYU8
-----END PGP SIGNATURE-----

View File

@ -1,5 +0,0 @@
Successfully uploaded longnow_0.9~hirsute-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~hirsute.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~hirsute-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~hirsute-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_0.9~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.9~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:
9cf617b20dc146b4426d217c92f577cda61770e2 2028 longnow_0.9~impish.orig.tar.xz
629c4b4fdeaf52a6d579e5b665b22debd5d7b14c 2056 longnow_0.9~impish-1.debian.tar.xz
Checksums-Sha256:
cfd47cc6c889c94bb3ad8cbb0fab90aae262d27ba08f45b68be984f39958d0c2 2028 longnow_0.9~impish.orig.tar.xz
390ab065222fbf974bbd4ad2a8f6a52dbabdaaeba5a5bc816caf3fe83286285d 2056 longnow_0.9~impish-1.debian.tar.xz
Files:
3e600455acd7d4022beb4707648e1432 2028 longnow_0.9~impish.orig.tar.xz
90f4a1b205c730851b8a19ae2036f537 2056 longnow_0.9~impish-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS00ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV5tNC/0Woo11UP5o+XIeayW+MOg/
UKZ6h8v6GYjbMkSQ1KR/rmlojjDmtNoW4JcQPegcGgTrFsFvu4w5LHXcNzNdypbc
EtYRhnpX0urF2UJ1neg0UccwOKQiblD+jvD6xSg3QXhqDV4KFRnTCNiUZC0tf2da
RWxzLOsZiff/k5+MUzxOCVKNYcyoPhiqdLw+wc6vcZAWkAqVwpuCWSp2/wtlCwZt
J/sHRDw5nj++h3Jpir8IewNnSoPaR0n+9Dn12UrAp3MyobJR7oyGp4VtY+mlKqDD
atlwhJAzb+N+9BqPZSoQ7FMhc6Zblcdt7GNsEmjxzKz+5INCiFAQ9rjJqFzBwFnX
zRbDQdTNeGfYTRLZrD3eUW4d6e8YFgb1Fs941JbOjHa2DQhnZ+lXTnoETKtC+Eje
SmyxDIfeFbLcaB8A+d7Eo7BQrpL4MsVIDIn5p5rs9HjxjLT8F4yFJYWf5kQN0+l+
dH2NbkU4ul56y/dVbUoVugwp0IMtY0rx9dpKMrtjy7s=
=Jk53
-----END PGP SIGNATURE-----

View File

@ -1,46 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 29 Jun 2021 18:33:15 +0200
Source: longnow
Architecture: source
Version: 0.9~impish-1
Distribution: impish
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (0.9~impish-1) impish; urgency=medium
.
* Minor usability improvements
Checksums-Sha1:
ec43b005d8bf7df1438ac645a73bfd3b44d87f5d 1611 longnow_0.9~impish-1.dsc
9cf617b20dc146b4426d217c92f577cda61770e2 2028 longnow_0.9~impish.orig.tar.xz
629c4b4fdeaf52a6d579e5b665b22debd5d7b14c 2056 longnow_0.9~impish-1.debian.tar.xz
1946924a9a24a229df24a70a307a429c8d0a1539 6160 longnow_0.9~impish-1_source.buildinfo
Checksums-Sha256:
c12813f1edfa5398b3e32aa9a2f9f03563812fe02d9c06381609a0b0c98876f9 1611 longnow_0.9~impish-1.dsc
cfd47cc6c889c94bb3ad8cbb0fab90aae262d27ba08f45b68be984f39958d0c2 2028 longnow_0.9~impish.orig.tar.xz
390ab065222fbf974bbd4ad2a8f6a52dbabdaaeba5a5bc816caf3fe83286285d 2056 longnow_0.9~impish-1.debian.tar.xz
418ae216cb9c88308811ad0c5be9f98b857b7caa04d75bf064183dcdf5f54ce5 6160 longnow_0.9~impish-1_source.buildinfo
Files:
3db24f97e95fe6995c02c36b7a017bcd 1611 utils optional longnow_0.9~impish-1.dsc
3e600455acd7d4022beb4707648e1432 2028 utils optional longnow_0.9~impish.orig.tar.xz
90f4a1b205c730851b8a19ae2036f537 2056 utils optional longnow_0.9~impish-1.debian.tar.xz
64848591c0c41b26a0d07a22e3ba3168 6160 utils optional longnow_0.9~impish-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS04ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV3INC/9z0pajPAq3N2+UKCxU5l9l
x5355pNlJQvivH+LF0WALyXCoVSXrkrALpszBrwNFuFc/N6XLam+/azFlITB7krb
ODVtHZ+tuXW4ukx87AmOVC96omnAH3R1NRNE1RMoWEvmIi5JFaycd0hcpC6nAN4t
dBCjn41xnY63DxHv3kewPmjh8Xezi3BC9fJp6mQ5fQ4XWQTBKYTuUMjBIg65xb6/
WoQEaCIJoKHPohUF7IyUpk4Wl9RUwn32lQs35Jr7lsxehnDyBdnlg92/xNRZS/Gf
qJYkhv2XpWQ0dNLUNEX6XBI6d4qoYMaJb/6K98n1qPx2YRWzda5uFx+dguPm2vAK
baSdTSPFzaS7VFIcPc445qBkutVnpllkSaDoX1szsunlo4kVx+A7nftILoJFUtFV
09gZGv2BceVKMnel0PycettK2MDxNW8/pZoFEzg/6eNtrKf8W6eRYwjInD5HC408
A/BdXRbdOall0KRYE6/G7o3mqSSXA/noP+qz+mHoeJM=
=6pDc
-----END PGP SIGNATURE-----

View File

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

View File

@ -20,15 +20,17 @@ function pushToArchive(){
# 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
# 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
echo ""
input="$1"
counter=1
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
## rm -f "$archivedLinksFile"
rm -f "$errorsfile"
## rm -f "$archivedLinksFile"
rm -f "$errorsFile"
touch "$archivedLinksFile"
touch "$errorsFile"
@ -39,38 +41,38 @@ function pushToArchive(){
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
echo ""
}
@ -85,28 +87,28 @@ function addArchiveLinksToFile(){
echo "Creating longnow file @ $longNowFile..."
rm -f "$longNowFile"
rm -f "$longNowFile"
touch "$longNowFile"
cp "$originalFile" "$originalFileTemp"
while IFS= read -r url
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
}

View File

@ -0,0 +1,5 @@
longnow (1.1~focal-1) focal; urgency=medium
* Minor tweak.
-- Nuno Sempere <nuno.semperelh@gmail.com> Wed, 30 Jun 2021 22:52:33 +0200

View File

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

View File

@ -20,15 +20,17 @@ function pushToArchive(){
# 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
# 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
echo ""
input="$1"
counter=1
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
## rm -f "$archivedLinksFile"
rm -f "$errorsfile"
## rm -f "$archivedLinksFile"
rm -f "$errorsFile"
touch "$archivedLinksFile"
touch "$errorsFile"
@ -39,38 +41,38 @@ function pushToArchive(){
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
echo ""
}
@ -85,28 +87,28 @@ function addArchiveLinksToFile(){
echo "Creating longnow file @ $longNowFile..."
rm -f "$longNowFile"
rm -f "$longNowFile"
touch "$longNowFile"
cp "$originalFile" "$originalFileTemp"
while IFS= read -r url
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
}

View File

@ -0,0 +1,5 @@
longnow (1.1~groovy-1) groovy; urgency=medium
* Minor tweak.
-- Nuno Sempere <nuno.semperelh@gmail.com> Wed, 30 Jun 2021 22:52:46 +0200

View File

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

View File

@ -20,15 +20,17 @@ function pushToArchive(){
# 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
# 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
echo ""
input="$1"
counter=1
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
## rm -f "$archivedLinksFile"
rm -f "$errorsfile"
## rm -f "$archivedLinksFile"
rm -f "$errorsFile"
touch "$archivedLinksFile"
touch "$errorsFile"
@ -39,38 +41,38 @@ function pushToArchive(){
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
echo ""
}
@ -85,28 +87,28 @@ function addArchiveLinksToFile(){
echo "Creating longnow file @ $longNowFile..."
rm -f "$longNowFile"
rm -f "$longNowFile"
touch "$longNowFile"
cp "$originalFile" "$originalFileTemp"
while IFS= read -r url
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
}

View File

@ -0,0 +1,5 @@
longnow (1.1~hirsute-1) hirsute; urgency=medium
* Minor tweak.
-- Nuno Sempere <nuno.semperelh@gmail.com> Wed, 30 Jun 2021 22:52:52 +0200

View File

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

View File

@ -20,15 +20,17 @@ function pushToArchive(){
# 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
# 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
echo ""
input="$1"
counter=1
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
## rm -f "$archivedLinksFile"
rm -f "$errorsfile"
## rm -f "$archivedLinksFile"
rm -f "$errorsFile"
touch "$archivedLinksFile"
touch "$errorsFile"
@ -39,38 +41,38 @@ function pushToArchive(){
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
echo ""
}
@ -85,28 +87,28 @@ function addArchiveLinksToFile(){
echo "Creating longnow file @ $longNowFile..."
rm -f "$longNowFile"
rm -f "$longNowFile"
touch "$longNowFile"
cp "$originalFile" "$originalFileTemp"
while IFS= read -r url
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
}

View File

@ -0,0 +1,5 @@
longnow (1.1~impish-1) impish; urgency=medium
* Minor tweak.
-- Nuno Sempere <nuno.semperelh@gmail.com> Wed, 30 Jun 2021 22:52:57 +0200

View File

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

View File

@ -0,0 +1,134 @@
#!/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
linksFile="$1.links"
linksFile2="$1.links2"
echo ""
echo "Extracting links..."
rm "$1.links" -f
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]++' "$linksFile" > "$linksFile2" && mv "$linksFile2" "$linksFile"
echo "Done."
numLinesLinkFile=$(wc -l "$linksFile" | awk '{ print $1 }')
totalTimeInMinutes=$(echo "scale=0; ($numLinesLinkFile*7.5 + 60*$numLinesLinkFile/15)/60" | bc)
echo "Expected to take $totalTimeInMinutes mins."
}
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..."
echo ""
input="$1"
counter=1
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
## rm -f "$archivedLinksFile"
rm -f "$errorsFile"
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 yourfile.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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
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"; 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.links.errors" | awk '{ print $1 }')
if [ "$numLinesErrorFile" -gt 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: 1.1~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:
16a657ebffd6ccdbacd199da80606c8699490d52 2000 longnow_1.1~focal.orig.tar.xz
50984668250cf384936d45666b4c6a7808006ce7 2044 longnow_1.1~focal-1.debian.tar.xz
Checksums-Sha256:
7fe91dd5fabdb63e30da0c0737aa342cb04bdf3db64fb83413870f5084ce16d8 2000 longnow_1.1~focal.orig.tar.xz
a57b2d62da9a8337335c913d9ae3091bc78ef03d65bdf0a41382ecf73cf8779a 2044 longnow_1.1~focal-1.debian.tar.xz
Files:
f3b26c6a89f5153bca2c072a95b9fa67 2000 longnow_1.1~focal.orig.tar.xz
c1eee003a112dcd1c47f780f269849dd 2044 longnow_1.1~focal-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2ZQZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV3PzC/9ZHGu6WjELZTPoaUGGHPoq
JMIRG584EgzLAsRPrPaONzjQufABFzEeyoYje5IcjHSjp5SEq0KbtInAqpvYA2Td
JvyFL3PT76GrKads1TWGSH6YOivZfKUAQfyR8U8FujsCEX9uq48RwLVUYY0XQZ+1
IW/mGvrUS9kF7rqTKeHfu98+g0Z5QS4SXoHOqCQ92I84woSyx3f8cLZ4V08qwChY
TrA7c0SWNONG0OFXGT9z4jH1iC3m9sBU80wHH72TE15pFCl1OP+6VlvAcX7rNV4S
9I6IjHkSg7hkNA1GKgFEBPKm3Ws3R571S9g8wsWxz//0KnVCUhhQRsjyNs3aXa4R
3pyPU3P/yDfet9XI9NU4BmUzzoOqhE5I+OTSXQA6S7798sjke1aSW2LzMZ8BCBLD
Ok9cDMxEjHHrgwQ2X7xlRCi2eR7X4Gq0T6qaevlmcJqR4Fc++nSZhHWkjRi6Z/BH
+ScnvyV0Zw23a1gw6SBCyuazdtAbmg2cbruDFvjI2+c=
=3d8/
-----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.9~focal-1
dpkg-buildpackage: info: source version 1.1~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.9~focal.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.9~focal-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.9~focal-1.dsc
dpkg-source: info: building longnow using existing ./longnow_1.1~focal.orig.tar.xz
dpkg-source: info: building longnow in longnow_1.1~focal-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_1.1~focal-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../longnow_0.9~focal-1_source.changes
dpkg-genchanges --build=source >../longnow_1.1~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.9~focal-1_source.changes ...
Now running lintian longnow_1.1~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.9~focal-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
signfile dsc longnow_1.1~focal-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.9~focal-1.dsc longnow_0.9~focal-1_source.buildinfo
signfile buildinfo longnow_0.9~focal-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_1.1~focal-1.dsc longnow_1.1~focal-1_source.buildinfo
signfile buildinfo longnow_1.1~focal-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.9~focal-1.dsc longnow_0.9~focal-1_source.changes
fixup_changes buildinfo longnow_0.9~focal-1_source.buildinfo longnow_0.9~focal-1_source.changes
signfile changes longnow_0.9~focal-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_1.1~focal-1.dsc longnow_1.1~focal-1_source.changes
fixup_changes buildinfo longnow_1.1~focal-1_source.buildinfo longnow_1.1~focal-1_source.changes
signfile changes longnow_1.1~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.9~focal-1
Version: 1.1~focal-1
Checksums-Md5:
b86b492acfdd55fd2c9ec08f576cc39d 1604 longnow_0.9~focal-1.dsc
dfb0cc57ff7ca6c2ffde30cee1e1ee0b 1604 longnow_1.1~focal-1.dsc
Checksums-Sha1:
08ec1cf6064335a4242828cdd9ecf94fa8a041d3 1604 longnow_0.9~focal-1.dsc
3ce2cc9aef4d1dc49c215a4d8df56f62c64dcb48 1604 longnow_1.1~focal-1.dsc
Checksums-Sha256:
8cbac37a7c9304a79be035bbcff82e0085bd0ad04b61726c582423e6be9197a0 1604 longnow_0.9~focal-1.dsc
bb7f173bb190e6dcc1ebd8d1c5ddbe49c71b2e984e7d042e6857ab6301f9d1e2 1604 longnow_1.1~focal-1.dsc
Build-Origin: Ubuntu
Build-Architecture: amd64
Build-Date: Tue, 29 Jun 2021 18:32:56 +0200
Build-Date: Wed, 30 Jun 2021 22:52:34 +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="1624984375"
SOURCE_DATE_EPOCH="1625086353"
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbSz4ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVxYWDACwkYhstdjmp0rhrDRwWqP8
twLxG8H+Yx5TVF7fjP7ic3cTW/Z6Wwhv+G88ObY7qaeIphwbjVbMjXsz0fst0ro+
nxr3wd5LRQ2GD9o0BtA2lqbYri0gu96ywp/4IF0Sm9VVCF1XcSHR7tLMPN10tcOo
kblbthVSR3t98/MyHea3bGkJOkfL/0cx9mmeDwc74j5b5cRo2GBXK/ITJpncR1gj
DmI7trUPvIvKXp4cZc4oD3jXGGeI/ksv4lxpIkOFmNZtks+s+uASqkFGirJCAyr8
c2OL0uR2r3sTGC8owcIJaLSzIG4RIpcTOW2jx2jvCVSgx4qKFBGap+XaDCKbsflR
zR51lIAZjWCreE5X/Dtx3e2sZi6sm7Oyb/GjzuC3dY5Y0DAXkeCvYWhYX29exisf
eyZ6iZaQrYDgtkFKXj/rXUzqRuDXJY0rOOQWZhe2XqQhs6oSP/a/md3FRbe0/xWp
NhsZO5FABuhfFEjlVeCVkfddXK6qkqq54RSF+FWu0fg=
=783t
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2ZsZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVxrmC/4uRp/hdjCGBGSIozyxBijX
yf0ytJdLVZFGRkzi1XmImfqNwyDXvgCRNQzN+MV28jPKaz2tAQuAWUqA2cbwj6TH
rtD/6s198VJOUyf5qwwiWDArJdM9o4A/ln8BO5wCV63R+8tjDyyjLT/jzFhpqFFf
qhfQkuW4GL0Yn47cVs6asUXl8CWkiT1tzrjnWfGQ8s0x7al13AsRBdmRRRWizuwd
re9hOhg764rsk+cg3gDClaZsr1qo3UAmDZrTnDW8XOWzX3ZSSlK6lj8qFl6BlYgW
iPWqG8kAv6w2hMTUOB+/AWPHaJMW1M++e0DXvzpE0sE8ZVHmjrQjYbYd5PAhbiA+
WEeCULX8OGXX2/0I4eubynw6RJChPl2ecSyEsp0CxuDNMR5DZISLI6xDtp1BTdHR
af8X+Z2MIyRzxk7gbmUf/Cs+8wm6e6CXgGlcxDpypyFNrpqhukTTN3+ybalG59II
Tjl95ua7YhUeHyhj3EVlOz9Pxi2Z4zompNth6mi1LLs=
=UfSc
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 30 Jun 2021 22:52:33 +0200
Source: longnow
Architecture: source
Version: 1.1~focal-1
Distribution: focal
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (1.1~focal-1) focal; urgency=medium
.
* Minor tweak.
Checksums-Sha1:
3ce2cc9aef4d1dc49c215a4d8df56f62c64dcb48 1604 longnow_1.1~focal-1.dsc
16a657ebffd6ccdbacd199da80606c8699490d52 2000 longnow_1.1~focal.orig.tar.xz
50984668250cf384936d45666b4c6a7808006ce7 2044 longnow_1.1~focal-1.debian.tar.xz
aca18304424cf83c51f75316c2cf8895dd148a0c 6156 longnow_1.1~focal-1_source.buildinfo
Checksums-Sha256:
bb7f173bb190e6dcc1ebd8d1c5ddbe49c71b2e984e7d042e6857ab6301f9d1e2 1604 longnow_1.1~focal-1.dsc
7fe91dd5fabdb63e30da0c0737aa342cb04bdf3db64fb83413870f5084ce16d8 2000 longnow_1.1~focal.orig.tar.xz
a57b2d62da9a8337335c913d9ae3091bc78ef03d65bdf0a41382ecf73cf8779a 2044 longnow_1.1~focal-1.debian.tar.xz
2f59a258a1a27a9a90c32d6c734afcb3559b83f92461f9a5010e9bbea5202897 6156 longnow_1.1~focal-1_source.buildinfo
Files:
dfb0cc57ff7ca6c2ffde30cee1e1ee0b 1604 utils optional longnow_1.1~focal-1.dsc
f3b26c6a89f5153bca2c072a95b9fa67 2000 utils optional longnow_1.1~focal.orig.tar.xz
c1eee003a112dcd1c47f780f269849dd 2044 utils optional longnow_1.1~focal-1.debian.tar.xz
b3bfcf8cf25425e73c4ce368d4e90711 6156 utils optional longnow_1.1~focal-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2ZsZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVzQrDACCqTKQQQPr5uU+94W89Mq0
Sz9ITV2mcoXXyeUNiwQkyTx2mAPi9Ms5Ikicw1dMNerKPfIHhTOW0szJP8zZuha/
lC78erKZN/Rk9NIeny8lnO/Cf7pMTQxnNTZQ/6pPXeoq3rY5RWfXLkVjv14eQF7e
sf4a1+4B0pGBpWtrwBBf2Awh0Es+WSiwkJkOHgqIvW2EE1xIa17XBXuSoKSPJMHr
1I5o3AXhQVtt/LyzrFSBclIicdkIC8Bv6CZA+m7WJ8cZ6ntDLx767Mgrozv1s50b
QcQ7S16qtp/OZba/p9y4svfAB+udybRmogDQasKgikd1kXDkh50crTI08w/8lZVu
AFAaCwYqaHZ4bKw6nxpo8lb+G8D7Qjx3kid/EPXQi+MEGKgoxuIpD4VqNT9uR1WV
+PYisBlsqwmqlZzQrlCtaRyJz/ibQExgU1/A1M46AqV6EHm/o0K7yZVbe/UYz8Qr
U9vrvXgIW7Y2W/lAo9o9uKoW3l7lE6rkWRypxdTdW+g=
=6m6z
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,5 @@
Successfully uploaded longnow_1.1~focal-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~focal.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~focal-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~focal-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~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: 1.1~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:
bc3c40f24d7305e9b1977de3f5040c977855e608 1996 longnow_1.1~groovy.orig.tar.xz
4c6330a87bdf75ce6ff182d472ad817322608fca 2040 longnow_1.1~groovy-1.debian.tar.xz
Checksums-Sha256:
1465ae5907a652c4d0e873ba0cd20d956f61ffeb7b2a16e906bfe9c0d995195c 1996 longnow_1.1~groovy.orig.tar.xz
e3beb906d9f6b15f2d7ed173902595ccb6f687a76f93f9c8a005e113b81b6bb0 2040 longnow_1.1~groovy-1.debian.tar.xz
Files:
45c4f30cb91ea41d2e9ce4315c166b98 1996 longnow_1.1~groovy.orig.tar.xz
5c8fc5560760cef64fe9904148d1dc1f 2040 longnow_1.1~groovy-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2aEZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV5ZvC/4j+oO4ydFUBNTLbYinTozF
Z969AHVNUIUc+ZqRb1YufjkWTtTGzUtkGUutcbq713u+A6ag5Ec16mtFzhQ9fd4X
zx6dcn8VwSf4DQLjQqlGFq7r+L+7NsSEdk1pYCwfzgdDnLaOX4gBxeeguTcnARkb
BbuJTw4ffZHW8qXQU36K/9MpfBd+C6gjuQ86oMxGjnaVEcg3sfZv4FNiAnTcomo2
cMn2SoqHsLd8WOYym/sGpY7PQiJ8TA7qiDy8V8GpIIxZGyBmyZkWLUXPtXWNMuBo
rsGenuITX9iYkCuV4QXDFQmf5g2C3LAxr/XAB9vIEzwtL0XlfDu3KHfPQv4VlKrz
PYflbdRWflI2Wxm2kj15i3F4vzteDqqHUBQDvpMJPnyIsKPZKzbnSsM7Tl/HDlPu
FmkLtArjTf2y6tD2QZzRvGcb3vBgJL1hc6r4R57h35WEJHnfrFck+TrlZeXBx3NA
tTQxNOYcc3S/RE2Bc6I1uUCaZ3RX59opX07l8pfKqFA=
=Xc1a
-----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.9~groovy-1
dpkg-buildpackage: info: source version 1.1~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.9~groovy.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.9~groovy-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.9~groovy-1.dsc
dpkg-source: info: building longnow using existing ./longnow_1.1~groovy.orig.tar.xz
dpkg-source: info: building longnow in longnow_1.1~groovy-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_1.1~groovy-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../longnow_0.9~groovy-1_source.changes
dpkg-genchanges --build=source >../longnow_1.1~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.9~groovy-1_source.changes ...
Now running lintian longnow_1.1~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.9~groovy-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
signfile dsc longnow_1.1~groovy-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.9~groovy-1.dsc longnow_0.9~groovy-1_source.buildinfo
signfile buildinfo longnow_0.9~groovy-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_1.1~groovy-1.dsc longnow_1.1~groovy-1_source.buildinfo
signfile buildinfo longnow_1.1~groovy-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.9~groovy-1.dsc longnow_0.9~groovy-1_source.changes
fixup_changes buildinfo longnow_0.9~groovy-1_source.buildinfo longnow_0.9~groovy-1_source.changes
signfile changes longnow_0.9~groovy-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_1.1~groovy-1.dsc longnow_1.1~groovy-1_source.changes
fixup_changes buildinfo longnow_1.1~groovy-1_source.buildinfo longnow_1.1~groovy-1_source.changes
signfile changes longnow_1.1~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.9~groovy-1
Version: 1.1~groovy-1
Checksums-Md5:
314419d5192df14e1417faf85fc28d68 1611 longnow_0.9~groovy-1.dsc
5572ab4eeb01eae0cff1ac35b739a3a7 1611 longnow_1.1~groovy-1.dsc
Checksums-Sha1:
f0e4b4dd3895e3581ed03207c750262918e20c71 1611 longnow_0.9~groovy-1.dsc
2d5e1529d9c9b1eedcd9aaf84c909223c1d1ffdc 1611 longnow_1.1~groovy-1.dsc
Checksums-Sha256:
87cb8dcb363fbd0571c9ca592450bad139bafd354ede7db5cfc56ca2d537ca09 1611 longnow_0.9~groovy-1.dsc
471702a47ec1834bcd9b8bf6241deaae99812dcfe5066c10a1ccfd9011b95ec1 1611 longnow_1.1~groovy-1.dsc
Build-Origin: Ubuntu
Build-Architecture: amd64
Build-Date: Tue, 29 Jun 2021 18:33:05 +0200
Build-Date: Wed, 30 Jun 2021 22:52:46 +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="1624984384"
SOURCE_DATE_EPOCH="1625086366"
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS0MZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV3g+C/44TK0hG3fQ4XoeNccGDmLA
vXk+lisKzZqOuz7z0U3YzddrhsGMdaaCg7jkgJGNHLNLaw3MTW5Mh3bTvT3A535i
s26GyoFWsCK5hd4J+Aru/8yH+IRrlVJs9uxaQbBOt4e7TzoQNCuSM9lq+9WJ0eTC
i71t0cBzMRDqwrbC6EKnqyqd394V6sHJCEIkzZIYQx7LkwH/mWEzHDeDQhD9YzVt
wEL0jHIKNo6wFVZj3nL+y4rJvWsFKzZqvlnxolY+Tzk5foaOmixeeuRwHsGJviQ/
gQIbD6AdSc+vgMnc/yCycZTVj7yurXmm37qhY48hMlc/5pxRzTEBLj5L47pUgk6L
A+/dtNetKrFhDMnWsAydjIVPMh+XVTk+AM3s72do+IAWNNulf8JbUE8ZPFVnKDq3
iDdUZtcf653rVXROOVRYU45byo2VFy9WVPnLcex2t8P52mzgzhCFdzRRIxclmOyr
bbqXHuWIqxCDYPH7MtRnQ8YPO0nFkDYYmE+QeCQzFEs=
=+AlR
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2aEZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV/93C/9+6LhqXoe/qMgsM97iw8Tc
XDK0H1v4mTOmCN8WY/Ks8d0CF9rkfJwATvERRfKbeUC2pjf/v97xDlEwilV8Ndpf
jjlZoSPNI+iTShXmhGqTI+ssY39CiUtmwT6lEIHf5f3FrDDxwGyhaK5HFf6W9S3X
PO5+Vo0EUruGMj/6Lmj3msJwnx4hyNjb8Ge02RD+CiTv1r/C9qgt532e2Wv8MYS8
HnCPOlooQeQVBYRAuZvk+uuCQJO9I78DAmrIKdMSh5KJ3QUcKli2gLIxQinYW2HP
rinT6837YLUp1AiYNbLyzYkv6LpAazjJ4d6DCqQHNQPF9xeVcN+0FfcKrA4S3tyI
Qlr2z+y0fFpy1qSs5wxdPhbVqw3m53eygISnW8Y94pcpmgPPqdYxzXTAIj1fvK37
Vto6NpPBe6KgXK7TDYmv76NtG2BLtbwYQ2UMB+xCK5YiSPaXTUx5gB458yIOy7sT
xun8DVyQwBA9vcNyH5MRJUU+Zv5qp+UPh7rs+Y2um5s=
=y2U7
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 30 Jun 2021 22:52:46 +0200
Source: longnow
Architecture: source
Version: 1.1~groovy-1
Distribution: groovy
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (1.1~groovy-1) groovy; urgency=medium
.
* Minor tweak.
Checksums-Sha1:
2d5e1529d9c9b1eedcd9aaf84c909223c1d1ffdc 1611 longnow_1.1~groovy-1.dsc
bc3c40f24d7305e9b1977de3f5040c977855e608 1996 longnow_1.1~groovy.orig.tar.xz
4c6330a87bdf75ce6ff182d472ad817322608fca 2040 longnow_1.1~groovy-1.debian.tar.xz
bc9a0d76f1dcda52162d69ee3467b73ff21c65da 6160 longnow_1.1~groovy-1_source.buildinfo
Checksums-Sha256:
471702a47ec1834bcd9b8bf6241deaae99812dcfe5066c10a1ccfd9011b95ec1 1611 longnow_1.1~groovy-1.dsc
1465ae5907a652c4d0e873ba0cd20d956f61ffeb7b2a16e906bfe9c0d995195c 1996 longnow_1.1~groovy.orig.tar.xz
e3beb906d9f6b15f2d7ed173902595ccb6f687a76f93f9c8a005e113b81b6bb0 2040 longnow_1.1~groovy-1.debian.tar.xz
22c48d1699edcbfa3732b5abb80072a875fcc3cddc74d4bdb89b98ff6bce71df 6160 longnow_1.1~groovy-1_source.buildinfo
Files:
5572ab4eeb01eae0cff1ac35b739a3a7 1611 utils optional longnow_1.1~groovy-1.dsc
45c4f30cb91ea41d2e9ce4315c166b98 1996 utils optional longnow_1.1~groovy.orig.tar.xz
5c8fc5560760cef64fe9904148d1dc1f 2040 utils optional longnow_1.1~groovy-1.debian.tar.xz
3c28cc4156481802ca3e454926682002 6160 utils optional longnow_1.1~groovy-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2aEZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV4VUC/40krJUdCw46Ykc6x5ci0i+
02gvPkDdUkBdfNK/qyscBMGreNzged30N9ZGBFAlgI5V4rs2+FlKpKrWaDykYyfd
YvlRHU5qVlOO1PiWF2o11AnPswk+PvhR98llOpEtGQdzgzyyTFCqce/Jr7MBOWrH
eM8+NXnUeWxZMslxLFttqtXLR+RVI4tVfckvz/5EjH363roCJs02aWHXbbHNNDY+
Odf2nsOis8g3f8pAPc7kPRm3/4ee6QsP5NubbHCWBRbFF/o8mo4NHnYpx4E7Jzci
EknU9krLs3S33C1UPN58dVmndni63Ub40R7nPqEgJ5I4D5zyFYAj8K/t6o8gAyh3
f5qpFxkfLQs5kui8fysWLfkrMTJFw/Al5wo6qMaPVNyqM0yeHcu3vJFo7EqbGduY
THtGAdbC9kRAwb002NutycGDiC+RlXHn359VXm548b6Q5wGoR4oRFJC8Y04OeYXi
VEWD0/sJ5XVA+SqNDpj6VSrH7Q6tg4kSVBC3uXTHAtY=
=7bLl
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,5 @@
Successfully uploaded longnow_1.1~groovy-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~groovy.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~groovy-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~groovy-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~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: 1.1~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:
4bc464129d3adf4831535d88f8c3e32a81a0448c 1996 longnow_1.1~hirsute.orig.tar.xz
661c94710f66f7b99c247246b084ebad805376be 2040 longnow_1.1~hirsute-1.debian.tar.xz
Checksums-Sha256:
07e6631a8ba278899828861869f15ab1a25ea81e0a0af0075e424ca511fd630b 1996 longnow_1.1~hirsute.orig.tar.xz
791a09f1bcb0088fe8bed378d9800caef0c21a06f240519c9e451ab6560bd8b6 2040 longnow_1.1~hirsute-1.debian.tar.xz
Files:
6706b6b3f891ca9fc1d65638781defd2 1996 longnow_1.1~hirsute.orig.tar.xz
1d04130bde1e834294a5af381e7c157e 2040 longnow_1.1~hirsute-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2acZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV4gOC/9rJivBqlDLGsFQvsbQ3e5t
fdpY99i79t3itYkRKRFVc3fr9/+J7ylbN+QVb/0ltStt3fZc7ZLBHmcOwAJMnsaR
/9X/Z4lknjF42HHWC2LApBctK3hqSU/44/OtzxMwZJxqrOZB0tJaJ/B+QtSCFCsL
Pqs98c3ZRw7EDX4n98kPZntWpewOFHRGCQtq9tLXx1ZFyCwU/+vaSeExa3xoXXAo
2hJ01X0FV2YuMHlIGQO/f3mIuOWxSJOeYEIYr9IYrDUkhl9uzH+26PmcVse5ED/u
1Szp3dzxulwgNKxSJGM+7sboIP+aCTkvTeoorGqBENJLQOYiXKnzAMENjfAYmwQD
TS6RramgyMFkPNzHZJpGNbpcFxfIpSFm826tjT4X/v2ET5pppXgY11RssA7bpLeV
iJ7leVJcZSJsHtxkqUqEgK4z8FKuitbMIbA15zbjmVkG0xeEb0U5yVIJbRWFfRms
sV0qrRjpzzbMizJDNA7Ev2Y8XjFhJsQun6gGM66onUM=
=Xia7
-----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.9~hirsute-1
dpkg-buildpackage: info: source version 1.1~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.9~hirsute.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.9~hirsute-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.9~hirsute-1.dsc
dpkg-source: info: building longnow using existing ./longnow_1.1~hirsute.orig.tar.xz
dpkg-source: info: building longnow in longnow_1.1~hirsute-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_1.1~hirsute-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../longnow_0.9~hirsute-1_source.changes
dpkg-genchanges --build=source >../longnow_1.1~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.9~hirsute-1_source.changes ...
Now running lintian longnow_1.1~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.9~hirsute-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
signfile dsc longnow_1.1~hirsute-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.9~hirsute-1.dsc longnow_0.9~hirsute-1_source.buildinfo
signfile buildinfo longnow_0.9~hirsute-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_1.1~hirsute-1.dsc longnow_1.1~hirsute-1_source.buildinfo
signfile buildinfo longnow_1.1~hirsute-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.9~hirsute-1.dsc longnow_0.9~hirsute-1_source.changes
fixup_changes buildinfo longnow_0.9~hirsute-1_source.buildinfo longnow_0.9~hirsute-1_source.changes
signfile changes longnow_0.9~hirsute-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_1.1~hirsute-1.dsc longnow_1.1~hirsute-1_source.changes
fixup_changes buildinfo longnow_1.1~hirsute-1_source.buildinfo longnow_1.1~hirsute-1_source.changes
signfile changes longnow_1.1~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.9~hirsute-1
Version: 1.1~hirsute-1
Checksums-Md5:
f0ecb7e11ea36969603b45dd61fb3a39 1618 longnow_0.9~hirsute-1.dsc
d234fedc987267a65aff825dbb149e70 1618 longnow_1.1~hirsute-1.dsc
Checksums-Sha1:
345dae6747943c1eacaf667bfcc4be0abc8ba4e4 1618 longnow_0.9~hirsute-1.dsc
ebda5b78583e88843995d95527ef10f44a864c06 1618 longnow_1.1~hirsute-1.dsc
Checksums-Sha256:
74db777fd63426f54b9282e54c9467357a040a3d61448b0f2562330f322ad161 1618 longnow_0.9~hirsute-1.dsc
9d6acc2a52da820e9e90c1aa87e2418ae9b58822dbe640c2cc2a1609401e2a79 1618 longnow_1.1~hirsute-1.dsc
Build-Origin: Ubuntu
Build-Architecture: amd64
Build-Date: Tue, 29 Jun 2021 18:33:10 +0200
Build-Date: Wed, 30 Jun 2021 22:52:52 +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="1624984389"
SOURCE_DATE_EPOCH="1625086372"
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS0gZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV8UcC/9jW8nlwx89RkdW4RjgGL/l
4jTv1WrW1hK33prahmCZ9Uz0KiTIU9o7aVPgSyM5SnW+p7AjdZYefLloJsEGMI9r
njweTM2YYAY/oGzoRWUxo2YW7zo98j5QU0cjFnEfxsbRat5SPtC35erex1IETMKi
8sNxtmKzc5BlaPwh3onySpZLT6lXwbBqVUdsCFCjjlJdJlQOW1+Yp/8IGRzEkM8J
kbRypW8FnOn20wJfNd/iZkJb63A62/UBJtZj4Fy37zLKgifGg39u+ybdYoj4Iyaw
7h2RkLmzuZPPlxBqkT1y6n3tFN2J36USvCQiiffMr77JzM6fMh8F3wl21ZHXnT/9
qpMsJqSTGght5dF4z5CLbrNXCwyfMtEQOFUcQ3A1AEy670rtAe00U2zQvs1egYB8
4Pm058Z9pQzNNbq4El1AZe8kYLaXFIT97aP0fZxX3DEo+kU/3xUF/C0gEwn1CVfL
/em4BCMMyxb8vGmJsXubY+lto/VgoZ7g1TwLhsenGso=
=HMwA
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2acZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV8liC/4pdlbpKzKhEn2jEwSRBA/l
GDF/qLMCWdeUTgG5z9EYlvW0c8i7EOBIztBBl4Fj2fvBeMAHWj2yibDQeWUOIA4x
5sVQbCSQc9FNV7qRu6tIkaQT9iX7Ha3w+UcGyroBClw/XoE0L4TsA7CzJ5wMJPQp
c/10zLkDED0WbD8pEIyDoBafuQXe4/xVuAZhoTWFEJ6xXlF2hrUi8rbfgkpor6US
Nkq7StHinT3wFqOnYpwoR/s6tzjEMtVfQYKKQkK+x4sAaI4pb8MOctMQcUX/ewiu
Z7loRbz8ZgmntbpQoRZHSOCoN4GtPq0W897GT4gMM3xZZLW8d1/DEXaOn+lZdg/V
RnNgG5/musTwezQxFkklTW1nITHedfZ6eoKG2oasNPcg1sBVD8jx4V10ZEl5U/h/
VmOyPICX/ulm/WOEZ64R4XfkuQl5VNWFhD3TJq7CiD1b4eglvQGYXDUyHefLNgtQ
Makok/BGrFWDhACSCBnyHiKKWD/zgiKpFvSN+EEd6e4=
=No6F
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 30 Jun 2021 22:52:52 +0200
Source: longnow
Architecture: source
Version: 1.1~hirsute-1
Distribution: hirsute
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (1.1~hirsute-1) hirsute; urgency=medium
.
* Minor tweak.
Checksums-Sha1:
ebda5b78583e88843995d95527ef10f44a864c06 1618 longnow_1.1~hirsute-1.dsc
4bc464129d3adf4831535d88f8c3e32a81a0448c 1996 longnow_1.1~hirsute.orig.tar.xz
661c94710f66f7b99c247246b084ebad805376be 2040 longnow_1.1~hirsute-1.debian.tar.xz
21785e2d175c17417315b04b7f515bc4ae5b1977 6164 longnow_1.1~hirsute-1_source.buildinfo
Checksums-Sha256:
9d6acc2a52da820e9e90c1aa87e2418ae9b58822dbe640c2cc2a1609401e2a79 1618 longnow_1.1~hirsute-1.dsc
07e6631a8ba278899828861869f15ab1a25ea81e0a0af0075e424ca511fd630b 1996 longnow_1.1~hirsute.orig.tar.xz
791a09f1bcb0088fe8bed378d9800caef0c21a06f240519c9e451ab6560bd8b6 2040 longnow_1.1~hirsute-1.debian.tar.xz
9b103dc76643bc009c26d851b9bf909c78e8ae15c8df380328c44712d70f488e 6164 longnow_1.1~hirsute-1_source.buildinfo
Files:
d234fedc987267a65aff825dbb149e70 1618 utils optional longnow_1.1~hirsute-1.dsc
6706b6b3f891ca9fc1d65638781defd2 1996 utils optional longnow_1.1~hirsute.orig.tar.xz
1d04130bde1e834294a5af381e7c157e 2040 utils optional longnow_1.1~hirsute-1.debian.tar.xz
b2d8befa2e65f3b612a48fe6b4616865 6164 utils optional longnow_1.1~hirsute-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2acZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV0KNC/4yOHPCYkGeJ4pL0pS8ewYb
71Vy1EJXA1AOKhVo1SuiGupotG8LGlTPRC6KRPv69u5McCtBr7nOJK5uNS5dnjIS
jX5kIu0YrsYBxofYF3oF7Fit9B8LR/rXHPZv+rkbRD/z/tBYnaIXlrJAs+tneGwL
y36gg2L3Hmfe9gtMHkjQ245r1aI5C7DNu6WDXvlwriOf9gX3jXQmqng9oOBRLosB
ZLNHnthhM0iSv3UJOJERUaMFQ5pwOxI3BUp/b9K7DPjzsQyHbxJGqftZVF2Gb9sS
+UUk1VUNLjKr270QQjIB7dTyxCWEXCmvT69/MXqwuxKFQ8bysNwz0b+N+GCOgqhu
0o6ORLjLP2lwtjlnPh2ZTY3t5lyCP092KJYX+M7Pb4ciDmRQALRcLgwmOkQ1S+je
W60EEiCK+kIGf4CVByp2ltTf9R4jIn5z9jhkvMvrUoiWQV9YjN+ovndfxQa/7lKR
+jTs3Z+sZeJGYeIm7/oPoEaxO5KplJwVPLvDc8GHRDQ=
=YTgH
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,5 @@
Successfully uploaded longnow_1.1~hirsute-1.dsc to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~hirsute.orig.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~hirsute-1.debian.tar.xz to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~hirsute-1_source.buildinfo to ppa.launchpad.net for ppa.
Successfully uploaded longnow_1.1~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: 1.1~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:
e43182663dbf5b3e5d032ef7c9c87c278d5e1e7a 2000 longnow_1.1~impish.orig.tar.xz
a3737b4b76a7b6e118e5f6c979e1b30e22d6ee78 2040 longnow_1.1~impish-1.debian.tar.xz
Checksums-Sha256:
8074efa4b3efe3d700411f29bc4512f3ce888a3b91dfac09ef2f9bac73239217 2000 longnow_1.1~impish.orig.tar.xz
2200c983f33d4815f9a2da883ac8205c96613f030802cb3967613b6530f87c46 2040 longnow_1.1~impish-1.debian.tar.xz
Files:
4c6469a29d2bdfd6b91a94711cbb9941 2000 longnow_1.1~impish.orig.tar.xz
831fb53f646f59a0286ed25315fc62c2 2040 longnow_1.1~impish-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2a4ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVwBwC/9706A9I/b8iRykQgT+7UE7
ZPWJya5ezF1UWDFYP4/gWG2sUY/qHcuEl8GBhAof6wmFzpdFoBIduaZ9KkQAhyPN
cBEKTgG1MM+bQm1G8p5r3u79I9t6mSNTCyDeCMhFQ9smvm3EXjpW8zCiXMQNsXBA
9WY49LBuTkogpYlqFyaPAMEWtO1xtdM9nDAzf0+rwOzPB8x35mjN9whGUSDkUZJh
7Sq4Aj5pBmVxiXCcCmoiTcGXc49Rrg8nrBcmsJi6XhbC0E2xJ8FK53XhD9mKOyn3
PjLRX7OGNhhySSMeAhMHMTlLdNb3ZK1vjdc7EJw3PjOt1E50M82nA56W5GcZoiea
UX4ETaMcVTRt9zbmG+rP4za/m7kupfsJr0SgQgKxYrVSZc29VyDYCWQkEAAwbIM9
3fGsCokNag1mZcq+35BTTuxyKC4SCPGySUqGcBksVXfHfUuzmoO9w8zE33gFSbtT
HPHco1vddL+nsUHGzZw4fGo/xY1s8Lqy1MK1Z6YuxRI=
=R7+3
-----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.9~impish-1
dpkg-buildpackage: info: source version 1.1~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.9~impish.orig.tar.xz
dpkg-source: info: building longnow in longnow_0.9~impish-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_0.9~impish-1.dsc
dpkg-source: info: building longnow using existing ./longnow_1.1~impish.orig.tar.xz
dpkg-source: info: building longnow in longnow_1.1~impish-1.debian.tar.xz
dpkg-source: info: building longnow in longnow_1.1~impish-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../longnow_0.9~impish-1_source.changes
dpkg-genchanges --build=source >../longnow_1.1~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.9~impish-1_source.changes ...
Now running lintian longnow_1.1~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.9~impish-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
signfile dsc longnow_1.1~impish-1.dsc Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_0.9~impish-1.dsc longnow_0.9~impish-1_source.buildinfo
signfile buildinfo longnow_0.9~impish-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_buildinfo longnow_1.1~impish-1.dsc longnow_1.1~impish-1_source.buildinfo
signfile buildinfo longnow_1.1~impish-1_source.buildinfo Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_0.9~impish-1.dsc longnow_0.9~impish-1_source.changes
fixup_changes buildinfo longnow_0.9~impish-1_source.buildinfo longnow_0.9~impish-1_source.changes
signfile changes longnow_0.9~impish-1_source.changes Nuno Sempere <nuno.semperelh@gmail.com>
fixup_changes dsc longnow_1.1~impish-1.dsc longnow_1.1~impish-1_source.changes
fixup_changes buildinfo longnow_1.1~impish-1_source.buildinfo longnow_1.1~impish-1_source.changes
signfile changes longnow_1.1~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.9~impish-1
Version: 1.1~impish-1
Checksums-Md5:
3db24f97e95fe6995c02c36b7a017bcd 1611 longnow_0.9~impish-1.dsc
34a61795d58976ff5c3faa576c7803dc 1611 longnow_1.1~impish-1.dsc
Checksums-Sha1:
ec43b005d8bf7df1438ac645a73bfd3b44d87f5d 1611 longnow_0.9~impish-1.dsc
7a977d2ed8ca9dd2c3cc1089d1cf6d4ccd78434c 1611 longnow_1.1~impish-1.dsc
Checksums-Sha256:
c12813f1edfa5398b3e32aa9a2f9f03563812fe02d9c06381609a0b0c98876f9 1611 longnow_0.9~impish-1.dsc
0b6b7574a44e5101b75bcd5ae59b6d2c7d20a6a1af514d3553f811c7b1d0ece6 1611 longnow_1.1~impish-1.dsc
Build-Origin: Ubuntu
Build-Architecture: amd64
Build-Date: Tue, 29 Jun 2021 18:33:15 +0200
Build-Date: Wed, 30 Jun 2021 22:52:58 +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="1624984395"
SOURCE_DATE_EPOCH="1625086377"
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDbS04ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kVyk/C/wMPOvu2+AzLLsdCXJ/X2do
xioYuQ+RjMVKuYSmvd/nRClWrNdHFEDxrteUy3zohKr0fsK8bXysH0WfN62pyc3H
wBhsc5s7tuHW3QGHlXpqEuyWsKhQI8Jdfwaqi4iodp6CUgSbeaeF+sJ0nW8m1LVt
8x4YvYM5IPmytGu14UAz0csfYBooE5eQRLARDZlYfX/QROGI2XSvG+MRQeH1MOCu
MVZItn25ut9aCU5m0WyDdY+nS9HclvGUCdcxsFx25UlttlMUw9GPty7CmryTkVrk
vyifTVNliC6L71UygjV0H+/jYdOUQ/za76Dkozp8pd7ADnc9fUyNNP8gg5GcVvoP
3f6kK2ns3lQQu7ngU9RhorilXo8TftQulzQE8OcLc9eTZWA47TmW3NsVik73E+Ru
HFcHXy3Ok5bO0ZQWChnUK+xOEc8gWpG2rXHvWDYOsP17Z2r97ChJMu6ZOzPf3kpw
RiZ4KscyvFOCWhqqLdFoYAQA2UAq4/D+kwqsUCoeiuI=
=G97s
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2a4ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV+WsC/9bjuvbrRMiQ8JvZxejmWey
Y9aURnYSknfzf0EwnpJPZLma/hM48MK8sw0t5NEtlbRWeJLxWmBXPVoD/qqxTAGt
QKj7zN1/xgn6ojfFEFNnBqDdflTIOSti8lIv7Y/mmN6WE4ATnDenXiZgNxQlTgdZ
JQy7fEKw9O8cQooD7oqBkaQKePAK5b0trFDCLGB+HF057IdjiHeLWjnbjNhotSxD
yi81IQwm54M2tQRdkv7CnQYg/Q2j1uN3xK43od/ACE/QQNs7qf6lnotU1xMOjbNM
aEJxKyr3kqC1QUIpeyC5EmcfJwjozn4CBoQHV3Ma5VCRjyXfTUbg+saOsCNqX1o+
F3qsOPU5TopoEnHJbNyUy3FBeybAryI863U5dfLjENpV5+i38sw154T8m/Dw/X/Z
PYHyjCLBQRy+CBTRgHhHAEnBmLh5LGYs6aKDPxOpbzFqw7APf+v0kCGUKZSg10R1
Blb3CIguo+lTN6PPOM/5LmZfPn7zRD49i+yH0CCzy4E=
=Q1jt
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 30 Jun 2021 22:52:57 +0200
Source: longnow
Architecture: source
Version: 1.1~impish-1
Distribution: impish
Urgency: medium
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Changed-By: Nuno Sempere <nuno.semperelh@gmail.com>
Changes:
longnow (1.1~impish-1) impish; urgency=medium
.
* Minor tweak.
Checksums-Sha1:
7a977d2ed8ca9dd2c3cc1089d1cf6d4ccd78434c 1611 longnow_1.1~impish-1.dsc
e43182663dbf5b3e5d032ef7c9c87c278d5e1e7a 2000 longnow_1.1~impish.orig.tar.xz
a3737b4b76a7b6e118e5f6c979e1b30e22d6ee78 2040 longnow_1.1~impish-1.debian.tar.xz
913edaef3450589135faaa62b992f7b3f9a79eb0 6160 longnow_1.1~impish-1_source.buildinfo
Checksums-Sha256:
0b6b7574a44e5101b75bcd5ae59b6d2c7d20a6a1af514d3553f811c7b1d0ece6 1611 longnow_1.1~impish-1.dsc
8074efa4b3efe3d700411f29bc4512f3ce888a3b91dfac09ef2f9bac73239217 2000 longnow_1.1~impish.orig.tar.xz
2200c983f33d4815f9a2da883ac8205c96613f030802cb3967613b6530f87c46 2040 longnow_1.1~impish-1.debian.tar.xz
0968c22ddf46fd6710a93eb07214ce905af716307609d521de1fd1cd617457a5 6160 longnow_1.1~impish-1_source.buildinfo
Files:
34a61795d58976ff5c3faa576c7803dc 1611 utils optional longnow_1.1~impish-1.dsc
4c6469a29d2bdfd6b91a94711cbb9941 2000 utils optional longnow_1.1~impish.orig.tar.xz
831fb53f646f59a0286ed25315fc62c2 2040 utils optional longnow_1.1~impish-1.debian.tar.xz
0ed9641a63ab48d4191a4ee3b258ffe3 6160 utils optional longnow_1.1~impish-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHNBAEBCgA3FiEEJgMJ0m3ydsnStpbJvUQaV89PZFcFAmDc2a4ZHG51bm8uc2Vt
cGVyZWxoQGdtYWlsLmNvbQAKCRC9RBpXz09kV1nHC/0Te0iDKnC3ST31FamFp2KU
IkxaDh0sFi7Z/1GS4AuWXaKn20wnjw0DvSRxzjLV5KwuEet8yHaxhA0Bw1sdzGaP
kbmsK62DekmttvPikyybl8af4gO0m17+4GCXsFrYqp43+iUZ1Q6jVERK0Plab4el
IyRCeLU7Z2tpLIF0Z+T5Rs7yXXklFFCurkxVML3ZoxVz6L5oZztJ4jLOAPr8Lvi7
xUHmNsaOUez6tgZh50ClMRE3CkPiUKHz8Pd3Evt9LajmDps72Hy3KkFcf7z+LuW+
bQJt4F6oC8jnr3CXl6+cCsV+6IoOgSOrGM92nSsPqZD0+BTUDOt5xovZgoxgKvgC
TKEiJyT5LI2bnZPrg9rFhRDAsAnyRGSyZVTFnM1Mfc/Wa4N3aVyERhlLy0GTcrBa
dKY+MVAZMwQqoBe6kmU/qB+B81swqRg3yrI6weXc5EQkZnrfrqzQw6t7HtmD1D4T
TycLUilR0Zj6g0JFPsetqBWrcF6Ou+uWEjwU8PEfOB0=
=kR7T
-----END PGP SIGNATURE-----

View File

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

Binary file not shown.

112
longnow
View File

@ -20,15 +20,17 @@ function pushToArchive(){
# 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
# 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
echo ""
input="$1"
counter=1
archivedLinksFile="$1.archived"
errorsFile="$1.errors"
## rm -f "$archivedLinksFile"
rm -f "$errorsfile"
## rm -f "$archivedLinksFile"
rm -f "$errorsFile"
touch "$archivedLinksFile"
touch "$errorsFile"
@ -39,38 +41,38 @@ function pushToArchive(){
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
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"; 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)))
else
archiveURL="$urlAlreadyContained"
numSecondsSleep=0
fi
echo $archiveURL
echo "Sleeping for $numSecondsSleep seconds..."
sleep $numSecondsSleep
echo ""
done < "$input"
echo "Done."
echo ""
}
@ -85,28 +87,28 @@ function addArchiveLinksToFile(){
echo "Creating longnow file @ $longNowFile..."
rm -f "$longNowFile"
rm -f "$longNowFile"
touch "$longNowFile"
cp "$originalFile" "$originalFileTemp"
while IFS= read -r url
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
do
wait
archivedUrl=$( ( grep "$url$" "$archivedLinksFile"; 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."
}