mirror of
https://codeberg.org/scip/kleingebaeck.git
synced 2025-12-16 12:01:00 +01:00
migrate to codeberg (#123)
This commit is contained in:
47
.github/workflows/ci.yaml
vendored
47
.github/workflows/ci.yaml
vendored
@@ -1,47 +0,0 @@
|
|||||||
name: build-and-test
|
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
version: [1.24]
|
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
||||||
name: Build
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
|
||||||
- name: Set up Go
|
|
||||||
uses: actions/setup-go@v6
|
|
||||||
with:
|
|
||||||
go-version: ${{ matrix.version }}
|
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: checkout
|
|
||||||
uses: actions/checkout@v5
|
|
||||||
|
|
||||||
- name: build
|
|
||||||
run: go build
|
|
||||||
|
|
||||||
- name: test
|
|
||||||
run: make test
|
|
||||||
|
|
||||||
- name: Update coverage report
|
|
||||||
uses: ncruces/go-coverage-report@main
|
|
||||||
with:
|
|
||||||
report: true
|
|
||||||
chart: true
|
|
||||||
amend: true
|
|
||||||
if: |
|
|
||||||
matrix.os == 'ubuntu-latest' &&
|
|
||||||
github.event_name == 'push'
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
golangci:
|
|
||||||
name: lint
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/setup-go@v6
|
|
||||||
with:
|
|
||||||
go-version: 1.24
|
|
||||||
- uses: actions/checkout@v5
|
|
||||||
- name: golangci-lint
|
|
||||||
uses: golangci/golangci-lint-action@v8
|
|
||||||
34
.github/workflows/pushimage.yaml
vendored
34
.github/workflows/pushimage.yaml
vendored
@@ -1,34 +0,0 @@
|
|||||||
name: build-push-image
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-push-image:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
packages: write
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v5
|
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
|
||||||
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
|
|
||||||
with:
|
|
||||||
registry: https://ghcr.io
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
|
||||||
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
tags: ghcr.io/tlinden/kleingebaeck:${{ github.ref_name}}
|
|
||||||
|
|
||||||
- name: Build and push latest Docker image
|
|
||||||
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
tags: ghcr.io/tlinden/kleingebaeck:latest
|
|
||||||
87
.github/workflows/release.yaml
vendored
87
.github/workflows/release.yaml
vendored
@@ -1,87 +0,0 @@
|
|||||||
name: build-release
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "v*.*.*"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
name: Build Release Assets
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v5
|
|
||||||
|
|
||||||
- name: Set up Go
|
|
||||||
uses: actions/setup-go@v6
|
|
||||||
with:
|
|
||||||
go-version: 1.24.5
|
|
||||||
|
|
||||||
- name: Build the executables
|
|
||||||
run: ./mkrel.sh kleingebaeck ${{ github.ref_name}}
|
|
||||||
|
|
||||||
- name: List the executables
|
|
||||||
run: ls -l ./releases
|
|
||||||
|
|
||||||
- name: Upload the binaries
|
|
||||||
uses: svenstaro/upload-release-action@v2
|
|
||||||
with:
|
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
tag: ${{ github.ref_name }}
|
|
||||||
file: ./releases/*
|
|
||||||
file_glob: true
|
|
||||||
|
|
||||||
- name: Build Changelog
|
|
||||||
id: github_release
|
|
||||||
uses: mikepenz/release-changelog-builder-action@v5
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
mode: "PR"
|
|
||||||
configurationJson: |
|
|
||||||
{
|
|
||||||
"template": "#{{CHANGELOG}}\n\n**Full Changelog**: #{{RELEASE_DIFF}}",
|
|
||||||
"pr_template": "- #{{TITLE}} (##{{NUMBER}}) by #{{AUTHOR}}\n#{{BODY}}",
|
|
||||||
"empty_template": "- no changes",
|
|
||||||
"categories": [
|
|
||||||
{
|
|
||||||
"title": "## New Features",
|
|
||||||
"labels": ["add", "feature"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "## Bug Fixes",
|
|
||||||
"labels": ["fix", "bug", "revert"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "## Documentation Enhancements",
|
|
||||||
"labels": ["doc"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "## Refactoring Efforts",
|
|
||||||
"labels": ["refactor"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "## Miscellaneus Changes",
|
|
||||||
"labels": []
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ignore_labels": [
|
|
||||||
"duplicate", "good first issue", "help wanted", "invalid", "question", "wontfix"
|
|
||||||
],
|
|
||||||
"label_extractor": [
|
|
||||||
{
|
|
||||||
"pattern": "(.) (.+)",
|
|
||||||
"target": "$1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"pattern": "(.) (.+)",
|
|
||||||
"target": "$1",
|
|
||||||
"on_property": "title"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
- name: Create Release
|
|
||||||
uses: softprops/action-gh-release@v2
|
|
||||||
with:
|
|
||||||
body: ${{steps.github_release.outputs.changelog}}
|
|
||||||
69
.goreleaser.yaml
Normal file
69
.goreleaser.yaml
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
before:
|
||||||
|
hooks:
|
||||||
|
- go mod tidy
|
||||||
|
|
||||||
|
gitea_urls:
|
||||||
|
api: https://codeberg.org/api/v1
|
||||||
|
download: https://codeberg.org
|
||||||
|
|
||||||
|
builds:
|
||||||
|
- env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
goos:
|
||||||
|
- linux
|
||||||
|
- windows
|
||||||
|
- darwin
|
||||||
|
- freebsd
|
||||||
|
|
||||||
|
archives:
|
||||||
|
- formats: [tar.gz]
|
||||||
|
# this name template makes the OS and Arch compatible with the results of `uname`.
|
||||||
|
name_template: >-
|
||||||
|
{{ .ProjectName }}_
|
||||||
|
{{- title .Os }}_
|
||||||
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
|
{{- else if eq .Arch "386" }}i386
|
||||||
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
|
{{- if .Arm }}v{{ .Arm }}{{ end }}_{{ .Tag }}
|
||||||
|
# use zip for windows archives
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
formats: [zip]
|
||||||
|
- goos: linux
|
||||||
|
formats: [tar.gz,binary]
|
||||||
|
files:
|
||||||
|
- src: "*.md"
|
||||||
|
strip_parent: true
|
||||||
|
- src: "docs/*"
|
||||||
|
strip_parent: true
|
||||||
|
- src: Makefile.dist
|
||||||
|
dst: Makefile
|
||||||
|
wrap_in_directory: true
|
||||||
|
|
||||||
|
changelog:
|
||||||
|
sort: asc
|
||||||
|
filters:
|
||||||
|
exclude:
|
||||||
|
- "^docs:"
|
||||||
|
- "^test:"
|
||||||
|
groups:
|
||||||
|
- title: Improved
|
||||||
|
regexp: '^.*?(feat|add|new)(\([[:word:]]+\))??!?:.+$'
|
||||||
|
order: 0
|
||||||
|
- title: Fixed
|
||||||
|
regexp: '^.*?(bug|fix)(\([[:word:]]+\))??!?:.+$'
|
||||||
|
order: 1
|
||||||
|
- title: Changed
|
||||||
|
order: 999
|
||||||
|
|
||||||
|
release:
|
||||||
|
header: "# Release Notes"
|
||||||
|
footer: >-
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Full Changelog: [{{ .PreviousTag }}...{{ .Tag }}](https://codeberg.org/scip/epuppy/compare/{{ .PreviousTag }}...{{ .Tag }})
|
||||||
36
.woodpecker/build.yaml
Normal file
36
.woodpecker/build.yaml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- linux/amd64
|
||||||
|
goversion:
|
||||||
|
- 1.24
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: ${platform}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
when:
|
||||||
|
event: [push]
|
||||||
|
image: golang:${goversion}
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go build
|
||||||
|
|
||||||
|
linter:
|
||||||
|
when:
|
||||||
|
event: [push]
|
||||||
|
image: golang:${goversion}
|
||||||
|
commands:
|
||||||
|
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
|
||||||
|
- golangci-lint --version
|
||||||
|
- golangci-lint run ./...
|
||||||
|
depends_on: [build]
|
||||||
|
|
||||||
|
test:
|
||||||
|
when:
|
||||||
|
event: [push]
|
||||||
|
image: golang:${goversion}
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go test -v -cover
|
||||||
|
depends_on: [build,linter]
|
||||||
32
.woodpecker/image.yaml
Normal file
32
.woodpecker/image.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# https://woodpecker-ci.org/plugins/docker-buildx
|
||||||
|
# enable Package unit and go to /scip/-/packages after building to link to proj
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- &repo codeberg.org/${CI_REPO_OWNER}/kleingebaeck
|
||||||
|
|
||||||
|
steps:
|
||||||
|
dryrun:
|
||||||
|
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
|
||||||
|
settings:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
dry_run: true
|
||||||
|
repo: *repo
|
||||||
|
tags: latest
|
||||||
|
when:
|
||||||
|
event: [pull_request]
|
||||||
|
|
||||||
|
publish:
|
||||||
|
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
|
||||||
|
settings:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
repo: *repo
|
||||||
|
registry: codeberg.org
|
||||||
|
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG}
|
||||||
|
username: ${CI_REPO_OWNER}
|
||||||
|
password:
|
||||||
|
from_secret: REGISTRY_TOKEN
|
||||||
|
when:
|
||||||
|
event: [tag]
|
||||||
|
branch: main
|
||||||
15
.woodpecker/release.yaml
Normal file
15
.woodpecker/release.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# build release
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: linux/amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
goreleaser:
|
||||||
|
image: goreleaser/goreleaser
|
||||||
|
when:
|
||||||
|
event: [tag]
|
||||||
|
environment:
|
||||||
|
GITEA_TOKEN:
|
||||||
|
from_secret: DEPLOY_TOKEN
|
||||||
|
commands:
|
||||||
|
- goreleaser release --clean --verbose
|
||||||
20
Makefile.dist
Normal file
20
Makefile.dist
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# -*-make-*-
|
||||||
|
|
||||||
|
.PHONY: install all
|
||||||
|
|
||||||
|
tool = rpn
|
||||||
|
PREFIX = /usr/local
|
||||||
|
UID = root
|
||||||
|
GID = 0
|
||||||
|
|
||||||
|
all:
|
||||||
|
@echo "Type 'sudo make install' to install the tool."
|
||||||
|
@echo "To change prefix, type 'sudo make install PREFIX=/opt'"
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -d -o $(UID) -g $(GID) $(PREFIX)/bin
|
||||||
|
install -d -o $(UID) -g $(GID) $(PREFIX)/man/man1
|
||||||
|
install -d -o $(UID) -g $(GID) $(PREFIX)/share/doc
|
||||||
|
install -o $(UID) -g $(GID) -m 555 $(tool) $(PREFIX)/sbin/
|
||||||
|
install -o $(UID) -g $(GID) -m 444 $(tool).1 $(PREFIX)/man/man1/
|
||||||
|
install -o $(UID) -g $(GID) -m 444 *.md $(PREFIX)/share/doc/
|
||||||
38
README-de.md
38
README-de.md
@@ -1,13 +1,13 @@
|
|||||||
## Kleingebäck - kleinanzeigen.de Backup
|
## Kleingebäck - kleinanzeigen.de Backup
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
[](https://goreportcard.com/report/github.com/tlinden/kleingebaeck)
|
[](https://goreportcard.com/report/codeberg.org/scip/kleingebaeck)
|
||||||
[](https://github.com/tlinden/kleingebaeck/actions)
|
[](https://ci.codeberg.org/repos/15530)
|
||||||
[](https://raw.githack.com/wiki/tlinden/kleingebaeck/coverage.html)
|
[](https://raw.githack.com/wiki/tlinden/kleingebaeck/coverage.html)
|
||||||

|

|
||||||
[](https://github.com/TLINDEN/kleingebaeck/releases/latest)
|
[](https://codeberg.org/scip/kleingebaeck/releases)
|
||||||
[](https://github.com/tlinden/kleingebaeck/blob/main/README.md)
|
[](https://codeberg.org/scip/kleingebaeck/raw/branch/README.md)
|
||||||
|
|
||||||
Mit diesem Tool kann man seine Anzeigen bei https://kleinanzeigen.de sichern.
|
Mit diesem Tool kann man seine Anzeigen bei https://kleinanzeigen.de sichern.
|
||||||
|
|
||||||
@@ -23,40 +23,40 @@ Fertige vorcompilierte Programme älter als Version `v0.3.12` sind von
|
|||||||
Schwachstellen in der Behandlung von HTTP und Zertifikaten
|
Schwachstellen in der Behandlung von HTTP und Zertifikaten
|
||||||
betroffen. Falls Du eine ältere Kleingebäck-Version im Einsatz hast,
|
betroffen. Falls Du eine ältere Kleingebäck-Version im Einsatz hast,
|
||||||
bitte update auf Version `v0.3.12` oder höher. Bitte lies auch die [Release Notes für
|
bitte update auf Version `v0.3.12` oder höher. Bitte lies auch die [Release Notes für
|
||||||
v0.3.12](https://github.com/TLINDEN/kleingebaeck/releases/tag/v0.3.12)
|
v0.3.12](https://codeberg.org/scip/kleingebaeck/releases/tag/v0.3.12)
|
||||||
für mehr Details.
|
für mehr Details.
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
Das ist die Hauptseite meines kleinanzeigen.de Accounts:
|
Das ist die Hauptseite meines kleinanzeigen.de Accounts:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Sichern ich meine Anzeigen:
|
Sichern ich meine Anzeigen:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Backupverzeichnis nach dem Download:
|
Backupverzeichnis nach dem Download:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Verzeichnis einer Anzeige:
|
Verzeichnis einer Anzeige:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**Das gleiche unter Windows:**
|
**Das gleiche unter Windows:**
|
||||||
|
|
||||||
Anzeigen Sichern:
|
Anzeigen Sichern:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Backupverzeichnis nach dem Download
|
Backupverzeichnis nach dem Download
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Und eine Anzeige:
|
Und eine Anzeige:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ für seine Plattform herunter und kann direkt loslegen.
|
|||||||
|
|
||||||
### Installation des vorcompilierten Programms
|
### Installation des vorcompilierten Programms
|
||||||
|
|
||||||
Auf der Seite [des letzten Releases](https://github.com/TLINDEN/kleingebaeck/releases/latest) findet man das Program für sein Betriebssystem und die Plattform (z.b. Windows + Intel)
|
Auf der Seite [des letzten Releases](https://codeberg.org/scip/kleingebaeck/releases) findet man das Program für sein Betriebssystem und die Plattform (z.b. Windows + Intel)
|
||||||
|
|
||||||
Es gibt 2 Varianten:
|
Es gibt 2 Varianten:
|
||||||
|
|
||||||
@@ -105,7 +105,7 @@ hilfreich, aber nicht unbedingt erforderlich.
|
|||||||
Um das Programm zu compilieren, muss man folgende Schritte ausführen:
|
Um das Programm zu compilieren, muss man folgende Schritte ausführen:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/TLINDEN/kleingebaeck.git
|
git clone https://codeberg.org/scip/kleingebaeck.git
|
||||||
cd kleingebaeck
|
cd kleingebaeck
|
||||||
go mod tidy
|
go mod tidy
|
||||||
make # (oder make)
|
make # (oder make)
|
||||||
@@ -146,7 +146,7 @@ gemountet.
|
|||||||
Die Optionen `-u XXX -v` sind kleingebäck Optionen. Ersetze `XXX`
|
Die Optionen `-u XXX -v` sind kleingebäck Optionen. Ersetze `XXX`
|
||||||
durch Deine tatsächliche kleinanzeigen.de Userid.
|
durch Deine tatsächliche kleinanzeigen.de Userid.
|
||||||
|
|
||||||
Eine Liste verfügbarer Images findet man [hier](https://github.com/tlinden/kleingebaeck/pkgs/container/kleingebaeck/versions?filters%5Bversion_type%5D=tagged)
|
Eine Liste verfügbarer Images findet man [hier](https://codeberg.org/scip/kleingebaeck/pkgs/container/kleingebaeck/versions?filters%5Bversion_type%5D=tagged)
|
||||||
|
|
||||||
## Kommandozeilen Optionen:
|
## Kommandozeilen Optionen:
|
||||||
|
|
||||||
@@ -277,7 +277,7 @@ ignorieren, die beim Bilderdownload auftreten könnten.
|
|||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Die Dokumentation kann man
|
Die Dokumentation kann man
|
||||||
[online](https://github.com/TLINDEN/kleingebaeck/blob/main/kleingebaeck.pod)
|
[online](https://codeberg.org/scip/kleingebaeck/raw/branch/kleingebaeck.pod)
|
||||||
oder lokal lesen mit: `kleingebaeck --manual`. Hat man das Tool mit
|
oder lokal lesen mit: `kleingebaeck --manual`. Hat man das Tool mit
|
||||||
dem Tarball installiert, funktioniert auch `man kleingebaeck`.
|
dem Tarball installiert, funktioniert auch `man kleingebaeck`.
|
||||||
|
|
||||||
@@ -293,7 +293,7 @@ das doch der beste Weg, die Anfrage zu übersehen und zu vergessen.
|
|||||||
|
|
||||||
Um einen Fehler, ein unerwartetes Verhalten, eine Feature Request oder
|
Um einen Fehler, ein unerwartetes Verhalten, eine Feature Request oder
|
||||||
einen Patch zu übermitteln, eröffne daher bitte einen Issue unter:
|
einen Patch zu übermitteln, eröffne daher bitte einen Issue unter:
|
||||||
https://github.com/TLINDEN/kleingebaeck/issues. Danke!
|
https://codeberg.org/scip/kleingebaeck/issues. Danke!
|
||||||
|
|
||||||
Bitte gebe den fehlgeschlagenen Befehl an, rufe es auch mit Debugging
|
Bitte gebe den fehlgeschlagenen Befehl an, rufe es auch mit Debugging
|
||||||
`-d` auf.
|
`-d` auf.
|
||||||
|
|||||||
36
README.md
36
README.md
@@ -1,13 +1,13 @@
|
|||||||
## Kleingebäck - kleinanzeigen.de Backup
|
## Kleingebäck - kleinanzeigen.de Backup
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
[](https://goreportcard.com/report/github.com/tlinden/kleingebaeck)
|
[](https://goreportcard.com/report/codeberg.org/scip/kleingebaeck)
|
||||||
[](https://github.com/tlinden/kleingebaeck/actions)
|
[](https://ci.codeberg.org/repos/15530)
|
||||||
[](https://raw.githack.com/wiki/tlinden/kleingebaeck/coverage.html)
|
[](https://raw.githack.com/wiki/tlinden/kleingebaeck/coverage.html)
|
||||||

|

|
||||||
[](https://github.com/TLINDEN/kleingebaeck/releases/latest)
|
[](https://codeberg.org/scip/kleingebaeck/releases)
|
||||||
[](https://github.com/tlinden/kleingebaeck/blob/main/README-de.md)
|
[](https://codeberg.org/scip/kleingebaeck/raw/branch/README-de.md)
|
||||||
|
|
||||||
[Die deutsche Version des READMEs findet Ihr hier](README-de.md).
|
[Die deutsche Version des READMEs findet Ihr hier](README-de.md).
|
||||||
|
|
||||||
@@ -24,40 +24,40 @@ Binary releases prior to version `v0.3.11` are affected by
|
|||||||
vulnerabilities in HTTP and certificate handling. If you are using
|
vulnerabilities in HTTP and certificate handling. If you are using
|
||||||
such a binary, please update to `v0.3.12` or higher. Please also refer
|
such a binary, please update to `v0.3.12` or higher. Please also refer
|
||||||
to the [Release Notes of
|
to the [Release Notes of
|
||||||
v0.3.12](https://github.com/TLINDEN/kleingebaeck/releases/tag/v0.3.12)
|
v0.3.12](https://codeberg.org/scip/kleingebaeck/releases/tag/v0.3.12)
|
||||||
for more details.
|
for more details.
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
This is the index of my kleinanzeigen.de Account:
|
This is the index of my kleinanzeigen.de Account:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Here I download my ads on the commandline:
|
Here I download my ads on the commandline:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
And this is the backup directory after download:
|
And this is the backup directory after download:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Here's a directory for one ad:
|
Here's a directory for one ad:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**The same thing under windows:**
|
**The same thing under windows:**
|
||||||
|
|
||||||
Downloading ads:
|
Downloading ads:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Backup directory after download:
|
Backup directory after download:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
And one ad listing directory:
|
And one ad listing directory:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ releases page and you're good to go.
|
|||||||
### Installation using a pre-compiled binary
|
### Installation using a pre-compiled binary
|
||||||
|
|
||||||
Go to the [latest release
|
Go to the [latest release
|
||||||
page](https://github.com/TLINDEN/kleingebaeck/releases/latest) and
|
page](https://codeberg.org/scip/kleingebaeck/releases) and
|
||||||
look for your OS and platform. There are two options to install the binary:
|
look for your OS and platform. There are two options to install the binary:
|
||||||
|
|
||||||
1. Directly download the binary for your platform,
|
1. Directly download the binary for your platform,
|
||||||
@@ -138,7 +138,7 @@ docker run. And the local directory `myads` will be mapped to
|
|||||||
The options `-u XXX -v` are kleingebaeck options, replace `XXX` with
|
The options `-u XXX -v` are kleingebaeck options, replace `XXX` with
|
||||||
your actual kleinanzeigen.de user id.
|
your actual kleinanzeigen.de user id.
|
||||||
|
|
||||||
A list of available images is [here](https://github.com/tlinden/kleingebaeck/pkgs/container/kleingebaeck/versions?filters%5Bversion_type%5D=tagged)
|
A list of available images is [here](https://codeberg.org/scip/kleingebaeck/pkgs/container/kleingebaeck/versions?filters%5Bversion_type%5D=tagged)
|
||||||
|
|
||||||
## Commandline options:
|
## Commandline options:
|
||||||
|
|
||||||
@@ -262,7 +262,7 @@ errors.
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
You can read the documentation [online](https://github.com/TLINDEN/kleingebaeck/blob/main/kleingebaeck.pod) or locally once you have installed kleingebaeck with: `kleingebaeck --manual`.
|
You can read the documentation [online](https://codeberg.org/scip/kleingebaeck/raw/branch/kleingebaeck.pod) or locally once you have installed kleingebaeck with: `kleingebaeck --manual`.
|
||||||
|
|
||||||
## Kleingebäck?
|
## Kleingebäck?
|
||||||
|
|
||||||
@@ -278,7 +278,7 @@ that's the best way for me to forget to do something.
|
|||||||
|
|
||||||
In order to report a bug, unexpected behavior, feature requests or to
|
In order to report a bug, unexpected behavior, feature requests or to
|
||||||
submit a patch, please open an issue on github:
|
submit a patch, please open an issue on github:
|
||||||
https://github.com/TLINDEN/kleingebaeck/issues.
|
https://codeberg.org/scip/kleingebaeck/issues.
|
||||||
|
|
||||||
Please repeat the failing command with debugging enabled `-d` and
|
Please repeat the failing command with debugging enabled `-d` and
|
||||||
include the output in the issue.
|
include the output in the issue.
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ I don't agree with the "responsible disclosure" process most projects
|
|||||||
(and companies) work these days.
|
(and companies) work these days.
|
||||||
|
|
||||||
So, if you find a vulnerability of any kind, please just open an
|
So, if you find a vulnerability of any kind, please just open an
|
||||||
[issue](https://github.com/TLINDEN/kleingebaeck/issues). Please add
|
[issue](https://codeberg.org/scip/kleingebaeck/issues). Please add
|
||||||
all details required to reproduce the vulnerability. You won't be chased.
|
all details required to reproduce the vulnerability. You won't be chased.
|
||||||
|
|
||||||
That's just all about it.
|
That's just all about it.
|
||||||
|
|||||||
2
ad.go
2
ad.go
@@ -94,7 +94,7 @@ func (ad *Ad) CalculateExpire() {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Decode attributes like color or condition. See
|
Decode attributes like color or condition. See
|
||||||
https://github.com/TLINDEN/kleingebaeck/issues/117
|
https://codeberg.org/scip/kleingebaeck/issues/117
|
||||||
for more details. In short: the HTML delivered by
|
for more details. In short: the HTML delivered by
|
||||||
kleinanzeigen.de has no css attribute for the keys
|
kleinanzeigen.de has no css attribute for the keys
|
||||||
so we cannot extract key=>value mappings of the
|
so we cannot extract key=>value mappings of the
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ commandline flags take precedence over env!
|
|||||||
.IX Header "BUGS"
|
.IX Header "BUGS"
|
||||||
In order to report a bug, unexpected behavior, feature requests
|
In order to report a bug, unexpected behavior, feature requests
|
||||||
or to submit a patch, please open an issue on github:
|
or to submit a patch, please open an issue on github:
|
||||||
<https://github.com/TLINDEN/kleingebaeck/issues>.
|
<https://codeberg.org/scip/kleingebaeck/issues>.
|
||||||
.PP
|
.PP
|
||||||
Please repeat the failing command with debugging enabled \f(CW\*(C`\-d\*(C'\fR and
|
Please repeat the failing command with debugging enabled \f(CW\*(C`\-d\*(C'\fR and
|
||||||
include the output in the issue.
|
include the output in the issue.
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ ENVIRONMENT VARIABLES
|
|||||||
BUGS
|
BUGS
|
||||||
In order to report a bug, unexpected behavior, feature requests or to
|
In order to report a bug, unexpected behavior, feature requests or to
|
||||||
submit a patch, please open an issue on github:
|
submit a patch, please open an issue on github:
|
||||||
<https://github.com/TLINDEN/kleingebaeck/issues>.
|
<https://codeberg.org/scip/kleingebaeck/issues>.
|
||||||
|
|
||||||
Please repeat the failing command with debugging enabled "-d" and
|
Please repeat the failing command with debugging enabled "-d" and
|
||||||
include the output in the issue.
|
include the output in the issue.
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ commandline flags take precedence over env!
|
|||||||
|
|
||||||
In order to report a bug, unexpected behavior, feature requests
|
In order to report a bug, unexpected behavior, feature requests
|
||||||
or to submit a patch, please open an issue on github:
|
or to submit a patch, please open an issue on github:
|
||||||
L<https://github.com/TLINDEN/kleingebaeck/issues>.
|
L<https://codeberg.org/scip/kleingebaeck/issues>.
|
||||||
|
|
||||||
Please repeat the failing command with debugging enabled C<-d> and
|
Please repeat the failing command with debugging enabled C<-d> and
|
||||||
include the output in the issue.
|
include the output in the issue.
|
||||||
|
|||||||
Reference in New Issue
Block a user