The rebuild subcommand now executes the full pipeline: - build_registry() -> resolve() -> sched::run() - install::install() for each built package - service::install_service() for enabled services - boot::install_bootloader_config() for bootloader config - system::write_hostname() / write_timezone() for system activation Added --dry-run flag for report-only behavior (backward compat with test suite). Added -w flag for worker parallelism and --dry-run to help. Fixed .gitignore: 'kappa' -> '/kappa' (was matching include/kappa/, preventing header files from being tracked since initial commit). This commit also adds all previously-gitignored header files.
19 lines
317 B
C++
19 lines
317 B
C++
#pragma once
|
|
|
|
#include "kappa/dsl/ast.hpp"
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
|
|
namespace kappa::fetch {
|
|
|
|
struct FetchResult {
|
|
std::filesystem::path work_dir;
|
|
std::string error;
|
|
bool ok() const { return error.empty(); }
|
|
};
|
|
|
|
FetchResult fetch(const dsl::PackageDef& pkg);
|
|
|
|
} // namespace kappa::fetch
|