Commit Graph

3999 Commits

Author SHA1 Message Date
Fabio Erculiani
fd3449d6ce [entropy.spm] move configuration protected file generator function into SpmPlugin class 2010-07-04 17:02:26 +02:00
Fabio Erculiani
e961fb86e4 [entropy.spm] PortagePlugin: make _create_contents_file_if_not_available() working with any ROOT variable 2010-07-03 08:01:44 +02:00
Fabio Erculiani
4b228feba6 [entropy.client] Client.__save_repository_settings(): correctly write service_uri parameter 2010-07-02 19:20:03 +02:00
Fabio Erculiani
d6931a2cff Tagging Entropy version 0.99.47.3 2010-07-02 15:27:16 +02:00
Fabio Erculiani
9490c85da5 [entropy.spm.plugins] PortagePlugin: fix _create_contents_file_if_not_available
Fix the following issues:
- incorrect symlinks handling when link pointed to file
- incorrect symlinks handling when link pointed to directory
- incorrect symlinks handling when link pointed to broken path
2010-07-02 15:04:44 +02:00
Fabio Erculiani
a7397a0d47 Tagging Entropy version 0.99.47.2 2010-07-02 09:58:10 +02:00
Fabio Erculiani
406032e453 [entropy.db.skel] EntropyRepositoryBase.atomMatch: fix dependency resolution, regression introduced by previous commits 2010-07-02 09:57:38 +02:00
Fabio Erculiani
9f54541127 Tagging Entropy version 0.99.47.1 2010-07-02 09:08:17 +02:00
Fabio Erculiani
c75031300c [entropy.db.skel] EntropyRepositoryBase.atomMatch(): fix catpkgsplit call 2010-07-02 09:07:31 +02:00
Fabio Erculiani
0169c04387 Tagging Entropy version 0.99.47 2010-07-01 14:21:45 +02:00
Fabio Erculiani
bda36cabbd [entropy.tools] rename pkgsplit() to _pkgsplit and update package split logic 2010-07-01 14:17:59 +02:00
Fabio Erculiani
549e325a15 [entropy.db.skel] EntropyRepositoryBase.atomMatch: change tagged packages handling
When tagged and non-tagged packages are matched and the request was tagless
(meaning matchTag = None), filter out tagged packages.
2010-07-01 07:12:18 +02:00
Fabio Erculiani
b4cf089d9a [entropy.core.settings/entropy.server] change inline comments detection logic
Due to the conflict with package tag marks, inline comments in:
- package.mask
- package.unmask
- package.keywords
- package.satisfied
- packages.db.critical

must now start with "##" instead of "#"
2010-07-01 07:11:42 +02:00
Fabio Erculiani
a5bd204ad4 [entropy.tools] generic_file_content_parser: only use comment_tag for inline comments 2010-06-30 15:31:07 +02:00
Fabio Erculiani
a106a73602 [entropy.tools] generic_file_content_parser: add comment_tag argument 2010-06-30 15:29:16 +02:00
Fabio Erculiani
9dddfabb4a [entropy.client.interfaces/equo] add "equo repo mirrorsort" tool
There is a new method inside Entropy Client class, called
"reorder_mirrors". The aim is sorting repository mirrors automatically
basing on their response time and download speed of random data.
2010-06-30 15:23:03 +02:00
Fabio Erculiani
0982cd0a33 [entropy.const] fix const_convert_to_unicode, make it working with Python3.x 2010-06-29 10:41:27 +02:00
Fabio Erculiani
0c819a2cf1 [entropy.qa] do not collect server.conf when submitting a bug report 2010-06-27 14:59:47 +02:00
Fabio Erculiani
01834ca33d [entropy.qa] collect repositories.conf and client.conf when submitting a bug report 2010-06-27 14:58:22 +02:00
Fabio Erculiani
63ad75e411 [entropy.server] implement own subclass for server-side repositories 2010-06-26 19:40:04 +02:00
Fabio Erculiani
9c6782e21c [entropy.client.interfaces.repository] major Repository class rework
:: move repository update logic inside EntropyRepositoryBase.update()
   static method
:: provide two new static methods EntropyRepositoryBase.revision()
   and EntropyRepositoryBase.remote_revision() that have to be
   implemented by subclasses if they are supporting fetching local
   or remote revision.
:: several minor code quality improvements
2010-06-26 19:15:02 +02:00
Fabio Erculiani
21cf951b98 [entropy.spm] PortagePlugin._pkg_remove_setup_ebuild_env: check file availability before calling shutil.copy2 2010-06-25 21:13:24 +02:00
Fabio Erculiani
498b7b5970 [entropy.spm] PortagePlugin: properly use shlex.split() 2010-06-17 18:54:30 +02:00
Fabio Erculiani
70001b2f93 [entropy.qa] QA.test_shared_objects, always bind files to packages even if no updates are available 2010-06-16 22:44:25 +02:00
Fabio Erculiani
5e49ede64d [entropy.exceptions] drop unused exception classes 2010-06-14 23:06:25 +02:00
Fabio Erculiani
5feabc4b89 [entropy.db] EntropyRepository: remove spurious line 2010-06-14 19:14:27 +02:00
Fabio Erculiani
683c31c456 [entropy.db] add listPackageIdsInCategoryId method back 2010-06-14 19:13:40 +02:00
Fabio Erculiani
50f10cc1bf [entropy.fetchers] complete UrlFetcher and MultipleUrlFetcher API cleanup (and docstringing) 2010-06-09 19:21:19 +02:00
Fabio Erculiani
a2d4a2d2db [entropy.fetchers] add UrlFetcher docstring 2010-06-09 18:12:08 +02:00
Fabio Erculiani
76038453b1 [entropy.db] update searchNeeded requirements, "*" wildcard support is mandatory 2010-06-09 17:49:16 +02:00
Fabio Erculiani
bb04751571 [entropy.core.settings.base] SystemSettings: add sane multithreading support 2010-06-09 17:30:38 +02:00
Fabio Erculiani
216aff332e [entropy.server] make Server.close_repositories() cache iteration a bit more atomic 2010-06-08 11:55:05 +02:00
Fabio Erculiani
52080f22ef [entropy.db] fix regression in searchProvidedVirtualPackage() 2010-06-08 11:47:20 +02:00
Fabio Erculiani
5a28e28e09 [entropy.client] fix Client.open_generic_repository arguments 2010-06-07 18:39:42 +02:00
Fabio Erculiani
8c788bcea1 [entropy.server] properly print sorted mirrors delta queue 2010-06-07 18:00:37 +02:00
Fabio Erculiani
e1e76d5b28 [entropy.db] first chunk of major entropy.db code updates, create abstract class, move logic there, update API 2010-06-07 17:56:05 +02:00
Fabio Erculiani
0d5b69ac0d [entropy.db/entropy.spm] remove 'messages' metadatum handling 2010-05-31 17:43:06 +02:00
Fabio Erculiani
e59351505b [entropy] remove 'messages' package metadata, no longer needed 2010-05-31 17:36:17 +02:00
Fabio Erculiani
abbde38521 Tagging Entropy version 0.99.46.9 2010-05-30 08:25:15 +02:00
Fabio Erculiani
1ab58e12b1 [entropy.spm] PortagePlugin._portage_doebuild: remove unwanted backup_changes() 2010-05-30 08:24:25 +02:00
Fabio Erculiani
62bd7ff91c Tagging Entropy version 0.99.46.8 2010-05-30 08:22:54 +02:00
Fabio Erculiani
eedeff78fe [entropy.spm] PortagePlugin._portage_doebuild: cleanup unneeded license settings tweaks (thanks to zmedico) 2010-05-30 08:15:39 +02:00
Fabio Erculiani
38eb28e455 [entropy.spm] PortagePlugin._portage_doebuild: tweak portage.settings._accept_license to disable any interactive license check 2010-05-30 08:01:47 +02:00
Fabio Erculiani
1f59619da5 [entropy.spm] PortagePlugin: _portage_doebuild, set ACCEPT_LICENSE in environment 2010-05-29 22:30:16 +02:00
Fabio Erculiani
f15dd69ed3 [entropy.server] when collecting valid system package sets, ignore nested sets 2010-05-29 03:06:41 +02:00
Fabio Erculiani
d1712ff39c [entropy.client.interfaces.package] remove deprecated dropChangelog call 2010-05-28 19:56:48 +02:00
Fabio Erculiani
0d06fade5f Tagging Entropy version 0.99.46.7 2010-05-28 19:56:30 +02:00
Fabio Erculiani
b1db741e8a [entropy.client.interfaces.package] fix critical bug on pkg update
Files just installed were removed due to being added to a different
symlinked path. Use os.path.realpath to determine if two paths
point to the same file object.
2010-05-28 19:54:36 +02:00
Fabio Erculiani
54de375690 Tagging Entropy version 0.99.46.5 2010-05-28 11:51:31 +02:00
Fabio Erculiani
c8ec61377e [entropy.spm] PortagePlugin: fix "sources" metadatum extraction (upstream dropped SRC_URI) 2010-05-28 11:50:26 +02:00