Tomas Mlcoch [Tue, 14 May 2013 09:14:58 +0000 (11:14 +0200)]
compression_wrapper: Add asserts.
Tomas Mlcoch [Mon, 13 May 2013 13:26:02 +0000 (15:26 +0200)]
tests: exclude downloading tests
If this tests were enabled, it would cause a trouble during building package in the Koji.
Downloading is from Internet is not allowed in Koji, so this tests were failing during a build.
(Note: Failed tests means that build will be unsucessful!)
Tomas Mlcoch [Mon, 13 May 2013 13:21:03 +0000 (15:21 +0200)]
tests: Better run_gtester.sh script.
Tomas Mlcoch [Mon, 13 May 2013 12:07:03 +0000 (14:07 +0200)]
Update README.md
Tomas Mlcoch [Mon, 13 May 2013 11:43:23 +0000 (13:43 +0200)]
CMake: Remove unused CPACK stuff.
Tomas Mlcoch [Mon, 13 May 2013 11:23:48 +0000 (13:23 +0200)]
tests: test_data/ renamed to testdata/.
Tomas Mlcoch [Mon, 13 May 2013 11:20:22 +0000 (13:20 +0200)]
utils: Better scripts for generating tarballs and rpms.
Tomas Mlcoch [Mon, 13 May 2013 11:18:31 +0000 (13:18 +0200)]
locate_metadata: Add error check for locating metadata call.
Tomas Mlcoch [Mon, 13 May 2013 11:03:42 +0000 (13:03 +0200)]
tests: prefix for C test changed to 'test_'.
Tomas Mlcoch [Mon, 13 May 2013 10:57:03 +0000 (12:57 +0200)]
tests: Add fixtures.h with common constants and other global stuff.
Tomas Mlcoch [Mon, 13 May 2013 07:57:06 +0000 (09:57 +0200)]
Update requires in README.md.
Tomas Mlcoch [Thu, 9 May 2013 12:44:04 +0000 (14:44 +0200)]
Update c tests
Tomas Mlcoch [Thu, 9 May 2013 12:41:59 +0000 (14:41 +0200)]
load_metadata: Add GError support.
Tomas Mlcoch [Thu, 9 May 2013 09:21:07 +0000 (11:21 +0200)]
parsepkg: Add GError support.
Tomas Mlcoch [Thu, 9 May 2013 08:19:01 +0000 (10:19 +0200)]
parsehdr: Add GError support.
Tomas Mlcoch [Thu, 9 May 2013 07:51:38 +0000 (09:51 +0200)]
repomd: cr_repomd_record_groupfile rename to cr_repomd_record_compress_and_fill
Tomas Mlcoch [Thu, 9 May 2013 06:51:46 +0000 (08:51 +0200)]
Small refactoring
Tomas Mlcoch [Wed, 8 May 2013 14:28:02 +0000 (16:28 +0200)]
First stage of improved error handling
Add errror module with error code enumeration and error domains.
Add GError** as param to some functions in xml_dump and repomd modules.
This improved interface is aimed to better (more informative and verbose)
error messages for programs using this library and createrepo_c python
bindings.
Tomas Mlcoch [Wed, 8 May 2013 11:41:10 +0000 (13:41 +0200)]
py: Fix num type conversion in repomd record setters.
Tomas Mlcoch [Wed, 8 May 2013 11:37:26 +0000 (13:37 +0200)]
pytests: Exclude time_file value from tests.
Tomas Mlcoch [Mon, 6 May 2013 12:04:22 +0000 (14:04 +0200)]
Python: Experimantal implementation of Python bindings + tests.
Tomas Mlcoch [Mon, 6 May 2013 10:06:14 +0000 (12:06 +0200)]
package: Add cr_package_copy method.
Tomas Mlcoch [Mon, 6 May 2013 10:05:33 +0000 (12:05 +0200)]
cr_safe_string_chunk_insert moved from parsehdr into the misc module.
Tomas Mlcoch [Mon, 22 Apr 2013 12:05:43 +0000 (14:05 +0200)]
repomd: fix comments in header file.
Tomas Mlcoch [Mon, 22 Apr 2013 08:04:23 +0000 (10:04 +0200)]
sqlite: Refactoring.
Tomas Mlcoch [Fri, 19 Apr 2013 11:36:16 +0000 (13:36 +0200)]
sqlite: Add err object to cr_db_add_(primary|filelists|other)_pkg functions.
Tomas Mlcoch [Fri, 19 Apr 2013 10:37:57 +0000 (12:37 +0200)]
sqlite: Do not recreate tables and triggers while opening existing db.
Tomas Mlcoch [Thu, 18 Apr 2013 13:37:10 +0000 (15:37 +0200)]
c_unittests: Update function names.
Tomas Mlcoch [Mon, 15 Apr 2013 07:01:41 +0000 (09:01 +0200)]
mergerepo_c: Set logging right after cmd args parsing.
Tomas Mlcoch [Mon, 15 Apr 2013 06:42:45 +0000 (08:42 +0200)]
mergerepo_c: Implicitly use --all with --koji.
Tomas Mlcoch [Mon, 15 Apr 2013 06:26:15 +0000 (08:26 +0200)]
Man page update.
Tomas Mlcoch [Thu, 11 Apr 2013 15:31:24 +0000 (17:31 +0200)]
mergerepo_c: little refactoring.
Tomas Mlcoch [Thu, 11 Apr 2013 13:14:24 +0000 (15:14 +0200)]
mergerepo_c: Add --simple-md-filenames and --unique-md-filenames options. (RhBug: 950994)
Tomas Mlcoch [Thu, 11 Apr 2013 12:46:52 +0000 (14:46 +0200)]
mergerepo_c: Always include noarch while mimic koji mergerepos. (RhBug: 950991)
Tomas Mlcoch [Thu, 11 Apr 2013 12:45:02 +0000 (14:45 +0200)]
Add new testing packages to test_data.
Tomas Mlcoch [Thu, 11 Apr 2013 12:42:18 +0000 (14:42 +0200)]
Renamed testing specs.
Tomas Mlcoch [Mon, 8 Apr 2013 07:26:00 +0000 (09:26 +0200)]
Rename cr_package_parser_shutdown to cr_package_parser_cleanup().
Tomas Mlcoch [Mon, 8 Apr 2013 07:24:56 +0000 (09:24 +0200)]
Add missing doc.
Tomas Mlcoch [Mon, 8 Apr 2013 07:23:57 +0000 (09:23 +0200)]
cr_db_info_update is now safe from sqlinjection.
Tomas Mlcoch [Wed, 3 Apr 2013 12:59:49 +0000 (14:59 +0200)]
Code refactoring.
Tomas Mlcoch [Wed, 3 Apr 2013 12:54:41 +0000 (14:54 +0200)]
Add createrepo_c logos.
Tomas Mlcoch [Wed, 3 Apr 2013 12:52:49 +0000 (14:52 +0200)]
Add test spec with diacritics in ISO-8859-1.
Tomas Mlcoch [Mon, 25 Mar 2013 14:30:51 +0000 (15:30 +0100)]
Version bump to 0.1.17
Tomas Mlcoch [Mon, 25 Mar 2013 14:06:59 +0000 (15:06 +0100)]
Convert all strings to UTF-8 while dumping XML. (related RhBug: 920795)
Tomas Mlcoch [Mon, 25 Mar 2013 11:24:50 +0000 (12:24 +0100)]
Add specs with diacritics (two different encoding).
Tomas Mlcoch [Mon, 25 Mar 2013 08:49:49 +0000 (09:49 +0100)]
Fix double free() when old metadata parsing failed. (related to RhBug: 920795)
Tomas Mlcoch [Mon, 11 Mar 2013 09:49:52 +0000 (10:49 +0100)]
Remove creation of empty keyring (BZ 918645).
Tomas Mlcoch [Thu, 7 Mar 2013 07:38:54 +0000 (08:38 +0100)]
Bump to 0.1.16
Tomas Mlcoch [Mon, 4 Mar 2013 14:00:50 +0000 (15:00 +0100)]
Add cr_package_nevra() function.
Tomas Mlcoch [Mon, 4 Mar 2013 11:23:52 +0000 (12:23 +0100)]
Rename constants in the version.h.
Tomas Mlcoch [Mon, 4 Mar 2013 10:11:59 +0000 (11:11 +0100)]
Change the way of #including createrepo_c library.
Tomas Mlcoch [Mon, 4 Mar 2013 08:49:37 +0000 (09:49 +0100)]
cr_MetadataLocation uses only .tmp flag insted of .tmp_dir.
Tomas Mlcoch [Mon, 25 Feb 2013 15:51:43 +0000 (16:51 +0100)]
doc: Add example of usage load_metadata module.
Tomas Mlcoch [Mon, 25 Feb 2013 15:51:20 +0000 (16:51 +0100)]
doc: Add example of usage xml_dump module.
Tomas Mlcoch [Mon, 25 Feb 2013 15:51:02 +0000 (16:51 +0100)]
doc: Add example of usage of sqlite module.
Tomas Mlcoch [Mon, 25 Feb 2013 15:06:45 +0000 (16:06 +0100)]
doc: example of usage for repomd module.
Tomas Mlcoch [Mon, 25 Feb 2013 13:43:43 +0000 (14:43 +0100)]
load_metadata module refactoring
Tomas Mlcoch [Mon, 25 Feb 2013 13:34:13 +0000 (14:34 +0100)]
locate_metadata module refactoring
Tomas Mlcoch [Mon, 25 Feb 2013 13:19:15 +0000 (14:19 +0100)]
parsepkg and parsehdr module refactoring
Tomas Mlcoch [Mon, 25 Feb 2013 12:50:08 +0000 (13:50 +0100)]
repomd module refactoring.
Tomas Mlcoch [Mon, 25 Feb 2013 12:05:03 +0000 (13:05 +0100)]
Doxygen: Use module global \addtogroup instead of \ingroup per function.
Tomas Mlcoch [Mon, 25 Feb 2013 11:23:16 +0000 (12:23 +0100)]
Sqlite module refactoring.
Tomas Mlcoch [Mon, 25 Feb 2013 11:08:17 +0000 (12:08 +0100)]
Remove redundant MODULE constant.
Tomas Mlcoch [Mon, 25 Feb 2013 10:46:14 +0000 (11:46 +0100)]
xml_dump(_.*)? module refactoring
Tomas Mlcoch [Mon, 25 Feb 2013 09:38:01 +0000 (10:38 +0100)]
Fix doxygen doc gen.
Tomas Mlcoch [Mon, 25 Feb 2013 07:53:08 +0000 (08:53 +0100)]
Cmake scripts refactored & README update.
Tomas Mlcoch [Fri, 22 Feb 2013 09:46:22 +0000 (10:46 +0100)]
Use VERSION.cmake for set current version instead of src/version.h.
Tomas Mlcoch [Thu, 21 Feb 2013 15:55:10 +0000 (16:55 +0100)]
Fix memory leak in cr_package_parser_init/shutdown functions.
Tomas Mlcoch [Thu, 21 Feb 2013 15:34:44 +0000 (16:34 +0100)]
More generic repomd module.
Tomas Mlcoch [Mon, 11 Feb 2013 08:06:30 +0000 (09:06 +0100)]
Bump to 0.1.15
Tomas Mlcoch [Mon, 11 Feb 2013 08:03:26 +0000 (09:03 +0100)]
Fix RPM warnings.
Tomas Mlcoch [Thu, 29 Nov 2012 11:20:26 +0000 (12:20 +0100)]
Fix bug in final move from .repodata/ to repodata/
Tomas Mlcoch [Tue, 27 Nov 2012 07:55:44 +0000 (08:55 +0100)]
Bump to 0.1.14
Tomas Mlcoch [Mon, 26 Nov 2012 11:15:42 +0000 (12:15 +0100)]
Use '.' for same directory in database filelist instead of ''
Tomas Mlcoch [Tue, 20 Nov 2012 14:34:31 +0000 (15:34 +0100)]
Bump to 0.1.13
Tomas Mlcoch [Tue, 20 Nov 2012 14:24:42 +0000 (15:24 +0100)]
Fix sigsegv in location_href during buffering
Tomas Mlcoch [Tue, 20 Nov 2012 07:19:07 +0000 (08:19 +0100)]
Add remove of repomd.xml in cr_remove_metadata_classic
Tomas Mlcoch [Thu, 15 Nov 2012 13:20:53 +0000 (14:20 +0100)]
Bump to 0.1.12
Tomas Mlcoch [Thu, 15 Nov 2012 13:15:02 +0000 (14:15 +0100)]
Change in repomd module interface
Tomas Mlcoch [Thu, 15 Nov 2012 12:05:42 +0000 (13:05 +0100)]
Small code refactoring
Tomas Mlcoch [Wed, 14 Nov 2012 09:20:40 +0000 (10:20 +0100)]
Remove trailing '/' from paths in filelists.sqlite
Tomas Mlcoch [Fri, 9 Nov 2012 12:21:41 +0000 (13:21 +0100)]
Add db statement destroy calls
Tomas Mlcoch [Fri, 9 Nov 2012 11:33:57 +0000 (12:33 +0100)]
Update README
Tomas Mlcoch [Fri, 9 Nov 2012 08:52:13 +0000 (09:52 +0100)]
Bump version to 0.1.11
Tomas Mlcoch [Fri, 9 Nov 2012 08:51:48 +0000 (09:51 +0100)]
Update bash completition
Tomas Mlcoch [Fri, 9 Nov 2012 08:33:12 +0000 (09:33 +0100)]
Updated manpages
Tomas Mlcoch [Fri, 9 Nov 2012 08:31:01 +0000 (09:31 +0100)]
Mergerepo support for -g/--groupfile param
Tomas Mlcoch [Thu, 8 Nov 2012 14:57:21 +0000 (15:57 +0100)]
Better atomicity of moving .repodata/ -> repodata/
Tomas Mlcoch [Thu, 8 Nov 2012 14:56:33 +0000 (15:56 +0100)]
Small change of repomd module interface
Tomas Mlcoch [Wed, 7 Nov 2012 15:21:33 +0000 (16:21 +0100)]
Mergerepo support (koji) mergerepos behaviour
Tomas Mlcoch [Wed, 7 Nov 2012 15:04:52 +0000 (16:04 +0100)]
Add support for pkgorigins into the repomd module
Tomas Mlcoch [Wed, 7 Nov 2012 15:04:15 +0000 (16:04 +0100)]
Add cr_package_nvra function
Tomas Mlcoch [Wed, 7 Nov 2012 15:03:43 +0000 (16:03 +0100)]
Add parenthesis to macro in load_metadata
Tomas Mlcoch [Wed, 7 Nov 2012 09:35:38 +0000 (10:35 +0100)]
add cr_cmp_evr into the misc
Tomas Mlcoch [Tue, 6 Nov 2012 08:45:14 +0000 (09:45 +0100)]
Add cr_split_rpm_filename into the misc module
Tomas Mlcoch [Tue, 6 Nov 2012 08:44:22 +0000 (09:44 +0100)]
Update unittest for load_metadata
Tomas Mlcoch [Wed, 31 Oct 2012 12:28:58 +0000 (13:28 +0100)]
Remove some debug output
Tomas Mlcoch [Tue, 30 Oct 2012 15:04:10 +0000 (16:04 +0100)]
Mergerepo small code refactoring
Tomas Mlcoch [Tue, 30 Oct 2012 13:12:07 +0000 (14:12 +0100)]
mergerepo output metadata are sorted since now
Tomas Mlcoch [Mon, 29 Oct 2012 11:49:19 +0000 (12:49 +0100)]
Add buffer for tasks into the dumper thread in createrepo