Commit Graph

60 Commits

Author SHA1 Message Date
Fabio Erculiani
595022f372 [activator] use Entropy.edit_file() 2011-04-23 19:51:37 +02:00
Fabio Erculiani
58324c99eb [entropy.tools] move acquire_entropy_locks, release_entropy_locks from text_tools to entropy.tools 2011-03-05 12:58:00 +01:00
Fabio Erculiani
7e7e48acd1 [activator] rename "Database" to "Repository" 2011-02-07 12:24:05 +01:00
Fabio Erculiani
c25ff59fd5 [activator] add "activator repo vacuum" tool 2011-02-07 12:23:00 +01:00
Fabio Erculiani
23285e6c77 [entropy.server] out default_repository, in .repository() 2011-02-05 18:15:49 +01:00
Fabio Erculiani
302faa6df4 [activator] fix syntax error 2011-02-03 22:16:02 +01:00
Fabio Erculiani
4b1f15cd89 [entropy.server] several API change, improve code robustness by enforcing repository_id function parameter 2011-02-03 18:17:45 +01:00
Fabio Erculiani
4289b50f56 [entropy.server] moving repository sync code to ServerPackagesRepositoryUpdater, partial entropy.server refactoring 2011-01-28 19:43:15 +01:00
Fabio Erculiani
24df7a05af [activator] fix regression in repository sync handling, do not reinstantiante Entropy Server instance and lose repository information 2010-11-27 13:38:13 +01:00
Fabio Erculiani
02613af261 [reagent,activator] effectively implement entropy locking management in entropy.server modules 2010-11-21 21:42:05 +01:00
Fabio Erculiani
a09714f49f [entropy*] improve mkdtemp/mkstemp usage 2010-08-10 18:11:38 +02:00
Fabio Erculiani
18310b1d8a [entropy.server] make possible to skip config files QA check when calling sync_repositories() 2010-07-17 07:59:54 +02:00
Fabio Erculiani
e854555db9 [equo/reagent/activator] remove \t usage 2010-05-04 14:22:26 +02:00
Fabio Erculiani
37fb97de01 [entropy*] kill SystemSettings attribute of Entropy Client and Entropy Server instances 2010-04-14 14:56:17 +02:00
Fabio Erculiani
48f6b17df7 [activator] rename "activator database" to "activator repo" 2010-03-25 08:51:41 +01:00
Fabio Erculiani
4bbe7214b5 [activator] fix undefined reference 2010-01-31 19:14:00 +01:00
Fabio Erculiani
acb4ae3a5d [activator] fix undefined reference 2010-01-28 19:17:37 +01:00
Fabio Erculiani
6ac2a52488 [activator] use rss enable setting from SystemSettings and not etpConst 2010-01-27 19:37:10 +01:00
Fabio Erculiani
93755cadd8 [entropy.server] complete module API cleanup and polishing 2010-01-26 22:52:52 +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
5cdf91a699 [entropy.server] first chunk of API rework, module code reorganization 2010-01-25 20:07:55 +01:00
Fabio Erculiani
8441b5094f [activator] print commit message to stdout when done writing it 2010-01-24 17:45:27 +01:00
Fabio Erculiani
40f090310b [entropy.output] rename TextInterface.inputBox into input_box 2010-01-11 18:05:47 +01:00
Fabio Erculiani
41212188f5 [entropy.output] rename TextInterface.askQuestion into ask_question 2010-01-11 17:59:26 +01:00
Fabio Erculiani
866f1702e6 [activator] when notice board is empty, always remove online 2010-01-02 23:53:06 +01:00
Fabio Erculiani
bdcd4d696c [activator] actually remove notice board 2010-01-02 23:43:49 +01:00
Fabio Erculiani
fc5456e3f1 [activator] do not overlap rc variable 2009-12-28 15:02:43 +01:00
Fabio Erculiani
9158b0f19b [entropy.server] remove rssMetadata dict from Server class, add ServerRssMetadata class 2009-12-28 07:57:37 +01:00
Fabio Erculiani
1aedb9fafb [entropy*] several code cleanup, tweakings and small API changes/polishing 2009-12-22 17:02:50 +01:00
Fabio Erculiani
7309d1446d [entropy*] move sabayonlinux.org domain info to sabayon.org, move more distro specific info to entropy.const 2009-12-21 23:50:31 +01:00
Fabio Erculiani
4f80650685 [entropy.transceivers] migrate code to EntropyTransceiver infrastructure, w00t! 2009-11-15 23:46:49 +01:00
Fabio Erculiani
eeb5970ec3 [activator] fix old_default variable referencing 2009-11-10 22:03:37 +01:00
Fabio Erculiani
33c005e668 [entropy] fix common idioms 2009-10-05 14:08:34 +02:00
Fabio Erculiani
e452421c7f [entropy] fix whitespace after comma 2009-10-05 14:05:32 +02:00
Fabio Erculiani
71825e9c76 [entropy] migrate codebase to Python 2.6 only syntax 2009-09-30 19:53:47 +02:00
Fabio Erculiani
2a7db1965a [entropy] fix OutputInterface.askQuestion answers handling 2009-09-26 09:18:23 +02:00
Fabio Erculiani
2a43f44ab8 [entropy] update file HEADER and interpreter 2009-09-20 14:44:41 +02:00
Fabio Erculiani
5816cda26c entropy.server: improve QA code 2009-06-02 20:09:05 +02:00
Fabio Erculiani
a0bf9dd02c entropy.server: improve QA code 2009-06-02 18:29:11 +02:00
Fabio Erculiani
46a18b88e4 entropy.server: move server related settings to a separate SystemSettings
plugin. Also migrate all the entropy code to use the new SystemSettings
dict variables path.
2009-04-19 19:29:22 +02:00
Fabio Erculiani
8e4111f492 entropy.core.SystemSettings and the rest of the code, use SystemSettings'
server repositories metadata instead of etpConst['server_repositories']
2009-04-06 13:41:38 +02:00
Fabio Erculiani
415f595927 server_activator.sync: return valid status
server_activator.sync did not return any status when called. Fix it!
2009-04-01 13:06:28 +02:00
lxnay
90967de156 Entropy/*:
- use compare_versions instead of compareVersions function (deprecated)
- use entropy_compare_versions instead of entropyCompareVersions function (deprecated)
- use get_newer_version instead of getNewerVersion function (deprecated)
- use get_entropy_newer_version instead of getEntropyNewerVersion function (deprecated)
- use filter_duplicated_entries instead of filterDuplicatedEntries function (deprecated)
- use extract_ftp_host_from_uri instead of extractFTPHostFromUri function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3186 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 13:37:29 +00:00
lxnay
d7151b6555 Entropy/*:
- update module imports to reflect the new entropy package structure
Entropy/Client/Interfaces/Package:
- fixed sources_fetch_step source packages download


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3150 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 09:36:47 +00:00
lxnay
83e184fc5e Entropy/*:
- make use of the new entropy package structure


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3123 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:49:55 +00:00
lxnay
715421089b Entropy/MELTDOWN :-):
- entropy modules is now a python package, kept backward compatibility for now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:24:30 +00:00
lxnay
4bf56a99c3 Entropy/TODO:
- update TODO
Entropy/entropyConstants:
- say goodbye to etpRSSMessages
- other cosmetical fixes
Entropy/EquoInterface:
- close LogFile instance's file on instance delete
- wipe os.system() calls
- rewrite get_meant_packages() to use SOUNDEX features of SQLITE3
- replace old and slow filterSatisfiedDependencies with get_unsatisfied_dependencies, which is faster and more reliable (added NEEDED check by default)
- improve speed of generate_dependency_tree
- improve speed of get_required_packages
- fix get_world_update_cache_hash()
- improve speed of retrieveInstallQueue
- make __unpack_package reporting the right error on uncompressTarBz2 if this crashes
- remove Python 2.4/2.5 workarounds since they are not needed anymore, being entropyTools.uncompressTarBz2 fixed forever (handling UTF-8 filenames correctly)
- adjust __move_image_to_system for the changes above
- __move_image_to_system, if an error is caught on shutil.move, do not crash but report it to user instead
Entropy/TriggerInterface:
- replace os.system() with subprocess.call()
- remove unused nspluginwrapper trigger
Entropy/ErrorReportInterface:
- add locale output
- get the full content of ps auxf, not just the first 80 chars
- update handler accordingly (handlers/)
Entropy/LogFile:
- close log file on object deletion
Entropy:
- import subprocess by default
Entropy/EntropyDatabaseInterface:
- remove etpRSSMessages and use a ServerInterface variable instead
- add new method getVersioningData, useful to speed up other Entropy areas
- improving speed of other functions adding more one-liners conditionals
- add new method retrieveNeededRaw, useful to speed up other Entropy areas
- improve speed of retrieveDependenciesList, everything can be done at SQL level
- new method searchSimilarPackages that uses SOUNDEX to retrieve similar package/atom names
- improve speed of listAllCategories
- shrink databaseStructureUpdates
- remove old and dusted method
- improve speed of doDatabaseImport
- improve speed of database_checksum
- group multiple .cursor.execute using .cursor.executescript
- improve speed of __filterSlotTagUse
Entropy/entropyTools:
- improve speed and reliability of uncompressTarBz2


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2818 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-30 18:43:16 +00:00
lxnay
cac4a96482 Entropy/Activator:
- fails on wrong extended arguments


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2720 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:35:21 +00:00
lxnay
94c9f0c351 Entropy/Activator:
- add support for notice boards handling


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2523 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-13 17:15:03 +00:00
lxnay
7a509729d4 Entropy/Activator:
- fix choice selection when asking to run the queue. if No, break the branches cycle and don't sync databases (if not successfull_mirrors)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2009 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 00:08:55 +00:00