lxnay
06eb4c661b
Entropy/UGC Server Interface:
...
- move keywords and pkgkey retrieval to DistributionUGCInterface.get_ugc_metadata_doctypes_by_identifiers
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2343 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 16:09:13 +00:00
lxnay
8d26e98678
Entropy/UGC Server Interface:
...
- _get_generic_doctypes_by_identifiers(): get keywords and package key too
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2342 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 16:05:23 +00:00
lxnay
a7537a0d7b
Entropy/UGC Server Interface:
...
- add two commands to allow text-based documents retrieval by their identifiers (iddoc)
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2341 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 13:31:17 +00:00
lxnay
3b425c3b41
Entropy/UGC Interface:
...
- move UGC package vote range to etpConst['ugc_voterange']
- add voting support to Equo
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2340 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 13:00:10 +00:00
lxnay
76c16149ad
Entropy/Server Interface:
...
- export binary packages expiration days setting to server.conf
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2339 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 11:29:25 +00:00
lxnay
a6b628d93d
Entropy/EquoInterface:
...
- when rewriting grub.conf pay attention to the encoding
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2338 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 11:03:58 +00:00
lxnay
e3cfc4a298
Entropy/EquoInterface:
...
- do not allow to set an invalid database compression format on addRepository or during constants init
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2337 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 11:00:54 +00:00
lxnay
772f974dff
Equo/query:
...
- check if myopts is empty
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2336 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:53:36 +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
258ea65cec
Entropy/PortageInterface:
...
- handle exceptions on Portage classes instantiation
- add a new exception called SPMError
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2334 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:33:51 +00:00
lxnay
72c8e30f80
Entropy/Equo/remove:
...
- fix variable encoding
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2333 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:25:34 +00:00
lxnay
a19306ba36
Entropy/TriggerInterface:
...
- remove duplicated functions and routines related to /etc/init.d services handling
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2332 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-26 10:23:56 +00:00
lxnay
b4a124b8d3
Entropy/Equo/UGC:
...
- add 'add comments' feature to Equo
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2331 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-25 14:26:34 +00:00
lxnay
c81c375183
Entropy:
...
- updated TODO
Entropy/UGC Client Interface:
- implement login/logout and first data retrieval function (comments)
- implement Equo interface to Entropy UGC
Entropy/Server Interface:
- handle repository compilator/Portage information per branch
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2330 cd1c1023-2f26-0410-ae45-c471fc1f0318
0.19.0
2008-08-22 18:43:24 +00:00
lxnay
c5d51eeac2
Entropy/UGCClientAuthStore:
...
- ignore IOError on setup_permissions()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2329 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 15:39:32 +00:00
lxnay
b7a4a644e0
Entropy/UGCClientAuthStore:
...
- also handle IOError on parse
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2328 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 15:36:50 +00:00
lxnay
c847942b57
Entropy/UGC:
...
- break SQL schema (hopefully for the last time) to ease the retrieval of username related to userid
- add get_username method in the authenticator classes
- fix some typo errors
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2327 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 15:27:10 +00:00
lxnay
350c3cfd30
Entropy/Equo:
...
- add UGC module
- implement login/logout functions
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2326 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 12:54:13 +00:00
lxnay
00611929fa
Entropy/repository daemon template:
...
- update template to reflect previous commits
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2325 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 12:53:00 +00:00
lxnay
5c13b054fa
Entropy/DistributionUGCInterface/DistributionUGCCommands:
...
- add store_url support, in this way it is possible to return a valid URL to client after having submitted a generic file (such as images, archives etc)
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2324 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-02 12:51:58 +00:00
lxnay
d97cde0243
Entropy/Spritz:
...
- remove debugging stuff pulled in by the previous commit
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2323 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:13:09 +00:00
lxnay
51fb1086d9
Entropy/Spritz:
...
- implement askQuestion and inputBox methods inherited from TextInterface
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2322 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:11:46 +00:00
lxnay
fd8ca2644c
Entropy/outputTools:
...
- improve askQuestion maximum supported responses
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2321 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:10:42 +00:00
lxnay
392bfb4c33
Entropy/UGCClientInterface:
...
- add remove_file, remove_image, remove_youtube_video methods
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2320 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 17:09:47 +00:00
lxnay
75276cb9a4
Entropy/DistributionUGCCommands:
...
- add remove_file, remove_image, remove_youtube_video commands
- EntropyRepositorySocketClientCommands:
- add support for remove_file, remove_image, remove_youtube_video commands
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2319 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-08-01 09:07:27 +00:00
lxnay
0a92e2a499
Entropy/TriggerInterface:
...
- trigger_ebuild_postremove(): handle EOFError exceptions when setting up ebuild environment
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2318 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 16:48:03 +00:00
lxnay
5873bd2d34
Entropy/Equo:
...
- text_smart: fix InflateHandler()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2317 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:40:37 +00:00
lxnay
7320a093a4
Entropy/EntropyRepositorySocketClientCommands:
...
- on convert_stream_to_object() handle zlib errors too
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2316 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:33:55 +00:00
lxnay
6e2bd52bb9
Entropy/entropyTools:
...
- removePackageOperators(): avoid crashing with malformed atom strings
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2315 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:29:08 +00:00
lxnay
2867d436af
Entropy/DistributionUGCInterface:
...
- fix insert_generic_file() on destination path creation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2314 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-31 08:10:29 +00:00
lxnay
5a4c0f83da
Entropy/entropyTools:
...
- compareVersions() do not raise an exception when ver1 or ver2 are None
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2313 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-26 07:22:05 +00:00
lxnay
b79ea7d011
Entropy/entropyTools:
...
- xml_from_dict(): only support basestring
Entropy/DistributionUGCCommands:
- docmd_register_stream(): fix new_stream_path
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2312 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:43:05 +00:00
lxnay
12d02e5dc3
Entropy/DistributionUGCCommands:
...
- I sometimes am a moron
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2311 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:16:44 +00:00
lxnay
2c7af37274
Entropy/DistributionUGCCommands:
...
- I sometimes am a moron
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2310 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:11:29 +00:00
lxnay
4134113e39
Entropy/DistributionUGCCommands:
...
- set xml-based UGC commands to raw, to avoid SocketHostInterface to mess the string
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2309 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 13:06:41 +00:00
lxnay
c0a03ee043
Entropy/SocketHostInterface:
...
- _get_args_kwargs: if kwargs fails, add to myargs as string
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2308 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 12:54:58 +00:00
lxnay
8d25ac956a
Entropy/entropyTools:
...
- added handy functions to stream a dict to xml and vice versa
Entropy/UGCClientInterface:
- break API in favour of a more scalable UGC handling (providing title, desc, keywords support to every document in database)
- reflect changes in UGC Server interface
- implement file send (untested yet)
Entropy/DistributionUGCCommands:
- implement streamed files handling
- API break, reflect changes in UGC Database interface
Entropy/DistributionUGCInterface:
- break SQL schema, add entropy_docs_keywords table
- update entropy_docs related methods to support keywords, title and description (the latter when needed)
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2307 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-25 12:16:57 +00:00
lxnay
3912cdd43c
Entropy/UGCClientInterface:
...
- implement more methods: get_downloads, get_alldownloads, get_docs
self explanatory
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2306 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 22:11:14 +00:00
lxnay
2fa7575b4e
Entropy/SocketHostInterface:
...
- uncomment file removal on destroy_session
Entropy/EntropyRepositorySocketClientCommands:
- fine tune ugc_send_file method
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2305 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 22:04:34 +00:00
lxnay
eb919bec35
Entropy/SocketHostInterface:
...
- fix stream commands
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2304 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 21:56:26 +00:00
lxnay
93ff724533
Entropy/SocketHostInterface:
...
- rename setup_commands to config_commands
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2303 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 19:11:45 +00:00
lxnay
6c9d4f6bfa
Entropy/SocketHostInterface:
...
- add commands category: setup_commands, to make session_config working
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2302 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 19:09:05 +00:00
lxnay
15d37e2758
Entropy/SocketCommandsSkel:
...
- fix raw_commands setup
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2301 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 18:40:29 +00:00
lxnay
3255a7eddf
Entropy/SocketHostInterface:
...
- fix IndentnationError
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2300 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 18:37:16 +00:00
lxnay
4784837eae
Entropy/SocketHostInterface:
...
- add raw commands support, break .register() method API
- fix stream commands handling
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2299 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 18:34:44 +00:00
lxnay
f6d3d99de0
Entropy/EntropyRepositorySocketClientCommands:
...
- rename method set_gzip_compression_on_rc to set_gzip_compression
- add support for sending files compressed through zlib
Entropy/SocketHostInterface:
- support streams compressed with zlib
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2298 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 17:57:34 +00:00
lxnay
fe68b3db41
Entropy/UGCClientInterface:
...
- reorder/move functions around
Entropy/SocketHostInterface:
- add support for sending streams
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2297 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 17:20:48 +00:00
lxnay
126ebcdaf0
Entropy/DistributionUGCInterface:
...
- fix get_ugc_downloads query
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2296 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 12:52:38 +00:00
lxnay
407287ce33
Entropy/UGCClientInterface:
...
- improve performance
- fix do_cmd method when login data is not available
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2295 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 12:49:45 +00:00
lxnay
1a0f05039d
Entropy/UGCClientInterface:
...
- complete the foundations of the interface
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2294 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-24 12:42:49 +00:00