1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/archivebox_ynh.git synced 2024-09-03 18:15:54 +02:00

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.
This commit is contained in:
MadMan247 2024-05-10 15:21:04 -05:00 committed by GitHub
parent 380a5d3c5e
commit f6d30e9f17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
## 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'`