Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid label tags in documentation #105

Open
h4de5 opened this issue Feb 20, 2023 · 1 comment
Open

Invalid label tags in documentation #105

h4de5 opened this issue Feb 20, 2023 · 1 comment

Comments

@h4de5
Copy link
Contributor

h4de5 commented Feb 20, 2023

documentation says "albums.recursive"

--label albums.recursive=True \

but config is read from "gallery.albums.recursive"

'gallery.albums.recursive', True))

same with most other label parameters.

@h4de5
Copy link
Contributor Author

h4de5 commented Feb 20, 2023

even when providing correct labels, the values are somehow ignored:

on docker run:

  --label gallery.input_path="/input" \
  --label gallery.output_path="/output" \
  --label gallery.overwrite=True \
  --label gallery.albums.recursive=False \
  --label gallery.people.enable=False \
  --label gallery.watermark.enable=False \
  --label site.http_root="/" \
  --label site.title="Family Album" \

correctly transfered into container:

Generating yaml config...
gallery:
  albums:
    recursive: "False"
  input_path: /input
  output_path: /output
  overwrite: "True"
  people:
    enable: "False"
  watermark:
    enable: "False"
org:
  opencontainers:
    image:
      description: 'A static photo gallery generator '
      licenses: MIT
      source: https://github.com/cbenning/fussel
site:
  http_root: /
  title: Family Album
Generating site from /input

generator still processes sub-directories and adds watermark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant