Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L lego
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Web
  • lego
  • Issues
  • #56
Closed
Open
Issue created Nov 01, 2022 by kezzle@kezOwner5 of 5 checklist items completed5/5 checklist items

creating an install procedure for lektor_markdown_image_attrs

lavamind has been trying to get lektor_markdown_image_attrs to actually play nicely with our packages directory !73 (merged). because the plugin uses the hatch build system, it doesn't have a setup.py file and pip won't install it. the solution is to build a source distribution and to have pip install that.

the problem is that lektor plugins reinstall doesn't install the source distribution by default. running pip install package/* works great, but it's not currently part of our CI flow, or our documentation.

which brings us to the point of this ticket: agreeing on a way to install this new package since our current method doesn't work


we've decided on using a requirements.txt file in each repository to manage dependencies. the next steps are:

  1. move lektor-requirements.txt from tpo/tpa/ci-templates to tpo/web/lego
  2. update lego everywhere
  3. set ci builds to install lego/lektor-requirements.txt and requirements.txt (if it exists)
  4. add a requirements.txt file to any lektor repo that uses additional packages
  5. add lektor_markdown_image_attrs as a dependency in lego/lektor-requirements.txt
Edited Dec 20, 2022 by kezzle
Assignee
Assign to
Time tracking