@@ -1,7 +1,7 @@ | |||
#pragma once | |||
#include <dds/build/params.hpp> | |||
#include <dds/source/dist.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <cassert> | |||
#include <map> |
@@ -1,6 +1,6 @@ | |||
#pragma once | |||
#include <dds/source/dist.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <dds/toolchain/toolchain.hpp> | |||
#include <dds/util/fs.hpp> | |||
@@ -1,7 +1,7 @@ | |||
#pragma once | |||
#include <dds/build/plan/base.hpp> | |||
#include <dds/source/file.hpp> | |||
#include <dds/sdist/file.hpp> | |||
#include <libman/library.hpp> | |||
@@ -3,7 +3,7 @@ | |||
#include <dds/build/plan/archive.hpp> | |||
#include <dds/build/plan/exe.hpp> | |||
#include <dds/build/plan/template.hpp> | |||
#include <dds/library/root.hpp> | |||
#include <dds/sdist/library/root.hpp> | |||
#include <dds/usage_reqs.hpp> | |||
#include <dds/util/fs.hpp> | |||
@@ -1,7 +1,7 @@ | |||
#include <dds/build/plan/template.hpp> | |||
#include <dds/error/errors.hpp> | |||
#include <dds/library/root.hpp> | |||
#include <dds/sdist/library/root.hpp> | |||
#include <dds/util/fs.hpp> | |||
#include <dds/util/string.hpp> | |||
@@ -1,7 +1,7 @@ | |||
#pragma once | |||
#include <dds/build/plan/base.hpp> | |||
#include <dds/source/file.hpp> | |||
#include <dds/sdist/file.hpp> | |||
#include <utility> | |||
@@ -2,7 +2,7 @@ | |||
#include <dds/http/session.hpp> | |||
#include <dds/pkg/cache.hpp> | |||
#include <dds/source/dist.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <dds/util/result.hpp> | |||
#include <boost/leaf/handle_exception.hpp> |
@@ -1,7 +1,7 @@ | |||
#include "../options.hpp" | |||
#include <dds/pkg/cache.hpp> | |||
#include <dds/source/dist.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <dds/util/result.hpp> | |||
#include <boost/leaf/handle_exception.hpp> |
@@ -1,6 +1,6 @@ | |||
#include "../options.hpp" | |||
#include <dds/source/dist.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <fmt/core.h> | |||
@@ -2,8 +2,8 @@ | |||
#include <dds/error/errors.hpp> | |||
#include <dds/pkg/db.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <dds/solve/solve.hpp> | |||
#include <dds/source/dist.hpp> | |||
#include <dds/util/log.hpp> | |||
#include <dds/util/paths.hpp> | |||
#include <dds/util/string.hpp> |
@@ -1,7 +1,7 @@ | |||
#pragma once | |||
#include <dds/pkg/db.hpp> | |||
#include <dds/source/dist.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <dds/util/flock.hpp> | |||
#include <dds/util/fs.hpp> | |||
@@ -1,6 +1,6 @@ | |||
#pragma once | |||
#include <dds/source/dist.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <dds/temp.hpp> | |||
namespace dds { |
@@ -1,7 +1,7 @@ | |||
#include "./http.hpp" | |||
#include <dds/error/errors.hpp> | |||
#include <dds/source/dist.hpp> | |||
#include <dds/sdist/dist.hpp> | |||
#include <dds/util/log.hpp> | |||
#include <catch2/catch.hpp> |
@@ -1,6 +1,6 @@ | |||
#include "./repoman.hpp" | |||
#include <dds/package/manifest.hpp> | |||
#include <dds/sdist/package.hpp> | |||
#include <dds/util/log.hpp> | |||
#include <dds/util/result.hpp> | |||
@@ -178,8 +178,7 @@ void repo_manager::import_targz(path_ref tgz_file) { | |||
iv_1.high.to_string()); | |||
} | |||
auto dest_path | |||
= pkg_dir() / man->id.name / man->id.version.to_string() / "sdist.tar.gz"; | |||
auto dest_path = pkg_dir() / man->id.name / man->id.version.to_string() / "sdist.tar.gz"; | |||
fs::create_directories(dest_path.parent_path()); | |||
fs::copy(tgz_file, dest_path); | |||
@@ -1,8 +1,8 @@ | |||
#include "./dist.hpp" | |||
#include <dds/error/errors.hpp> | |||
#include <dds/library/root.hpp> | |||
#include <dds/pkg/get/http.hpp> | |||
#include <dds/sdist/library/root.hpp> | |||
#include <dds/temp.hpp> | |||
#include <dds/util/fs.hpp> | |||
#include <dds/util/log.hpp> |
@@ -2,7 +2,7 @@ | |||
#include <tuple> | |||
#include <dds/package/manifest.hpp> | |||
#include <dds/sdist/package.hpp> | |||
#include <dds/temp.hpp> | |||
#include <dds/util/fs.hpp> | |||
@@ -1,4 +1,4 @@ | |||
#include <dds/source/file.hpp> | |||
#include <dds/sdist/file.hpp> | |||
#include <catch2/catch.hpp> | |||
@@ -1,8 +1,8 @@ | |||
#include <dds/library/root.hpp> | |||
#include <dds/sdist/library/root.hpp> | |||
#include <dds/build/plan/compile_file.hpp> | |||
#include <dds/error/errors.hpp> | |||
#include <dds/source/root.hpp> | |||
#include <dds/sdist/root.hpp> | |||
#include <dds/util/algo.hpp> | |||
#include <dds/util/log.hpp> | |||
@@ -1,9 +1,10 @@ | |||
#pragma once | |||
#include "./manifest.hpp" | |||
#include "../file.hpp" | |||
#include "../root.hpp" | |||
#include <dds/build/plan/compile_file.hpp> | |||
#include <dds/library/manifest.hpp> | |||
#include <dds/source/file.hpp> | |||
#include <dds/source/root.hpp> | |||
#include <string> | |||
@@ -1,4 +1,4 @@ | |||
#include "./manifest.hpp" | |||
#include "./package.hpp" | |||
#include <dds/dym.hpp> | |||
#include <dds/error/errors.hpp> |
@@ -1,6 +1,6 @@ | |||
#pragma once | |||
#include <dds/source/file.hpp> | |||
#include <dds/sdist/file.hpp> | |||
#include <dds/util/fs.hpp> | |||
#include <vector> |