From f6d30e9f176db9d66c26c14dd92406fceb568104 Mon Sep 17 00:00:00 2001 From: MadMan247 <54383546+MadMan247@users.noreply.github.com> Date: Fri, 10 May 2024 15:21:04 -0500 Subject: [PATCH] Update notes-on-updating-archivebox-ynh.md now matches modern practices, as the package and package-lock files are no longer a part of this package. --- doc/notes-on-updating-archivebox-ynh.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/notes-on-updating-archivebox-ynh.md b/doc/notes-on-updating-archivebox-ynh.md index b49b8a8..0528708 100644 --- a/doc/notes-on-updating-archivebox-ynh.md +++ b/doc/notes-on-updating-archivebox-ynh.md @@ -1,12 +1,12 @@ -this is documentation for developers working on archivebox_ynh package (or myself in the future), -for how to keep this package up to date with the upstream archivebox package on github -as it is updated. +This is intended to be documentation for developers working on the archivebox_ynh package -## 1. apt-get dependencies +## 1. Modify the Manifest.toml +Replace the following fields: +replace "version" +(under "resources.sources.main") replace "url", "sha256" -Look at Dockerfile in https://github.com/ArchiveBox/ArchiveBox to determine which dependencies -need to be specified in scripts/_common.sh -## 2. node dependencies -Copy package.json and package-lock.json from https://github.com/ArchiveBox/ArchiveBox to -conf/package.json and conf/package-lock.json respectively. \ No newline at end of file + +## 2. Modify conf/requirements.txt +requirements.txt contains a single line, which correlates to the archivebox upstream pip install script; +e.g. in requirements.txt `archivebox==0.7.2;` `from pip install --upgrade 'archivebox==0.7.2'`