Tomas Mlcoch [Mon, 30 Sep 2013 11:52:54 +0000 (13:52 +0200)]
G_LOG_DOMAIN definition moved to CMake (removed logging.h)
Tomas Mlcoch [Mon, 30 Sep 2013 11:23:02 +0000 (13:23 +0200)]
modifyrepo: Add new option 'path' useful in situations where filename contains '[' or ']' character(s).
Tomas Mlcoch [Thu, 19 Sep 2013 14:55:03 +0000 (16:55 +0200)]
modifyrepo_c: Don't print repomd.xml content on stdout
Tomas Mlcoch [Thu, 19 Sep 2013 14:49:01 +0000 (16:49 +0200)]
modifyrepo: Put records in the same order as defined in batch file
Tomas Mlcoch [Thu, 19 Sep 2013 14:43:02 +0000 (16:43 +0200)]
README: Add info about modifyrepo_c
Tomas Mlcoch [Thu, 19 Sep 2013 14:28:01 +0000 (16:28 +0200)]
doc: Update manpages
Tomas Mlcoch [Thu, 19 Sep 2013 14:20:23 +0000 (16:20 +0200)]
Add modifyrepo_c
Tomas Mlcoch [Thu, 19 Sep 2013 13:30:06 +0000 (15:30 +0200)]
repomd: Remove broken record sorting.
Tomas Mlcoch [Thu, 19 Sep 2013 13:29:22 +0000 (15:29 +0200)]
compression_wrapper: Fix memory leak in cr_compression_type.
Tomas Mlcoch [Thu, 19 Sep 2013 13:28:52 +0000 (15:28 +0200)]
misc: Add cr_write_to_file, cr_key_file_get_boolean_default and cr_safe_string_chunk_insert_and_free functions.
Tomas Mlcoch [Thu, 19 Sep 2013 08:16:45 +0000 (10:16 +0200)]
repomd: Add cr_repomd_detach_record function
Tomas Mlcoch [Wed, 18 Sep 2013 13:13:27 +0000 (15:13 +0200)]
misc: Add default implementation of xml warning callback.
Tomas Mlcoch [Wed, 18 Sep 2013 13:12:18 +0000 (15:12 +0200)]
repomd: Add cr_repomd_get_record function
Tomas Mlcoch [Wed, 18 Sep 2013 11:06:28 +0000 (13:06 +0200)]
tests: Add comps metadata
Tomas Mlcoch [Tue, 17 Sep 2013 12:56:15 +0000 (14:56 +0200)]
Fix compiler warning about implicit declaration of function tolower()
Tomas Mlcoch [Thu, 12 Sep 2013 14:33:10 +0000 (16:33 +0200)]
mergerepo: refactoring
Tomas Mlcoch [Thu, 12 Sep 2013 14:01:24 +0000 (16:01 +0200)]
compression_wrapper: Add cr_compression_type() function.
Tomas Mlcoch [Wed, 11 Sep 2013 15:02:15 +0000 (17:02 +0200)]
Add warning if --update-md-path used without --update
Tomas Mlcoch [Wed, 11 Sep 2013 14:42:11 +0000 (16:42 +0200)]
Remove unused metadata_hashtable python module
Tomas Mlcoch [Wed, 11 Sep 2013 14:22:45 +0000 (16:22 +0200)]
xml_repomd_parser: Replace atol() with cr_xml_parser_strtoll()
Tomas Mlcoch [Wed, 11 Sep 2013 12:13:01 +0000 (14:13 +0200)]
Move library initialization up
Tomas Mlcoch [Wed, 11 Sep 2013 11:59:44 +0000 (13:59 +0200)]
xml_parser: Add suport for warnings about weird stuff in xml
Tomas Mlcoch [Wed, 11 Sep 2013 11:33:24 +0000 (13:33 +0200)]
locate_metadata: Use new repomd parser
Tomas Mlcoch [Wed, 11 Sep 2013 10:31:53 +0000 (12:31 +0200)]
Update test
Tomas Mlcoch [Wed, 11 Sep 2013 08:34:03 +0000 (10:34 +0200)]
Enable single chunk feature which was disabled after the big rewrite
Tomas Mlcoch [Tue, 10 Sep 2013 14:48:38 +0000 (16:48 +0200)]
doc: Add missing python function
Tomas Mlcoch [Tue, 10 Sep 2013 14:25:35 +0000 (16:25 +0200)]
doc: Update
Tomas Mlcoch [Tue, 10 Sep 2013 13:55:42 +0000 (15:55 +0200)]
doc: Add gen of Python doc during 'make doc'
Tomas Mlcoch [Tue, 10 Sep 2013 13:43:43 +0000 (15:43 +0200)]
Python: Add docstrings and comments
Tomas Mlcoch [Mon, 9 Sep 2013 11:38:41 +0000 (13:38 +0200)]
Python example of repodata parsing update
Tomas Mlcoch [Mon, 9 Sep 2013 08:27:22 +0000 (10:27 +0200)]
Code refactoring
Tomas Mlcoch [Tue, 3 Sep 2013 14:06:35 +0000 (16:06 +0200)]
example: Simple repodata parser example
Tomas Mlcoch [Wed, 14 Aug 2013 08:31:47 +0000 (10:31 +0200)]
cmake: Set required python version to 2
Tomas Mlcoch [Wed, 14 Aug 2013 08:28:16 +0000 (10:28 +0200)]
Version bump to 0.2.1
Tomas Mlcoch [Wed, 14 Aug 2013 08:27:02 +0000 (10:27 +0200)]
checksum: Set SHA to be the same as SHA1 (For compatibility with original Createrepo)
Tomas Mlcoch [Mon, 5 Aug 2013 07:45:22 +0000 (09:45 +0200)]
Update utils scripts
Tomas Mlcoch [Mon, 5 Aug 2013 07:24:05 +0000 (09:24 +0200)]
mergerepo_c: Speed up - Add parallelization to computing checksums of metadata files.
Tomas Mlcoch [Mon, 5 Aug 2013 06:32:26 +0000 (08:32 +0200)]
createrepo_c: Better error reporting
Tomas Mlcoch [Mon, 5 Aug 2013 05:25:29 +0000 (07:25 +0200)]
Fix typo
Tomas Mlcoch [Sat, 3 Aug 2013 11:15:48 +0000 (13:15 +0200)]
Small refactoring
Tomas Mlcoch [Tue, 23 Jul 2013 06:55:14 +0000 (08:55 +0200)]
xml_parser_repomd: Fix memory leak
Tomas Mlcoch [Tue, 23 Jul 2013 06:53:16 +0000 (08:53 +0200)]
Small refactoring
Tomas Mlcoch [Wed, 3 Jul 2013 11:57:30 +0000 (13:57 +0200)]
refactoring
Tomas Mlcoch [Wed, 3 Jul 2013 10:55:47 +0000 (12:55 +0200)]
python: In parsing args of write method of CrFile use int for length instead of Py_ssize_t.
Tomas Mlcoch [Wed, 3 Jul 2013 10:13:08 +0000 (12:13 +0200)]
compression_wrapper: Remove magic_check() (Due RhBug: 980507)
Tomas Mlcoch [Tue, 2 Jul 2013 12:53:31 +0000 (14:53 +0200)]
tests: Fix issue with missing rpath to libcreaterepo_c.so in tests while building for epel6 (CMake2.6).
Tomas Mlcoch [Tue, 2 Jul 2013 12:25:07 +0000 (14:25 +0200)]
Prevent returning of uninitialized values from cr_xml_dump.
Tomas Mlcoch [Tue, 2 Jul 2013 11:17:39 +0000 (13:17 +0200)]
load_metadata: cr_Metadata -> cr_Metadata *
Tomas Mlcoch [Tue, 2 Jul 2013 10:34:36 +0000 (12:34 +0200)]
doc: Generate doc in English instead of Czech and exclude internal header files.
Tomas Mlcoch [Tue, 2 Jul 2013 10:17:43 +0000 (12:17 +0200)]
dic: Fix doxygen warnings.
Tomas Mlcoch [Tue, 2 Jul 2013 09:33:04 +0000 (11:33 +0200)]
xml_dump: Use G_GINT64_FORMAT instead of harcoded format.
Tomas Mlcoch [Tue, 2 Jul 2013 08:36:30 +0000 (10:36 +0200)]
error: Add CRE_ASSERT return code.
Tomas Mlcoch [Tue, 2 Jul 2013 07:38:01 +0000 (09:38 +0200)]
fix: Prevent use uninitialized value in NDEBUG is enabled and assert() take no effect.
Tomas Mlcoch [Tue, 2 Jul 2013 07:32:18 +0000 (09:32 +0200)]
README.md: Add note about compilation of C tests.
Tomas Mlcoch [Mon, 1 Jul 2013 15:16:31 +0000 (17:16 +0200)]
cmake: Fix cofigure_file for __init__.py
Tomas Mlcoch [Mon, 1 Jul 2013 15:08:26 +0000 (17:08 +0200)]
utils: Add +x to cleanup.sh
Tomas Mlcoch [Mon, 1 Jul 2013 15:06:54 +0000 (17:06 +0200)]
tests: For testing files in sqlite use Set instead of List
Tomas Mlcoch [Mon, 1 Jul 2013 15:04:24 +0000 (17:04 +0200)]
tests: Use assertTrue(isinstance.. instead of assertIsInstance( (For comptatibility reasons)
Tomas Mlcoch [Mon, 1 Jul 2013 14:43:58 +0000 (16:43 +0200)]
utils: Add script to remove builded rpm packages.
Tomas Mlcoch [Mon, 1 Jul 2013 14:38:01 +0000 (16:38 +0200)]
compatibility: Use full path in CONFIGURE_FILE
Tomas Mlcoch [Mon, 1 Jul 2013 13:56:31 +0000 (15:56 +0200)]
compatibility: Use mkdtemp instead of g_mkdtemp.
Tomas Mlcoch [Mon, 1 Jul 2013 13:40:50 +0000 (15:40 +0200)]
cmake: Fix FILE COPY for cmake < 2.8.0
Tomas Mlcoch [Mon, 1 Jul 2013 13:14:00 +0000 (15:14 +0200)]
createrepo_c: Do buffer dump after error cleanup to prevent deadlock (RhBug: 975331).
Tomas Mlcoch [Mon, 1 Jul 2013 12:20:58 +0000 (14:20 +0200)]
createrepo_c: Switch order of g_mutex_unlock and g_cond_broadcast.
Tomas Mlcoch [Sun, 30 Jun 2013 16:55:36 +0000 (18:55 +0200)]
createrepo_c: Removed input_dir item from struct CmdOptions.
Tomas Mlcoch [Mon, 24 Jun 2013 17:26:54 +0000 (19:26 +0200)]
createrepo_c: Repomdrecord filling use threads.
Tomas Mlcoch [Mon, 24 Jun 2013 16:46:06 +0000 (18:46 +0200)]
threads: Add parallel repomd record fill.
Tomas Mlcoch [Fri, 21 Jun 2013 11:01:21 +0000 (13:01 +0200)]
Add example for paralelized compression
Tomas Mlcoch [Mon, 17 Jun 2013 15:04:58 +0000 (17:04 +0200)]
mergerepo_c: Speed UP! Use threads for DB records compression.
Tomas Mlcoch [Mon, 17 Jun 2013 14:52:21 +0000 (16:52 +0200)]
createrepo_c: Speed UP! Use threads for DB records compression.
Tomas Mlcoch [Mon, 17 Jun 2013 14:17:41 +0000 (16:17 +0200)]
threads: New module with useful set of function for use in GThreadPool.
Tomas Mlcoch [Mon, 17 Jun 2013 13:10:17 +0000 (15:10 +0200)]
createrepo_c, mergerepo_c: Code cleanup
Tomas Mlcoch [Thu, 13 Jun 2013 14:44:33 +0000 (16:44 +0200)]
python: Better exception reporting
Return more appropriate python exceptions instead of CreaterepoCError in some cases.
Tomas Mlcoch [Thu, 13 Jun 2013 11:55:32 +0000 (13:55 +0200)]
compression_wrapper: cr_open_with_stat renamed to cr_sopen.
Tomas Mlcoch [Thu, 13 Jun 2013 11:39:44 +0000 (13:39 +0200)]
python: Add compression_suffix and detect_compression functions.
Tomas Mlcoch [Thu, 13 Jun 2013 11:02:58 +0000 (13:02 +0200)]
python: Add CrFile class (Bindings for the CR_FILE object).
Tomas Mlcoch [Thu, 13 Jun 2013 11:02:01 +0000 (13:02 +0200)]
tests: Fix compression type in test_xml_file.py
Tomas Mlcoch [Thu, 13 Jun 2013 10:09:07 +0000 (12:09 +0200)]
python: Fix reference counting of ContentStat in XmlFile.
Tomas Mlcoch [Wed, 12 Jun 2013 14:03:31 +0000 (16:03 +0200)]
deltarepo: ...
Tomas Mlcoch [Wed, 12 Jun 2013 13:57:55 +0000 (15:57 +0200)]
deltarepo: ...
Tomas Mlcoch [Wed, 12 Jun 2013 13:49:25 +0000 (15:49 +0200)]
python: Add cr.UNKNOWN_CHECKSUM constant.
Tomas Mlcoch [Tue, 11 Jun 2013 15:10:33 +0000 (17:10 +0200)]
deltarepo: ...
Tomas Mlcoch [Tue, 11 Jun 2013 10:21:32 +0000 (12:21 +0200)]
python: Add misc module.
Tomas Mlcoch [Tue, 11 Jun 2013 08:42:26 +0000 (10:42 +0200)]
repomd: Add cr_repomd_record_load_contentstat function.
Tomas Mlcoch [Mon, 10 Jun 2013 16:17:22 +0000 (18:17 +0200)]
tests: Fix python test for ContentStat object.
Tomas Mlcoch [Mon, 10 Jun 2013 12:53:54 +0000 (14:53 +0200)]
deltarepo: draft v2
Tomas Mlcoch [Mon, 10 Jun 2013 12:51:02 +0000 (14:51 +0200)]
Python: Add checksum module.
Tomas Mlcoch [Mon, 10 Jun 2013 12:49:28 +0000 (14:49 +0200)]
checksum: Fix cr_checksum_type for sha checksum.
Tomas Mlcoch [Mon, 10 Jun 2013 12:01:24 +0000 (14:01 +0200)]
Python: xml_parser: Fix error when newpkgcb returns None.
Tomas Mlcoch [Mon, 10 Jun 2013 11:40:49 +0000 (13:40 +0200)]
Python: Fix module name in object type string.
Tomas Mlcoch [Mon, 10 Jun 2013 09:18:47 +0000 (11:18 +0200)]
deltarepo: Add draft of deltarepo.
Tomas Mlcoch [Mon, 10 Jun 2013 07:15:22 +0000 (09:15 +0200)]
Python: Add contentstat source files.
Tomas Mlcoch [Sun, 9 Jun 2013 12:38:29 +0000 (14:38 +0200)]
README.md: Add link to RedHat bugzilla.
Tomas Mlcoch [Fri, 7 Jun 2013 11:26:17 +0000 (13:26 +0200)]
Doc update
Tomas Mlcoch [Thu, 6 Jun 2013 14:18:17 +0000 (16:18 +0200)]
python: Add ContentStat object.
Tomas Mlcoch [Thu, 6 Jun 2013 12:35:50 +0000 (14:35 +0200)]
mergerepo_c: Speed up! (Support for content checksum).
Tomas Mlcoch [Thu, 6 Jun 2013 12:07:16 +0000 (14:07 +0200)]
createrepo_c: Speed up! (Support for content checksum).
Tomas Mlcoch [Thu, 6 Jun 2013 11:11:09 +0000 (13:11 +0200)]
xml_file: Support for cr_ContentStat.
Tomas Mlcoch [Thu, 6 Jun 2013 10:54:50 +0000 (12:54 +0200)]
compression_wrapper: Little change in use of cr_ContentStat object.
Tomas Mlcoch [Wed, 5 Jun 2013 15:02:31 +0000 (17:02 +0200)]
misc: Add cr_compress_file_with_stat function.