From 2cce2b7aa07bb47d6109bde13cd501ce26e1b60d Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Sat, 30 Sep 2023 18:30:26 +0200 Subject: Update README --- README.txt | 121 +++++++++++++++++++++++++++++-------------------------------- configure | 8 ++++ 2 files changed, 66 insertions(+), 63 deletions(-) create mode 100755 configure diff --git a/README.txt b/README.txt index a3b93c9..accf13d 100644 --- a/README.txt +++ b/README.txt @@ -1,78 +1,73 @@ -# By using this work you agree to the terms and conditions in 'LICENSE.txt' Gateleen Resclone ================= Commandline utility to clone subtrees from gateleen instances. -From "gateleenResclone --help": -+------------------------------------------------------------------------------ -| Options: -| -| --pull|--push -| Choose to download or upload. -| -| --url -| Root node of remote tree. -| -| --filter-part -| Regex pattern applied as predicate to the path starting after the path -| specified in '--url'. Each path segment will be handled as its -| individual pattern. If there are longer paths to process, they will be -| accepted, as long they at least start-with specified filter. -| Example: /foo/[0-9]+/bar -| -| --filter-full -| Nearly same as '--filter-part'. But paths with more segments than the -| pattern, will be rejected. -| -| --file -| (optional) Path to the archive file to read/write. Defaults to -| stdin/stdout if ommitted. -| -+------------------------------------------------------------------------------ +For release artifacts see: + + https://github.com/hiddenalpha/GateleenResclone/releases + + + +## Cited from `gateleen-resclone --help`: + + --pull|--push + Choose to download or upload. + + --url + Root node of remote tree. + + --filter-part + Regex pattern applied as predicate to the path starting after the path + specified in '--url'. Each path segment will be handled as its + individual pattern. If there are longer paths to process, they will be + accepted, as long they at least start-with specified filter. + Example: /foo/[0-9]+/bar + + --filter-full + Nearly same as '--filter-part'. But paths with more segments than the + pattern, will be rejected. + + --file + (optional) Path to the archive file to read/write. Defaults to + stdin/stdout if ommitted. + + + +## Some stats for nerds (v0.0.5) + +------------------------------------------ +Language files blank comment code +------------------------------------------ +C 6 146 77 1065 +make 1 15 2 101 +C/C++ Header 7 44 35 55 +------------------------------------------ +SUM: 14 205 114 1221 +------------------------------------------ + ## Build -1. Make sure dependencies are in place. -2. Run "make dist" -3. Result gets placed in 'dist' directory. There are multiple tarballs: - - Source. - - Binaries. - - Dependencies (will only contain those which got placed in external subdir) + ./configure + make clean + make + make install + +Those who prefer less fragile build environments may consult +"contrib/build-env-setup/README.txt". + ## Dependencies -- libcurl 7.67.0 "http://curl.haxx.se/libcurl" -- libyajl 2.1.0 "http://lloyd.github.io/yajl" -- libarchive 3.3.3 "https://www.libarchive.org/" - -If you prefer to NOT clutter your system with tons of never again used -packages, you have the option to provide the dependencies from within the -project tree itself. For this, place the files as described below. - - external/lxGcc64/ - |- include/ - | |- curl/{curl.h, easy.h, multi.h, ...} - | |- yajl/{yajl_parse.h, yajl_common.h, ...} - | |- archive.h - | '- archive_entry.h - '- lib/ - '- {libyajl.so, ...} - -Or for windoof: - - external/mingw64/ - |- rt/bin/ - | |- pthreadGC2.dll libcurl-4.dll libarchive-13.dll libpcre-1.dll - | '- libpcreposix-0.dll libiconv-2.dll - |- include/ - | |- yajl/{yajl_parse.h, yajl_common.h, ...} - | |- curl/{curl.h, easy.h, ...} - | |- archive.h - | |- archive_entry.h - | '- pcreposix.h - '- lib/{libarchive.a, libarchive.dll.a, libcurl.a, libcurl.dll.a, ...} +- libc +- cJSON +- libcurl +- libarchive +- pcre + + diff --git a/configure b/configure new file mode 100755 index 0000000..3069f60 --- /dev/null +++ b/configure @@ -0,0 +1,8 @@ +#!/bin/sh + +# +# This file only exists to stay compatible with well-known build +# workflows. Further, it also prepares just in case it gets required +# somewhen. +# + -- cgit v1.1