update: installing foliant from PyPi and updating dependencies#24
Merged
holamgadol merged 4 commits intomasterfrom Feb 25, 2026
Merged
update: installing foliant from PyPi and updating dependencies#24holamgadol merged 4 commits intomasterfrom
holamgadol merged 4 commits intomasterfrom
Conversation
WalkthroughThis PR transitions the Foliant Docker build process from using a development branch to the stable master branch. The changes standardize version detection across all build scripts (full, latest, pandoc, and slim) to fetch from the 'master' branch instead of 'add-partial-copy'. The Dockerfile-slim has been updated to install Foliant directly from PyPI rather than building from source via a GitHub branch clone. This simplifies the build process, removes technical debt indicated by TODO comments, and aligns the project with using official releases instead of development branches. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Docker as Docker Build
participant Pip as pip3
participant PyPI as PyPI Registry
participant Foliant as Foliant Package
Note over Docker,Foliant: New Installation Flow (Simplified)
Docker->>Pip: pip3 install foliant>=$VERSION
activate Pip
Pip->>PyPI: Request foliant package (version >= $VERSION)
activate PyPI
PyPI-->>Pip: Return package metadata and wheel
deactivate PyPI
Pip->>Foliant: Install package from wheel
activate Foliant
Foliant-->>Pip: Installation complete
deactivate Foliant
Pip-->>Docker: Package installed successfully
deactivate Pip
Note over Docker,Foliant: Old Installation Flow (Commented Out)
rect rgb(240, 240, 240)
Note right of Docker: Previous approach:<br/>1. Clone from GitHub branch<br/>2. Build with Poetry<br/>3. Install local wheel
end
🔗 Cross-Repository Impact AnalysisEnable automatic detection of breaking changes across your dependent repositories. → Set up now Learn more about Cross-Repository AnalysisWhat It Does
How to Enable
Benefits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EntelligenceAI PR Summary
Standardizes Foliant installation and version detection to use stable master branch and PyPI releases instead of development branch.
Confidence Score: 5/5 - Safe to Merge