From a12fa52639bd35a74d0844928fd6da1a9ac05284 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 11 Jun 2019 10:43:53 +0000 Subject: [PATCH] design-goals.txt, add-pkg-conflicts-support.patch: Add design-goals.txt Signed-off-by: Jan Lindemann --- doc/design-goals.txt | 19 +++++++++++++++++++ doc/packaging/add-pkg-conflicts-support.patch | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 doc/design-goals.txt diff --git a/doc/design-goals.txt b/doc/design-goals.txt new file mode 100644 index 00000000..fa04ee26 --- /dev/null +++ b/doc/design-goals.txt @@ -0,0 +1,19 @@ +JW-Build Design Goals +--------------------- + +o Command-line and script friendly +o Self-contained, self-building +o Requires GNU-Make, Bash and Python +o Minimally invasive (3-liner Makefiles, if any at all) +o Support for cross compilation +o Sensible defaults, easily and flexibly customizable to build anything +o Allow changing into subdirectories for edit-compile-run cycles +o Build artifact caching (object files, packages) +o Work identically with and without installation +o Allow remote installation of packages +o Integration into versioning and packaging of corporate development workflow +o Allow inter-package dependencies to be coded, in-house and 3rd party +o Work with minimal documentation (i.e.: "Run make on janware.com/Makefile!") +o No undocumented steps +o Allow user privilege separation +o Allow web iterfaces for viewing diff --git a/doc/packaging/add-pkg-conflicts-support.patch b/doc/packaging/add-pkg-conflicts-support.patch index 1c62b5fe..a997e8f4 100644 --- a/doc/packaging/add-pkg-conflicts-support.patch +++ b/doc/packaging/add-pkg-conflicts-support.patch @@ -264,7 +264,7 @@ diff -u -r1.51 projects.py +# TODO: seems at least partly redundant to cmd_pkg_requires / pkg_relations def cmd_requires_pkg(args_): - parser = argparse.ArgumentParser(description='requires-pkg') + parser = argparse.ArgumentParser(description='required-os-pkg') parser.add_argument('module', nargs='*', help='Modules') @@ -275,7 +325,7 @@ debug("flavours = " + args.flavours)