Fabio Erculiani
fd5ee2dc62
[sulfur] add web-install file format handling to mime type
2011-02-26 09:46:47 +01:00
Fabio Erculiani
bd631724d2
[sulfur] add support for web-install package files
2011-02-26 01:18:08 +01:00
Fabio Erculiani
80cd9366b8
[entropy.client] web-install package files are bzip2 compressed, add complete support
2011-02-26 00:51:14 +01:00
Fabio Erculiani
eff0b02e6b
[entropy.client] add web-install package file format support
2011-02-26 00:11:33 +01:00
Fabio Erculiani
488634830d
[entropy.core] move expand_plain_package_mirror function to entropy.tools, make public
2011-02-26 00:10:56 +01:00
Fabio Erculiani
c958537c9e
[entropy.db] drastically reduce collisions in __generateReverseDependenciesMetadata by using sha1, uniform usage
2011-02-25 19:01:03 +01:00
Fabio Erculiani
378cb098df
[entropy.db] improve caching strategy of validate(), execute only if mtime, path, name, root change
2011-02-25 18:55:06 +01:00
Fabio Erculiani
0ba3b8bf0d
[entropy.cache] make EntropyCacher.save report the original exception inside the IOError exception string
2011-02-25 09:05:44 +01:00
Fabio Erculiani
b836fe0b0a
[entropy.fetchers] catch httplib.InvalidURL, raised by malformed url passed to urlopen()
2011-02-24 17:08:32 +01:00
Fabio Erculiani
150384d273
[entropy.db] EntropyRepository.searchCategory: missed the return statement
2011-02-22 19:58:57 +01:00
Fabio Erculiani
473be86241
[entropy.db] EntropyRepository: fix searchCategory return data when just_id = True
2011-02-22 19:53:27 +01:00
Fabio Erculiani
fa4681e391
[entropy.db] EntropyRepositoryBase: add just_id argument support to searchCategory
2011-02-22 19:23:25 +01:00
Fabio Erculiani
b057f8ccbd
[entropy.core] make possible to override default repositories.conf path using ETP_REPOSITORIES_CONF
2011-02-21 19:03:35 +01:00
Fabio Erculiani
8eb3eef87b
[entropy.db] EntropyRepositoryBase: introduce searchUseflag
2011-02-21 13:05:26 +01:00
Fabio Erculiani
e2f5f9d611
[tests] also check for st_size=0 on hardlinks
2011-02-20 19:53:56 +01:00
Fabio Erculiani
af2cb248bc
[tests] fixup hardlink test
2011-02-20 19:51:52 +01:00
Fabio Erculiani
65f741078d
[tests+ add hardlink test
2011-02-20 19:43:24 +01:00
Fabio Erculiani
4e0d24d11c
[entropy.db] add order_by="date" support to listAllPackageIds
2011-02-20 19:33:32 +01:00
Fabio Erculiani
2e3398f928
[entropy.tools] compress_files(): only change tarinfo file type for symlinks
2011-02-20 19:31:51 +01:00
Fabio Erculiani
8ffe419cd0
Tagging Entropy version 1.0_alpha18
1.0_alpha18
2011-02-20 19:22:30 +01:00
Fabio Erculiani
c5a9f2531c
Release Entropy 1.0_alpha18
2011-02-20 19:22:27 +01:00
Fabio Erculiani
79d08eebf2
[entropy.tools] improve handling of non-standard file types (hard-links) and improve speed of uncompress_tarball()
2011-02-20 19:18:02 +01:00
Fabio Erculiani
a10d2ef771
[entropy.client] quickpkg(): fix broken handling of hard-links
...
Since tar-1.24, tar supports hard links, same for python-2.6.6.
However, generate_package() was resetting the file type on the
tarinfo object, causing the extractor (either tar or python tarfile)
to handle the file like it was a 0-size one.
dev-vcs/git package was broken due to this and there are probably
others.
2011-02-20 19:10:41 +01:00
Fabio Erculiani
c9b166a9fb
[entropy.spm] generate_package(): fix broken handling of hard-links
...
Since tar-1.24, tar supports hard links, same for python-2.6.6.
However, generate_package() was resetting the file type on the
tarinfo object, causing the extractor (either tar or python tarfile)
to handle the file like it was a 0-size one.
dev-vcs/git package was broken due to this and there are probably
others.
2011-02-20 19:04:27 +01:00
Fabio Erculiani
7b6e07e535
[todo] update TODO
2011-02-20 19:03:13 +01:00
Fabio Erculiani
fe3ed07102
[entropy.services.ugc] get_ugc_icon(): return full URL instead of relative
2011-02-18 12:00:23 +01:00
Fabio Erculiani
9890f799e5
[entropy.services.ugc] add caching
2011-02-18 02:33:30 +01:00
Fabio Erculiani
e019225f00
[entropy.services.ugc] add get_ugc_icon helper method
2011-02-18 01:31:03 +01:00
Fabio Erculiani
6614c5d67d
[entropy.transceivers] EntropySshUriHandler: add some debug output in _parse_progress_line
2011-02-17 11:46:39 +01:00
Fabio Erculiani
a1c5569199
Tagging Entropy version 1.0_alpha16
1.0_alpha16
2011-02-16 00:27:08 +01:00
Fabio Erculiani
c51101b4b6
Release Entropy 1.0_alpha16
2011-02-16 00:26:57 +01:00
Fabio Erculiani
faf25d68b1
[reagent] fix undefined reference
2011-02-16 00:26:16 +01:00
Fabio Erculiani
fe093983f0
[entropy.fetchers] UrlFetcher: add debug info in download()
2011-02-15 15:39:48 +01:00
Fabio Erculiani
2c4e5cacc3
[services] portage-repository-converter: return 1 if there is nothing to sync
2011-02-15 12:24:42 +01:00
Fabio Erculiani
cb31fac262
[po] sync translations
2011-02-15 12:11:49 +01:00
Fabio Erculiani
699d99e720
[po] assimilate new (incomplete) Dutch translation
2011-02-15 12:11:34 +01:00
Fabio Erculiani
de08eeed90
[services] portage-repository-converter-executor: trivial fix
2011-02-15 00:10:28 +01:00
Fabio Erculiani
0a790d73ad
[services] update default perms of portage-repository-converter-executor
2011-02-14 23:41:27 +01:00
Fabio Erculiani
9cf8a57b53
[services] add portage-repository-converter script example
2011-02-14 23:38:44 +01:00
Fabio Erculiani
4c02640562
Tagging Entropy version 1.0_alpha15
1.0_alpha15
2011-02-14 22:42:14 +01:00
Fabio Erculiani
f141a26784
Release Entropy 1.0_alpha15
2011-02-14 22:42:01 +01:00
Fabio Erculiani
6b3baaefc3
[entropy.db] improve the improbability of getting cache collisions in atomMatch() cache
...
<i>as the "birthday paradox" says</i> ;-)
2011-02-14 22:20:16 +01:00
Fabio Erculiani
9c6ede2d9b
[entropy.db] EntropyRepositoryBase.__atomMatchValidateCache(): fix bug in validation code (check rc after type validation)
2011-02-14 21:52:15 +01:00
Fabio Erculiani
8b636b6820
[services] portage-repository-converter: add lock handling
2011-02-14 19:39:38 +01:00
Fabio Erculiani
aad340926c
[sulfur] change .desktop icon name to "Entropy Store"
2011-02-14 18:36:59 +01:00
Fabio Erculiani
4825bcd522
[services] add portage-repository-converter
...
This tool aims to easily convert a Portage packages repository,
including attached overlays, to Entropy repository database format,
which is (currently, but well abstracted) SQLite3 based.
This is a very lowlevel tool that allows to use the EntropyRepositoryBase
API in order to search, match and retrieve metadata off snapshots of
Portage packages repository.
Usage is simple:
$ portage-repository-converter sync <path to entropy database file>
If the Entropy database file already exists, a differential sync will
be executed between Portage and the database itself.
This would allow to keep your Entropy-based metadata up-to-date in
the following way:
$ emerge --sync
$ portage-repository-converter sync /tmp/portage.entropy.sqlite
$ sleep <a few hours>
$ emerge --sync
# sync again
$ portage-repository-converter sync /tmp/portage.entropy.sqlite
How to read metadata off /tmp/portage.entropy.sqlite ?
Using Python and Entropy API!
>>> from entropy.client.interfaces import Client
>>> client = Client()
>>> repo = client.open_generic_repository("/tmp/portage.entropy.sqlite")
>>> repo.atomMatch("sys-libs/db")
>>> repo.searchPackages("something")
>>> repo.close()
>>> client.shutdown()
For more information regarding Entropy API, please visit:
http://www.sabayon.org/entropy/api/docs
2011-02-14 18:16:45 +01:00
Fabio Erculiani
61b398dd38
[tests] fix server tests
2011-02-14 17:13:29 +01:00
Fabio Erculiani
667e5e5ece
[entropy.db] EntropyRepositoryCacher add keys()
2011-02-14 17:13:19 +01:00
Fabio Erculiani
399c63a6ad
[entropy.spm] PortagePlugin: trivial improvements
2011-02-13 19:41:44 +01:00
Fabio Erculiani
0d93fee168
[entropy.output] TextInterface.input_box(): python3.x fixes
2011-02-13 19:40:14 +01:00