services/createrepo_c.git
12 years agoUpdate CMakeLists to install development files.
Tomas Mlcoch [Fri, 20 Jul 2012 08:05:38 +0000 (10:05 +0200)]
Update CMakeLists to install development files.

12 years agoC89 comments in headers
Tomas Mlcoch [Thu, 19 Jul 2012 09:30:55 +0000 (11:30 +0200)]
C89 comments in headers

12 years agoMake public headers usable with C++
Tomas Mlcoch [Thu, 19 Jul 2012 09:25:15 +0000 (11:25 +0200)]
Make public headers usable with C++

12 years agoFunction rename
Tomas Mlcoch [Wed, 18 Jul 2012 12:45:13 +0000 (14:45 +0200)]
Function rename
free_package_parser -> package_parser_shutdown()
init_package_parser -> package_parser_init()

12 years agoAdd authors of db.c from yum-metadata-parser into the sqlite module.
Tomas Mlcoch [Tue, 3 Jul 2012 10:50:31 +0000 (12:50 +0200)]
Add authors of db.c from yum-metadata-parser into the sqlite module.

12 years agoDefinition of is_primary moved into the header file
Tomas Mlcoch [Tue, 3 Jul 2012 08:57:54 +0000 (10:57 +0200)]
Definition of is_primary moved into the header file

12 years agoFix mergerepo_c logging + logging functions moved into the misc module
Tomas Mlcoch [Tue, 3 Jul 2012 08:02:04 +0000 (10:02 +0200)]
Fix mergerepo_c logging + logging functions moved into the misc module

12 years agoFix some uninitialized variables
Tomas Mlcoch [Wed, 27 Jun 2012 15:03:59 +0000 (17:03 +0200)]
Fix some uninitialized variables

12 years agoRemove 'NOT IMPLEMENTED' note from --database option
Tomas Mlcoch [Wed, 27 Jun 2012 14:36:37 +0000 (16:36 +0200)]
Remove 'NOT IMPLEMENTED' note from --database option

12 years agoSQLite optimalization
Tomas Mlcoch [Wed, 27 Jun 2012 14:35:10 +0000 (16:35 +0200)]
SQLite optimalization

12 years agoImproved logging
Tomas Mlcoch [Wed, 27 Jun 2012 11:53:48 +0000 (13:53 +0200)]
Improved logging

12 years agocreaterepo_c support --compress-type param
Tomas Mlcoch [Wed, 27 Jun 2012 08:52:12 +0000 (10:52 +0200)]
createrepo_c support --compress-type param

12 years agoBetter compression factor for BZ2 by default
Tomas Mlcoch [Wed, 27 Jun 2012 08:23:59 +0000 (10:23 +0200)]
Better compression factor for BZ2 by default

12 years agoAdd bash completion script
Tomas Mlcoch [Tue, 26 Jun 2012 15:07:16 +0000 (17:07 +0200)]
Add bash completion script

12 years agoadd option for ignoring sqlite db into the get_metadata_location
Tomas Mlcoch [Tue, 26 Jun 2012 14:12:13 +0000 (16:12 +0200)]
add option for ignoring sqlite db into the get_metadata_location

12 years agoSupport for SQLite metadata DB + new repomd module interface
Tomas Mlcoch [Tue, 26 Jun 2012 11:16:47 +0000 (13:16 +0200)]
Support for SQLite metadata DB + new repomd module interface

12 years agoUnittests for SQLite module
Tomas Mlcoch [Tue, 26 Jun 2012 11:15:20 +0000 (13:15 +0200)]
Unittests for SQLite module

12 years agoAdd SQLite module
Tomas Mlcoch [Tue, 26 Jun 2012 11:14:38 +0000 (13:14 +0200)]
Add SQLite module

12 years agouse warning insted of critical messages in parsepkg module
Tomas Mlcoch [Tue, 26 Jun 2012 11:06:47 +0000 (13:06 +0200)]
use warning insted of critical messages in parsepkg module

12 years agoxml_dump* modules now checks if package is NULL
Tomas Mlcoch [Tue, 26 Jun 2012 11:05:55 +0000 (13:05 +0200)]
xml_dump* modules now checks if package is NULL

12 years agoUse NULL instead of empty string in some cases in load_metadata
Tomas Mlcoch [Tue, 26 Jun 2012 07:38:16 +0000 (09:38 +0200)]
Use NULL instead of empty string in some cases in load_metadata

12 years agoFix usage of the BZ2_bzRead() in the cw_read()
Tomas Mlcoch [Mon, 25 Jun 2012 13:14:47 +0000 (15:14 +0200)]
Fix usage of the BZ2_bzRead() in the cw_read()

12 years agoFix detect_compression
Tomas Mlcoch [Thu, 21 Jun 2012 07:26:38 +0000 (09:26 +0200)]
Fix detect_compression

12 years agoAdd package_from_file function into the parsepkg module
Tomas Mlcoch [Wed, 20 Jun 2012 13:55:27 +0000 (15:55 +0200)]
Add package_from_file function into the parsepkg module

12 years agoflag_to_string could returns NULL
Tomas Mlcoch [Wed, 20 Jun 2012 12:07:35 +0000 (14:07 +0200)]
flag_to_string could returns NULL

12 years agoAdd compress_file function into the misc module
Tomas Mlcoch [Wed, 20 Jun 2012 07:32:46 +0000 (09:32 +0200)]
Add compress_file function into the misc module

12 years agoAdd some files used by tests
Tomas Mlcoch [Mon, 11 Jun 2012 14:48:47 +0000 (16:48 +0200)]
Add some files used by tests

12 years agoAdd FindLZMA CMake module
Tomas Mlcoch [Mon, 11 Jun 2012 14:45:56 +0000 (16:45 +0200)]
Add FindLZMA CMake module

12 years agoBumb version to 0.1.5
Tomas Mlcoch [Mon, 11 Jun 2012 13:24:10 +0000 (15:24 +0200)]
Bumb version to 0.1.5

12 years agoFix merging repos with groupfile in mergerepo_c
Tomas Mlcoch [Mon, 11 Jun 2012 13:10:29 +0000 (15:10 +0200)]
Fix merging repos with groupfile in mergerepo_c

12 years agoAdd support for different compression for groupfile into the repomd module
Tomas Mlcoch [Mon, 11 Jun 2012 12:31:29 +0000 (14:31 +0200)]
Add support for different compression for groupfile into the repomd module

12 years agoModified mergerepo_c behaviour with the --compress-type param
Tomas Mlcoch [Mon, 11 Jun 2012 12:11:07 +0000 (14:11 +0200)]
Modified mergerepo_c behaviour with the --compress-type param

12 years agoAdd support for xz compression (--xz param) into the createrepo_c
Tomas Mlcoch [Mon, 11 Jun 2012 11:19:07 +0000 (13:19 +0200)]
Add support for xz compression (--xz param) into the createrepo_c

12 years agoUpdate remove_metadata function to support xz
Tomas Mlcoch [Mon, 11 Jun 2012 11:18:30 +0000 (13:18 +0200)]
Update remove_metadata function to support xz

12 years agoAdd tests for XZ compression
Tomas Mlcoch [Mon, 11 Jun 2012 10:22:27 +0000 (12:22 +0200)]
Add tests for XZ compression

12 years agoAdd support for XZ compression to the compression_wrapper module
Tomas Mlcoch [Mon, 11 Jun 2012 10:21:47 +0000 (12:21 +0200)]
Add support for XZ compression to the compression_wrapper module

12 years agoUnversioned .so excluded from installation.
Tomas Mlcoch [Mon, 11 Jun 2012 07:42:27 +0000 (09:42 +0200)]
Unversioned .so excluded from installation.

12 years agoAdd not thread safe warning into the comment
Tomas Mlcoch [Tue, 5 Jun 2012 11:31:13 +0000 (13:31 +0200)]
Add not thread safe warning into the comment

12 years agoOpen mode moved from constants into the enum.
Tomas Mlcoch [Tue, 5 Jun 2012 11:27:53 +0000 (13:27 +0200)]
Open mode moved from constants into the enum.

12 years agoAdd doxygen comments into header files. Add doc target into the Makefile.
Tomas Mlcoch [Tue, 5 Jun 2012 11:07:28 +0000 (13:07 +0200)]
Add doxygen comments into header files. Add doc target into the Makefile.

12 years agoBumb version to 0.1.4
Tomas Mlcoch [Mon, 4 Jun 2012 12:22:42 +0000 (14:22 +0200)]
Bumb version to 0.1.4

12 years agoAdd initialization for 'key' variable.
Tomas Mlcoch [Mon, 4 Jun 2012 13:06:23 +0000 (15:06 +0200)]
Add initialization for 'key' variable.

12 years agoManpage update
Tomas Mlcoch [Mon, 4 Jun 2012 08:45:58 +0000 (10:45 +0200)]
Manpage update

12 years agoAdd --noarch-repo param to mergerepo_c
Tomas Mlcoch [Mon, 4 Jun 2012 08:35:32 +0000 (10:35 +0200)]
Add --noarch-repo param to mergerepo_c

12 years agoAdd --all param to mergerepo_c
Tomas Mlcoch [Thu, 31 May 2012 10:59:03 +0000 (12:59 +0200)]
Add --all param to mergerepo_c

12 years agoAdd --method param to mergerepo_c
Tomas Mlcoch [Thu, 31 May 2012 10:37:14 +0000 (12:37 +0200)]
Add --method param to mergerepo_c

12 years agoAdd str_to_version and cmp_version_string into the misc module
Tomas Mlcoch [Thu, 31 May 2012 08:59:37 +0000 (10:59 +0200)]
Add str_to_version and cmp_version_string into the misc module

12 years agostruct VersionStruct renamed to struct EVR
Tomas Mlcoch [Thu, 31 May 2012 07:53:14 +0000 (09:53 +0200)]
struct VersionStruct renamed to struct EVR

12 years agoAdd debug flags for CMAKE_BUILD_TYPE DEBUG
Tomas Mlcoch [Tue, 29 May 2012 15:07:49 +0000 (17:07 +0200)]
Add debug flags for CMAKE_BUILD_TYPE  DEBUG

12 years agoTry load repodata from output dir if specified while --update.
Tomas Mlcoch [Tue, 29 May 2012 14:57:37 +0000 (16:57 +0200)]
Try load repodata from output dir if specified while --update.

12 years agoUpdate README - Add differences in behaviour between createrepo and createrepo_c
Tomas Mlcoch [Tue, 29 May 2012 14:20:09 +0000 (16:20 +0200)]
Update README - Add differences in behaviour between createrepo and createrepo_c

12 years agoFix pattern matching behaviour for --excludes param
Tomas Mlcoch [Tue, 29 May 2012 14:19:30 +0000 (16:19 +0200)]
Fix pattern matching behaviour for --excludes param

12 years agoFix double free while use --excludes param.
Tomas Mlcoch [Mon, 28 May 2012 11:42:09 +0000 (13:42 +0200)]
Fix double free while use --excludes param.

12 years agoAdd some forgotten license headers
Tomas Mlcoch [Mon, 28 May 2012 10:32:11 +0000 (12:32 +0200)]
Add some forgotten license headers

12 years agoAdd handling into mergerepo if download of repodata failed
Tomas Mlcoch [Mon, 28 May 2012 08:01:59 +0000 (10:01 +0200)]
Add handling into mergerepo if download of repodata failed

12 years agoAdd check if input directory exist
Tomas Mlcoch [Mon, 28 May 2012 07:47:29 +0000 (09:47 +0200)]
Add check if input directory exist

12 years agoChange version
Tomas Mlcoch [Mon, 28 May 2012 07:31:49 +0000 (09:31 +0200)]
Change version

12 years agoSet RelWithDebInfo as default cmake build type
Tomas Mlcoch [Mon, 28 May 2012 07:29:28 +0000 (09:29 +0200)]
Set RelWithDebInfo as default cmake build type

12 years agofix make_tarball_from_git.sh
Tomas Mlcoch [Thu, 24 May 2012 10:18:04 +0000 (12:18 +0200)]
fix make_tarball_from_git.sh

12 years agoTarball by xz instead bz2
Tomas Mlcoch [Thu, 24 May 2012 09:57:56 +0000 (11:57 +0200)]
Tarball by xz instead bz2

12 years agoAdd automatic version detection into release scripts and cmake scripts
Tomas Mlcoch [Thu, 24 May 2012 09:43:12 +0000 (11:43 +0200)]
Add automatic version detection into release scripts and cmake scripts

12 years agoAdd get_version.py script into utils
Tomas Mlcoch [Thu, 24 May 2012 09:10:53 +0000 (11:10 +0200)]
Add get_version.py script into utils

12 years agoAdd version.h
Tomas Mlcoch [Thu, 24 May 2012 08:47:05 +0000 (10:47 +0200)]
Add version.h

12 years agoAdd headers with LGPL2.1 license
Tomas Mlcoch [Wed, 23 May 2012 13:24:43 +0000 (15:24 +0200)]
Add headers with LGPL2.1 license

12 years agoFix remove_metadata in locate_metadata
Tomas Mlcoch [Tue, 22 May 2012 08:04:59 +0000 (10:04 +0200)]
Fix remove_metadata in locate_metadata

12 years agoFix RPATH stuff in cmake
Tomas Mlcoch [Tue, 22 May 2012 07:52:02 +0000 (09:52 +0200)]
Fix RPATH stuff in cmake

12 years agoAnother fixes in release scripts
Tomas Mlcoch [Thu, 10 May 2012 12:18:14 +0000 (14:18 +0200)]
Another fixes in release scripts

12 years agoFix address in license file
Tomas Mlcoch [Thu, 10 May 2012 11:37:22 +0000 (13:37 +0200)]
Fix address in license file

12 years agoAdd target tests into the Makefile
Tomas Mlcoch [Thu, 10 May 2012 11:14:56 +0000 (13:14 +0200)]
Add target tests into the Makefile

12 years agoFix a lot of release related stuff (CMakeLists, release script in utils/, ...)
Tomas Mlcoch [Thu, 10 May 2012 09:40:27 +0000 (11:40 +0200)]
Fix a lot of release related stuff (CMakeLists, release script in utils/, ...)

12 years agoFix bug in make_rpm.sh script
Tomas Mlcoch [Thu, 10 May 2012 08:12:41 +0000 (10:12 +0200)]
Fix bug in make_rpm.sh script

12 years agoFix base_path in mergerepo
Tomas Mlcoch [Wed, 9 May 2012 11:41:22 +0000 (13:41 +0200)]
Fix base_path in mergerepo

12 years agoBetter repo loading/downloading in mergerepo
Tomas Mlcoch [Wed, 9 May 2012 10:17:22 +0000 (12:17 +0200)]
Better repo loading/downloading in mergerepo

12 years agoAdd support for remote (ftp://, http://, ...) groupfile in param
Tomas Mlcoch [Wed, 9 May 2012 09:58:58 +0000 (11:58 +0200)]
Add support for remote (ftp://, , ...) groupfile in param

12 years agoAdd download and better_copy_file functions into the misc module
Tomas Mlcoch [Wed, 9 May 2012 09:45:42 +0000 (11:45 +0200)]
Add download and better_copy_file functions into the misc module

12 years agoClean up misc.c module
Tomas Mlcoch [Tue, 24 Apr 2012 10:35:37 +0000 (12:35 +0200)]
Clean up misc.c module

12 years agoAdd unittest for misc.c module
Tomas Mlcoch [Tue, 24 Apr 2012 10:33:43 +0000 (12:33 +0200)]
Add unittest for misc.c module

12 years agoFix libc.so filtering for requires list in parsehdr.c
Tomas Mlcoch [Tue, 17 Apr 2012 15:03:03 +0000 (17:03 +0200)]
Fix libc.so filtering for requires list in parsehdr.c

12 years agoFix check of return value from load_metadata.
Tomas Mlcoch [Tue, 17 Apr 2012 14:31:47 +0000 (16:31 +0200)]
Fix check of return value from load_metadata.

12 years agoAdd unittest for load_metadata module.
Tomas Mlcoch [Tue, 17 Apr 2012 14:23:20 +0000 (16:23 +0200)]
Add unittest for load_metadata module.

12 years agoload_metadata.h: Add return value constants
Tomas Mlcoch [Tue, 17 Apr 2012 14:21:15 +0000 (16:21 +0200)]
load_metadata.h: Add return value constants

12 years agoAdd spec files of fake packages for testing purposes
Tomas Mlcoch [Tue, 17 Apr 2012 13:57:51 +0000 (15:57 +0200)]
Add spec files of fake packages for testing purposes

12 years agoUpdate .gitignore
Tomas Mlcoch [Tue, 17 Apr 2012 12:07:31 +0000 (14:07 +0200)]
Update .gitignore

12 years agoAdd CMakeLists.txt into tests
Tomas Mlcoch [Tue, 17 Apr 2012 12:07:11 +0000 (14:07 +0200)]
Add CMakeLists.txt into tests

12 years agoRemove ctests directory.
Tomas Mlcoch [Tue, 17 Apr 2012 11:54:23 +0000 (13:54 +0200)]
Remove ctests directory.

12 years agoAdd unittest for compression_wrapper
Tomas Mlcoch [Tue, 17 Apr 2012 11:49:34 +0000 (13:49 +0200)]
Add unittest for compression_wrapper

12 years agoDefinition of UNUSED macro moved into misc.h
Tomas Mlcoch [Tue, 17 Apr 2012 10:31:16 +0000 (12:31 +0200)]
Definition of UNUSED macro moved into misc.h

12 years agoUse MAGIC_MIME instead of MAGIC_MIME_TYPE.
Tomas Mlcoch [Thu, 12 Apr 2012 12:00:45 +0000 (14:00 +0200)]
Use MAGIC_MIME instead of MAGIC_MIME_TYPE.

12 years agoFix some compatibility issues
Tomas Mlcoch [Thu, 12 Apr 2012 11:24:40 +0000 (13:24 +0200)]
Fix some compatibility issues

12 years agoFix few memory leaks
Tomas Mlcoch [Thu, 12 Apr 2012 08:59:56 +0000 (10:59 +0200)]
Fix few memory leaks

12 years agoFix package counter in mergerepo
Tomas Mlcoch [Thu, 12 Apr 2012 07:57:32 +0000 (09:57 +0200)]
Fix package counter in mergerepo

12 years agoBetter XML dump output
Tomas Mlcoch [Thu, 12 Apr 2012 07:38:16 +0000 (09:38 +0200)]
Better XML dump output

12 years agoCurl included -> Support for http and ftp
Tomas Mlcoch [Wed, 11 Apr 2012 09:23:03 +0000 (11:23 +0200)]
Curl included -> Support for http and ftp

12 years agoAdd support for updateinfo.xml into repomd.xml module
Tomas Mlcoch [Tue, 10 Apr 2012 11:03:18 +0000 (13:03 +0200)]
Add support for updateinfo.xml into repomd.xml module

12 years agoFix some bugs
Tomas Mlcoch [Wed, 4 Apr 2012 11:04:00 +0000 (13:04 +0200)]
Fix some bugs

12 years agoMergerepo has 'fake' support for groupfile
Tomas Mlcoch [Wed, 4 Apr 2012 08:37:51 +0000 (10:37 +0200)]
Mergerepo has 'fake' support for groupfile

12 years agoUpgrade of copy_file function in misc
Tomas Mlcoch [Wed, 4 Apr 2012 08:36:50 +0000 (10:36 +0200)]
Upgrade of copy_file function in misc

12 years agoSupport for compress_type option of mergerepo
Tomas Mlcoch [Wed, 4 Apr 2012 06:42:25 +0000 (08:42 +0200)]
Support for compress_type option of mergerepo

12 years agoAdd get_suffix function into compression_wrapper
Tomas Mlcoch [Wed, 4 Apr 2012 06:41:40 +0000 (08:41 +0200)]
Add get_suffix function into compression_wrapper

12 years agoFix cmake libxml2 stuff
Tomas Mlcoch [Tue, 3 Apr 2012 15:07:28 +0000 (17:07 +0200)]
Fix cmake libxml2 stuff