From b13332c991ce2695626eaca367dd8208b174c9ca Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Apr 2016 17:59:24 +0300 Subject: Add support for repository authentication --- bpkg/database.cxx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'bpkg/database.cxx') 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"; -- cgit v1.1