Commit Graph

117 Commits

Author SHA1 Message Date
Fabio Erculiani a7faac4d03 entropy.server: add support for expiration-based packages removal.
If enabled in server.conf, entropy server side interface can now
allow multiple packages in the same scope without forcefully being
'injected'.
Through packages.db.fatscope in database dir, you can choose what
packages are eligible to this status, you can use '*' wildcard to
enable the feature for all the packages.

Be warned, this feature is EXPERIMENTAL (read server.conf) and not
enabled by default.
2009-04-25 22:32:18 +02:00
Fabio Erculiani fe4faeaf18 entropy.server: implement ability to disable certain EAPIs.
This improvement allows to disable certain EAPIs from being handled
on download/upload, thus on remote repository database sync. This
was warmly awaited from repository maintainers with limited internet
bandwidth.
2009-04-19 20:28:14 +02:00
Fabio Erculiani d807bad859 move Entropy client settings storage and parsing to SystemSettings 2009-04-05 16:32:20 +02:00
Fabio Erculiani a3c2fbc285 rename equo.conf to client.conf 2009-04-05 09:34:02 +02:00
Fabio Erculiani 49445c4f8b entropy.conf: fix typo in nice-level example 2009-04-03 20:04:42 +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
lxnay 898bd4aeed Entropy/TODO:
- update TODO
Entropy/Server:
- merge server config files into one (server.conf), reduce complexity
Entropy/Transceivers:
- FtpInterface add ETA and current up/down speed information


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3157 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-12 23:49:19 +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 ce6cd09cca Entropy/config files:
- move to 4 branch by default


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3031 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-16 12:26:32 +00:00
lxnay eeb55fe045 Entropy:
- since it seems to not make sense to have a connection test link to check against on 'equo update', let's remove it and see how users react


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3001 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-08 17:24:38 +00:00
lxnay cb509f5d42 Entropy/TODO:
- update TODO
Entropy/PackageInterface:
- call preinstall step before preremove and postremove on install actions
Entropy/client:
- move repositories.conf to repositories.conf.example
Entropy:
- use /usr/bin/python2 instead of /usr/bin/python as interpreter to avoid Python 3 issues


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2996 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-08 12:17:27 +00:00
lxnay 582eab8eae Entropy/TODO:
- update TODO
Entropy/entropyConstants:
- remove conflicting_tagged_packages from etpConst and move to a 'per-repo' config file
Entropy/SystemSettings:
- handle new conflicting tagged packages file per-repo
Entropy/RepoInterface:
- when syncing the repo, download the new conflicting tagged packages file
Entropy/ServerInterface:
- handle the new conflicting tagged packages file (upload/download)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2911 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 15:36:54 +00:00
lxnay 6764c067e3 Entropy/conf:
- move etpConst filesystem info settings to config files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2906 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 12:17:07 +00:00
lxnay f5fb4a768a Entropy/entropyConstants:
- move cache files extension string to etpConst
- fix the Entropy code accordingly
Entropy/EntropyCacher:
- add sync method to force a cache flush
- implement a thread lock to be thread-safe
Entropy/EquoInterface:
- fix a bug with cache cleaning after masking/unmasking packages
- scan PackageSettings at every instance load to ensure proper settings reads
- get_masked_packages_tree: some speed improvements
- is_match_masked_by_user: new method, makes easy to check if a package has been masked by the user
- is_match_unmasked_by_user: same as above, new method
- mask_match, unmask_match: rewrite the management of package masking and make possible to mask a package from the interface too (only unmask was previously implemented)
- mask_match, unmask_match: make possible to mask/unmask by key + slot coupling (app-foo/foo:2)
Entropy/EntropyDatabaseInterface:
- improve speed of idpackageValidator child methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2886 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 21:27:32 +00:00
lxnay 4466907e2b Entropy/conf:
- disable files backup by default


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2817 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-30 09:37:24 +00:00
lxnay 9dc8cb7a80 Entropy/client:
- re-add kdmrc to configprotectskip


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2813 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-22 21:20:36 +00:00
lxnay c3e6c21189 Entropy/TODO:
update TODO
Entropy/EntropyDatabaseInterface:
- slightly improve atomMatch speed
- add method uniformBranch
Entropy/EquoInterface:
- fix a small type issue in dependencies_test (nothing relevant)
- fix a small issue in generate_dependency_tree (nothing to worry about)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2804 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-18 10:35:37 +00:00
lxnay a4bdc3bf36 Entropy/TODO:
- update TODO
Entropy/System Packages:
- add user configurable system packages through /etc/entropy/packages/system.mask


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2799 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-17 12:10:23 +00:00
lxnay ca2afa3cb3 Entropy/Equo/conf:
- remove kdmrc from configprotectskip|
Entropy/EquoInterface:
- fix addRepository() for tbz2 packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2795 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 20:39:10 +00:00
lxnay 1a3b088ed1 Entropy/packages.db.mask syntax:
- remove branch parameter from file atoms syntax
- update code accordingly
Entropy/phpBB3AuthInterface:
- _generate_sql(): fix SQL update statement with utf-8 chars


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2730 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-07 13:08:01 +00:00
lxnay fa969f42ce Entropy:
- remove the use of list.sort() method in favour of sorted(list)
- implement a per-repository system packages mask, to force clients to install specified packages (like one of the slotted sys-libs/db packages for convenience), consider this an extension to system packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2721 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-05 21:37:18 +00:00
lxnay 8b16995763 Entropy/Equo/equo.conf:
- remove gentoo-compat option in config file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2692 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-18 12:49:58 +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 fc4a6a31e8 Entropy/server.conf:
- update server.conf.example accordingly to my previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2240 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-03 23:01:42 +00:00
lxnay 3b794dcb1c Entropy/configuration:
- update repositories.conf accordingly to my previous commit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2216 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-07-02 12:52:34 +00:00
lxnay ccaef70199 Entropy:
- move proxy initialization to entropyTools.add_proxy_opener()
- fix writeParameterToFile() when disabling items
EquoInterface:
- update proxy setup using entropyTools.add_proxy_opener()
- add support for _basic_ proxy username and password authentication
Entropy/Spritz:
- export proxy username and password settings


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2160 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-19 18:35:28 +00:00
lxnay 214b159879 Entropy/Equo:
- add a way to disable downgrades triggered by injected packages (added from SPM) owning revision 9999


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2133 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-12 14:48:35 +00:00
lxnay 36d7e81b15 Entropy:
- make nice level configurable in entropy.conf


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2022 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 11:26:41 +00:00
lxnay 0f8008dbe3 Entropy/Repository Service:
- add debian init.d for reference


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2016 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-28 09:23:45 +00:00
lxnay a5e21e1965 Entropy/Socket Interface:
- add IP blacklisting support
- fix a few bugs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2006 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-27 23:05:33 +00:00
lxnay d799613d0b Entropy/ServerInterface:
- updating server.conf and fixing a typo in server_reagent.py

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1960 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-23 15:36:08 +00:00
lxnay a9b4a91676 Entropy/ServerInterface/EquoInterface:
- reworked categories description support to use /usr/portage metadata.xml files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1874 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 23:09:23 +00:00
lxnay 173ad4ef43 Entropy/ServerInterface/etpDatabase:
- implemented categories description code, server-side


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1873 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-29 18:19:07 +00:00
lxnay ec9782d3b9 move repositories.conf.example back
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1847 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-24 09:22:43 +00:00
lxnay 34eb365ad5 Entropy/EquoInterface:
- add /etc/entropy to CONFIG_PROTECT


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1821 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 13:21:01 +00:00
lxnay eb25b76493 Entropy/EquoInterface:
- fix an issue with file protection causing them to be overwritten

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1817 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 10:10:36 +00:00
lxnay 5f29881b6a Entropy/Equo/Spritz:
- some requested bug fixes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1808 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-20 14:52:03 +00:00
lxnay 1ac5ef322c adding sprig mirror
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1696 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-11 14:20:27 +00:00
lxnay f9dfb3fbe6 Entropy/ServerInterface:
- change server.conf specs adding http handlers URL to it
- added multirepository support to all server-side functions (not yet done)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1681 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 23:14:50 +00:00
lxnay 029b475f32 move server.conf to server.conf.example to avoid having this packaged
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1671 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 15:06:04 +00:00
lxnay f32876a99a Entropy/ServerInterface:
- move server repositories configuration in server.conf (see example file)
- make multiple repositories possible at configuration level (handling not yet done)
FOR SERVER USERS, MOVE YOUR MIRROR DATA FROM activator.conf TO server.conf


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1670 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-10 15:03:15 +00:00
lxnay 27874f6a3d added NLUUG mirror
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1646 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-09 21:35:13 +00:00
lxnay aaa13b8a7b Entropy/Server Interface:
- complete code migration from activatorTools.py to entropy.py
let the testing begins


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1566 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-08 11:04:24 +00:00
lxnay 9e161d2078 Entropy/Server Interface:
- started to migrate activator code creating ServerMirrorsInterface
- fixed a typo in conf/packages/packages.db.repo_updates.example
- fixed some stuff in server_reagent.py
ACTIVATOR IS CURRENTLY BROKEN


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1561 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-06 18:41:17 +00:00
lxnay 004974caba Entropy/Socket Interface:
- implemented pluggable commands support (moved builtin commands into a dedicated class)
- implemented the ability to disable commands from socket.conf


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1546 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-31 17:45:20 +00:00
lxnay 5a27ed93d6 Entropy/Socket Interface:
- implemented SSL support, shipping example key and certificate
  now transmitted data between client and server is completely and transparently encrypted


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1545 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-31 13:15:57 +00:00
lxnay df8f4a26fc Entropy/Socket Interface:
- added maximum number of connections limit support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1540 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-30 17:40:38 +00:00
lxnay c1e8f26720 Entropy:
- Socket Interface:
  - implemented sessions timeouts collector (I like calling it GARBAGE collector), each session has now a configurable TTL
  - added 'alive' command to see if a session is still alive


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1528 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-28 13:32:14 +00:00
lxnay c914aadcea Entropy:
- lots of bug fixes
- implemented entropy directories GID and permissions configuration
- improved Socket Interface (not yet done)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1519 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-03-26 09:40:54 +00:00