This commit is contained in:
NunoSempere 2021-06-28 15:55:02 +02:00
parent fbe2934718
commit 183e550385
5 changed files with 31 additions and 13 deletions

21
README.md Normal file
View File

@ -0,0 +1,21 @@
This package takes a markdown file, and creates a new markdown file in which each link is accompanied by an archive.org link, in the format [...](original link) ([a](archive.org link))
## How to install
Copy [this file](https://github.com/NunoSempere/longNowForMd/blob/master/longnowformd.sh) to your .bashrc file, or, for Ubuntu distributions Focal Fossa and above:
```
$ sudo add-apt-repository ppa:nunosempere/longnowformd
$ sudo apt-get update
```
This utility requires [archivenow](https://github.com/oduwsdl/archivenow) as a dependency, which itself requires a python installation. It can be installed with
```
$ pip install archivenow ## respectively, pip3
```
## How to use
```
$ longnow test.md
```

6
debian/changelog vendored
View File

@ -1,5 +1,5 @@
longnowformd (0.1-1) bionic; urgency=medium
longnowformd (0.2-1) bionic; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
* No update; just pushing to the ppa again now that I've updated my keys.
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 12:18:50 +0200
-- Nuno Sempere <nuno.semperelh@gmail.com> Mon, 28 Jun 2021 13:11:48 +0200

6
debian/control vendored
View File

@ -4,12 +4,12 @@ Priority: optional
Maintainer: Nuno Sempere <nuno.semperelh@gmail.com>
Build-Depends: debhelper-compat (= 12)
Standards-Version: 4.4.1
Homepage: <insert the upstream URL, if relevant>
Homepage: https://github.com/NunoSempere/longNowForMd
#Vcs-Browser: https://salsa.debian.org/debian/longnowformd
#Vcs-Git: https://salsa.debian.org/debian/longnowformd.git
Package: longnowformd
Architecture: all
Depends: ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Description: Debian package for adding archive.org links to .md files
Debian package for adding archive.org links to markdown files in the format [...](original link) ([a](archive.org link))

8
debian/copyright vendored
View File

@ -1,16 +1,12 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: longnowformd
Upstream-Contact: 2021 Nuno Sempere <nuno.semperelh@gmail.com>
Source: <url://example.com>
Upstream-Contact: <preferred name and address to reach the upstream project>
Source: https://github.com/NunoSempere/longNowForMd
Files: *
Copyright: 2021 Nuno Sempere <nuno.semperelh@gmail.com>
License: MIT
Files: debian/*
Copyright: 2021 Nuno Sempere <nuno.semperelh@gmail.com>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),

1
debian/files vendored Normal file
View File

@ -0,0 +1 @@
longnowformd_0.2-1_source.buildinfo utils optional