Commit Graph

7365 Commits

Author SHA1 Message Date
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
Fabio Erculiani
e8a907a74a Tagging Entropy version 0.99.49.54 0.99.49.54 2010-09-08 14:05:15 +02:00
Fabio Erculiani
d9c0214a0c [todo] update TODO 2010-09-08 14:04:54 +02:00
Fabio Erculiani
14e243fe21 [entropy.spm] PortagePlugin: add compatibility with latest Portage 2.2, portage.sets has been moved to portage._sets 2010-09-08 14:01:30 +02:00
Fabio Erculiani
2b80649bd2 [entropy.server] fix regression in _move_files_over_from_upload(), move package file to correct location 2010-09-08 13:34:18 +02:00
Fabio Erculiani
cd57e27fdf Tagging Entropy version 0.99.49.53 0.99.49.53 2010-09-08 00:31:30 +02:00
Fabio Erculiani
f71f7d2cc8 [tests] spm: add package sets test 2010-09-08 00:30:32 +02:00
Fabio Erculiani
84f97ae228 [entropy.spm] PortagePlugin: fix sets module loading, improve Portage reload code 2010-09-08 00:29:52 +02:00
Fabio Erculiani
5223c153a3 [po] update translations 2010-09-08 00:29:29 +02:00
Fabio Erculiani
f0d33efe89 Tagging Entropy version 0.99.49.52 0.99.49.52 2010-09-07 23:08:12 +02:00
Fabio Erculiani
a7df773d1e [todo] update TODO 2010-09-07 22:58:22 +02:00
Fabio Erculiani
dac5698f38 [entropy.spm] PortagePlugin: dynamically reload portage modules when reinstalling/updating sys-apps/portage 2010-09-07 22:17:24 +02:00
Fabio Erculiani
df3dbe87c0 [conf] add rsync:// sources to sabayonlinux.org repositories 2010-09-07 14:58:05 +02:00
Fabio Erculiani
5c95a6fca0 [entropy.fetchers] implement UrlFetcher ssh:// protocol support over rsync 2010-09-07 14:39:22 +02:00
Fabio Erculiani
126de1e010 [reagent] trivial change, avoid to call _get_local_store_directory() every iteration 2010-09-07 13:59:02 +02:00
Fabio Erculiani
b36e5f6207 [entropy.spm] change file name generated by PortagePlugin.generate_package, add category 2010-09-07 13:58:22 +02:00
Fabio Erculiani
ec234f327f [entropy.server.mirrors] when moving package files to packages dir (after upload) also move .asc and .md5 ones 2010-09-07 13:40:45 +02:00
Fabio Erculiani
d129e28327 Tagging Entropy version 0.99.49.51 0.99.49.51 2010-09-07 11:16:27 +02:00
Fabio Erculiani
c711ade2ed [entropy.spm] PortagePlugin: revert some safety changes to generate_package, they don't play well with tarfile 2010-09-07 11:15:09 +02:00
Fabio Erculiani
86eaf08bad Tagging Entropy version 0.99.49.50 0.99.49.50 2010-09-06 23:40:16 +02:00
Fabio Erculiani
dfd44c6903 [repo] adding AUTHORS, COPYING and README files, update TODO 2010-09-06 23:34:10 +02:00
Fabio Erculiani
f78ecd08a1 [entropy.client.interfaces.dep] update tagged packages binding logic, when tag != None, tag is not == slot anymore 2010-09-06 23:25:26 +02:00
Fabio Erculiani
653f5514c8 [equo] behaviour change: automatically bind non-tagged package strings to tagged
A simple use case: "equo install nvidia-drivers" will now pull in
packages providing the tag of the latest installed package if
available. In this way, newer kernel packages (for example) will
not be implicitly pulled in anymore. To override this: just append
a valid tag to your package string "nvidia-drivers#2.6.34-sabayon"
2010-09-06 15:30:49 +02:00
Fabio Erculiani
3c5d0fb684 [entropy.client] remove debugging code 2010-09-06 15:09:10 +02:00
Fabio Erculiani
04f8f67b1e [todo] update TODO 2010-09-06 13:25:58 +02:00
Fabio Erculiani
52372dc357 [entropy.client.interfaces.package] move URL name retrieval code into separate function, add scheme information to string 2010-09-06 11:04:46 +02:00
Fabio Erculiani
86402f18b0 [entropy.fetchers] fine tune rsync:// download function parameters 2010-09-06 10:57:19 +02:00
Fabio Erculiani
797bd279db [entropy.fetchers] UrlFetcher: urlencode "url" constructor argument only in urllib function 2010-09-06 10:50:48 +02:00
Fabio Erculiani
6339ed1b8f [entropy.spm] PortagePlugin.generate_package: remove unnecessary os.close() call 2010-09-06 10:15:30 +02:00
Fabio Erculiani
808e64d618 [entropy.spm] PortagePlugin: make generate_package() package file generation atomic 2010-09-06 10:14:31 +02:00
Fabio Erculiani
5546e04d98 [reagent] fix pontential uninitialized variable spm_key 2010-09-06 09:47:48 +02:00
Fabio Erculiani
638d1db1a8 [entropy.fetchers] rework UrlFetcher variables initialization, make it more robust 2010-09-05 21:16:41 +02:00
Fabio Erculiani
65606273ca [entropy.fetchers] add back support for file:// URIs in UrlFetcher 2010-09-05 21:16:19 +02:00
Fabio Erculiani
46b3be4ef4 [entropy.const] drop etpConst['supported_download_protocols'], accept any URI, entropy.fetchers.UrlFetcher will handle them using a whitelist 2010-09-05 21:15:13 +02:00
Fabio Erculiani
7e47864325 [entropy.tools] add is_valid_uri function 2010-09-05 21:14:25 +02:00
Fabio Erculiani
6aa3d86fec [sulfur] catch TypeError exception in new_pixbuf when retrieving install_status 2010-09-05 19:41:01 +02:00
Fabio Erculiani
2dcadd4b79 [entropy.db] EntropyRepository: create provided_libs table on _databaseStructureUpdate call rather than around in the code 2010-09-05 19:39:05 +02:00