gitea2rss/README.adoc
tastytea 97c7e20da7
Added tests for strings.cpp.
get_baseurl(), get_domain(), get_repo(), get_project().
2019-04-20 13:01:58 +02:00

2.2 KiB

gitea2rss

gitea2rss Generates RSS feeds from Gitea releases or tags.

Usage

See manpage.

Install

Gentoo

Add my repository and install it from there.

eselect repository enable tastytea
echo "dev-util/gitea2rss ~amd64" >> /etc/portage/package.accept_keywords/gitea2rss
emaint sync -r tastytea
emerge -a dev-util/gitea2rss

From source

Dependencies

Debian stretch
echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list
apt-get update
apt-get install g++-6 cmake pkg-config libcurl4-openssl-dev libjsoncpp-dev asciidoc
apt-get install -t sid libcurlpp-dev
export CXX="g++-6"

Get sourcecode

Releases

Download the current release at schlomp.space.

Development version
git clone https://schlomp.space/tastytea/gitea2rss.git

Compile

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.

You can run the tests with ctest inside the build directory. Install with make install.

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.