matrix.git
12 years agoAutomatically fixup rank for any component pulled in due to dependency from a low...
Ilpo Ruotsalainen [Mon, 20 Oct 2008 13:41:54 +0000 (16:41 +0300)]
Automatically fixup rank for any component pulled in due to dependency from a low-ranked component.

12 years agoAdding the mtd devkit to the requirements
Daniel Bainton [Wed, 8 Oct 2008 11:43:02 +0000 (14:43 +0300)]
Adding the mtd devkit to the requirements

12 years agoFixing excluding of paths and files
Daniel Bainton [Wed, 24 Sep 2008 15:34:55 +0000 (18:34 +0300)]
Fixing excluding of paths and files

12 years agoAdding RootFSFileModes option to change file modes for the rootfs
Daniel Bainton [Wed, 24 Sep 2008 07:31:25 +0000 (10:31 +0300)]
Adding RootFSFileModes option to change file modes for the rootfs

12 years agoTODO: more details
Timo Savola [Thu, 4 Sep 2008 11:56:57 +0000 (14:56 +0300)]
TODO: more details

12 years agoREADME: remove mail, add IRC channel
Timo Savola [Thu, 28 Aug 2008 21:18:21 +0000 (00:18 +0300)]
README: remove mail, add IRC channel

12 years agoversion 1.0 v1.0
Timo Savola [Fri, 8 Aug 2008 11:17:35 +0000 (14:17 +0300)]
version 1.0

12 years agoprint --version
Timo Savola [Fri, 8 Aug 2008 11:16:41 +0000 (14:16 +0300)]
print --version

12 years agoconfig: git-pull config dirs automatically
Timo Savola [Fri, 8 Aug 2008 10:45:35 +0000 (13:45 +0300)]
config: git-pull config dirs automatically

   * -p / --pull-config-dirs command-line option

   * PullConfigDirs(bool) config API function

12 years agotell which components were being built when interrupted
Timo Savola [Fri, 8 Aug 2008 08:43:13 +0000 (11:43 +0300)]
tell which components were being built when interrupted

12 years agostrip "src/" from target names early enough
Timo Savola [Fri, 8 Aug 2008 08:41:32 +0000 (11:41 +0300)]
strip "src/" from target names early enough

12 years agoautotools: allow clearing of configure/autogen args
Timo Savola [Thu, 7 Aug 2008 12:41:54 +0000 (15:41 +0300)]
autotools: allow clearing of configure/autogen args

12 years agofind dependencies automatically
Timo Savola [Wed, 6 Aug 2008 14:31:14 +0000 (17:31 +0300)]
find dependencies automatically

    * all components don't have to be declared in config via Component()

    * the automatic dependency resolution only works for components which
      provide the default package (= single package with the same name as
      the component)

    * custom settings (such as component-specific branch or rank) still
      need to be declared explicitly using Component()

12 years agoTODO: rank implemented
Timo Savola [Wed, 6 Aug 2008 14:28:39 +0000 (17:28 +0300)]
TODO: rank implemented

12 years agoREADME: sync with wiki
Timo Savola [Wed, 6 Aug 2008 07:41:37 +0000 (10:41 +0300)]
README: sync with wiki

12 years agodisplay build progress as number of packages
Timo Savola [Tue, 5 Aug 2008 12:42:11 +0000 (15:42 +0300)]
display build progress as number of packages

12 years agoTODO: changes/index
Timo Savola [Tue, 5 Aug 2008 09:03:06 +0000 (12:03 +0300)]
TODO: changes/index

12 years agoread dependency/conflict/architecture metadata from "info"
Timo Savola [Tue, 5 Aug 2008 08:59:19 +0000 (11:59 +0300)]
read dependency/conflict/architecture metadata from "info"

the package name is taken directly from the component name.  the
multi-package/custom-package-name support is now a special case: if
*.package files are present, "info" won't be used.

12 years agoComponent() supports 'rank' parameter
Timo Savola [Fri, 1 Aug 2008 14:27:48 +0000 (17:27 +0300)]
Component() supports 'rank' parameter

components in a rank implicitly depend on the components in ranks with
smaller numerical value.  the default rank is 0: to force a component to
be built before others, give it a negative rank etc.

13 years agorootfs: print a proper error if root path not specified anywhere
Timo Savola [Tue, 29 Jul 2008 12:22:53 +0000 (15:22 +0300)]
rootfs: print a proper error if root path not specified anywhere

13 years agorootfs: don't die if passwd/group files don't exist
Timo Savola [Tue, 29 Jul 2008 12:15:25 +0000 (15:15 +0300)]
rootfs: don't die if passwd/group files don't exist

13 years agorootfs: fix target name parsing
Timo Savola [Tue, 29 Jul 2008 12:14:06 +0000 (15:14 +0300)]
rootfs: fix target name parsing

13 years agoconfig: define rootfs.target
Timo Savola [Tue, 29 Jul 2008 11:20:31 +0000 (14:20 +0300)]
config: define rootfs.target

13 years agoTODO: --config-dir checking
Timo Savola [Mon, 28 Jul 2008 21:33:09 +0000 (00:33 +0300)]
TODO: --config-dir checking

13 years agopackage 'depends' and 'conflicts' variables are now sequences
Timo Savola [Fri, 25 Jul 2008 18:36:14 +0000 (21:36 +0300)]
package 'depends' and 'conflicts' variables are now sequences

whitespace-separated strings are supported for backward-compatibility.

13 years agoremove obsolete rootfs example
Timo Savola [Fri, 25 Jul 2008 15:53:01 +0000 (18:53 +0300)]
remove obsolete rootfs example

13 years agoREADME: sync with wiki
Timo Savola [Fri, 25 Jul 2008 15:50:42 +0000 (18:50 +0300)]
README: sync with wiki

13 years agodocumentation moved to wiki
Timo Savola [Fri, 25 Jul 2008 15:42:20 +0000 (18:42 +0300)]
documentation moved to wiki

http://sandbox.movial.com/wiki/index.php/Matrix

13 years agorootfs: fix account removing and clean up
Timo Savola [Wed, 23 Jul 2008 10:46:02 +0000 (13:46 +0300)]
rootfs: fix account removing and clean up

13 years agoconfig, rootfs: support for removing temporary user and group accounts
Timo Savola [Tue, 22 Jul 2008 16:10:16 +0000 (19:10 +0300)]
config, rootfs: support for removing temporary user and group accounts

RootFSRemoveAccount(uid=<int>, gid=<int>)

13 years agorootfs: don't use fakeroot
Timo Savola [Mon, 21 Jul 2008 15:50:03 +0000 (18:50 +0300)]
rootfs: don't use fakeroot

faked has problems with database saving/loading; run matrix-rootfs inside
fakeroot for now (until fakedbs are really being used).

13 years agoconfig: CacheDir()
Timo Savola [Mon, 21 Jul 2008 12:48:35 +0000 (15:48 +0300)]
config: CacheDir()

13 years agorootfs: cleanups etc.
Timo Savola [Fri, 18 Jul 2008 08:10:51 +0000 (11:10 +0300)]
rootfs: cleanups etc.

13 years agorootfs: optional root directory parameter
Timo Savola [Fri, 18 Jul 2008 08:08:31 +0000 (11:08 +0300)]
rootfs: optional root directory parameter

overrides any path set in config files.  target name will always be unset
if root path is specified on the command-line.

13 years agorootfs: support --config-dir
Timo Savola [Fri, 18 Jul 2008 08:05:28 +0000 (11:05 +0300)]
rootfs: support --config-dir

13 years ago'update' and 'update-rebase' commands
Timo Savola [Fri, 18 Jul 2008 07:59:48 +0000 (10:59 +0300)]
'update' and 'update-rebase' commands

both run git remote update for the repositories.  'update-rebase' rebases
the repositories immediately.

13 years agoSTYLE: more pedantry
Timo Savola [Fri, 18 Jul 2008 07:58:45 +0000 (10:58 +0300)]
STYLE: more pedantry

13 years agoautotools: MATRIX_AUTOGEN_ARGS defaults to MATRIX_CONFIGURE_ARGS
Timo Savola [Thu, 10 Jul 2008 07:24:50 +0000 (10:24 +0300)]
autotools: MATRIX_AUTOGEN_ARGS defaults to MATRIX_CONFIGURE_ARGS

13 years agoREADME: Scratchbox/Git devkit updates
Timo Savola [Wed, 9 Jul 2008 19:35:31 +0000 (22:35 +0300)]
README: Scratchbox/Git devkit updates

13 years agofix repository cloning
Timo Savola [Wed, 9 Jul 2008 13:23:26 +0000 (16:23 +0300)]
fix repository cloning

13 years agocustom: evaluate the style makefile with plug to get the phony target specs
Timo Savola [Tue, 8 Jul 2008 14:03:44 +0000 (17:03 +0300)]
custom: evaluate the style makefile with plug to get the phony target specs

13 years agoautotools: support custom autogen scripts
Timo Savola [Tue, 8 Jul 2008 13:33:01 +0000 (16:33 +0300)]
autotools: support custom autogen scripts

use meta/autogen.sh if it exists.  can be explicitly overridden in plug by
setting MATRIX_AUTOGEN.

13 years agoconfig: fix ConfigDir() for Python 2.3
Timo Savola [Tue, 8 Jul 2008 13:01:48 +0000 (16:01 +0300)]
config: fix ConfigDir() for Python 2.3

13 years agoAdd matrix-rootfs to install since it now works again
Kalle Vahlman [Sat, 28 Jun 2008 09:05:31 +0000 (12:05 +0300)]
Add matrix-rootfs to install since it now works again

13 years agoUse the new rootfs configuration style. Remove the sb1-isms from root
Kalle Vahlman [Tue, 24 Jun 2008 19:49:45 +0000 (22:49 +0300)]
Use the new rootfs configuration style. Remove the sb1-isms from root
path and target name, the configuration allows specifying them now.

13 years agoAdd RootFS configuration
Kalle Vahlman [Tue, 24 Jun 2008 19:49:24 +0000 (22:49 +0300)]
Add RootFS configuration

13 years agoGit doesn't create the destination directory structure for you in
Kalle Vahlman [Mon, 23 Jun 2008 18:54:17 +0000 (21:54 +0300)]
Git doesn't create the destination directory structure for you in
version 1.5.6, probably due to the clone command being rewritten in C.

If it's a bug this commit can be reverted, but since creating the
destination structure before cloning doesn't really break anything
I'm not sure if it's worth it.

13 years agoAdd "meta" command that fetches only the metadata (for dry-run testing)
Kalle Vahlman [Sun, 22 Jun 2008 18:37:23 +0000 (21:37 +0300)]
Add "meta" command that fetches only the metadata (for dry-run testing)

13 years agoUse "string" instead of the str object (for python2.3 compat)
Kalle Vahlman [Sun, 22 Jun 2008 18:36:27 +0000 (21:36 +0300)]
Use "string" instead of the str object (for python2.3 compat)

13 years agoconfig: don't add optional config dirs twice
Timo Savola [Thu, 19 Jun 2008 09:51:53 +0000 (12:51 +0300)]
config: don't add optional config dirs twice

13 years agofix and rename --confdir to --config-dir
Timo Savola [Thu, 19 Jun 2008 09:28:30 +0000 (12:28 +0300)]
fix and rename --confdir to --config-dir

13 years agoconfig: optional config dir support
Timo Savola [Thu, 19 Jun 2008 08:26:39 +0000 (11:26 +0300)]
config: optional config dir support

13 years agoupdate examples
Timo Savola [Wed, 18 Jun 2008 13:58:17 +0000 (16:58 +0300)]
update examples

13 years agomove examples under documentation
Timo Savola [Wed, 18 Jun 2008 13:52:39 +0000 (16:52 +0300)]
move examples under documentation

13 years agorepositories doc
Timo Savola [Wed, 18 Jun 2008 13:43:32 +0000 (16:43 +0300)]
repositories doc

13 years agometadata doc
Timo Savola [Wed, 18 Jun 2008 13:20:39 +0000 (16:20 +0300)]
metadata doc

13 years agoconfig doc
Timo Savola [Wed, 18 Jun 2008 12:06:10 +0000 (15:06 +0300)]
config doc

13 years agoconfig: SB2*() functions and sb2_* variables
Timo Savola [Fri, 13 Jun 2008 11:50:16 +0000 (14:50 +0300)]
config: SB2*() functions and sb2_* variables

'sb2_target' and 'sb2_compiler' variables enable Scratchbox 2 support:

    * SB2Target(name), sb2_target:
      sets the name of the target to be created/used

    * SB2Compiler(path), sb2_compiler:
      sets the path of the compiler executable to be used with the target

    * SB2InitOptions(sequence), sb2_init_options:
      additional command-line parameters for the sb2-init command

it's an error to set only one of 'sb_target' and 'sb_compiler'.

13 years agoconfig: Set/ClearFlag() for modifying flags
Timo Savola [Fri, 13 Jun 2008 08:24:34 +0000 (11:24 +0300)]
config: Set/ClearFlag() for modifying flags

13 years agoconfig: UseBoard() for setting board name
Timo Savola [Fri, 13 Jun 2008 08:23:55 +0000 (11:23 +0300)]
config: UseBoard() for setting board name

13 years agoconfig: move config variables behind GetVariables()
Timo Savola [Fri, 13 Jun 2008 08:21:38 +0000 (11:21 +0300)]
config: move config variables behind GetVariables()

local variables in scripts are now truly local.

13 years agoconfig: remove 'libc' variable
Timo Savola [Fri, 13 Jun 2008 07:59:47 +0000 (10:59 +0300)]
config: remove 'libc' variable

13 years agobuild: say "Done" instead of "Finished"
Timo Savola [Thu, 12 Jun 2008 10:21:43 +0000 (13:21 +0300)]
build: say "Done" instead of "Finished"

(it stands out better among "Building" and "Installing")

13 years agosilence git-ls-remote errors
Timo Savola [Thu, 12 Jun 2008 10:20:18 +0000 (13:20 +0300)]
silence git-ls-remote errors

13 years agostrip trailing slashes from roots
Timo Savola [Thu, 12 Jun 2008 10:19:22 +0000 (13:19 +0300)]
strip trailing slashes from roots

13 years agoconfig: Root function
Timo Savola [Wed, 11 Jun 2008 12:09:10 +0000 (15:09 +0300)]
config: Root function

13 years agobuild: don't skip installation on an unrelated error
Timo Savola [Wed, 11 Jun 2008 11:08:07 +0000 (14:08 +0300)]
build: don't skip installation on an unrelated error

13 years agoconfig: confdirs renamed to config_dirs; ConfigDir() added
Timo Savola [Wed, 11 Jun 2008 08:54:01 +0000 (11:54 +0300)]
config: confdirs renamed to config_dirs; ConfigDir() added

ConfigDir(path=<config dir>, url=<git repository>, branch=<branch>) can be
used to clone a <git repository> (and check out <branch>) if <config dir>
doesn't already exist.

13 years agoconfig: 'flags' is now a set
Timo Savola [Tue, 10 Jun 2008 12:50:17 +0000 (15:50 +0300)]
config: 'flags' is now a set

the 'set' type is exported for config files for Python 2.3 compatibility.

13 years agoMerge branch 'master' of http://git.pingu.fi/matrix
Timo Savola [Tue, 10 Jun 2008 11:44:50 +0000 (14:44 +0300)]
Merge branch 'master' of git.pingu.fi/matrix

13 years agoUse ACLOCAL_FLAGS instead of just ACLOCAL_ARGS, since that is AFAIK the de
Kalle Vahlman [Tue, 3 Jun 2008 10:13:42 +0000 (13:13 +0300)]
Use ACLOCAL_FLAGS instead of just ACLOCAL_ARGS, since that is AFAIK the de
facto standard. Keeping ACLOCAL_ARGS for backward compability.

13 years agoconfig: unify 'confdirs' and 'roots' semantics
Timo Savola [Tue, 10 Jun 2008 11:31:15 +0000 (14:31 +0300)]
config: unify 'confdirs' and 'roots' semantics

both lists are ordered from generic to specific - appending does The Right
Thing in normal situations:

    * confdirs specified on the command-line are in a separate list, and
      they are always handled as "more specific" locations than the normal
      confdirs.

    * since roots are now in "most generic first" order, they can simply be
      appended in config files (which are parsed in "most generic first"
      order).

13 years agoMATRIX_WRAP_*, MATRIX_SB2_* and MATRIX_FAKEROOT variables
Timo Savola [Tue, 10 Jun 2008 10:27:49 +0000 (13:27 +0300)]
MATRIX_WRAP_*, MATRIX_SB2_* and MATRIX_FAKEROOT variables

the following variables may be set in component plug-files or in the
environment:

    * MATRIX_WRAP_AUTOGEN,
    * MATRIX_WRAP_CONFIGURE,
    * MATRIX_WRAP_BUILD and
    * MATRIX_WRAP_INSTALL replace CCTOOL_INSTALL and CCTOOL_BUILD.  Their
      values are prepended to commands used in the respective make target
      invocation.

    * MATRIX_SB2_TARGET enables Scratchbox 2 support.  an appropriate sb2
      invocation is appended to the MATRIX_WRAP_* variables.
    * MATRIX_SB2_DISABLE can be used to disable sb2 invocation for some or
      all make targets (see below).

    * MATRIX_FAKEROOT enables fakeroot for some or all make targets
      (see below).

MATRIX_SB2_DISABLE and MATRIX_FAKEROOT may contain a whitespace-separated
list of the following keywords:

    * autogen
    * configure
    * build
    * install
    * all       - same as specifying all of the above

13 years agoParse the new style configuration files.
Tuomas Kulve [Wed, 4 Jun 2008 05:49:39 +0000 (08:49 +0300)]
Parse the new style configuration files.

13 years agoconfig: Parse gives an error if file(s) not found
Timo Savola [Wed, 4 Jun 2008 08:22:43 +0000 (11:22 +0300)]
config: Parse gives an error if file(s) not found

Parse(<pattern>, require=False) can be used to parse optional files.

13 years agoconfig: rename parse as Parse
Timo Savola [Fri, 30 May 2008 10:28:34 +0000 (13:28 +0300)]
config: rename parse as Parse

13 years agoconfig: ProvideComponent replaces PlatformProvidedComponent
Timo Savola [Fri, 30 May 2008 09:37:22 +0000 (12:37 +0300)]
config: ProvideComponent replaces PlatformProvidedComponent

ProvideComponent(name) can be called for an existing component.

13 years agoconfig: parse all files instead of just the last
Timo Savola [Fri, 30 May 2008 08:55:32 +0000 (11:55 +0300)]
config: parse all files instead of just the last

now config files found in the last confdir doesn't shadow the ones in
previous confdirs, and the config files must work incrementally.

13 years agoconfig: move top_dir as the last confdir
Timo Savola [Fri, 30 May 2008 10:17:11 +0000 (13:17 +0300)]
config: move top_dir as the last confdir

this allows users to override things locally.

13 years agouse correct remote when comparing changes
Timo Savola [Tue, 27 May 2008 21:30:15 +0000 (00:30 +0300)]
use correct remote when comparing changes

13 years agocache: debug print when skipping cache update
Timo Savola [Mon, 26 May 2008 15:34:31 +0000 (18:34 +0300)]
cache: debug print when skipping cache update

13 years agoTODO: list components in roots
Timo Savola [Mon, 26 May 2008 12:40:33 +0000 (15:40 +0300)]
TODO: list components in roots

13 years agoTODO: add pull/rebase/reset related items and reorganize
Timo Savola [Mon, 26 May 2008 11:13:31 +0000 (14:13 +0300)]
TODO: add pull/rebase/reset related items and reorganize

13 years agoTODO update
Timo Savola [Thu, 22 May 2008 15:56:17 +0000 (18:56 +0300)]
TODO update

13 years agorun autogen with CCTOOL
Timo Savola [Thu, 22 May 2008 15:54:54 +0000 (18:54 +0300)]
run autogen with CCTOOL

13 years agodon't configure custom-style components twice
Timo Savola [Thu, 22 May 2008 13:40:19 +0000 (16:40 +0300)]
don't configure custom-style components twice

13 years agoBoard's gcc_options parameter can be a sequence
Timo Savola [Thu, 22 May 2008 11:43:05 +0000 (14:43 +0300)]
Board's gcc_options parameter can be a sequence

the attribute is always a list for later manipulated.

13 years agoallow scripts in bin to be executed via symlinks
Timo Savola [Wed, 21 May 2008 19:53:42 +0000 (22:53 +0300)]
allow scripts in bin to be executed via symlinks

13 years agoreverse the invocation order of CCTOOL_INSTALL and fakeroot
Timo Savola [Wed, 21 May 2008 16:21:46 +0000 (19:21 +0300)]
reverse the invocation order of CCTOOL_INSTALL and fakeroot

13 years agodocumentation
Timo Savola [Wed, 21 May 2008 14:04:28 +0000 (17:04 +0300)]
documentation

13 years agodon't rely on ls-remote return status for checking repository existence
Timo Savola [Tue, 20 May 2008 13:26:35 +0000 (16:26 +0300)]
don't rely on ls-remote return status for checking repository existence

new versions of git-ls-remote have changed the behaviour (which was
undocumented to begin with).  now the existence of a remote repo is
detected if there is any normal output (= heads are listed).

13 years agoinstall using fakeroot only when component requests it
Timo Savola [Tue, 20 May 2008 12:49:18 +0000 (15:49 +0300)]
install using fakeroot only when component requests it

13 years agorootfs.py: Added support for creating UBI images.
Tuomas Kulve [Sun, 11 May 2008 09:38:35 +0000 (12:38 +0300)]
rootfs.py: Added support for creating UBI images.

13 years agorootfs.py: Typofixes in comments and prints.
Tuomas Kulve [Sat, 10 May 2008 16:50:22 +0000 (19:50 +0300)]
rootfs.py: Typofixes in comments and prints.

13 years agofix local repositories
Timo Savola [Tue, 20 May 2008 08:09:33 +0000 (11:09 +0300)]
fix local repositories

also use ls-remote instead of the deprecated peek-remote, and show its
output when debug enabled.

13 years agoinstall in fakeroot and save database
Timo Savola [Fri, 16 May 2008 12:58:20 +0000 (15:58 +0300)]
install in fakeroot and save database

13 years agoroot URL must be accompanied with branch name
Timo Savola [Fri, 16 May 2008 12:23:42 +0000 (15:23 +0300)]
root URL must be accompanied with branch name

'URL' -> ('URL', 'branch')

also, Component() no longer takes tag/tags parameters but a branch
parameter which overrides root's branch.  the specified branch will be
checked out after cloning.

13 years agoDon't bomb old values with Nones in setters for rootfs Builder
Kalle Vahlman [Wed, 7 May 2008 16:36:29 +0000 (19:36 +0300)]
Don't bomb old values with Nones in setters for rootfs Builder

13 years agoFix config handling in rootfs creation
Kalle Vahlman [Wed, 7 May 2008 16:29:44 +0000 (19:29 +0300)]
Fix config handling in rootfs creation

13 years agoFix setting scriptdir for non-installed running
Kalle Vahlman [Mon, 5 May 2008 18:39:20 +0000 (21:39 +0300)]
Fix setting scriptdir for non-installed running