diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-04-14 17:59:24 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-04 20:47:45 +0300 |
commit | b13332c991ce2695626eaca367dd8208b174c9ca (patch) | |
tree | 809dc321b47d5ef9c72935637f94bf5b84ed640d /bpkg/database.cxx | |
parent | c9831f760a83e36a3a2ac84b1bd3f573e47ef195 (diff) |
Add support for repository authentication
Diffstat (limited to 'bpkg/database.cxx')
-rw-r--r-- | bpkg/database.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bpkg/database.cxx b/bpkg/database.cxx index 54672d1..bffba02 100644 --- a/bpkg/database.cxx +++ b/bpkg/database.cxx @@ -21,7 +21,16 @@ namespace bpkg { tracer trace ("open"); - path f (d / path ("bpkg.sqlite3")); + // @@ Shouldn't we create database file in d / ".bpkg" directory ? + // + // @@ Yes, let's do it. Also perhaps downloaded packages as well? + // We might as well. + // + // @@ Don't think would be natural to keep package archives there as, the + // user should see which packages are downloaded without need to look + // into the "hidden" directory. + // + path f (d / path (".bpkg/bpkg.sqlite3")); if (!create && !exists (f)) fail << d << " does not look like a bpkg configuration directory"; |