Commit Graph

4952 Commits

Author SHA1 Message Date
Fabio Erculiani
db30a2f666 Release Entropy 1.0_rc11 2011-06-24 15:47:13 +02:00
Fabio Erculiani
95fa18699c [entropy.core.settings.base] filter out invalid package mirrors URLs 2011-06-24 15:46:23 +02:00
Fabio Erculiani
a8deb17e8d [entropy.core.settings.base] always validate repository database URL 2011-06-24 15:43:13 +02:00
Fabio Erculiani
db11ff3168 [entropy.tools] is_valid_uri: catch ValueError exceptions (caused by malformed URL, for IPv6) 2011-06-24 15:42:39 +02:00
Fabio Erculiani
a815c40cb9 [entropy.core.settings.base] remove dead code 2011-06-24 15:01:03 +02:00
Fabio Erculiani
c2845c0a85 [entropy.server] ServerPackagesRepositoryUpdater: "database_changelog_file" can be absent from upload_data 2011-06-24 13:55:55 +02:00
Fabio Erculiani
e829215bb4 [entropy.server] improve speed of _get_basedir_pkg_listing 2011-06-20 23:39:15 +02:00
Fabio Erculiani
8f7268c272 [entropy.server] drop .md5 files handling support on repos, pretty useless 2011-06-20 20:23:03 +02:00
Fabio Erculiani
a0674fc265 Release Entropy 1.0_rc10 2011-06-20 10:52:32 +02:00
Fabio Erculiani
0b699dceb4 [entropy.client.interfaces] always use prefix= with mkstemp() 2011-06-20 10:50:34 +02:00
Fabio Erculiani
2d77ff85d8 [entropy.qa] always use prefix= with mkstemp() 2011-06-20 10:50:24 +02:00
Fabio Erculiani
e4592e3902 [entropy.spm] always use prefix= with mkstemp() 2011-06-20 10:47:54 +02:00
Fabio Erculiani
85a0db933f [entropy.tools] always use prefix= with mkstemp() 2011-06-20 10:46:05 +02:00
Fabio Erculiani
f1f4895922 [entropy.transceivers] when using mkstemp() always provide a prefix 2011-06-20 10:44:00 +02:00
Fabio Erculiani
faf1756c9f [entropy.server] make sure to close and remove the temporary files in _inject_database_into_packages 2011-06-20 10:40:41 +02:00
Fabio Erculiani
1918dc5615 Release Entropy 1.0_rc9 2011-06-20 10:12:37 +02:00
Fabio Erculiani
e9642c7309 [entropy.server] restore functionality of repository download
Repository sync was malfunctioning when a download was required.
The return value of _download() was incorrect (False meant error,
while it should have been the other way around, returning a list
of broken mirrors).
Moreover, the download routine now uses packages.db.meta instead
of downloading all the meta files separately.
2011-06-20 10:03:09 +02:00
Fabio Erculiani
d43426a94e Release Entropy 1.0_rc8 2011-06-19 16:51:42 +02:00
Fabio Erculiani
a174d1a28b [entropy.server] provide an initialized repo on _inject_database_into_packages
This commit improves the general function performance by a lot.
2011-06-19 16:26:30 +02:00
Fabio Erculiani
0b884852c6 [entropy.client] make possible to provide an already initialized repo to _inject_entropy_database_into_package 2011-06-19 16:26:03 +02:00
Fabio Erculiani
5fd1e406d8 [entropy.server] _inject_database_into_packages: slightly improve speed 2011-06-19 11:28:23 +02:00
Fabio Erculiani
a7acb6d7c9 [entropy.server] make possible to disable the "broken reverse dependencies" QA check 2011-06-19 09:24:06 +02:00
Fabio Erculiani
c7569661bd [entropy.server] move ChangeLog date format string to etpConst 2011-06-18 23:36:54 +02:00
Fabio Erculiani
2995a70a7e Revert "[entropy.client.interfaces.dep] drop auto-conflict feature, does more harm than good (kde-4.6.4)"
This reverts commit 253fb20744.
2011-06-18 19:49:29 +02:00
Fabio Erculiani
e97ddff74a Release Entropy 1.0_rc7 2011-06-18 09:59:51 +02:00
Fabio Erculiani
253fb20744 [entropy.client.interfaces.dep] drop auto-conflict feature, does more harm than good (kde-4.6.4) 2011-06-18 09:49:44 +02:00
Fabio Erculiani
e42137fd49 [entropy.server] db_actions can be None 2011-06-18 00:57:40 +02:00
Fabio Erculiani
e1d1886131 Release Entropy 1.0_rc6 2011-06-17 22:48:42 +02:00
Fabio Erculiani
10577e1e94 [tests] client: fix Trigger unit tests 2011-06-17 22:48:22 +02:00
Fabio Erculiani
d326a429f6 [entropy.spm] PortagePlugin: move REPLACED_BY_VERSION logic AFTER setcpv() 2011-06-17 22:47:30 +02:00
Fabio Erculiani
1dfc50d2d6 Release Entropy 1.0_rc5 2011-06-17 22:32:44 +02:00
Fabio Erculiani
ac95842bdb [entropy.spm/entropy.client] bring more metadata to SPM plugins handing triggers
This is required in order to support Portage EAPI4 feature called
"REPLACED_BY_VERSION".

See http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-12100012.1.2
2011-06-17 22:29:13 +02:00
Fabio Erculiani
d4eac9657b Release Entropy 1.0_rc4 2011-06-17 12:37:10 +02:00
Fabio Erculiani
1fed7f49d5 [entropy.server] respect semaphore maximum allowed threads limit 2011-06-17 12:35:47 +02:00
Fabio Erculiani
0f2390a107 [entropy.client.interfaces.db] improve reliability of semaphore acquire()/release() handling 2011-06-17 12:35:06 +02:00
Fabio Erculiani
a03f119514 Release Entropy 1.0_rc3 2011-06-17 10:48:52 +02:00
Fabio Erculiani
35559cf377 [entropy.server.mirrors] handle compressed ChangeLog file 2011-06-17 10:39:13 +02:00
Fabio Erculiani
361a3ed060 [entropy.server.interfaces.db] _download(): fix indentation error in code 2011-06-17 10:16:53 +02:00
Fabio Erculiani
b06a09b460 Release Entropy 1.0_rc2 2011-06-16 21:55:20 +02:00
Fabio Erculiani
81598b5fed [entropy.server] drop parsable-rss feature in favour of a plain ChangeLog file
ChangeLog file is now automatically generated basing on new packages
being added to repository. It can be disabled via server.conf's
"changelog = false" directive.
This file is supposed to grow to infinity and no size control is
going to be implemented.
2011-06-16 16:38:09 +02:00
Fabio Erculiani
c206034920 [entropy.server] make rss-base-url passthru unfiltered 2011-06-15 19:06:32 +02:00
Fabio Erculiani
f3ef853083 [entropy.misc] FastRSS: use toxml() instead of toprettyxml() which looks buggy 2011-06-15 18:38:36 +02:00
Fabio Erculiani
1a3daca031 [entropy.misc] FastRSS: fix typo in commit() use write() instead of writelines() 2011-06-15 18:29:37 +02:00
Fabio Erculiani
66b055813b [entropy.misc] FastRSS: setup proper rss file permissions 2011-06-15 18:23:11 +02:00
Fabio Erculiani
1ae79303bd [entropy.misc] FastRSS: be fault tolerant versus missing xml elements 2011-06-15 18:15:44 +02:00
Fabio Erculiani
2e66a727ec [entropy.server] add missing metadata to RSS light blob 2011-06-15 18:04:13 +02:00
Fabio Erculiani
2d942fa002 [entropy.server.mirrors] handle sync of the parsable rss file 2011-06-15 18:01:20 +02:00
Fabio Erculiani
d874c929e4 [entropy.server] make possible to change default RSS-light file name 2011-06-15 17:49:32 +02:00
Fabio Erculiani
2a0e7f7c94 [entropy.server] add support for generating parsable RSS feeds 2011-06-15 17:46:09 +02:00
Fabio Erculiani
9dd4e263e6 [entropy.misc] FastRSS: implement get() method 2011-06-15 17:45:32 +02:00