Add example data
continuous-integration/drone/push Build is passing Details

This commit is contained in:
qvalentin 2022-05-27 14:16:36 +02:00
parent c67bd450c7
commit ffec4c19ca
Signed by: qvalentin
GPG Key ID: C979FA1EAFCABF1C
6 changed files with 49 additions and 4 deletions

View File

@ -11,9 +11,7 @@ public record LinkDto(Username creator, LinkUrl url, Set<Category> categories, S
@Override
public String toString() {
return
url ./link-ditch catgegory get
./link-ditch catgegory get
url +
" by " + creator +
" categories: " + categories +
" tags:" + tags;

View File

@ -69,6 +69,39 @@ category get
Die Speicherung der Daten erfolgt in CSV-Dateien, die im Workingdirectory abgelegt werden.
Eine beispielhafte Interaktion ist hier gegeben. Die Daten sollten auch im Repo vorhanden sein:
#+begin_src shell
./link-ditch category add browser
./link-ditch category add privacy
./link-ditch link add https://github.com/libredirect/libredirect valentin privacy browser
./link-ditch link add https://github.com/nickspaargaren/no-google valentin android privacy browser
./link-ditch tag add emacswiki emacswiki.org
./link-ditch category add texteditor
./link-ditch link add https://www.emacswiki.org/emacs/WriteOrDieMode valentin texteditor
./link-ditch link add http://www.vimgolf.com/ valentin texteditor
./link-ditch category add latex
./link-ditch link add https://github.com/JabRef/jabref valentin latex
./link-ditch link add https://geschicktgendern.de/ valentin latex
./link-ditch link add https://latexeditor.lagrida.com/ valentin latex
./link-ditch link get
./link-ditch link hosts # gruppiert nach gleichen Hosts
./link-ditch link user valentin
./link-ditch link category privacy
./link-ditch link tag github
./link-ditch tag get
./link-ditch catgegory get
#+end_src
*** Wie testet man die Applikation?
#+begin_src

Binary file not shown.

5
category.csv Normal file
View File

@ -0,0 +1,5 @@
browser,2652
privacy,383
android,2521
texteditor,5246
latex,6995
1 browser 2652
2 privacy 383
3 android 2521
4 texteditor 5246
5 latex 6995

2
customtags.csv Normal file
View File

@ -0,0 +1,2 @@
gitea,tea.filefighter.de
emacswiki,emacswiki.org
1 gitea tea.filefighter.de
2 emacswiki emacswiki.org

7
links.csv Normal file
View File

@ -0,0 +1,7 @@
1159,valentin,https://github.com/libredirect/libredirect,2652-383,github#A web extension that redirects popular sites to alternative frontends and backends
1908,valentin,https://github.com/nickspaargaren/no-google,2521-2652-383,github#Completely block Google and its services
5618,valentin,https://www.emacswiki.org/emacs/WriteOrDieMode,5246,emacswiki#
8978,valentin,http://www.vimgolf.com/,5246,
9624,valentin,https://github.com/JabRef/jabref,6995,github#Graphical Java application for managing BibTeX and biblatex (.bib) databases
7091,valentin,https://geschicktgendern.de/,6995,
5232,valentin,https://latexeditor.lagrida.com/,6995,
1 1159 valentin https://github.com/libredirect/libredirect 2652-383 github#A web extension that redirects popular sites to alternative frontends and backends
2 1908 valentin https://github.com/nickspaargaren/no-google 2521-2652-383 github#Completely block Google and its services
3 5618 valentin https://www.emacswiki.org/emacs/WriteOrDieMode 5246 emacswiki#
4 8978 valentin http://www.vimgolf.com/ 5246
5 9624 valentin https://github.com/JabRef/jabref 6995 github#Graphical Java application for managing BibTeX and biblatex (.bib) databases
6 7091 valentin https://geschicktgendern.de/ 6995
7 5232 valentin https://latexeditor.lagrida.com/ 6995