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
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
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
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
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
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
e2205fe4e4
Entropy/Server/Interfaces/Main:
...
- deprecated openServerDatabase in favour of open_server_repository
- deprecated doServerDatabaseSyncLock in favour of do_server_repository_sync_lock
Entropy/*:
- update code, use new methods listed above
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3169 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-14 16:22:02 +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
d7151b6555
Entropy/*:
...
- update module imports to reflect the new entropy package structure
Entropy/Client/Interfaces/Package:
- fixed sources_fetch_step source packages download
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3150 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-11 09:36:47 +00:00
lxnay
83e184fc5e
Entropy/*:
...
- make use of the new entropy package structure
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3123 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:49:55 +00:00
lxnay
715421089b
Entropy/MELTDOWN :-):
...
- entropy modules is now a python package, kept backward compatibility for now
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3121 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-03-08 15:24:30 +00:00
lxnay
d57249e737
Entropy/Community Repositories/Server Repositories:
...
- export support for manual dependencies handling to equo and reagent
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3041 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-17 14:01:46 +00:00
lxnay
fa51b1576c
Entropy/Reagent/Community Repos/ServerInterface:
...
- implement server-side database backup and restore tool
Entropy/EquoInterface:
- list_backedup_client_databases: add client_dbdir parameter
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2903 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 10:46:55 +00:00
lxnay
384cb91025
Entropy/Reagent:
...
- use SystemExit instead of sys.exit()
Entropy/Activator:
- use SystemExit instead of sys.exit()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2855 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:43:09 +00:00
lxnay
5a11837e25
Entropy/ServerInterface:
...
- orphaned_spm_packages_test(): print packages not found in string form
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2791 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 15:01:23 +00:00
lxnay
5794c3b671
Entropy/Reagent:
...
- fix spm function call
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2789 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 14:57:58 +00:00
lxnay
14df3cbeda
Entropy/Reagent:
...
- fix spm function call
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2788 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 14:55:43 +00:00
lxnay
5d62fc68e7
Entropy/ServerInterface/Reagent:
...
- implement orphaned SPM packages scan
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2787 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-15 14:54:42 +00:00
lxnay
31c7feaaef
Entropy/TODO:
...
- update TODO
Entropy/Reagent:
- add configuration files updates check
Entropy/translations:
- update translations and template file
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2761 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-10 12:23:15 +00:00
lxnay
cec32d320c
Entropy/Community Repositories/Server-side Repositories:
...
- add the ability to arbitrary tag packages
Entropy:
- use entropyTools.create_package_atom_string and entropyTools.create_package_filename to create package atom and filename strings
Entropy/EquoInterface:
- atomMatch, add the ability to match packages by tag from here too
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2663 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-11-09 19:35:05 +00:00
lxnay
c05c5e2efb
Entropy/Reagent:
...
- ease the output, do not print the whole package list
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2499 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-10-08 13:39:41 +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
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
fb84ad41db
Entropy/reagent:
...
- fix packages move/copy from a repo to another
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2411 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-09-20 15:47:04 +00:00
lxnay
bc4e970b71
Entropy/Repositories Management:
...
- add a function to allow copying packages from a repository to another
- export it to reagent and equo
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2161 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-19 18:59:42 +00:00
lxnay
3549eb6913
Entropy/outputTools:
...
- do not flush stdout every now and then
Entropy/Socket Interface:
- handle socket errors and timeouts in CommandProcessor.process()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2117 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-06-08 15:20:43 +00:00
lxnay
2b1faaf6b5
Entropy/RepositoryServerSocketInterface:
...
- started to implement EAPI=3 support
- various bugfixes
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1974 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-25 20:20:17 +00:00
lxnay
ff64dd6c6c
Entropy/ServerInterface/CommunityRepositories:
...
- started to interface equo to the new Community Repositories interface
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1961 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-23 18:49:00 +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
5a6ce266cb
Entropy/Reagent:
...
- avoid to crash if Spm quickpkg() fails due to a broken entry
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1955 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 17:14:28 +00:00
lxnay
4080744f69
Entropy/ServerInterface:
...
- make dependencies_test() a blocker
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1954 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 17:10:59 +00:00
lxnay
8663b350d7
Entropy:
...
- add i18n support to activator and reagent textual functions
- update po files accordingly
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1950 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-05-20 07:33:14 +00:00
lxnay
dca3f69b51
fix reagent package injection
...
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1823 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-21 14:08:46 +00:00
lxnay
f28c9f296a
Entropy/ServerInterface/Reagent:
...
- exported switch_default_repository() to reagent
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1720 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 16:18:30 +00:00
lxnay
867d49eae3
Entropy/ServerInterface/Reagent:
...
- fix matches list creation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1718 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 15:43:33 +00:00
lxnay
d73a0e1a6c
Entropy/ServerInterface/Reagent:
...
- fix matches list creation
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1717 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 15:37:00 +00:00
lxnay
4beb1e4d9b
Entropy/ServerInterface/Reagent:
...
- connect move_packages() to reagent
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1716 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 15:06:27 +00:00
lxnay
01244dd083
Entropy/ServerInterface:
...
- preliminary implementation of package moves across repositories
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1715 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 14:55:12 +00:00
lxnay
c0b9f828ed
fix a small typo
...
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1714 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 13:54:46 +00:00
lxnay
36e0522dac
Entropy/ServerInterface/Reagent:
...
- exported enable/disable repository function to reagent
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1713 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-04-12 13:31:26 +00:00