From 22e35bf80cea95dc1edce22e729199f61a6fedcd Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 5 Mar 2018 16:49:24 +0300 Subject: Add .manifest extension to repositories, packages and signature files --- bpkg/rep-fetch.cxx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'bpkg/rep-fetch.cxx') 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// to repos_dir/// // - // 3. Check if repos_dir///repositories exists: + // 3. Check if repos_dir///repositories.manifest exists: // // 3.a If exists, load. // // 3.b Otherwise, synthesize repository list with base repository. // - // 4. Check if repos_dir///packages exists: + // 4. Check if repos_dir///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 (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 (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 () && -- cgit v1.1