services/createrepo_c.git
11 years agotests: Add fixtures.h with common constants and other global stuff.
Tomas Mlcoch [Mon, 13 May 2013 10:57:03 +0000 (12:57 +0200)]
tests: Add fixtures.h with common constants and other global stuff.

11 years agoUpdate requires in README.md.
Tomas Mlcoch [Mon, 13 May 2013 07:57:06 +0000 (09:57 +0200)]
Update requires in README.md.

11 years agoUpdate c tests
Tomas Mlcoch [Thu, 9 May 2013 12:44:04 +0000 (14:44 +0200)]
Update c tests

11 years agoload_metadata: Add GError support.
Tomas Mlcoch [Thu, 9 May 2013 12:41:59 +0000 (14:41 +0200)]
load_metadata: Add GError support.

11 years agoparsepkg: Add GError support.
Tomas Mlcoch [Thu, 9 May 2013 09:21:07 +0000 (11:21 +0200)]
parsepkg: Add GError support.

11 years agoparsehdr: Add GError support.
Tomas Mlcoch [Thu, 9 May 2013 08:19:01 +0000 (10:19 +0200)]
parsehdr: Add GError support.

11 years agorepomd: cr_repomd_record_groupfile rename to cr_repomd_record_compress_and_fill
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

11 years agoSmall refactoring
Tomas Mlcoch [Thu, 9 May 2013 06:51:46 +0000 (08:51 +0200)]
Small refactoring

11 years agoFirst stage of improved error handling
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.

11 years agopy: Fix num type conversion in repomd record setters.
Tomas Mlcoch [Wed, 8 May 2013 11:41:10 +0000 (13:41 +0200)]
py: Fix num type conversion in repomd record setters.

11 years agopytests: Exclude time_file value from tests.
Tomas Mlcoch [Wed, 8 May 2013 11:37:26 +0000 (13:37 +0200)]
pytests: Exclude time_file value from tests.

11 years agoPython: Experimantal implementation of Python bindings + tests.
Tomas Mlcoch [Mon, 6 May 2013 12:04:22 +0000 (14:04 +0200)]
Python: Experimantal implementation of Python bindings + tests.

11 years agopackage: Add cr_package_copy method.
Tomas Mlcoch [Mon, 6 May 2013 10:06:14 +0000 (12:06 +0200)]
package: Add cr_package_copy method.

11 years agocr_safe_string_chunk_insert moved from parsehdr into the misc module.
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.

11 years agorepomd: fix comments in header file.
Tomas Mlcoch [Mon, 22 Apr 2013 12:05:43 +0000 (14:05 +0200)]
repomd: fix comments in header file.

11 years agosqlite: Refactoring.
Tomas Mlcoch [Mon, 22 Apr 2013 08:04:23 +0000 (10:04 +0200)]
sqlite: Refactoring.

11 years agosqlite: Add err object to cr_db_add_(primary|filelists|other)_pkg functions.
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.

11 years agosqlite: Do not recreate tables and triggers while opening existing db.
Tomas Mlcoch [Fri, 19 Apr 2013 10:37:57 +0000 (12:37 +0200)]
sqlite: Do not recreate tables and triggers while opening existing db.

11 years agoc_unittests: Update function names.
Tomas Mlcoch [Thu, 18 Apr 2013 13:37:10 +0000 (15:37 +0200)]
c_unittests: Update function names.

11 years agomergerepo_c: Set logging right after cmd args parsing.
Tomas Mlcoch [Mon, 15 Apr 2013 07:01:41 +0000 (09:01 +0200)]
mergerepo_c: Set logging right after cmd args parsing.

11 years agomergerepo_c: Implicitly use --all with --koji.
Tomas Mlcoch [Mon, 15 Apr 2013 06:42:45 +0000 (08:42 +0200)]
mergerepo_c: Implicitly use --all with --koji.

11 years agoMan page update.
Tomas Mlcoch [Mon, 15 Apr 2013 06:26:15 +0000 (08:26 +0200)]
Man page update.

11 years agomergerepo_c: little refactoring.
Tomas Mlcoch [Thu, 11 Apr 2013 15:31:24 +0000 (17:31 +0200)]
mergerepo_c: little refactoring.

11 years agomergerepo_c: Add --simple-md-filenames and --unique-md-filenames options. (RhBug...
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)

11 years agomergerepo_c: Always include noarch while mimic koji mergerepos. (RhBug: 950991)
Tomas Mlcoch [Thu, 11 Apr 2013 12:46:52 +0000 (14:46 +0200)]
mergerepo_c: Always include noarch while mimic koji mergerepos. (RhBug: 950991)

11 years agoAdd new testing packages to test_data.
Tomas Mlcoch [Thu, 11 Apr 2013 12:45:02 +0000 (14:45 +0200)]
Add new testing packages to test_data.

11 years agoRenamed testing specs.
Tomas Mlcoch [Thu, 11 Apr 2013 12:42:18 +0000 (14:42 +0200)]
Renamed testing specs.

11 years agoRename cr_package_parser_shutdown to cr_package_parser_cleanup().
Tomas Mlcoch [Mon, 8 Apr 2013 07:26:00 +0000 (09:26 +0200)]
Rename cr_package_parser_shutdown to cr_package_parser_cleanup().

11 years agoAdd missing doc.
Tomas Mlcoch [Mon, 8 Apr 2013 07:24:56 +0000 (09:24 +0200)]
Add missing doc.

11 years agocr_db_info_update is now safe from sqlinjection.
Tomas Mlcoch [Mon, 8 Apr 2013 07:23:57 +0000 (09:23 +0200)]
cr_db_info_update is now safe from sqlinjection.

11 years agoCode refactoring.
Tomas Mlcoch [Wed, 3 Apr 2013 12:59:49 +0000 (14:59 +0200)]
Code refactoring.

11 years agoAdd createrepo_c logos.
Tomas Mlcoch [Wed, 3 Apr 2013 12:54:41 +0000 (14:54 +0200)]
Add createrepo_c logos.

11 years agoAdd test spec with diacritics in ISO-8859-1.
Tomas Mlcoch [Wed, 3 Apr 2013 12:52:49 +0000 (14:52 +0200)]
Add test spec with diacritics in ISO-8859-1.

11 years agoVersion bump to 0.1.17
Tomas Mlcoch [Mon, 25 Mar 2013 14:30:51 +0000 (15:30 +0100)]
Version bump to 0.1.17

11 years agoConvert all strings to UTF-8 while dumping XML. (related RhBug: 920795)
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)

11 years agoAdd specs with diacritics (two different encoding).
Tomas Mlcoch [Mon, 25 Mar 2013 11:24:50 +0000 (12:24 +0100)]
Add specs with diacritics (two different encoding).

11 years agoFix double free() when old metadata parsing failed. (related to RhBug: 920795)
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)

11 years agoRemove creation of empty keyring (BZ 918645).
Tomas Mlcoch [Mon, 11 Mar 2013 09:49:52 +0000 (10:49 +0100)]
Remove creation of empty keyring (BZ 918645).

11 years agoBump to 0.1.16
Tomas Mlcoch [Thu, 7 Mar 2013 07:38:54 +0000 (08:38 +0100)]
Bump to 0.1.16

11 years agoAdd cr_package_nevra() function.
Tomas Mlcoch [Mon, 4 Mar 2013 14:00:50 +0000 (15:00 +0100)]
Add cr_package_nevra() function.

11 years agoRename constants in the version.h.
Tomas Mlcoch [Mon, 4 Mar 2013 11:23:52 +0000 (12:23 +0100)]
Rename constants in the version.h.

11 years agoChange the way of #including createrepo_c library.
Tomas Mlcoch [Mon, 4 Mar 2013 10:11:59 +0000 (11:11 +0100)]
Change the way of #including createrepo_c library.

11 years agocr_MetadataLocation uses only .tmp flag insted of .tmp_dir.
Tomas Mlcoch [Mon, 4 Mar 2013 08:49:37 +0000 (09:49 +0100)]
cr_MetadataLocation uses only .tmp flag insted of .tmp_dir.

11 years agodoc: Add example of usage load_metadata module.
Tomas Mlcoch [Mon, 25 Feb 2013 15:51:43 +0000 (16:51 +0100)]
doc: Add example of usage load_metadata module.

11 years agodoc: Add example of usage xml_dump module.
Tomas Mlcoch [Mon, 25 Feb 2013 15:51:20 +0000 (16:51 +0100)]
doc: Add example of usage xml_dump module.

11 years agodoc: Add example of usage of sqlite module.
Tomas Mlcoch [Mon, 25 Feb 2013 15:51:02 +0000 (16:51 +0100)]
doc: Add example of usage of sqlite module.

11 years agodoc: example of usage for repomd module.
Tomas Mlcoch [Mon, 25 Feb 2013 15:06:45 +0000 (16:06 +0100)]
doc: example of usage for repomd module.

11 years agoload_metadata module refactoring
Tomas Mlcoch [Mon, 25 Feb 2013 13:43:43 +0000 (14:43 +0100)]
load_metadata module refactoring

11 years agolocate_metadata module refactoring
Tomas Mlcoch [Mon, 25 Feb 2013 13:34:13 +0000 (14:34 +0100)]
locate_metadata module refactoring

11 years agoparsepkg and parsehdr module refactoring
Tomas Mlcoch [Mon, 25 Feb 2013 13:19:15 +0000 (14:19 +0100)]
parsepkg and parsehdr module refactoring

11 years agorepomd module refactoring.
Tomas Mlcoch [Mon, 25 Feb 2013 12:50:08 +0000 (13:50 +0100)]
repomd module refactoring.

11 years agoDoxygen: Use module global \addtogroup instead of \ingroup per function.
Tomas Mlcoch [Mon, 25 Feb 2013 12:05:03 +0000 (13:05 +0100)]
Doxygen: Use module global \addtogroup instead of \ingroup per function.

11 years agoSqlite module refactoring.
Tomas Mlcoch [Mon, 25 Feb 2013 11:23:16 +0000 (12:23 +0100)]
Sqlite module refactoring.

11 years agoRemove redundant MODULE constant.
Tomas Mlcoch [Mon, 25 Feb 2013 11:08:17 +0000 (12:08 +0100)]
Remove redundant MODULE constant.

11 years agoxml_dump(_.*)? module refactoring
Tomas Mlcoch [Mon, 25 Feb 2013 10:46:14 +0000 (11:46 +0100)]
xml_dump(_.*)? module refactoring

11 years agoFix doxygen doc gen.
Tomas Mlcoch [Mon, 25 Feb 2013 09:38:01 +0000 (10:38 +0100)]
Fix doxygen doc gen.

11 years agoCmake scripts refactored & README update.
Tomas Mlcoch [Mon, 25 Feb 2013 07:53:08 +0000 (08:53 +0100)]
Cmake scripts refactored & README update.

11 years agoUse VERSION.cmake for set current version instead of src/version.h.
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.

11 years agoFix memory leak in cr_package_parser_init/shutdown functions.
Tomas Mlcoch [Thu, 21 Feb 2013 15:55:10 +0000 (16:55 +0100)]
Fix memory leak in cr_package_parser_init/shutdown functions.

11 years agoMore generic repomd module.
Tomas Mlcoch [Thu, 21 Feb 2013 15:34:44 +0000 (16:34 +0100)]
More generic repomd module.

11 years agoBump to 0.1.15
Tomas Mlcoch [Mon, 11 Feb 2013 08:06:30 +0000 (09:06 +0100)]
Bump to 0.1.15

11 years agoFix RPM warnings.
Tomas Mlcoch [Mon, 11 Feb 2013 08:03:26 +0000 (09:03 +0100)]
Fix RPM warnings.

11 years agoFix bug in final move from .repodata/ to repodata/
Tomas Mlcoch [Thu, 29 Nov 2012 11:20:26 +0000 (12:20 +0100)]
Fix bug in final move from .repodata/ to repodata/

11 years agoBump to 0.1.14
Tomas Mlcoch [Tue, 27 Nov 2012 07:55:44 +0000 (08:55 +0100)]
Bump to 0.1.14

11 years agoUse '.' for same directory in database filelist instead of ''
Tomas Mlcoch [Mon, 26 Nov 2012 11:15:42 +0000 (12:15 +0100)]
Use '.' for same directory in database filelist instead of ''

11 years agoBump to 0.1.13
Tomas Mlcoch [Tue, 20 Nov 2012 14:34:31 +0000 (15:34 +0100)]
Bump to 0.1.13

11 years agoFix sigsegv in location_href during buffering
Tomas Mlcoch [Tue, 20 Nov 2012 14:24:42 +0000 (15:24 +0100)]
Fix sigsegv in location_href during buffering

11 years agoAdd remove of repomd.xml in cr_remove_metadata_classic
Tomas Mlcoch [Tue, 20 Nov 2012 07:19:07 +0000 (08:19 +0100)]
Add remove of repomd.xml in cr_remove_metadata_classic

11 years agoBump to 0.1.12
Tomas Mlcoch [Thu, 15 Nov 2012 13:20:53 +0000 (14:20 +0100)]
Bump to 0.1.12

11 years agoChange in repomd module interface
Tomas Mlcoch [Thu, 15 Nov 2012 13:15:02 +0000 (14:15 +0100)]
Change in repomd module interface

11 years agoSmall code refactoring
Tomas Mlcoch [Thu, 15 Nov 2012 12:05:42 +0000 (13:05 +0100)]
Small code refactoring

11 years agoRemove trailing '/' from paths in filelists.sqlite
Tomas Mlcoch [Wed, 14 Nov 2012 09:20:40 +0000 (10:20 +0100)]
Remove trailing '/' from paths in filelists.sqlite

12 years agoAdd db statement destroy calls
Tomas Mlcoch [Fri, 9 Nov 2012 12:21:41 +0000 (13:21 +0100)]
Add db statement destroy calls

12 years agoUpdate README
Tomas Mlcoch [Fri, 9 Nov 2012 11:33:57 +0000 (12:33 +0100)]
Update README

12 years agoBump version to 0.1.11
Tomas Mlcoch [Fri, 9 Nov 2012 08:52:13 +0000 (09:52 +0100)]
Bump version to 0.1.11

12 years agoUpdate bash completition
Tomas Mlcoch [Fri, 9 Nov 2012 08:51:48 +0000 (09:51 +0100)]
Update bash completition

12 years agoUpdated manpages
Tomas Mlcoch [Fri, 9 Nov 2012 08:33:12 +0000 (09:33 +0100)]
Updated manpages

12 years agoMergerepo support for -g/--groupfile param
Tomas Mlcoch [Fri, 9 Nov 2012 08:31:01 +0000 (09:31 +0100)]
Mergerepo support for -g/--groupfile param

12 years agoBetter atomicity of moving .repodata/ -> repodata/
Tomas Mlcoch [Thu, 8 Nov 2012 14:57:21 +0000 (15:57 +0100)]
Better atomicity of moving .repodata/ -> repodata/

12 years agoSmall change of repomd module interface
Tomas Mlcoch [Thu, 8 Nov 2012 14:56:33 +0000 (15:56 +0100)]
Small change of repomd module interface

12 years agoMergerepo support (koji) mergerepos behaviour
Tomas Mlcoch [Wed, 7 Nov 2012 15:21:33 +0000 (16:21 +0100)]
Mergerepo support (koji) mergerepos behaviour

12 years agoAdd support for pkgorigins into the repomd module
Tomas Mlcoch [Wed, 7 Nov 2012 15:04:52 +0000 (16:04 +0100)]
Add support for pkgorigins into the repomd module

12 years agoAdd cr_package_nvra function
Tomas Mlcoch [Wed, 7 Nov 2012 15:04:15 +0000 (16:04 +0100)]
Add cr_package_nvra function

12 years agoAdd parenthesis to macro in load_metadata
Tomas Mlcoch [Wed, 7 Nov 2012 15:03:43 +0000 (16:03 +0100)]
Add parenthesis to macro in load_metadata

12 years agoadd cr_cmp_evr into the misc
Tomas Mlcoch [Wed, 7 Nov 2012 09:35:38 +0000 (10:35 +0100)]
add cr_cmp_evr into the misc

12 years agoAdd cr_split_rpm_filename into the misc module
Tomas Mlcoch [Tue, 6 Nov 2012 08:45:14 +0000 (09:45 +0100)]
Add cr_split_rpm_filename into the misc module

12 years agoUpdate unittest for load_metadata
Tomas Mlcoch [Tue, 6 Nov 2012 08:44:22 +0000 (09:44 +0100)]
Update unittest for load_metadata

12 years agoRemove some debug output
Tomas Mlcoch [Wed, 31 Oct 2012 12:28:58 +0000 (13:28 +0100)]
Remove some debug output

12 years agoMergerepo small code refactoring
Tomas Mlcoch [Tue, 30 Oct 2012 15:04:10 +0000 (16:04 +0100)]
Mergerepo small code refactoring

12 years agomergerepo output metadata are sorted since now
Tomas Mlcoch [Tue, 30 Oct 2012 13:12:07 +0000 (14:12 +0100)]
mergerepo output metadata are sorted since now

12 years agoAdd buffer for tasks into the dumper thread in createrepo
Tomas Mlcoch [Mon, 29 Oct 2012 11:49:19 +0000 (12:49 +0100)]
Add buffer for tasks into the dumper thread in createrepo

12 years agoAdd determinism to output package order
Tomas Mlcoch [Tue, 23 Oct 2012 13:31:17 +0000 (15:31 +0200)]
Add determinism to output package order

12 years agoFilling of pool moved into the funcion
Tomas Mlcoch [Tue, 23 Oct 2012 11:23:44 +0000 (13:23 +0200)]
Filling of pool moved into the funcion

12 years agouse .repodata while gen in mergerepo
Tomas Mlcoch [Mon, 22 Oct 2012 09:02:27 +0000 (11:02 +0200)]
use .repodata while gen in mergerepo

12 years agoSmall changes in message logging
Tomas Mlcoch [Thu, 4 Oct 2012 10:31:03 +0000 (12:31 +0200)]
Small changes in message logging

12 years agoBump to 0.1.10
Tomas Mlcoch [Wed, 3 Oct 2012 10:48:05 +0000 (12:48 +0200)]
Bump to 0.1.10

12 years agoFix bug in get_version.py util script
Tomas Mlcoch [Wed, 3 Oct 2012 10:37:33 +0000 (12:37 +0200)]
Fix bug in get_version.py util script

12 years agoAccept --checksum=sha for sha1 checksum
Tomas Mlcoch [Wed, 12 Sep 2012 14:27:17 +0000 (16:27 +0200)]
Accept --checksum=sha for sha1 checksum

12 years agoFix compatibility issues with old glib2
Tomas Mlcoch [Tue, 11 Sep 2012 08:05:25 +0000 (10:05 +0200)]
Fix compatibility issues with old glib2

12 years agoAdd --pretty argument (for compatibility)
Tomas Mlcoch [Mon, 10 Sep 2012 07:19:39 +0000 (09:19 +0200)]
Add --pretty argument (for compatibility)