Bushel_syncBushel sync orchestration
Zotero - DOI resolution via Zotero Translation ServerPeertube - Video thumbnails from PeerTubeHttp - Simple HTTP client using curlmodule Zotero : sig ... endDOI resolution via Zotero Translation Server
module Peertube : sig ... endVideo metadata and thumbnails from PeerTube
module Http : sig ... endHTTP client using the requests library
module Karakeep : sig ... endKarakeep link sync
val src : Logs.srctype step = | GitPull from remote git repository
*)| ImagesRsync images from remote
*)| SrcsetterRun srcsetter on images
*)| ThumbsGenerate paper thumbnails from PDFs
*)| FacesCopy contact faces from Sortal
*)| VideosFetch video thumbnails from PeerTube
*)| LinksSync links with Karakeep
*)| DoisResolve DOIs from links.yml via Zotero
*)val string_of_step : step -> stringval step_of_string : string -> step optionval all_steps : step listval pp_result : Format.formatter -> step_result -> unitval sync_images :
dry_run:bool ->
env:Eio_unix.Stdenv.base ->
Bushel_config.t ->
step_resultval run_srcsetter :
dry_run:bool ->
fs:[> Eio.Fs.dir_ty ] Eio.Path.t ->
proc_mgr:[> [> `Generic ] Eio.Process.mgr_ty ] Eio.Process.mgr ->
Bushel_config.t ->
step_resultval generate_paper_thumbnails :
dry_run:bool ->
fs:[> Eio.Fs.dir_ty ] Eio.Path.t ->
proc_mgr:[> [> `Generic ] Eio.Process.mgr_ty ] Eio.Process.mgr ->
Bushel_config.t ->
step_resultval sync_faces :
dry_run:bool ->
fs:Eio.Fs.dir_ty Eio.Path.t ->
Bushel_config.t ->
Bushel.Entry.t ->
step_resultval sync_video_thumbnails :
dry_run:bool ->
http:Requests.t ->
Bushel_config.t ->
Bushel.Entry.t ->
step_resultval sync_git :
dry_run:bool ->
env:Eio_unix.Stdenv.base ->
data_dir:string ->
Bushel_config.t ->
step_resultval generate_links :
dry_run:bool ->
data_dir:string ->
entries:Bushel.Entry.t ->
unitval sync_links :
dry_run:bool ->
sw:Eio.Switch.t ->
env:
< clock : [> float Eio.Time.clock_ty ] Eio.Time.clock
; fs : Eio.Fs.dir_ty Eio.Path.t
; net : [> [> `Generic ] Eio.Net.ty ] Eio.Net.t.. > ->
data_dir:string ->
entries:Bushel.Entry.t ->
step_resultval sync_dois :
dry_run:bool ->
retry_errors:bool ->
http:Requests.t ->
data_dir:string ->
config:Bushel_config.t ->
step_resultval run :
dry_run:bool ->
retry_errors:bool ->
sw:Eio.Switch.t ->
env:Eio_unix.Stdenv.base ->
data_dir:string ->
config:Bushel_config.t ->
steps:step list ->
entries:Bushel.Entry.t ->
step_result list