Commit Graph

1613 Commits

Author SHA1 Message Date
lxnay
653fc2f2d2 Entropy/rssFeed:
- also get dc:creator from rss


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2540 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-20 15:11:28 +00:00
lxnay
9d6ae17b31 Entropy/EntropyDatabaseInterface:
- improve SQL on cleanup* methods
- atomMatch(): fix strippedAtom referencing before assignment


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2538 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-19 22:20:54 +00:00
lxnay
092a78c7ab Entropy/EntropyDatabaseInterface:
- fix atomMatch when atom string is badly formatted at its root, avoid crasing at any cost and return the proper data structure every time


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2537 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-18 21:56:06 +00:00
lxnay
bee7f77744 Entropy/rssFeed:
- avoid to crash when editor and copyright tags are not available


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2536 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-18 16:37:52 +00:00
lxnay
2431767729 Entropy/rssFeed:
- avoid to crash when language tag is not available


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2535 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-18 16:36:43 +00:00
lxnay
dac781a6fa Entropy/DistributionUGCInterface:
- some misc fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2533 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-17 08:49:18 +00:00
lxnay
52ba3b2a4c Entropy/DistributionUGCInterface:
- improve query detection by checking if query item is true (!=0 and not None)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2532 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-16 17:20:53 +00:00
lxnay
cdda679a1a Entropy/RemoteDbSkelInterface:
- move _check_needed_reconnect() here so every subclass can benefit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2531 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-16 17:17:14 +00:00
lxnay
46e715a6e3 Entropy/DistributionUGCInterface:
- add distribution statistics retrieval method get_distribution_stats()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2530 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-16 16:00:22 +00:00
lxnay
d04c628bdd Entropy/DistributionUGCInterface:
- add score to get_user_stats()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2529 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-16 15:18:14 +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
1dc14f2dca Entropy/EquoInterface:
- implement safe mode feature -> EquoInterface.safe_mode status integer, first function to use it is EquoInterface.openClientDatabase()
- openClientDatabase() make possible to start an EquoInterface instance with a corrupted/non-existant installed packages database (safe mode) which can be detected by client interfaces (Equo/Spritz)
Entropy/EntropyDatabaseInterface:
- improve branch support (and speed) for client database (installed packages db)
Entropy/rssFeed:
- make it a generic RSS handling class
Entropy/ServerInterface:
- make changes to rssFeed instances to reflect the change above
Entropy/Repository Manager:
- add support for notice boards handling
Entropy/ServerInterface:
- add support for notice boards handling
Entropy/EquoInterface:
- add support for notice boards


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2521 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-13 17:14:06 +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
8e7a4568f1 Entropy/EntropyDatabaseInterface:
- fix getIDPackage()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2517 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-11 16:56:51 +00:00
lxnay
a21b458a13 Entropy/EntropyDatabaseInterface:
- improve branches handling on the client (installed packages) database
- remove some obsolete functions


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2516 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-11 16:54:47 +00:00
lxnay
9347bd4f24 Entropy/entropyTools:
- spawnFunction(): add the ability to provide a callback function to read the child pid id
Entropy/Repository Manager:
- make possible to stop any queued command that calls spawnFunction (85% of them)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2515 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-10 20:22:16 +00:00
lxnay
b4e6609cf4 Entropy/FtpInterface:
- improve FTP uri parser, move to entropyTools
- fix issues when no directory path is specified


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2514 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-10 19:24:02 +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
6a55a86f56 Entropy/ServerInterface:
- fix indentation into migrate_repository_databases_to_new_branched_path()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2512 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-10 11:27:29 +00:00
lxnay
f33367879d Entropy/EntropyDatabaseInterface:
- revert some changes doing more harm than good


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2511 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-10 11:18:54 +00:00
lxnay
5ca8ba6f29 Entropy/EntropyDatabaseInterface:
- listAllCategories(): add order_by parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2510 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-09 18:52:13 +00:00
lxnay
e76b85360c Entropy/EntropyDatabaseInterface:
- retrieveContent(): add order_by parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2509 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-09 18:07:42 +00:00
lxnay
39f2cd0a0f Entropy/EntropyDatabaseInterface:
- retrieveContent(): add order_by parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2508 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-09 18:06:22 +00:00
lxnay
994b4a87f5 Entropy/Equo:
- update --upgrade feature when running equo world
Entropy/EquoInterface:
- update move_to_branch() to reflect latest branch management changes
Entropy/EAPI3:
- update EAPI3 commands to reflect latest branch management changes
- also update server-side functions, removing the old ones to avoid to be run by old clients
see server/entropy-repository-daemon changes to know more


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2506 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 18:43:32 +00:00
lxnay
69ce0591ad Entropy/ServerInterface:
- switch_packages_branch(): also migrate counters


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2503 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 16:07:42 +00:00
lxnay
5215849f9c Entropy/ServerInterface:
- database split: avoid to run tidy_packages() on maintenance branches -> branch_string != etpConst['branches'][-1]


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2502 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 15:20:38 +00:00
lxnay
8ab4ae3851 Entropy/entropyConstants:
- sort etpConst['branches']


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2501 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 15:18:52 +00:00
lxnay
b2c4437aa2 Entropy/ServerInterface:
- switch_packages_branch(): export counter to stdout


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2500 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 13:43:11 +00:00
lxnay
b5ec9b033d Entropy/database split:
- some changes to allow easy branch migration through the 'switchbranch' tool


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2498 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 13:36:40 +00:00
lxnay
30782e37ed Entropy:
- database split: work out the client part


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2497 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 12:41:17 +00:00
lxnay
561db807d5 Entropy:
- databases now split by branch (first chunk, ServerInterface migrated, EquoInterface and Repository Daemon to go


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2496 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 12:05:00 +00:00
lxnay
38c4481d05 Entropy/DistributionUGCInterface:
- insert_youtube_video(): add google client id support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2490 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-07 12:41:56 +00:00
lxnay
c5e564c838 Entropy/System Manager:
- write_to_running_command_pipe(): add the ability to not write stdin to stdout through a simple bool
Entropy/DistributionUGCInterface:
- add Google developer key support (if provided)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2488 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-07 10:51:02 +00:00
lxnay
a7a84731c2 Entropy/outputTools:
- my_raw_input: make txt optional


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2485 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 18:19:03 +00:00
lxnay
e40be9ae26 Entropy/EntropyDatabaseInterface:
- do not crash on completely broken atom (USE deps)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2484 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 17:51:28 +00:00
lxnay
1b6e1c62da Entropy/EntropyDatabaseInterface:
- do not crash on completely broken atom (USE deps)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2483 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 17:46:10 +00:00
lxnay
8553d11794 Entropy/entropyTools:
- improve remove_usedeps()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2482 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 17:43:08 +00:00
lxnay
40143779d3 Entropy/EntropyDatabaseInterface:
- atomMatch(): do not crash on badly formatted atom when dealing with USE dependencies


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2481 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 17:34:13 +00:00
lxnay
323e29de7e Entropy/EntropyDatabaseInterface:
- fix issues with string formatting when remote database is locked (server-side only)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2480 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 17:24:00 +00:00
lxnay
1ec6159d13 Entropy/System Manager:
- fix issues with parallel tasks on the queue_processor: always break the loop if fork_data
- never accept to keep the queue locked even if an exception is raised inside the queue_processor
- add support for remote interactivity on all the publicly exported commands (this allows to interact with the functions/tasks remotely)
Entropy/PortageInterface:
- add usedeps_reduce to filter out unwanted Portage EAPI2 USE dependencies


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2478 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 13:58:09 +00:00
lxnay
50ccec54f7 Entropy/outputTools:
- do not use raw_input(), which is shit, poll stdin instead


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2477 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-06 13:54:12 +00:00
lxnay
1e84722069 Entropy/Repository Manager:
- fix another typo


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2475 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-05 18:29:03 +00:00
lxnay
5f893fe00f Entropy/Repository Manager:
- fix typo

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2474 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-05 18:11:14 +00:00
lxnay
3f778f87c8 Entropy/Repository Manager:
- enable basic commands interactivity (half done)
testing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2473 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-05 18:00:41 +00:00
lxnay
add3b8d5a7 Entropy/PortageInterface:
- calculate_dependencies(): fix typo error


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2472 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-05 15:37:19 +00:00
lxnay
2a91f4a61f Entropy/PortageInterface:
- calculate_dependencies(): handle IUSE EAPI2 style correctly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2471 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-05 15:32:55 +00:00
lxnay
79f67e6e6f Entropy/EntropyDatabaseInterface:
- WriteLock, thread lock fixes
- code style fixes
Entropy/Repository Manager:
- use copy.deepcopy() to store functions' args and kwargs inside the dict


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2470 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-05 15:28:06 +00:00
lxnay
c7d7131400 Entropy/SocketHostInterface:
- fix an issue that caused the SessionLock to be acquired twice by the expired sessions collector (second time in destroy_session)
Entropy/SystemManagerClientInterface:
- reword kill_all_connections and add the ability to cache them or not by providing this bool option to the instantiator


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2469 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-05 09:26:51 +00:00
lxnay
0455b20508 Entropy/Spritz:
- avoid to crash on queue item split when trying to retrieve a command result
Entropy/Repository Manager:
- complete the previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2468 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-03 18:56:07 +00:00
lxnay
6e7744d73f Entropy/Repository Manager:
- make docmd_get_queue() locking the queue before reading it
- make the queue_processor() to really handle parallelizable (? wtf ?) tasks


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2467 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-03 18:47:15 +00:00