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

marginalia-search: init at 24.01.2-unstable-2024-08-09 #349

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 28, 2024

  1. marginalia-search: init at 24.01.2-unstable-2024-08-09

    Hacky.
    
    - We need to download some externally-hosted files
      - Many just point to an unversioned URL
      - The files at downloads.marginalia.nu are basically impossible for me to download via Nix (very slow connection & prone to abort) so the downloads had to be brute-forced with aria2 and hashed separately
        (maybe move them to module setup? But install.sh will try to verify that they're downloaded at install-time)
        - Symlinking them so they don't need to be redownloaded
    - we need to patch afew things about the downloaded Java dependencies, and the mitmCache setup doesn't have a documented way for doing this nicely
    - Must comment out configurePhase before building & running marginalia-search.mitmCache.updateScript, otherwise setup.sh gets invoked, which obviously fails if we
      don't have the cache updated to the latest dependencies
    - install.sh is intended for interactive usage and wants to do install-time setup for run-time details
    - Module will need to:
      - copy $out/share/marginalia to a directory the services can modify (/var/lib/...)
      - Fill out some of the template files based on the module settings, and other module settings (services.zookeeper)
      - set WMSA_HOME envvar when running $out/bin/marginalia so the code knows where it can find the modifiable $out/share/marginalia data
    OPNA2608 committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    4864fe3 View commit details
    Browse the repository at this point in the history