Commit Graph

4082 Commits

Author SHA1 Message Date
Fabio Erculiani df10dfd14e [entropy.services.repository] make repository hash more visible in logs 2010-07-24 21:20:26 +02:00
Fabio Erculiani 4c3036ad02 Tagging Entropy version 0.99.49.1 2010-07-24 20:39:37 +02:00
Fabio Erculiani 86d46032b6 [entropy.client.interfaces.dep] fix Client.atom_match() cache tag generation 2010-07-24 20:39:02 +02:00
Fabio Erculiani f21ca32808 Tagging Entropy version 0.99.49 2010-07-24 20:35:23 +02:00
Fabio Erculiani fc923dc850 [entropy.server] decouple list of repository mirrors from packages mirrors, keeping backward compatibility 2010-07-24 20:19:39 +02:00
Fabio Erculiani 9273f21b0b [entropy.client.interfaces.commands] rework repository EAPI service, revert to original behaviour (using packages.db.download.lock as lock file) 2010-07-24 18:37:50 +02:00
Fabio Erculiani f6094eb466 [entropy.db] EntropyRepository: optimize frequent calls to taintReverseDependenciesMetadata() 2010-07-24 17:08:48 +02:00
Fabio Erculiani 41c0a7cadc [entropy.db] EntropyRepository._sanitizeDependsTable: use proper sql table (temp or non-temp) 2010-07-24 17:08:22 +02:00
Fabio Erculiani 5a1e38019f [entropy.spm] PortagePlugin.remove_installed_package: lock vdb and world file before making any change 2010-07-24 16:50:50 +02:00
Fabio Erculiani f3331b36cd [entropy.client.interfaces.dep] catch RepositoryError and SystemDatabaseError on open_repository() in atom_match() 2010-07-24 16:47:09 +02:00
Fabio Erculiani 17f7dc5c7b Tagging Entropy version 0.99.48.2 2010-07-23 19:57:55 +02:00
Fabio Erculiani 019906e050 [entropy.tools] isjustname: make it working with names like "389-ds-base" 2010-07-23 17:44:07 +02:00
Fabio Erculiani aefb137326 [entropy.spm] PortagePlugin: remove temp file after usage 2010-07-23 12:55:05 +02:00
Fabio Erculiani bc8b49046d [entropy.client.interfaces.dep] Client._get_unsatisfied_dependencies: fix data retrieval
When handling tagged packages, make sure to set every variable that
is used for filtering afterwards. repo_digest was not properly
re-bound to the new package match.
2010-07-22 22:45:55 +02:00
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 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 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 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 2010-07-21 13:27:53 +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 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 ca912cac63 [entropy.client,services] add automatic (disabled by default) old cached packages removal 2010-07-19 12:57:39 +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 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 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