Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

make directory/churn.txt download origin configurable #28

Open
PascalinDe opened this issue Oct 31, 2023 · 1 comment
Open

make directory/churn.txt download origin configurable #28

PascalinDe opened this issue Oct 31, 2023 · 1 comment

Comments

@PascalinDe
Copy link
Member

Currently, both the latest directory cache and churn.txt files are downloaded from our GitHub releases w/ a hard-coded link:

public static final String DIRECTORY_CACHE_C4DT = "https://github.com/c4dt/lightarti-directory/releases/latest/download/directory-cache.tgz";

This means that someone could not host these files themselves if they'd prefer so. These variables should be retrieved from a configuration file/the environment to allow for this.

@ineiti
Copy link
Member

ineiti commented Oct 31, 2023

Or even better: move this code to lightarti-rest, so it doesn't have to be implemented in the iOS library, too. Because currently on iOS it just takes the files in the directory of the library :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants