mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[PR #465] [MERGED] First part migrating to Pathlib #1178
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#1178
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/465
Author: @apkallum
Created: 9/3/2020
Status: ✅ Merged
Merged: 9/17/2020
Merged by: @cdvv7788
Base:
master← Head:pathlib1📝 Commits (9)
d44ed3dfirst attempt to migrate to Pathlib81dabd0pathlib with / syntax for config, index247e872no home() in Paths37b5ea6add support for Paths in json encoder3fc973bupdate stubs file65a9f7dfix oneshot command type signature7f8649bfix github action folder listing867fc0afix test type casting for folder['path']a23ae28test: Fix tests post-rebase📊 Changes
22 files changed (+246 additions, -243 deletions)
View changed files
📝
archivebox/cli/archivebox_oneshot.py(+1 -1)📝
archivebox/config/__init__.py(+53 -53)📝
archivebox/config/stubs.py(+6 -4)📝
archivebox/extractors/__init__.py(+5 -4)📝
archivebox/extractors/archive_org.py(+10 -10)📝
archivebox/extractors/dom.py(+10 -11)📝
archivebox/extractors/favicon.py(+5 -4)📝
archivebox/extractors/git.py(+10 -10)📝
archivebox/extractors/media.py(+10 -11)📝
archivebox/extractors/pdf.py(+9 -10)📝
archivebox/extractors/screenshot.py(+9 -10)📝
archivebox/extractors/singlefile.py(+8 -8)📝
archivebox/extractors/title.py(+3 -2)📝
archivebox/extractors/wget.py(+20 -25)📝
archivebox/index/__init__.py(+31 -31)📝
archivebox/index/html.py(+3 -2)📝
archivebox/index/json.py(+5 -5)📝
archivebox/index/sql.py(+8 -7)📝
archivebox/logging_util.py(+5 -4)📝
archivebox/main.py(+27 -28)...and 2 more files
📄 Description
Summary
This PR migrates most of the
os.pathuses topathlib.Path+ fixes corresponding type checksChanges these areas
Roadmap Goals
0.6
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.