#pragma once | #pragma once | ||||
#include <dds/build/params.hpp> | #include <dds/build/params.hpp> | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/sdist/dist.hpp> | |||||
#include <cassert> | #include <cassert> | ||||
#include <map> | #include <map> |
#pragma once | #pragma once | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/sdist/dist.hpp> | |||||
#include <dds/toolchain/toolchain.hpp> | #include <dds/toolchain/toolchain.hpp> | ||||
#include <dds/util/fs.hpp> | #include <dds/util/fs.hpp> | ||||
#pragma once | #pragma once | ||||
#include <dds/build/plan/base.hpp> | #include <dds/build/plan/base.hpp> | ||||
#include <dds/source/file.hpp> | |||||
#include <dds/sdist/file.hpp> | |||||
#include <libman/library.hpp> | #include <libman/library.hpp> | ||||
#include <dds/build/plan/archive.hpp> | #include <dds/build/plan/archive.hpp> | ||||
#include <dds/build/plan/exe.hpp> | #include <dds/build/plan/exe.hpp> | ||||
#include <dds/build/plan/template.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/usage_reqs.hpp> | ||||
#include <dds/util/fs.hpp> | #include <dds/util/fs.hpp> | ||||
#include <dds/build/plan/template.hpp> | #include <dds/build/plan/template.hpp> | ||||
#include <dds/error/errors.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/fs.hpp> | ||||
#include <dds/util/string.hpp> | #include <dds/util/string.hpp> | ||||
#pragma once | #pragma once | ||||
#include <dds/build/plan/base.hpp> | #include <dds/build/plan/base.hpp> | ||||
#include <dds/source/file.hpp> | |||||
#include <dds/sdist/file.hpp> | |||||
#include <utility> | #include <utility> | ||||
#include <dds/http/session.hpp> | #include <dds/http/session.hpp> | ||||
#include <dds/pkg/cache.hpp> | #include <dds/pkg/cache.hpp> | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/sdist/dist.hpp> | |||||
#include <dds/util/result.hpp> | #include <dds/util/result.hpp> | ||||
#include <boost/leaf/handle_exception.hpp> | #include <boost/leaf/handle_exception.hpp> |
#include "../options.hpp" | #include "../options.hpp" | ||||
#include <dds/pkg/cache.hpp> | #include <dds/pkg/cache.hpp> | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/sdist/dist.hpp> | |||||
#include <dds/util/result.hpp> | #include <dds/util/result.hpp> | ||||
#include <boost/leaf/handle_exception.hpp> | #include <boost/leaf/handle_exception.hpp> |
#include "../options.hpp" | #include "../options.hpp" | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/sdist/dist.hpp> | |||||
#include <fmt/core.h> | #include <fmt/core.h> | ||||
#include <dds/error/errors.hpp> | #include <dds/error/errors.hpp> | ||||
#include <dds/pkg/db.hpp> | #include <dds/pkg/db.hpp> | ||||
#include <dds/sdist/dist.hpp> | |||||
#include <dds/solve/solve.hpp> | #include <dds/solve/solve.hpp> | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/util/log.hpp> | #include <dds/util/log.hpp> | ||||
#include <dds/util/paths.hpp> | #include <dds/util/paths.hpp> | ||||
#include <dds/util/string.hpp> | #include <dds/util/string.hpp> |
#pragma once | #pragma once | ||||
#include <dds/pkg/db.hpp> | #include <dds/pkg/db.hpp> | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/sdist/dist.hpp> | |||||
#include <dds/util/flock.hpp> | #include <dds/util/flock.hpp> | ||||
#include <dds/util/fs.hpp> | #include <dds/util/fs.hpp> | ||||
#pragma once | #pragma once | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/sdist/dist.hpp> | |||||
#include <dds/temp.hpp> | #include <dds/temp.hpp> | ||||
namespace dds { | namespace dds { |
#include "./http.hpp" | #include "./http.hpp" | ||||
#include <dds/error/errors.hpp> | #include <dds/error/errors.hpp> | ||||
#include <dds/source/dist.hpp> | |||||
#include <dds/sdist/dist.hpp> | |||||
#include <dds/util/log.hpp> | #include <dds/util/log.hpp> | ||||
#include <catch2/catch.hpp> | #include <catch2/catch.hpp> |
#include "./repoman.hpp" | #include "./repoman.hpp" | ||||
#include <dds/package/manifest.hpp> | |||||
#include <dds/sdist/package.hpp> | |||||
#include <dds/util/log.hpp> | #include <dds/util/log.hpp> | ||||
#include <dds/util/result.hpp> | #include <dds/util/result.hpp> | ||||
iv_1.high.to_string()); | 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::create_directories(dest_path.parent_path()); | ||||
fs::copy(tgz_file, dest_path); | fs::copy(tgz_file, dest_path); | ||||
#include "./dist.hpp" | #include "./dist.hpp" | ||||
#include <dds/error/errors.hpp> | #include <dds/error/errors.hpp> | ||||
#include <dds/library/root.hpp> | |||||
#include <dds/pkg/get/http.hpp> | #include <dds/pkg/get/http.hpp> | ||||
#include <dds/sdist/library/root.hpp> | |||||
#include <dds/temp.hpp> | #include <dds/temp.hpp> | ||||
#include <dds/util/fs.hpp> | #include <dds/util/fs.hpp> | ||||
#include <dds/util/log.hpp> | #include <dds/util/log.hpp> |
#include <tuple> | #include <tuple> | ||||
#include <dds/package/manifest.hpp> | |||||
#include <dds/sdist/package.hpp> | |||||
#include <dds/temp.hpp> | #include <dds/temp.hpp> | ||||
#include <dds/util/fs.hpp> | #include <dds/util/fs.hpp> | ||||
#include <dds/source/file.hpp> | |||||
#include <dds/sdist/file.hpp> | |||||
#include <catch2/catch.hpp> | #include <catch2/catch.hpp> | ||||
#include <dds/library/root.hpp> | |||||
#include <dds/sdist/library/root.hpp> | |||||
#include <dds/build/plan/compile_file.hpp> | #include <dds/build/plan/compile_file.hpp> | ||||
#include <dds/error/errors.hpp> | #include <dds/error/errors.hpp> | ||||
#include <dds/source/root.hpp> | |||||
#include <dds/sdist/root.hpp> | |||||
#include <dds/util/algo.hpp> | #include <dds/util/algo.hpp> | ||||
#include <dds/util/log.hpp> | #include <dds/util/log.hpp> | ||||
#pragma once | #pragma once | ||||
#include "./manifest.hpp" | |||||
#include "../file.hpp" | |||||
#include "../root.hpp" | |||||
#include <dds/build/plan/compile_file.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> | #include <string> | ||||
#include "./manifest.hpp" | |||||
#include "./package.hpp" | |||||
#include <dds/dym.hpp> | #include <dds/dym.hpp> | ||||
#include <dds/error/errors.hpp> | #include <dds/error/errors.hpp> |
#pragma once | #pragma once | ||||
#include <dds/source/file.hpp> | |||||
#include <dds/sdist/file.hpp> | |||||
#include <dds/util/fs.hpp> | #include <dds/util/fs.hpp> | ||||
#include <vector> | #include <vector> |