-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call for public comments: Considering deprecating the archivebox oneshot
command as of the 0.7 release
#1082
Comments
archivebox oneshot
command soonarchivebox oneshot
command from ArchiveBox in the next 0.7 release
This is my entire use case, I need to be able to do single page snapshots on a daily basis, and have no need for any of the other functionality of ArchiveBox, I'll be running it CLI only, and using another tool to trigger the daily snapshots of the pages, and piping them into specific directories. Without the ability to create multiple snapshots of the same URL in your normal use cases, this is the only way I can achieve it. |
Good to know! Would your needs be satisfied if we add better native support for multiple snapshots in archivebox instead of keeping this older feature? @ianrobertsFF |
I'm also using this. I think it makes a lot of sense to keep a command like oneshot around because it's fairly self-contained, and it aligns well with the UNIX philosophy. It does one thing and it does it well, without the need for |
My needs would be satisfied by multiple snapshots, although I still wouldn't be using any of the functionality that oneshot doesn't currently use, so it wouldn't be a better workflow, as oneshot does exactly what I need. However assuming I can continue to take on-demand snapshots with the native support for multiple snapshots, this would be acceptable to me. |
Q: I appreciate @jvican ’s comments on this, and agree. |
Ok I've decided to keep
|
archivebox oneshot
command from ArchiveBox in the next 0.7 releasearchivebox oneshot
command as of the 0.7 release
Long long ago before
archivebox
was a Django app, it used to be a one-shot bash script calledarchive-pocket-stream.sh
. When we moved to the Django systemarchivebox oneshot
was provided as an escape hatch for users that did not like being forced to create collections and manage data directories all of a sudden. It allows the new fancy django archivebox to run in "oneshot" mode without creating a main index file, data dir, etc. and only outputting the results of one snapshot into PWD.As you might imagine, it required tremendous haxx to run the new Django archivebox without a db file in this way, including instantiating a fake sqlite3 db in memory, filesystem write filtering, etc. and it's imposing a large maintenance burden by making it hard to refactor other subsystems.
Now that we have solidly been on Django for several major versions, I think we can safely retire
archivebox oneshot
?Iif anyone is using it, speak up now and make a case for keeping it 😅 🤠👋
The text was updated successfully, but these errors were encountered: