Commit Graph

3571 Commits

Author SHA1 Message Date
Fabio Erculiani
cccb9239a1 [entropy.server] fix nonfree pkgs dir support across repos (when moving)
When moving packages across repos, if nonfree packages dir support is enabled
metadata has to be re-extracted from package file and new 'download' metadatum
has to replace the old one. This because a free package can be considered as
such in repo A but not in repo B.
2010-01-28 14:56:20 +01:00
Fabio Erculiani
b58be877a4 [tests] add tagged packages match test 2010-01-28 13:13:00 +01:00
Fabio Erculiani
df80cdfede [entropy.db] fix issue causing ~app-foo/foo-1.2.3#tag to not get matched, "~" operator compare check was missing 2010-01-28 12:39:59 +01:00
Fabio Erculiani
ee2814d0c3 [entropy.client] catch closeDB() exceptions and write to stderr 2010-01-28 09:55:50 +01:00
Fabio Erculiani
9ea843d36d [entropy.server] disable -nonfree directory support by default, via server.conf 2010-01-28 09:51:33 +01:00
Fabio Erculiani
365b520e70 [entropy.db] new method searchRevisionedPackages 2010-01-28 09:38:54 +01:00
Fabio Erculiani
b0216f343e [entropy.client/entropy.server] cleanup and fixes aimed to make downloads from -nonfree dir working
:: removed etpConst['packagesbindir']
:: cleaned up entropy.client.interfaces.fetch, branch argument not
   needed anymore, dropped
:: moved some minor functions to entropy.server (not required in
   entropy.client anymore)
2010-01-28 09:30:46 +01:00
Fabio Erculiani
beaf624231 [entropy.server] make use of the new SpmPlugin.extract_package_metadata, license_callback 2010-01-27 23:42:02 +01:00
Fabio Erculiani
c303e3af6d [entropy.spm] SpmPlugin: bump PLUGIN_API_VERSION requirement, implement new argument on extract_package_metadata
:: license_callback is used to determine if a package is free (as in freedom) or not.
2010-01-27 23:40:43 +01:00
Fabio Erculiani
144960531b [entropy.server] fix verify_remote_packages() 2010-01-27 22:14:09 +01:00
Fabio Erculiani
182d556433 [entropy.server] fix another function call (fix tidy_mirrors) 2010-01-27 21:53:34 +01:00
Fabio Erculiani
452c95a39e [entropy.server] another regression fix 2010-01-27 19:47:00 +01:00
Fabio Erculiani
92d8035ff2 [entropy.server] do not consider a mirror "tainted" when pkgs are just downloaded 2010-01-27 19:36:43 +01:00
Fabio Erculiani
05283052cf [entropy.server] fix another undefined reference (blame pylint, it sucks!) 2010-01-27 19:29:18 +01:00
Fabio Erculiani
6afdcd2bb2 [entropy.server] fix a bunch of regressions caused by previously committed huge code move 2010-01-27 19:22:46 +01:00
Fabio Erculiani
f1517bd880 [entropy.server] cleanup initialize_server_repository() 2010-01-27 18:54:10 +01:00
Fabio Erculiani
37edb21f50 [entropy.server] fix undefined reference 2010-01-27 18:40:32 +01:00
Fabio Erculiani
a0245b84ca [entropy.server] add support for multiple packages directories (to host nonfree pkgs) 2010-01-27 18:37:01 +01:00
Fabio Erculiani
6c61cda7a5 [entropy.core.settings.base] make possible to override branch from env, using ETP_BRANCH 2010-01-27 17:04:05 +01:00
Fabio Erculiani
969d1e1e7a [entropy.tools] add function recursive_directory_relative_listing 2010-01-27 13:42:19 +01:00
Fabio Erculiani
be46cca688 [entropy.server] add nonfree repository metadata to repositories dict 2010-01-27 10:10:55 +01:00
Fabio Erculiani
a78148bfad [entropy.spm] PortagePlugin: use newly created entropy.tools.create_package_dirpath() 2010-01-27 10:10:20 +01:00
Fabio Erculiani
7a85585594 [entropy.const] add nonfree pkgs directory name 2010-01-27 10:02:29 +01:00
Fabio Erculiani
abf995ae59 [entropy.tools] factorize pkgs path building into a general purpose function 2010-01-27 10:01:12 +01:00
Fabio Erculiani
20223586e9 [entropy.const] prepare packages relative download URL per license type split 2010-01-27 09:03:21 +01:00
Fabio Erculiani
93755cadd8 [entropy.server] complete module API cleanup and polishing 2010-01-26 22:52:52 +01:00
Fabio Erculiani
71fa6cf58d [entropy.dump] dumpobj: also catch ImportError exceptions 2010-01-26 14:16:50 +01:00
Fabio Erculiani
ae09c684c7 [entropy.tools] print_exception: workaroung Python 2.6.x bug 2010-01-26 14:14:16 +01:00
Fabio Erculiani
53271599b1 [entropy.server.transceivers] fix API call 2010-01-26 14:13:01 +01:00
Fabio Erculiani
66675a6d80 [entropy.server] second chunk of entropy.server API/module cleanup and polishing 2010-01-26 10:36:04 +01:00
Fabio Erculiani
838aaf5d38 [entropy.server] remove usage of to-be-removed exceptions 2010-01-26 09:46:22 +01:00
Fabio Erculiani
5cdf91a699 [entropy.server] first chunk of API rework, module code reorganization 2010-01-25 20:07:55 +01:00
Fabio Erculiani
1fc2602bae [entropy.tools] first run of entropy.tools module/API cleanup done 2010-01-25 18:20:34 +01:00
Fabio Erculiani
3adeb7d8ae [entropy.db] EntropyRepository: slightly improve retrieveDependencies() 2010-01-25 09:19:51 +01:00
Fabio Erculiani
b7245d0d85 [entropy.output] provide function that removes bash color codes from string 2010-01-25 00:26:05 +01:00
Fabio Erculiani
16be74ad63 [entropy.core] make possible to override Singleton class used for loading singleton instances 2010-01-24 23:45:08 +01:00
Fabio Erculiani
3f71db060a [entropy.core.settings] code style update 2010-01-24 23:44:54 +01:00
Fabio Erculiani
ab37c3377c [entropy.client] using static variable as caching dicts causes issues to Singleton Client subclasses, so drop them 2010-01-24 23:37:16 +01:00
Fabio Erculiani
64dd02697a [entropy.client.services.ugc] add handly method to clear UGC live (RAM) cache 2010-01-24 15:28:05 +01:00
Fabio Erculiani
1a79ced3f4 [entropy.client.services.ugc.interfaces] improve Entropy Client UGC interface to cache, expose some handy methods 2010-01-24 00:55:36 +01:00
Fabio Erculiani
09fcac18a7 [entropy.client.services.ugc] code style update 2010-01-23 21:52:24 +01:00
Fabio Erculiani
e7d237f887 [entropy.db] EntropyRepository: several fixes to old-style Portage virtual packages support (this code will be moved to entropy.spm) 2010-01-23 17:41:32 +01:00
Fabio Erculiani
faef0b84c8 [entropy.db] EntropyRepository: add new method "retrieveKeySplit" 2010-01-23 17:40:56 +01:00
Fabio Erculiani
e3a9b8f325 [entropy.client.services.ugc] only return first (chronologically) package icon if more are available 2010-01-23 15:21:20 +01:00
Fabio Erculiani
1d0ec5dd04 [entropy.client.services.ugc] add support for UGC package icon 2010-01-23 15:12:09 +01:00
Fabio Erculiani
157cca7157 [entropy.output] TextInterface.input_box() several fixes to combo 2010-01-23 02:06:56 +01:00
Fabio Erculiani
7a8b919778 [entropy.output] TextInterface.input_box: fix list edit option, make possible to go back 2010-01-23 00:27:36 +01:00
Fabio Erculiani
2a94d1b88c [entropy.output] TextInterface.input_box: add edit option to list editor 2010-01-23 00:20:17 +01:00
Fabio Erculiani
1a3c456271 [entropy.client.services.ugc] check if repository supports UGC before trying to connect 2010-01-23 00:19:50 +01:00
Fabio Erculiani
d99b2cd5de [entropy.spm] PortagePlugin: do not crash if env-update is not in PATH 2010-01-23 00:19:28 +01:00