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.
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.
- 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
- 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
- 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
- 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
- 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