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'`