aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-fetch.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-05 16:49:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-05 17:25:16 +0300
commit22e35bf80cea95dc1edce22e729199f61a6fedcd (patch)
treee8b00be480a8a1b57641f23e1f7d09fb0a8bad1a /bpkg/rep-fetch.cxx
parentcdbc374bc16ed0db1a4a206064bb090ac935d89d (diff)
Add .manifest extension to repositories, packages and signature files
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r--bpkg/rep-fetch.cxx15
1 files changed, 8 insertions, 7 deletions
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx
index 795a170..ab7ce55 100644
--- a/bpkg/rep-fetch.cxx
+++ b/bpkg/rep-fetch.cxx
@@ -143,13 +143,13 @@ namespace bpkg
//
// 2. Move from temp_dir/<hash>/ to repos_dir/<hash>/<fragment>/
//
- // 3. Check if repos_dir/<hash>/<fragment>/repositories exists:
+ // 3. Check if repos_dir/<hash>/<fragment>/repositories.manifest exists:
//
// 3.a If exists, load.
//
// 3.b Otherwise, synthesize repository list with base repository.
//
- // 4. Check if repos_dir/<hash>/<fragment>/packages exists:
+ // 4. Check if repos_dir/<hash>/<fragment>/packages.manifest exists:
//
// 4.a If exists, load. (into "skeleton" packages list to be filled?)
//
@@ -211,7 +211,7 @@ namespace bpkg
//
git_repository_manifests rms;
{
- path f (fd / path ("repositories"));
+ path f (fd / repositories_file);
if (exists (f))
rms = parse_manifest<git_repository_manifests> (f, ignore_unknown, rl);
@@ -223,7 +223,7 @@ namespace bpkg
//
git_package_manifests pms;
{
- path f (fd / path ("packages"));
+ path f (fd / packages_file);
if (exists (f))
pms = parse_manifest<git_package_manifests> (f, ignore_unknown, rl);
@@ -595,9 +595,10 @@ namespace bpkg
// we use the root repository as the default complement.
//
// This supports the common use case where the user has a single-package
- // git repository and doesn't want to bother with the repositories file.
- // This way their package will still pick up its dependencies from the
- // configuration, without regards from which repositories they came from.
+ // git repository and doesn't want to bother with the
+ // repositories.manifest file. This way their package will still pick up
+ // its dependencies from the configuration, without regards from which
+ // repositories they came from.
//
if (rl.type () == repository_type::git &&
r->complements.empty () &&