Commit Graph

9601 Commits

Author SHA1 Message Date
Fabio Erculiani 4765de8bf5 [entropy.transceivers] EntropyFtpUriHandler: use repr() when showing error string 2010-09-15 16:22:39 +02:00
Fabio Erculiani e9d380c9a9 [entropy.db] EntropyRepository: explicitly rollback transaction when calling addPackage and removePackage 2010-09-15 14:14:11 +02:00
Fabio Erculiani 3f14d38fde [entropy.db] EntropyRepository: if sqlite3 connection cannot close, interrupt other threads and call close() again 2010-09-15 14:04:14 +02:00
Fabio Erculiani f7734e3d77 [sulfur] remove isinstance(x, int) and replace by identity checking against None 2010-09-15 07:31:23 +02:00
Fabio Erculiani e6b8fcff81 [sulfur] catch another OperationalError on listAllPackageIds() 2010-09-15 07:27:31 +02:00
Fabio Erculiani bd3f4e421f [sulfur] catch OperationalError when calling listAllPackageIds() 2010-09-15 07:25:48 +02:00
Fabio Erculiani ccb57e05d1 [entropy.services] open_session() can return None, state it clearly and handle the case everywhere the function is used 2010-09-15 07:20:45 +02:00
Fabio Erculiani c95b27e78e [entropy.tools] movefile: catch OSError/IOError exceptions on the first lstat() too (on src) 2010-09-15 07:08:23 +02:00
Fabio Erculiani a7d8415dda [entropy.const] fix typo in etpConst['packagesrelativepaths'] 2010-09-15 06:59:09 +02:00
Fabio Erculiani 621740f9c8 [equo] remove --nockecksum option from "equo upgrade" and "equo install". Some people are abusing it. 2010-09-14 20:05:01 +02:00
Fabio Erculiani 9d36dcaee4 [entropy.db] EntropyRepository._insertContentSafety: execute query only if contentsafety table is available 2010-09-14 20:00:43 +02:00
Fabio Erculiani 7c5927524d [entropy.db] EntropyRepository._insertSignatures: make code more robust and handle the case where gpg column is not available 2010-09-14 19:53:48 +02:00
Fabio Erculiani ac28a04e98 [po] update translations 2010-09-14 09:50:33 +02:00
Fabio Erculiani ec94cceacd [entropy.tools] start moving Entropy dependency handling functions to entropy.dep module 2010-09-14 09:49:34 +02:00
Fabio Erculiani 3bd2c001ea [entropy.tools] trivial code updates 2010-09-14 07:54:49 +02:00
Fabio Erculiani 1a301fefdd Tagging Entropy version 0.99.49.60 0.99.49.60 2010-09-13 17:38:39 +02:00
Fabio Erculiani d553108df8 [entropy.spm] PortagePlugin: fix simple Entropy "or" dependencies generator code 2010-09-13 17:38:16 +02:00
Fabio Erculiani 29a320d5c3 [entropy.server.mirrors] when dumping repository light database to file, exclude "contentsafety" table too 2010-09-13 14:21:12 +02:00
Fabio Erculiani 2826538920 Tagging Entropy version 0.99.49.59 0.99.49.59 2010-09-13 13:49:27 +02:00
Fabio Erculiani 2a5dee74c7 [todo] update TODO 2010-09-13 13:48:54 +02:00
Fabio Erculiani ddc73401bc [todo] update TODO 2010-09-13 13:42:01 +02:00
Fabio Erculiani 882cb70eff [entropy.spm] PortagePlugin: remove code duplicated from portage.dep and fix nested conditional dependencies (not yet supported by
Entropy)
2010-09-13 13:41:11 +02:00
Fabio Erculiani 8bebcd65e4 [entropy.tools] add helper function flatten() 2010-09-13 13:40:24 +02:00
Fabio Erculiani a4a52e62d8 [tests] add another Portage related SPM test 2010-09-13 13:40:07 +02:00
Fabio Erculiani 0e7f3630b3 Tagging Entropy version 0.99.49.58 0.99.49.58 2010-09-12 09:25:17 +02:00
Fabio Erculiani f053d07fe0 [entropy.client.interfaces.package] include real repository URIs when using original repository id for fetching the package file 2010-09-12 09:22:20 +02:00
Fabio Erculiani 3b69f9a9a7 [entropy.client.interfaces.package] make "equo repo merge" logic fully working
Properly setup package file mirrors to the right location used by
the original repository. The trick consists of storing the original
repository id inside the installedtable metadata in EntropyRepository,
and use it afterwards in entropy.client.interfaces.package.
2010-09-12 03:15:49 +02:00
Fabio Erculiani 3c95f72312 [equo] speedup "equo repo merge", call EntropyRepository.removePackage in a faster way 2010-09-12 02:45:41 +02:00
Fabio Erculiani 22940194fb [equo] when calling "equo repo merge" update installed packages metadata
Faking Entropy Client requires that the package URL is generated correctly,
in order to comply with this, fake information will be stored inside the
"installed package" metadatum, generally used by the installed packages
repository only.
2010-09-12 02:34:37 +02:00
Fabio Erculiani 40cf08effa [entropy.server] when moving/copying packages, keep track of the originating repository metadata 2010-09-12 02:28:47 +02:00
Fabio Erculiani 21ed35a9ed Tagging Entropy version 0.99.49.57 0.99.49.57 2010-09-11 17:09:43 +02:00
Fabio Erculiani d1571bb8ba [entropy.client.interfaces.package] implement foundation support for differential package file download 2010-09-11 17:07:40 +02:00
Fabio Erculiani 4d646aa16a [equo] fix regression in text_repositories module, s/if/elif/ 2010-09-11 16:51:18 +02:00
Fabio Erculiani c17469b1ba [entropy.fetchers] implement foundations for differential packages download support 2010-09-11 16:46:17 +02:00
Fabio Erculiani 1cdbe349dd Tagging Entropy version 0.99.49.56 0.99.49.56 2010-09-11 15:43:12 +02:00
Fabio Erculiani 23b970efa1 [tests] add a new live cache unit test 2010-09-11 15:42:18 +02:00
Fabio Erculiani a64c873284 [entropy.db] EntropyRepository: commit to disk (calling Connection.commit()) before calling plugin hooks
To avoid EntropyRepositoryBase plugin hooks to not see changes
in repository not yet committed (leading to tricky hard to debug
situations) call Connection.commit() before plugin hooks.
2010-09-11 15:38:05 +02:00
Fabio Erculiani a533faeff8 [entropy.db] EntropyRepository: create __getLiveCacheKey method 2010-09-11 15:37:06 +02:00
Fabio Erculiani d5c1aab425 [po] update translations 2010-09-10 23:23:48 +02:00
Fabio Erculiani f9598010d1 [equo] implement developers-only feature "equo repo merge <source repos> <dest repo>"
This feature helps Entropy repository developers to simulate client
side repository status by merging packages in one repository into another.
Doing this client-side makes possible to distribute the testing effort
and avoid touching critical data server-side.
2010-09-10 23:23:05 +02:00
Fabio Erculiani a47ac7e7a3 [reagent] show packages to be removed, injected and added in alphabetical order (reagent update) 2010-09-10 21:56:32 +02:00
Fabio Erculiani 90abd0c008 [entropy.spm,entropy.client] slightly improve code quality of package generation functions 2010-09-10 11:52:16 +02:00
Fabio Erculiani b57da0d7ef [todo] update TODO 2010-09-09 23:45:45 +02:00
Fabio Erculiani 1c9119298d Tagging Entropy version 0.99.49.55 0.99.49.55 2010-09-09 10:46:36 +02:00
Fabio Erculiani 0d6ef852a9 [entropy.qa] fix incorrect argument in EntropyRepository.resolveNeeded call 2010-09-09 10:45:55 +02:00
Fabio Erculiani 98f577e9f9 [entropy.spm] PortagePlugin: catch OSError exception that newer Portage releases can raise in get_installed_package_metadata 2010-09-09 08:40:37 +02:00
Fabio Erculiani 85a0de1f22 [entropy.server] when bumping repository, also trigger commit hooks (and thus, spawn a commitChanges()) 2010-09-09 08:21:00 +02:00
Fabio Erculiani e23c5d8c64 [sulfur] hide installed packages repository backup tool while running unprivileged 2010-09-09 08:09:48 +02:00
Fabio Erculiani 8feef25609 [sulfur] remove background caches generation, it's slowing down a bit and doesn't work as user 2010-09-09 08:00:51 +02:00
Fabio Erculiani 29ba1a71e6 [equo] fix _my_formatted_print(), make it work with frozenset and tuple objects 2010-09-09 07:45:48 +02:00