Commit Graph

217 Commits

Author SHA1 Message Date
Fabio Erculiani
84a90055f1 [reagent] add support to "--dump" to "reagent libtest" 2009-09-03 20:55:32 +02:00
Fabio Erculiani
8c0508707d [reagent] do not spam terminal with libtest return data 2009-09-03 20:16:49 +02:00
Fabio Erculiani
c0d9b5e6f4 [entropy.core] Split entropy.core, introduce generic plugin loader
:: split entropy.core and move SystemSettings stuff to
   entropy.core.settings (and prepare external plugin support)
:: add EntropyPluginFactory generic class to entropy.core that
   will be used Entropy-wide to load external Entropy plugins
:: make entropy.spm Plugin Factory using entropy.core.EntropyPluginFactory
2009-08-30 18:59:35 +02:00
Fabio Erculiani
9359693cc5 [entropy.spm] make PortagePlugin to use SpmPlugin API, major API change 2009-08-29 21:31:43 +02:00
Fabio Erculiani
b714cf6bae [server/community repos] add support for --nooldslots argument in "spm compile categories" 2009-08-26 18:14:50 +02:00
Fabio Erculiani
0f40ce99a8 [entropy.server] remove SpmService instance attribute, create Spm() method 2009-08-11 10:12:13 +02:00
Fabio Erculiani
7387f84c46 [server/scripts] add misc scripts useful for server-side maintenance 2009-07-31 14:14:46 +02:00
Fabio Erculiani
fba1650155 [server] remove old stuff 2009-07-31 14:14:46 +02:00
Fabio Erculiani
edaa63705b [entropy.server/equo.community] Remove md5check tool, add pkgtest (which does the same plus QA tests) 2009-07-28 14:45:41 +02:00
Fabio Erculiani
56ec274e8f [reagent] improve exit status handling 2009-07-20 19:03:05 +02:00
Fabio Erculiani
4c221ca41a [activator] explicitly call const_kill_threads before quitting 2009-07-20 19:03:05 +02:00
Fabio Erculiani
d391ec4bac [entropy.qa] rename libraries_test method to test_shared_objects 2009-07-16 08:49:51 +02:00
Fabio Erculiani
d795d7f8f4 fix typo 2009-06-10 10:00:17 +02:00
Fabio Erculiani
0d0e1a6032 fix switch_packages_branch, more reliable now 2009-06-10 09:58:17 +02:00
Fabio Erculiani
d991b596ed new etpUi key "warn" to that will make possible to disable warnings 2009-06-10 09:43:05 +02:00
Fabio Erculiani
801feeadd5 entropy.server: fix switchbranch tool on reagent 2009-06-10 09:28:56 +02:00
Fabio Erculiani
ff6a5345aa fix typo 2009-06-10 09:18:52 +02:00
Fabio Erculiani
5816cda26c entropy.server: improve QA code 2009-06-02 20:09:05 +02:00
Fabio Erculiani
a0bf9dd02c entropy.server: improve QA code 2009-06-02 18:29:11 +02:00
Fabio Erculiani
78d9a6fc39 add library paths table regenerator tool to reagent 2009-05-30 21:10:30 +02:00
Fabio Erculiani
290d806c36 revert interpreter to /usr/bin/python instead of python2 due to issues
with Gentoo's python2 symlink not being updated properly
2009-05-25 21:07:30 +02:00
Fabio Erculiani
75b91ea50f update code to use the new atom_match results with multiMatch = True 2009-05-25 20:14:11 +02:00
Fabio Erculiani
f93a86208b entropy.server: implement branch flushback logic
Generally, when starting a new branch packages are not copied over
to avoid wasting disk space. So, old packages will be still pulled
in from old branch directories (under packages/). This commit adds
a function that automatically flush back old-branch packages into
the current one.
Let's say we have just bumped our repo from branch 1 to branch 2.
We have 3 packages into it that are still placed inside /packages/1.
Everything works until we decide to drop support from branch 1, in
this case, we would have to rebuild all these packages wasting a lot
of time. With "flushback" this is done automatically without touching
packages integrity.
2009-05-15 10:11:30 +02:00
Fabio Erculiani
c0d0168d43 entropy.server: validate repos when moving/copying packages from a repo to another 2009-05-14 09:12:48 +02:00
Fabio Erculiani
dd89f993fa reagent: I suck, after years of coding, i still make SyntaxErrors 2009-05-10 17:06:40 +02:00
Fabio Erculiani
c71c8f8e9c reagent: when moving/copying packages across repos, filter out argv dupies 2009-05-10 17:03:35 +02:00
Fabio Erculiani
e8b2c90524 reagent: always translate inject paths to real paths 2009-05-08 13:29:44 +02:00
Fabio Erculiani
f7f480569b entropy server, community repos: add --deps option to repo command
This makes possibile to pull in all the dependencies of packages
selected through 'repo move/copy'.
2009-05-07 14:16:35 +02:00
Fabio Erculiani
a37c9f2198 entropy.server: improve support for expiration based packages removal 2009-04-26 01:01:25 +02:00
Fabio Erculiani
2deebc2ab6 Community Repositories: make it back working.
Community Repositories support was broken due to codebase changes
and introduction of SystemSettings, which now overwrites any
overridden setting. This commit fixes all the issues and also
improves the current support.
2009-04-25 23:21:30 +02:00
Fabio Erculiani
0cfce3ab79 move service scripts to services dir, add repository admin init service 2009-04-23 22:12:41 +02:00
Fabio Erculiani
814e468c05 rename entropy-repository-daemon to repository-services-daemon 2009-04-21 10:04:31 +02:00
Fabio Erculiani
5a774a4606 entropy-repository-daemon: refresh repository daemon script 2009-04-21 10:03:34 +02:00
Fabio Erculiani
a513f12c63 repository-admin-daemon: trivial change 2009-04-21 10:02:39 +02:00
Fabio Erculiani
449b8b4863 rename entropy-system-daemon to repository-admin-daemon 2009-04-21 09:30:54 +02:00
Fabio Erculiani
0ee8a00c4a entropy-system-daemon: improve scriptability and refresh code 2009-04-21 09:30:00 +02:00
Fabio Erculiani
45857a31b1 entropy.server: fix "list" query 2009-04-19 19:33:10 +02:00
Fabio Erculiani
46a18b88e4 entropy.server: move server related settings to a separate SystemSettings
plugin. Also migrate all the entropy code to use the new SystemSettings
dict variables path.
2009-04-19 19:29:22 +02:00
Fabio Erculiani
8e4111f492 entropy.core.SystemSettings and the rest of the code, use SystemSettings'
server repositories metadata instead of etpConst['server_repositories']
2009-04-06 13:41:38 +02:00
Fabio Erculiani
5f78e63ba8 reagent: fix spm categories and use subprocess.call instead of os.system 2009-04-06 10:52:19 +02:00
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
9d68785bcb entropy-system-daemon: update code to work with upcoming new entropy
stable release.
2009-04-03 13:46:22 +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
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
501f0d7667 Entropy Server and Community Repositories: add new spm sub-tool "pkgset"
The new pkgset sub-tool allows maintainers to compile package sets from
entropy in a easier way.
2009-04-01 12:48:27 +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
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
90967de156 Entropy/*:
- use compare_versions instead of compareVersions function (deprecated)
- use entropy_compare_versions instead of entropyCompareVersions function (deprecated)
- use get_newer_version instead of getNewerVersion function (deprecated)
- use get_entropy_newer_version instead of getEntropyNewerVersion function (deprecated)
- use filter_duplicated_entries instead of filterDuplicatedEntries function (deprecated)
- use extract_ftp_host_from_uri instead of extractFTPHostFromUri function (deprecated)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3186 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-15 13:37:29 +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