Details
Details
Diff Detail
Diff Detail
- Repository
- rDVAU Software Heritage Vault
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
swh/vault/api/server.py | ||
---|---|---|
29–36 | I understand this was here before and hence not your fault :-), but why do we hard-code a /tmp rooted path in the API server implementation? |
swh/vault/api/server.py | ||
---|---|---|
29–36 | I guess it's because the API server is essentially the only way to instanciate a Vault, so the default config is put here as this is the main entry point. |
swh/vault/api/server.py | ||
---|---|---|
29–36 | If you see a better place to put that, and better default values, I'm totally open to changing it, but I want it to be part of the default config so that we know the things that can be overwritten in the config. |