mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[PR #1249] [MERGED] Replace setup.py with PDM, update Python, NodeJS, package versions, and Dockerfile #4375
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#4375
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1249
Author: @pirate
Created: 10/20/2023
Status: ✅ Merged
Merged: 10/20/2023
Merged by: @pirate
Base:
dev← Head:pdm📝 Commits (10+)
8caffc4ignore .pdm-python file53cff45switch from pipenv and setup.py to PDM for python packaging85f8583catch ldap configuration and packaging errors and make them non fatal22bcfferemove accidental duplicate template code63c276aredirect add page back to snapshots list automatically3b3bdabupdate ignore filese0e34e6update package.json and npm lockfile16796a6share PUID and PGID with child procs from entrypoint75eeb12dont install youtubedl anymored4ca2d1update mercury bin path to postlight parser📊 Changes
17 files changed (+3081 additions, -1683 deletions)
View changed files
📝
.dockerignore(+7 -2)📝
.gitignore(+2 -0)📝
Dockerfile(+113 -68)📝
archivebox/config.py(+4 -5)📝
archivebox/core/settings.py(+36 -29)📝
archivebox/extractors/readability.py(+2 -2)📝
archivebox/logging_util.py(+23 -14)📝
archivebox/main.py(+9 -8)📝
archivebox/templates/admin/private_index.html(+0 -59)📝
archivebox/templates/core/add.html(+7 -4)📝
bin/build_docker.sh(+2 -1)📝
bin/docker_entrypoint.sh(+2 -3)📝
package-lock.json(+538 -1350)📝
package.json(+3 -4)➕
pdm.lock(+2077 -0)➕
pyproject.toml(+121 -0)📝
setup.py(+135 -134)📄 Description
Summary
Dockerfileto use it for build and installationDockerfilebase image todebian:bookworm-backports/venvfor clear separation of ArchiveBox dependencies/app/.venvand build tooling/venvDockerfilepython version to3.11and node to21.xyoutube-dlfromDockerfilecompletely in favor ofyt-dlpplaywrightexclusively to install chromium, no more manually managing chromium dependenciespdmpackage.jsondependencies includingmercury(akapostlight-parser),singlefile,readability-extractorChanges these areas
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.