gitea2rss/README.adoc

86 lines
1.9 KiB
Plaintext
Raw Normal View History

2019-04-17 00:17:26 +02:00
= gitea2rss
2019-04-20 07:43:23 +02:00
*gitea2rss* Generates RSS feeds from https://gitea.io[Gitea] releases or tags.
2019-04-17 04:36:16 +02:00
2019-04-17 18:52:51 +02:00
https://rss.schlomp.space/?repo=tastytea/gitea2rss[Subscribe to gitea2rss releases].
2019-04-17 05:07:56 +02:00
2019-04-17 04:36:16 +02:00
== Usage
See https://schlomp.space/tastytea/gitea2rss/src/branch/master/gitea2rss.1.adoc[manpage].
== Install
=== Gentoo
Add my https://schlomp.space/tastytea/overlay[repository] and install it from
there.
2019-08-09 22:38:28 +02:00
[source,shell]
2019-04-17 04:36:16 +02:00
----
eselect repository enable tastytea
2019-05-18 02:10:49 +02:00
echo "www-misc/gitea2rss ~amd64" >> /etc/portage/package.accept_keywords/gitea2rss
2019-04-17 04:36:16 +02:00
emaint sync -r tastytea
emerge -a dev-util/gitea2rss
----
=== From source
==== Dependencies
* Tested OS: Linux
* C++ compiler (tested: https://gcc.gnu.org/[gcc] 5/6/7/8,
https://llvm.org/[clang] 3/5/6)
2019-04-17 04:36:16 +02:00
* https://cmake.org/[cmake] (at least: 3.6)
2019-08-09 22:38:28 +02:00
* https://pocoproject.org/[POCO] (tested: 1.9 / 1.7)
2019-04-17 04:36:16 +02:00
* https://github.com/open-source-parsers/jsoncpp[jsoncpp] (tested: 1.8)
2019-04-17 07:27:05 +02:00
* Optional:
** Manpage: http://asciidoc.org/[asciidoc] (tested: 8.6)
2019-04-17 04:36:16 +02:00
===== Debian stretch
2019-08-09 22:38:28 +02:00
[source,shell]
----
2019-08-09 22:38:28 +02:00
apt-get install build-essential cmake libpoco-dev libjsoncpp-dev asciidoc
----
2019-04-17 04:36:16 +02:00
==== Get sourcecode
===== Releases
Download the current release at
https://schlomp.space/tastytea/gitea2rss/releases[schlomp.space].
===== Development version
2019-08-09 22:38:28 +02:00
[source,shell]
2019-04-17 04:36:16 +02:00
----
git clone https://schlomp.space/tastytea/gitea2rss.git
----
==== Compile
2019-08-09 22:38:28 +02:00
[source,shell]
2019-04-17 04:36:16 +02:00
----
mkdir build
cd build/
cmake ..
cmake --build .
----
.cmake options:
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build.
* `-DWITH_MAN=NO` to not compile the manpage.
* `WITH_TESTS=YES` to compile the tests.
2019-04-17 04:36:16 +02:00
You can run the tests with `ctest` inside the build directory. Install with
`make install`.
2019-04-17 04:36:16 +02:00
== Copyright
----
Copyright © 2019 tastytea <tastytea@tastytea.de>.
License GPLv3: GNU GPL version 3 <https://www.gnu.org/licenses/gpl-3.0.html>.
This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
----