]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Use a local workspace fort RRDP related files, fixes #39.
authorpcarana <pc.moreno2099@gmail.com>
Tue, 1 Sep 2020 19:29:20 +0000 (14:29 -0500)
committerpcarana <pc.moreno2099@gmail.com>
Tue, 1 Sep 2020 19:29:20 +0000 (14:29 -0500)
commitde31ab82192047af157d45368cd81ef0bcf21ad2
tree10e638510f04bcfa769b8fa2a56c143b74ba5599
parent976b3c13a3d40ab49c64a6a41a9f93bff5722e65
Use a local workspace fort RRDP related files, fixes #39.

+Whenever an RRDP file is identified (ie. update notification URI) create a directory at '--local-repository' where all of the RRDP files (XMLs as well as 'publish' elements at those snapshot/delta files) will be created and read.
+The rsync URIs at the publish/withdraw elements, are mapped to the location <--local-repository>/<rrdp workspace>/<URI part>. Eg. if '--local-repository=/tmp/fort' and the current workspace (each TAL has its own workspace) is 'ABC', then the URI 'rsync://example.com/foo/bar.cer' will be created at '/tmp/fort/ABC/example.com/foo/bar.cer'.
-RSYNC repositories are still created at '--local-repository'.
16 files changed:
src/common.c
src/crypto/hash.c
src/crypto/hash.h
src/object/certificate.c
src/object/manifest.c
src/object/manifest.h
src/rrdp/db/db_rrdp.c
src/rrdp/db/db_rrdp.h
src/rrdp/db/db_rrdp_uris.c
src/rrdp/db/db_rrdp_uris.h
src/rrdp/rrdp_parser.c
src/rsync/rsync.c
src/state.c
src/state.h
src/uri.c
src/uri.h