Commit Graph

50 Commits

Author SHA1 Message Date
Fabio Erculiani
0c5c9879ba entropy.client: move SystemSettings client parser to ClientSystemSettingsPlugin 2009-04-19 19:50:28 +02:00
Fabio Erculiani
9bd552689e entropy: when entropy.client.interfaces.methods' reopen_client_repository
is called, make sure all the repository databases are closed
2009-04-14 23:15:12 +02:00
Fabio Erculiani
bf9ac1a287 entropy.*: move from etpRepositories to SystemSettings['repositories']['available'] 2009-04-06 20:35:02 +02:00
Fabio Erculiani
897886f7fe entropy.const: moved all the repositories configuration settings to
SystemSettings, kept etpRepositories, etpRepositoriesOrder, etpRepositoriesExcluded
for backward compability. Did several hopefully last API changes
2009-04-06 19:00:46 +02:00
Fabio Erculiani
d807bad859 move Entropy client settings storage and parsing to SystemSettings 2009-04-05 16:32:20 +02:00
Fabio Erculiani
dee0b718ed text_query: API changes
functions inside text_query are now following Python guidelines.
Update the rest of the code accordingly.

On a side effect, printPackageInfo (now print_package_info) is
now 2.5 times faster on standard print
2009-03-29 15:49:34 +02:00
Fabio Erculiani
a5569db021 add "equo database vacuum"
This tool is useful to shrink the client repository database by
removing SQL indexes. Comes to help on ISO images creation
2009-03-28 20:42:13 +01:00
lxnay
97590a6cad Entropy/*:
- use spawn_function instead of spawnFunction function (deprecated)
- use uncompress_tar_bz2 instead of uncompressTarBz2 function (deprecated)
- use bytes_into_human instead of bytesIntoHuman function (deprecated)
- use hide_ftp_password instead of hideFTPpassword function (deprecated)
- use get_file_unix_mtime instead of getFileUnixMtime function (deprecated)
- use get_random_temp_file instead of getRandomTempFile function (deprecated)
- use get_file_timestamp instead of getFileTimeStamp function (deprecated)
- use convert_unix_time_to_human_time instead of convertUnixTimeToHumanTime function (deprecated)
- use get_current_unix_time instead of getCurrentUnixTime function (deprecated)
- use get_year instead of getYear function (deprecated)
- use convert_seconds_to_fancy_output instead of convertSecondsToFancyOutput function (deprecated)
- use get_repository_settings instead of getRepositorySettings function (deprecated)
- use write_ordered_repositories_entries instead of writeOrderedRepositoriesEntries function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3187 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 13:45:55 +00:00
lxnay
0765fb8b1f Entropy/*:
- use extract_xpak instead of extractXpak function (deprecated)
- use read_xpak instead of read_xpak function (deprecated)

- use backup_client_repository instead of backupClientDatabase (deprecated)
- use unpack_bzip2 instead of unpackBzip2 (deprecated)
- use unpack_gzip instead of unpackGzip (deprecated)
- use unpack_xpak instead of unpackXpak (deprecated)
- use suck_xpak instead of suckXpak (deprecated)
- use append_xpak instead of appendXpak (deprecated)
- use aggregate_edb instead of aggregateEdb (deprecated)
- use extract_edb instead of extractEdb (deprecated)
- use remove_edb instead of removeEdb (deprecated)
- use create_hash_file instead of createHashFile (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3184 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:27:14 +00:00
lxnay
07d9fe86bf Entropy/*:
- use print_exception instead of printException function (deprecated)
- use application_lock_check instead of applicationLockCheck function (deprecated)
- use get_random_number instead of getRandomNumber function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3183 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:19:13 +00:00
lxnay
aeee2d2b22 Entropy/*:
- use print_traceback instead of printTraceback function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3181 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:14:50 +00:00
lxnay
0d1c594fef Entropy/*:
- use is_root instead of isRoot function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3180 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 12:13:16 +00:00
lxnay
3a97fc8c8b Entropy/Client/Interface:
- split Client class into single ones
- deprecated camelCase methods
- remove a few, unused or useless
Entropy/docs:
- update APICHANGES
Entropy/*:
- adapt the code to work with non-deprecated methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3154 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 19:18:27 +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
a8d12ac17e Entropy/Equo/text_rescue:
- remove use of etpConst['packagestmpfile']


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3047 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-20 18:49:06 +00:00
lxnay
fa51b1576c Entropy/Reagent/Community Repos/ServerInterface:
- implement server-side database backup and restore tool
Entropy/EquoInterface:
- list_backedup_client_databases: add client_dbdir parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2903 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 10:46:55 +00:00
lxnay
f5c18873fa Entropy/Equo:
- when restoring a database backup, check if the choice selected by the users is valid


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2892 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 10:49:36 +00:00
lxnay
2a7d1d6d4e Equo/text_rescue:
- when resurrecting db, verify that atom from clientdb has been retrieved correctly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2580 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-28 11:29:18 +00:00
lxnay
9061ce3085 Entropy/TODO:
- update TODO
Entropy/Equo:
- fix database resurrect when database is clearly fscked up
Entropy/DistributionUGCInterface:
- add a lot of methods to retrieve user statistics


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2528 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-16 14:24:40 +00:00
lxnay
0f3ae858e2 Entropy/TODO:
- update TODO
Entropy/Equo/gentoosync:
- always ask before running it


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2526 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-13 17:36:34 +00:00
lxnay
0378c9c0ca Entropy/Equo:
- add support for notice boards
- add support for installed packages database backup/restore


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2522 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-13 17:14:44 +00:00
lxnay
76d8d9596c Entropy/TODO:
- update TODO
Entropy/Equo:
- add installed packages database backup/restore tools
Entropy/EquoInterface:
- add backup/restore database helper functions
Entropy/EntropyDatabaseInterface:
- fix getIDPackageFromDownload()
Entropy/entropyTools:
- add compress_file() function (uncompress_file() already present)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2518 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-11 21:11:07 +00:00
lxnay
222ff8f01d tagging entropy 0.22.1
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2513 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-10 11:41:37 +00:00
lxnay
67f2a4b834 Entropy/Equo:
- add You Meant(tm) support to 'equo remove'
- change SpmInterface.get_package_slot() to SpmInterface.get_installed_package_slot()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2438 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-29 20:05:17 +00:00
lxnay
dd33480926 Entropy/ServerInterface:
- initialize_server_database(): fix revision handling on updateProgress
Entropy/Database Interface:
- addPackage(): avoid to have issues with missing revision key in etpData when revision != -1
Entropy/Equo:
- handle SPMError exceptions
Entropy/Equo/rescue:
- filter out broken atoms when running gentoosync


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2335 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:51:24 +00:00
lxnay
c36c0a1c9f Equo:
- fix resurrect option

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2180 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-27 09:17:30 +00:00
lxnay
1ecf020846 Entropy/Equo:
- some small fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2037 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-29 17:04:50 +00:00
lxnay
41a562da30 Entropy/i18n:
- completed text_configuration.py i18n support
Entropy:
- misc bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1949 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 00:20:29 +00:00
lxnay
b6ee2ba025 Entropy:
- move etpDatabase to entropy.py and rename it to EntropyDatabaseInterface
- say goodbye to databaseTools
- update other areas accordigly
Equo:
- add i18n support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1943 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-19 14:13:03 +00:00
lxnay
b5e98a0b8e Entropy/EquoInterface/etpDatabase:
- removed 'info cache' from etpDatabase, there is no need to have an on-disk cache when sqlite3 is faster
- updated EquoInterface accordingly
- improved reliability when running multiple Entropy instances
Entropy/Spritz:
- fixed some minor bugs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1890 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-01 00:01:29 +00:00
lxnay
c626d53cae fixing our python updater function to work with multiple old python installations
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1813 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-20 17:54:41 +00:00
lxnay
91710f61cc Entropy/Equo:
- fix logging calls in text_rescue.py


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1743 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-15 08:21:10 +00:00
lxnay
ceb50912f7 Entropy/Server Interface:
- nightly code updates
MIGRATION IS NOT DONE YET


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1559 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-05 00:10:33 +00:00
lxnay
3dc029ee50 Entropy/Server Interface:
- morning work on the Server Interface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1557 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-04 11:45:28 +00:00
lxnay
edaf556e74 Spritz:
- porting fixes from entropy 0.13.2
- more work on the ServerInterface refactoring


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1555 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-03 19:29:51 +00:00
(no author)
44f5e829b3 Entropy:
- some improvements to SpmInterface
- move extractPkgData to EquoInterface.extract_pkg_metadata

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1497 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-23 14:44:15 +00:00
(no author)
efe01088e9 Entropy:
- goodbye portageTools, welcome SpmInterface


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1496 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-23 11:33:32 +00:00
(no author)
43a9d057d7 Equo:
- database generate: check for dependency atoms validity before submitting changes
Entropy:
- EquoInterface.get_licenses_to_accept() always returns a dict
updated TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1494 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-22 16:08:23 +00:00
(no author)
b60d193814 changed __install_package_into_database accordingly
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1409 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-05 10:36:48 +00:00
(no author)
1dc9bf8796 - updated equo database generate and equo database resurrect
- made __install_package_into_database and __install_package_into_gentoo_database public

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1408 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-05 10:36:22 +00:00
(no author)
ca55d97378 - added more info to equo reports
- misc bug fixes

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1117 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-02-02 15:39:36 +00:00
(no author)
e2e5622e74 - updated TODO
- reworked ebuild dependencies calculation using portage


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1102 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-28 10:15:34 +00:00
(no author)
a0029d1703 EXPERIMENTAL: added category string to tbz2 files
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1088 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-24 11:12:15 +00:00
(no author)
4cb6b40ec0 - fixed a really nasty bug with counters and 'gentoosync' tool that caused entropy to wipe the counters table (thanks Joost)
- added a saner tables availability check function
Spritz:
- removed some debugging output


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1087 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-23 23:14:14 +00:00
(no author)
806c7ece98 - updated TODO
- completing the previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1047 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-15 11:50:06 +00:00
(no author)
6873ea1179 providing more info to the user when extractPkgData fails
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1037 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-13 12:17:24 +00:00
(no author)
0a50cc0e7a implemented client db sanity check tool
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@989 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-04 10:07:36 +00:00
(no author)
c3c7906e0a - totally rewritten Entropy modules and interface
the biggest commit, ever

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@982 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-01-03 17:48:57 +00:00