Commit Graph

7365 Commits

Author SHA1 Message Date
Fabio Erculiani 5e01d50cf8 [entropy.db] EntropyRepository.importRepository: resolve input paths to real path 2010-07-22 11:46:46 +02:00
Fabio Erculiani d3d87de9fa [entropy.tools] is_valid_path_string: update docstring 2010-07-22 11:46:16 +02:00
Fabio Erculiani 5c6451b240 Tagging Entropy version 0.99.48.1 0.99.48.1 2010-07-22 11:26:23 +02:00
Fabio Erculiani 260640e226 [entropy.tools] add "-" to is_valid_path_string regexp 2010-07-22 11:25:57 +02:00
Fabio Erculiani 491bc32dc1 [entropy.db.skel] properly handle pkgs with "**" keyword 2010-07-22 11:11:53 +02:00
Fabio Erculiani ccc27cc897 [entropy.spm] PortagePlugin: when pkg has no keywords, add "**" keyword (instead of "") 2010-07-22 11:11:27 +02:00
Fabio Erculiani e6c027ed51 Tagging Entropy version 0.99.48 0.99.48 2010-07-22 10:42:24 +02:00
Fabio Erculiani 566733f2ca [entropy.client.interfaces.dep] improve reverse deps calculation by considering ELF's NEEDED metadatum
When removing packages, can happen that a reverse dependency loses
precision, causing Entropy Client to remove vital libraries.
An example is libpng-1.2 vs libpng-1.4 when pkg lists a generic
media-libs/libpng as dependency and its build system decides
to what version to link at build time. In this case, Entropy Server
automagic runtime dependencies calculation logic can have hard times.
2010-07-22 10:08:39 +02:00
Fabio Erculiani 6e95231f10 [entropy.spm] PortagePlugin: provide fallback when license text is not available during package metadata extraction 2010-07-22 06:09:54 +02:00
Fabio Erculiani ae69514b81 [entropy.spm] PortagePlugin: make possible to call the "with" context of _PortageVdbLocker and _PortageVdbLocker recursively 2010-07-22 06:08:27 +02:00
Fabio Erculiani a2ff52aff5 [entropy.spm] PortagePlugin: make several attributes protected 2010-07-21 23:10:16 +02:00
Fabio Erculiani 696e381e43 [entropy.spm] PortagePlugin: acquire world file lock before making changes 2010-07-21 22:49:37 +02:00
Fabio Erculiani 34bbb0b4b1 [entropy.spm] PortagePlugin: make some instance properties protected 2010-07-21 22:49:12 +02:00
Fabio Erculiani 9f67b7e37a [entropy.spm] PortagePlugin: lock vdb before moving entries 2010-07-21 21:11:21 +02:00
Fabio Erculiani 9d177f1ab0 [entropy] avoid race conditions when using try/finally statements 2010-07-21 20:06:22 +02:00
Fabio Erculiani 6b21e0d46f [server,services] avoid race condition when calling Client.shutdown() in finally context 2010-07-21 18:18:34 +02:00
Fabio Erculiani 3c6e2ccaed [client-tracker-packages-miner] goodbye 2010-07-21 18:17:14 +02:00
Fabio Erculiani 5bab482ed9 [equo] avoid race condition when calling Client.shutdown() in finally context 2010-07-21 18:13:18 +02:00
Fabio Erculiani 8ee58ce65a [entropy.misc] refactor LogFile (keeping backward compat, almost) make it use logging module 2010-07-21 17:50:32 +02:00
Fabio Erculiani d27cf48d48 [entropy.client.interfaces.dep] Client.calculate_updates: properly handle tagged packages upgrade 2010-07-21 15:33:29 +02:00
Fabio Erculiani 012bc74912 Tagging Entropy version 0.99.47.20 0.99.47.20 2010-07-21 13:27:53 +02:00
Fabio Erculiani ab0b15c528 [conf] client.conf: protect /etc/exports against even getting config. protected (nothing should change that file) 2010-07-21 09:01:23 +02:00
Fabio Erculiani 8c7763f774 [entropy.client] move packages cache directory to /var/lib/entropy/client/packages
This allows easier NFS sharing over home networks. Previously,
paths were /var/lib/entropy/packages{-nonfree,-restricted,}.
Please note that if you want to share Entropy packages in a
larger infrastructure, it's advised to rsync the whole Entropy
mirror and serve your cache via FTP/HTTP/FILE protocols adding
the URI to repositories.conf.
2010-07-21 08:57:12 +02:00
Fabio Erculiani f7ffe433d0 [equo] make "directories" argument mandatory for text_tools.cleanup() 2010-07-21 08:56:10 +02:00
Fabio Erculiani a96525028f [reagent] execute text_tools.cleanup() with arguments 2010-07-21 08:55:43 +02:00
Fabio Erculiani e224f5b2d6 [entropy.client.interfaces.repository] inform user about old downloaded packages cache size, if >500Mb 2010-07-21 01:19:56 +02:00
Fabio Erculiani a28e3ac1a6 [entropy.client.interfaces.repository] remove useless code 2010-07-21 01:19:40 +02:00
Fabio Erculiani 190fbf33cd [entropy.client] add two keyword args to Client.clean_downloaded_packages()
Add "dry_run" and "days_override" argument to function above.
2010-07-21 01:18:30 +02:00
Fabio Erculiani 0f7b648a5a [entropy.db] improve robustness of EntropyRepository code 2010-07-20 23:52:02 +02:00
Fabio Erculiani 670d4e3387 [entropy.tools] add function is_valid_path_string
It uses a very restricted whitelist of chars (through regexp) to
determine whether given path argument represents a sane filesystem
path.
2010-07-20 23:48:55 +02:00
Fabio Erculiani 3ab1d8db4b [entropy.client] complete implementation of older entropy downloaded packages cleanup 2010-07-20 18:24:06 +02:00
Fabio Erculiani 899e514659 [reagent] trivial string update 2010-07-20 10:32:53 +02:00
Fabio Erculiani ca912cac63 [entropy.client,services] add automatic (disabled by default) old cached packages removal 2010-07-19 12:57:39 +02:00
Fabio Erculiani 8792fd863b [sulfur] remove unwanted shebangs in sulfur modules 2010-07-19 11:31:49 +02:00
Fabio Erculiani 70a9ad0761 [sulfur] remove shebang from module 2010-07-19 11:30:17 +02:00
Fabio Erculiani f31c878938 [entropy.client,client.conf] add support for "-" separated config options (keeping backward compat) 2010-07-19 11:29:11 +02:00
Fabio Erculiani 705431d52a [sulfur] change entropy-repo-manager application .desktop category (to Development) 2010-07-19 10:23:29 +02:00
Fabio Erculiani bf738f21ca [equo] add "--force-system" option support to "equo remove" 2010-07-19 10:08:46 +02:00
Fabio Erculiani 2c3f019108 [entropy.db] improve EntropyRepository.validateDatabase() (add categories table test) 2010-07-17 23:40:44 +02:00
Fabio Erculiani 7da34cef6a [entropy.qa] add unadverstised support to env ETP_BROKEN_LIBS_MASK in test_shared_objects() 2010-07-17 23:39:50 +02:00
Fabio Erculiani ea4b90df8f [entropy.db] properly use _doesTableExist() in contentDiff() 2010-07-17 20:18:42 +02:00
Fabio Erculiani 5c376ba9cd [entropy.db] use a temporary table for reverse dependencies metadata when db file is read-only 2010-07-17 20:17:08 +02:00
Fabio Erculiani 6e5bc03082 [entropy.db] add temporary argument to _doesTableExist() to check against temp tables 2010-07-17 20:16:42 +02:00
Fabio Erculiani 21bbee9ad6 [entropy.qa] update docstring 2010-07-17 20:14:48 +02:00
Fabio Erculiani d88c8a7cb5 Tagging Entropy version 0.99.47.10 0.99.47.10 2010-07-17 09:00:43 +02:00
Fabio Erculiani f053368a62 [entropy.tools] generic_file_content_parser(): fix regression, always filter out empty lines 2010-07-17 08:59:57 +02:00
Fabio Erculiani 18310b1d8a [entropy.server] make possible to skip config files QA check when calling sync_repositories() 2010-07-17 07:59:54 +02:00
Fabio Erculiani d26b8f67db [equo] fix undefined reference in text_query.search_required_libraries() 2010-07-17 07:43:56 +02:00
Fabio Erculiani 63dec46252 Tagging Entropy version 0.99.47.9 0.99.47.9 2010-07-16 23:43:42 +02:00
Fabio Erculiani 713f4157b0 [entropy.const] improve usage of const_setup_perms() 2010-07-16 23:37:19 +02:00