Commit Graph

13 Commits

Author SHA1 Message Date
Fabio Erculiani
94ab49fd0b [tests] use const_mk{s,d}temp instead of tmpfile ones, default TMPDIR to /var/tmp 2013-12-09 14:36:34 +01:00
Fabio Erculiani
a42711086b [tests] tools: mute output 2013-11-30 11:23:40 +01:00
Fabio Erculiani
464ae46d90 [tests] drop debug output 2013-11-29 19:29:12 +01:00
Fabio Erculiani
2b082167cd [entropy.tools] read_elf_real_dynamic_libraries: correctly filter out elf_file 2013-11-29 16:30:23 +01:00
Fabio Erculiani
7091c56fe0 [entropy.tools] rewrite read_elf_linker_paths(), improve speed, add tests 2013-11-21 16:43:18 +01:00
Fabio Erculiani
60af35b748 [entropy.tools] rewrite read_elf_broken_symbols(), add tests 2013-11-21 16:30:51 +01:00
Fabio Erculiani
70fc459840 [entropy.tools] rewrite read_elf_real_dynamic_libraries(), add tests 2013-11-21 16:05:29 +01:00
Fabio Erculiani
5f93a73f46 [tests] update bytes_into_human() test case 2013-11-03 16:59:20 +01:00
Fabio Erculiani
060c12193d [entropy.tools] drop spawn_function(), no longer needed 2013-09-18 20:50:45 +02:00
Fabio Erculiani
bc63d82b97 [entropy.server] add support for server-side repositories.conf.d/ repository config files
Entropy Server now supports repositories defined inside
    /etc/entropy/repositories.conf.d/ files, written using the
    syntax detailed below. This improves the ability to enable, disable,
    add and remove repositories programmatically. Furthermore, it
    makes possible to extend the supported parameters without breaking
    backward compatibility.

    In order to differentiate Entropy Client repository definitions between
    Entropy Server ones, each repository section must start with "[server=".

    This is an example of the syntax (with a complete listing
    of the supported arguments):

    [server=sabayon-limbo]
    desc = Sabayon Linux Official Testing Repository
    repo = ssh://username@full.host:~username/sabayon-limbo
    enabled = <true/false>

    [server=sabayon-limbo]
    desc = This statement will be ignored.
    repo-only = ssh://username@repo.host:~username/sabayon-limbo
    pkg-only = ssh://username@pkg.host:~username/sabayon-limbo

    [server=sabayon-base]
    desc = This is the base repository.
    repo-only = ssh://username@repo.host:~username/sabayon-base
    pkg-only = ssh://username@pkg.host:~username/sabayon-base
    base = <true/false>

    As you can see, multiple statements for the same repository
    are allowed. However, only the first desc = statement will be
    considered, while there can be as many {pkg,repo}* = as you want.

    The repository order is important, but this is guaranteed by the
    fact that configuration files are parsed in lexical order.

    Statements description:
    - "desc": stands for description, the repository name description.
    - "repo": the push & pull URI, for both packages and repository database.
    - "repo-only": same as repo, but only for the repository database
                   push & pull.
    - "pkg-only": same as repo, but only for the packages push & pull.
             The supported protocols are those supported by entropy.fetchers.
    - "enabled": if set, its value can be either "true" or "false". The default
                 value is "true". It indicates if a repository is configured
                 but currently disabled or enabled. Please take into account
                 that config files in /etc/entropy/repositories.conf.d/ starting
                 with "_" are considered to contain disabled repositories. This
                 is just provided for convienence.
    - "base": if set, its value can be either "true" or "false". The default
              value is "false". If no repository has the flag set, the first
              listed repository will be the base one. Only the first repository
              with "base = true" will be considered. The base repository is the
              repository that is considered base for all the others
              (the main one).
2013-03-10 22:12:27 +00:00
Fabio Erculiani
8807ff8ba7 [entropy.tools] drop get_random_temp_file, deprecated 2013-02-06 07:44:33 +00:00
Fabio Erculiani
2512df68ad [lib/] drop etpUi['debug'] 2012-11-06 20:13:49 +01:00
Fabio Erculiani
69a0bb87e0 [entropy] move libraries/ to lib/ 2011-10-17 14:27:58 +02:00