Skip to content

Symlink'd db and template #761

Open
Open
@ezeedub

Description

I've recently switched to using the flatpak version, and would like to manage my modifications to report_template.html the same way I did before using the package manager version.

Using the package manager version, I kept the file in a separate folder for revision control, and then symlinked to it from ~/.local/share/hamster.

Using flatpak, I have tried similar by symlinking to the file from ~/.var/app/org.gnome.Hamster/data/hamster (per the instructions on the default template. I've also tried ~/.local/share/flatpak/exports/share/hamster.

The problem I'm having is that when I run an export with flatpak run org.gnome.Hamster export html YYYY-MM-DD YYYY-MM-DD I get the default template. If I replace the symlink with the actual file, I get my customized template.

Hamster seems not to see the report if it's a symlink. Am I running the export incorrectly, or is there something I can do to make the symlink work?

I have the same issue for hamster.db which I'd like to keep in my custom folder. I can load the file, but not through the symlink.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions