Closed ta4tsering closed 1 year ago
i think it is better to reuse load_yaml from openpecha utils to load the meta in _init_remote_repo.
utils from openpecha is import from storage so it becoming circular import error https://github.com/OpenPecha/Toolkit/blob/fix-storages/openpecha/utils.py#L17
@10zinten publishing asset in release with pecha is also included in this request. did a dependency injection in epub serializer method to generalise css template
@10zinten suggestion considered and pecha about has been updated. Will send separate PR in future.
just a quick note, we should check if
self.meta.source_metadata.get("geo_restriction", [])
is empty or not, any value should make the repository private, not just"CN"
check for geo_restricition in source_metadata, CN found it publish the repo as Private else it will be public repo.