Commit Graph

2965 Commits

Author SHA1 Message Date
Fabio Erculiani f550665605 Entropy: move entropy.conf parsing into SystemSettings Singleton
class.

As announced, SystemSettings is going to host all the Entropy
global variables. With this big commit, proxy config (and the rest
of entropy.conf data) has been moved under SystemSettings['system']
2009-04-03 20:06:07 +02:00
Fabio Erculiani 49445c4f8b entropy.conf: fix typo in nice-level example 2009-04-03 20:04:42 +02:00
Fabio Erculiani e110e10624 entropy.services.repository.interfaces.Server: port to new SystemSettings
API.
2009-04-03 15:31:35 +02:00
Fabio Erculiani 4ead63ee56 entropy.client.interfaces.methods.Repository: make sure that SystemSettings
are reloaded after every reopen_client_repository call
2009-04-03 15:29:47 +02:00
Fabio Erculiani 8e583db91d entropy.client.interfaces.client.Client: port Client class to new
SystemSettings API, make sure to connect itself AFTER client db
instantiation.
2009-04-03 15:28:49 +02:00
Fabio Erculiani f0f2b3c0e5 entropy.core.SystemSettings: always reload settings when connect_entropy
is called.
2009-04-03 15:27:31 +02:00
Fabio Erculiani 96e9b52fd9 entropy.core.SystemSettings: change constructor arguments (break API)
SystemSettings can have issues with destroyed entropy instances since
it's a Singleton. Remove the argument from the constructor and add
connect_entropy method
2009-04-03 15:10:14 +02:00
Fabio Erculiani b2868c34af entropy.services.interfaces.SocketHost: pull socket settings from
SystemSettings
2009-04-03 15:05:33 +02:00
Fabio Erculiani 3b0d09555b entropy.services.repository.interfaces.Client: use SystemSettings
for socket configuration
2009-04-03 13:58:22 +02:00
Fabio Erculiani 9d68785bcb entropy-system-daemon: update code to work with upcoming new entropy
stable release.
2009-04-03 13:46:22 +02:00
Fabio Erculiani 6899aa87c2 entropy.const: remove socket service settings parsing from here, just keep
the constants.
2009-04-03 13:45:15 +02:00
Fabio Erculiani 800fa6ac2a entropy.core.SystemSettings: make SystemSettings usable without
entropy.client.interfaces.Client instance. Copy socket service
settings into it (parsing in entropy.const will be removed very
soon)
2009-04-03 13:43:29 +02:00
Fabio Erculiani b4a8dbc53d entropy.core.SystemSettings: rename __setting_files to __settings 2009-04-03 13:11:29 +02:00
Fabio Erculiani 16bff5ab54 entropy.const: remove old comment (trivial) 2009-04-03 13:09:33 +02:00
Fabio Erculiani 68530530cb update TODO 2009-04-03 13:01:11 +02:00
Fabio Erculiani d26c455a43 update translations, complete Italian 2009-04-03 13:00:49 +02:00
Fabio Erculiani 3e4c299478 entropy.spm entropy.client.interfaces.methods: remove unused variables 2009-04-02 20:38:41 +02:00
Fabio Erculiani 72861f9b93 entropy.tools.uncompress_tar_bz2: add FIXME 2009-04-02 20:38:09 +02:00
Fabio Erculiani 62f09809ed entropy.db.regenerateDependsTable: when running with output = True,
print output every 150 iterations and don't spam the terminal
2009-04-02 20:37:02 +02:00
Fabio Erculiani a2a4c3dd2e entropy.client.interfaces.methods.quickpkg_handler: no need to specify
user and group name bits
2009-04-02 19:58:31 +02:00
Fabio Erculiani cd2b581c5c entropy.spm.quickpkg: no need to specify user and group name bits 2009-04-02 19:57:45 +02:00
Fabio Erculiani 2c0fa8fe68 entropy.client.interfaces.methods.quickpkg_handler: apply the same
fix of entropy.spm.quickpkg, properly store username and group bits
inside the tar file when possible.
2009-04-02 19:05:54 +02:00
Fabio Erculiani 98e046e725 entropy.spm.quickpkg: remove debugging output 2009-04-02 19:03:45 +02:00
Fabio Erculiani ae4fa2db7c entropy.spm.quickpkg: properly set username and group bits in tar files 2009-04-02 19:01:24 +02:00
Fabio Erculiani 3c6e229976 entropy.tools: fix typo in new function 2009-04-02 19:00:16 +02:00
Fabio Erculiani 2942ee3009 entropy.tools: new functions get_user_from_uid and get_group_from_gid 2009-04-02 18:54:00 +02:00
Fabio Erculiani 385224a448 update .gitignore 2009-04-02 18:53:42 +02:00
Fabio Erculiani 426addf3b4 entropy.tools: new functions get_uid_from_user and get_gid_from_user,
use them when tarinfo is used to extract tar files with proper uname
and gname bits
2009-04-02 18:45:34 +02:00
Fabio Erculiani 965bd60bd5 entropy.tools: where tarinfo is used to unpack packages, make sure
files are unpacked with correct permission bits even if uid or gid
don't exist at that time
2009-04-02 18:26:47 +02:00
Fabio Erculiani 4cf1c51d3b entropy.client.interfaces.package: when uncompress_tar_bz2 fails,
catch UnpicklingError exceptions too
2009-04-02 18:23:09 +02:00
Fabio Erculiani c3e68b8982 Makefile: build pylzma in our custom location 2009-04-02 14:50:31 +02:00
Fabio Erculiani 563d1453cb adapt other makefiles to work with Entropy one 2009-04-02 14:21:48 +02:00
Fabio Erculiani 55be70d627 Entropy got a Makefile ! 2009-04-02 14:21:28 +02:00
Fabio Erculiani 1f1adabe88 removed unused spritz files 2009-04-02 14:21:02 +02:00
Fabio Erculiani 1669d4e219 update TODO 2009-04-02 13:50:58 +02:00
Fabio Erculiani be785a52d3 update translation template file 2009-04-02 13:45:47 +02:00
Fabio Erculiani 7ab4d0e071 move pylzma outside libraries 2009-04-02 13:45:25 +02:00
Fabio Erculiani 927e83d8c4 removed etc-portage-bashrc 2009-04-02 13:44:21 +02:00
Fabio Erculiani 47a1c33337 rename etc-portage-bashrc into bashrc.entropy 2009-04-02 13:28:34 +02:00
Fabio Erculiani 03fbda0f79 misc/po Makefile: make it working with relative DESTDIR paths 2009-04-01 21:54:22 +02:00
Fabio Erculiani 96f2e6edf4 update TODO 2009-04-01 21:05:25 +02:00
Fabio Erculiani 09a535c9bf entropy.db: slightly improve addPackage performance 2009-04-01 21:04:59 +02:00
Fabio Erculiani f29f2feaa4 update TODO 2009-04-01 20:22:06 +02:00
Fabio Erculiani 86746de6de reduce the amount of information printed by equo --help and advice
user to use --verbose to get the full content.
2009-04-01 20:21:27 +02:00
Fabio Erculiani 843e47f174 update TODO 2009-04-01 20:16:57 +02:00
Fabio Erculiani e4028e23c9 entropy.client.interfaces.trigger.Trigger: add savedefault to grub trigger
we all know that this trigger will be removed from entropy very soon, but
in the meantime, add savedefault line at the bottom of new kernel strings.
2009-04-01 20:15:51 +02:00
Fabio Erculiani 95c3a0f59f Entropy Server and Community Repositories: make possible to specify
only a certain set of atoms to update through --atoms option.
Moreover, add --dbsync and --dbupdate options to the new spm pkgset
sub-tool
2009-04-01 15:03:34 +02:00
Fabio Erculiani b63426810c update TODO 2009-04-01 15:03:02 +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
Fabio Erculiani 59c9962c48 update .gitignore again 2009-04-01 12:53:24 +02:00