Commit Graph

4052 Commits

Author SHA1 Message Date
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
Fabio Erculiani 63dec46252 Tagging Entropy version 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
Fabio Erculiani 46c9264e28 [entropy.client.interfaces.db] make sure that repository is owned by root 2010-07-16 18:16:29 +02:00
Fabio Erculiani 2a0ea068bd [entropy.const] add "uid" keyword argument to const_setup_file and const_setup_perms (and use it properly) 2010-07-16 18:15:59 +02:00
Fabio Erculiani a43ea23d6a [entropy.server] {un,}mask_packages(): do not filter out comments from config file 2010-07-16 14:52:12 +02:00
Fabio Erculiani 56e1413d24 [entropy.tools] add filter_comments argument to generic_file_content_parser 2010-07-16 14:49:42 +02:00
Fabio Erculiani dd14a39281 [entropy.server] add Server.{un,}mask_packages() function and reagent "repo package-{un,}mask" tools 2010-07-16 14:34:32 +02:00
Fabio Erculiani 544c378a31 [entropy.tools] improve resolve_dynamic_library() by also considering ELF class 2010-07-15 23:17:13 +02:00
Fabio Erculiani 2feac20c47 [entropy.qa] test_shared_objects: sort LDPATH directories to scan 2010-07-15 23:16:42 +02:00
Fabio Erculiani a805892396 [entropy.qa,entropy.core.settings.base] move extra LDPATHs to external configuration file 2010-07-15 20:11:49 +02:00
Fabio Erculiani 6d08c0a92f Tagging Entropy version 0.99.47.8 2010-07-15 11:22:29 +02:00
Fabio Erculiani bcd075d4e9 [entropy.client,entropy.const] improve entropy directory permissions handling 2010-07-15 11:21:53 +02:00
Fabio Erculiani 07055331b5 [entropy.db.skel,entropy.client.interfaces.db] disallow unprivileged repository update 2010-07-15 10:56:01 +02:00
Fabio Erculiani 93450fcf4d Tagging Entropy version 0.99.47.7 2010-07-15 00:05:02 +02:00
Fabio Erculiani c8d392ea3b [entropy.db] improve EntropyRepository.validateDatabase() reliability 2010-07-14 23:48:39 +02:00
Fabio Erculiani c48e3e1a13 [entropy.services.ugc] python ssl module socket object doesn't have the issuer() method 2010-07-14 23:32:53 +02:00
Fabio Erculiani e841ef0a18 [entropy.server.mirrors] download lock mirrors only when local data has been prepared 2010-07-14 21:21:44 +02:00
Fabio Erculiani 31102a8c3f [entropy.client] deprecate Client.setup_file_permissions() 2010-07-14 15:01:02 +02:00
Fabio Erculiani f54af278da [entropy.client.interfaces.db] InstalledPackagesRepository: ensure proper db file permissions 2010-07-14 14:59:50 +02:00
Fabio Erculiani 8ed571b3c6 [entropy.client.interfaces.db] rename some i18n strings 2010-07-14 11:25:03 +02:00
Fabio Erculiani 3cf73d5fa8 [entropy.qa] resolve /usr/lib to /usr/lib64 when matching broken library file in repository 2010-07-13 14:03:35 +02:00
Fabio Erculiani 5b92c64fa3 Tagging Entropy version 0.99.47.6 2010-07-13 13:40:20 +02:00
Fabio Erculiani d9375f183a [entropy.server] fix _show_package_sets_messages 2010-07-13 13:39:57 +02:00
Fabio Erculiani 396fc1f528 Tagging Entropy version 0.99.47.5 2010-07-13 12:42:14 +02:00
Fabio Erculiani a6edadc9f3 [entropy.client] fix regression in Entropy.quickpkg() function, not appending SPM metadata 2010-07-13 12:41:23 +02:00
Fabio Erculiani cc1f7cf6bf [entropy.client.interfaces.db] tweak repository update status message text 2010-07-13 11:57:30 +02:00
Fabio Erculiani dd12606df8 [entropy.server] show available pkgsets ordered alphabetically 2010-07-13 11:52:00 +02:00
Fabio Erculiani cc558d25dd [entropy.spm] PortagePlugin: properly filter SRC_URI when collecting pkg metadata 2010-07-13 00:51:28 +02:00
Fabio Erculiani bda2ceac84 [entropy.db.skel] make sure that retrieveAtom returned != None 2010-07-09 15:27:44 +02:00
Fabio Erculiani 7ec19e6136 Tagging Entropy version 0.99.47.4 2010-07-05 18:13:24 +02:00