Commit Graph

4644 Commits

Author SHA1 Message Date
Fabio Erculiani e36896a5ad Release Entropy 1.0_alpha25 2011-03-02 22:54:29 +01:00
Fabio Erculiani 9dc9d5138f [entropy.client.interfaces.client] fix typo in ClientSystemSettingsPlugin._drop_package_repository 2011-03-02 22:22:25 +01:00
Fabio Erculiani 7c18fc2522 [entropy.client] make package repository metadata representation more robust 2011-03-02 20:37:27 +01:00
Fabio Erculiani 78c74c72c2 [entropy.client] make package repositories (.tbz2 and .etp) able to live across SystemSettings.clear()
The issue was that, if Sulfur asked for unmasking packages,
SystemSettings.clear() was called and package repository lost.
With this patch, package repositories can live across any clear()
call, like it should be.
2011-03-02 20:17:36 +01:00
Fabio Erculiani 90a99682cd [entropy.client.interfaces.package] check if avail_data contains repository as key before referencing 2011-03-02 15:30:18 +01:00
Fabio Erculiani 56f5883669 [entropy.client.interfaces] catch EROFS in unlock_resources() 2011-03-02 09:45:44 +01:00
Fabio Erculiani aaf9e5840b [entropy.client.interfaces] add_package_to_repositories: validate package file architecture using the new way (getSettings("arch")). Keep backward compatibility. 2011-03-01 18:45:14 +01:00
Fabio Erculiani 3a6be1ec97 [entropy.tools,entropy.spm] provide hardlinks aware file size counting function and use it in entropy.spm 2011-03-01 18:32:42 +01:00
Fabio Erculiani dd5cea12d0 Release Entropy 1.0_alpha24 2011-03-01 13:13:39 +01:00
Fabio Erculiani 9c6e73e68a [entropy.server] fix typo in message, thanks to Rover Calvò 2011-02-28 09:43:59 +01:00
Fabio Erculiani 5f5e6ed936 Release Entropy 1.0_alpha23 2011-02-28 09:23:31 +01:00
Fabio Erculiani a853525ca6 [entropy.server] when pushing a new repo, also upload a signal file suitable for webinstall daemons 2011-02-28 09:22:33 +01:00
Fabio Erculiani c0f47cc8fe [entropy.db] EntropyRepository: rewrite _doesColumnInTableExist() to be more efficient 2011-02-27 23:18:52 +01:00
Fabio Erculiani 2640912720 [entropy.db] EntropyRepository: rewrite _doesColumnInTableExist usage (optimistic guessing), since it is damn slow 2011-02-27 23:14:32 +01:00
Fabio Erculiani 664e760f35 Release Entropy 1.0_alpha22 2011-02-27 19:02:10 +01:00
Fabio Erculiani 903fb39d60 [entropy.cache] MtimePingus: avoid race conditions on ping() and pong() when using entropy.dump.dumpobj() 2011-02-27 10:53:48 +01:00
Fabio Erculiani 71bd1646d0 [entropy.cache] EntropyCacher: race conditions on save() and push() can cause OSError exceptions (errno=2) on entropy.dump.dumpobj() 2011-02-27 10:52:10 +01:00
Fabio Erculiani c14dd0161d Release Entropy 1.0_alpha21 2011-02-27 01:13:25 +01:00
Fabio Erculiani fbcca73846 Release Entropy 1.0_alpha20 2011-02-27 00:11:09 +01:00
Fabio Erculiani 6db0d716a3 [entropy.db] EntropyRepository: when hashing the repo, handle the case where there is no database file 2011-02-27 00:00:01 +01:00
Fabio Erculiani 7801132610 [tests] db: improve settings management test 2011-02-26 23:52:53 +01:00
Fabio Erculiani 6cb731f63e [entropy.server] fix operation between set and list in _move_packages() 2011-02-26 23:45:38 +01:00
Fabio Erculiani d38414de29 [entropy.dep] get_entropy_newer_version(): make possible to provide different package file extension 2011-02-26 17:54:06 +01:00
Fabio Erculiani 5f32bfab82 [entropy.qa] make possible to use get_deep_dependency_list() with a single repository 2011-02-26 17:53:41 +01:00
Fabio Erculiani c35b50fadc [entropy.tools] introduce validate_repository_id() 2011-02-26 17:53:13 +01:00
Fabio Erculiani 1719e1d0c2 [entropy.db] EntropyRepository: allow any setting to be stored inside settings table 2011-02-26 17:10:31 +01:00
Fabio Erculiani b4379c6219 [entropy.tools] provide general purpose NB EX file locking/unlocking functions 2011-02-26 12:53:46 +01:00
Fabio Erculiani 80cd9366b8 [entropy.client] web-install package files are bzip2 compressed, add complete support 2011-02-26 00:51:14 +01:00
Fabio Erculiani eff0b02e6b [entropy.client] add web-install package file format support 2011-02-26 00:11:33 +01:00
Fabio Erculiani 488634830d [entropy.core] move expand_plain_package_mirror function to entropy.tools, make public 2011-02-26 00:10:56 +01:00
Fabio Erculiani c958537c9e [entropy.db] drastically reduce collisions in __generateReverseDependenciesMetadata by using sha1, uniform usage 2011-02-25 19:01:03 +01:00
Fabio Erculiani 378cb098df [entropy.db] improve caching strategy of validate(), execute only if mtime, path, name, root change 2011-02-25 18:55:06 +01:00
Fabio Erculiani 0ba3b8bf0d [entropy.cache] make EntropyCacher.save report the original exception inside the IOError exception string 2011-02-25 09:05:44 +01:00
Fabio Erculiani b836fe0b0a [entropy.fetchers] catch httplib.InvalidURL, raised by malformed url passed to urlopen() 2011-02-24 17:08:32 +01:00
Fabio Erculiani 150384d273 [entropy.db] EntropyRepository.searchCategory: missed the return statement 2011-02-22 19:58:57 +01:00
Fabio Erculiani 473be86241 [entropy.db] EntropyRepository: fix searchCategory return data when just_id = True 2011-02-22 19:53:27 +01:00
Fabio Erculiani fa4681e391 [entropy.db] EntropyRepositoryBase: add just_id argument support to searchCategory 2011-02-22 19:23:25 +01:00
Fabio Erculiani b057f8ccbd [entropy.core] make possible to override default repositories.conf path using ETP_REPOSITORIES_CONF 2011-02-21 19:03:35 +01:00
Fabio Erculiani 8eb3eef87b [entropy.db] EntropyRepositoryBase: introduce searchUseflag 2011-02-21 13:05:26 +01:00
Fabio Erculiani e2f5f9d611 [tests] also check for st_size=0 on hardlinks 2011-02-20 19:53:56 +01:00
Fabio Erculiani af2cb248bc [tests] fixup hardlink test 2011-02-20 19:51:52 +01:00
Fabio Erculiani 65f741078d [tests+ add hardlink test 2011-02-20 19:43:24 +01:00
Fabio Erculiani 4e0d24d11c [entropy.db] add order_by="date" support to listAllPackageIds 2011-02-20 19:33:32 +01:00
Fabio Erculiani 2e3398f928 [entropy.tools] compress_files(): only change tarinfo file type for symlinks 2011-02-20 19:31:51 +01:00
Fabio Erculiani c5a9f2531c Release Entropy 1.0_alpha18 2011-02-20 19:22:27 +01:00
Fabio Erculiani 79d08eebf2 [entropy.tools] improve handling of non-standard file types (hard-links) and improve speed of uncompress_tarball() 2011-02-20 19:18:02 +01:00
Fabio Erculiani a10d2ef771 [entropy.client] quickpkg(): fix broken handling of hard-links
Since tar-1.24, tar supports hard links, same for python-2.6.6.
However, generate_package() was resetting the file type on the
tarinfo object, causing the extractor (either tar or python tarfile)
to handle the file like it was a 0-size one.
dev-vcs/git package was broken due to this and there are probably
others.
2011-02-20 19:10:41 +01:00
Fabio Erculiani c9b166a9fb [entropy.spm] generate_package(): fix broken handling of hard-links
Since tar-1.24, tar supports hard links, same for python-2.6.6.
However, generate_package() was resetting the file type on the
tarinfo object, causing the extractor (either tar or python tarfile)
to handle the file like it was a 0-size one.
dev-vcs/git package was broken due to this and there are probably
others.
2011-02-20 19:04:27 +01:00
Fabio Erculiani fe3ed07102 [entropy.services.ugc] get_ugc_icon(): return full URL instead of relative 2011-02-18 12:00:23 +01:00
Fabio Erculiani 9890f799e5 [entropy.services.ugc] add caching 2011-02-18 02:33:30 +01:00