services/createrepo_c.git
12 years agoFix some leaks
Tomas Mlcoch [Tue, 13 Mar 2012 11:15:25 +0000 (12:15 +0100)]
Fix some leaks

12 years agoAdd support for groupfile
Tomas Mlcoch [Mon, 12 Mar 2012 11:32:17 +0000 (12:32 +0100)]
Add support for groupfile

12 years agoAdd get_filename and copy_file into misc module
Tomas Mlcoch [Mon, 12 Mar 2012 11:31:47 +0000 (12:31 +0100)]
Add get_filename and copy_file into misc module

12 years agoCreaterepo now uses temporary dir while generate repodata
Tomas Mlcoch [Thu, 8 Mar 2012 10:42:06 +0000 (11:42 +0100)]
Createrepo now uses temporary dir while generate repodata

12 years agoCall stat() in main only if needed
Tomas Mlcoch [Thu, 8 Mar 2012 09:00:49 +0000 (10:00 +0100)]
Call stat() in main only if needed

12 years agoChange log level in load_metadata.c
Tomas Mlcoch [Thu, 8 Mar 2012 08:53:54 +0000 (09:53 +0100)]
Change log level in load_metadata.c

12 years agoGz compression changed from best speed to default
Tomas Mlcoch [Thu, 8 Mar 2012 08:50:04 +0000 (09:50 +0100)]
Gz compression changed from best speed to default

12 years agoSome fixes after Coverity scan.
Tomas Mlcoch [Thu, 8 Mar 2012 08:43:07 +0000 (09:43 +0100)]
Some fixes after Coverity scan.

12 years agoFix gzip file descriptor handling in compression_wrapper
Tomas Mlcoch [Thu, 8 Mar 2012 08:14:58 +0000 (09:14 +0100)]
Fix gzip file descriptor handling in compression_wrapper

12 years agoMain renamed
tmlcoch [Wed, 7 Mar 2012 08:05:56 +0000 (09:05 +0100)]
Main renamed

12 years agoAdd AUTHORS COPYING and README files
tmlcoch [Tue, 6 Mar 2012 14:39:23 +0000 (15:39 +0100)]
Add AUTHORS COPYING and README files

12 years agoCode cleanup
tmlcoch [Tue, 6 Mar 2012 13:16:43 +0000 (14:16 +0100)]
Code cleanup

12 years agoSkip swig wrappers stuff in Makefile
Tomas Mlcoch [Thu, 1 Mar 2012 12:34:26 +0000 (13:34 +0100)]
Skip swig wrappers stuff in Makefile

12 years agoFix some compiler warnings
Tomas Mlcoch [Thu, 1 Mar 2012 12:27:43 +0000 (13:27 +0100)]
Fix some compiler warnings

12 years agoremove whitespaces from end of changelog names in parsehdr
Tomas Mlcoch [Thu, 1 Mar 2012 11:49:49 +0000 (12:49 +0100)]
remove whitespaces from end of changelog names in  parsehdr

12 years agodump modules refactored
Tomas Mlcoch [Thu, 1 Mar 2012 11:02:24 +0000 (12:02 +0100)]
dump modules refactored

12 years agoxml_dump refactored
Tomas Mlcoch [Wed, 29 Feb 2012 11:28:20 +0000 (12:28 +0100)]
xml_dump refactored

12 years agorepomd refactored
Tomas Mlcoch [Wed, 29 Feb 2012 11:12:45 +0000 (12:12 +0100)]
repomd refactored

12 years agomisc refactored
Tomas Mlcoch [Wed, 29 Feb 2012 09:57:19 +0000 (10:57 +0100)]
misc refactored

12 years agoparsepkg refactored
Tomas Mlcoch [Wed, 29 Feb 2012 09:10:22 +0000 (10:10 +0100)]
parsepkg refactored

12 years agomain cleanup
Tomas Mlcoch [Wed, 29 Feb 2012 09:06:43 +0000 (10:06 +0100)]
main cleanup

12 years agoload_metadata refactored
Tomas Mlcoch [Wed, 29 Feb 2012 09:00:43 +0000 (10:00 +0100)]
load_metadata refactored

12 years agocompression_wrapper refactored
Tomas Mlcoch [Wed, 29 Feb 2012 08:46:37 +0000 (09:46 +0100)]
compression_wrapper refactored

12 years agorefactored parsehdr
Tomas Mlcoch [Wed, 29 Feb 2012 08:33:33 +0000 (09:33 +0100)]
refactored parsehdr

12 years agoVerbosity setup in main
Tomas Mlcoch [Tue, 28 Feb 2012 15:35:35 +0000 (16:35 +0100)]
Verbosity setup in main

12 years agoMain now uses compression_wrapper
Tomas Mlcoch [Tue, 28 Feb 2012 13:27:34 +0000 (14:27 +0100)]
Main now uses compression_wrapper

12 years agoAdd cw_printf into compression wrapper
Tomas Mlcoch [Tue, 28 Feb 2012 13:27:10 +0000 (14:27 +0100)]
Add cw_printf into compression wrapper

12 years agocode clenup
Tomas Mlcoch [Tue, 28 Feb 2012 12:49:49 +0000 (13:49 +0100)]
code clenup

12 years agoHandle fread error in compression wrapper in proper way.
Tomas Mlcoch [Tue, 28 Feb 2012 12:30:41 +0000 (13:30 +0100)]
Handle fread error in compression wrapper in proper way.

12 years agoload_metadata module now uses compression_wrapper
Tomas Mlcoch [Tue, 28 Feb 2012 12:28:33 +0000 (13:28 +0100)]
load_metadata module now uses compression_wrapper

12 years agorepomd now uses compression wrapper
Tomas Mlcoch [Tue, 28 Feb 2012 11:44:43 +0000 (12:44 +0100)]
repomd now uses compression wrapper

12 years agoAdd compression wrapper module
Tomas Mlcoch [Tue, 28 Feb 2012 11:35:17 +0000 (12:35 +0100)]
Add compression wrapper module

12 years agoAdd support for --simple-md-filenames
Tomas Mlcoch [Thu, 23 Feb 2012 09:57:46 +0000 (10:57 +0100)]
Add support for --simple-md-filenames

12 years agoUpdated main
Tomas Mlcoch [Thu, 23 Feb 2012 09:51:09 +0000 (10:51 +0100)]
Updated main

12 years agoAdd new functions into load_metadata
Tomas Mlcoch [Thu, 23 Feb 2012 09:50:48 +0000 (10:50 +0100)]
Add new functions into load_metadata

12 years agorepomd add option for rename
Tomas Mlcoch [Wed, 22 Feb 2012 10:36:32 +0000 (11:36 +0100)]
repomd add option for rename

12 years agoSupport for --skip-symlinks
Tomas Mlcoch [Wed, 22 Feb 2012 08:51:33 +0000 (09:51 +0100)]
Support for --skip-symlinks

12 years agocode cleanup
Tomas Mlcoch [Thu, 16 Feb 2012 12:56:11 +0000 (13:56 +0100)]
code cleanup

12 years agoPrevent buffer overflow in parsehdr.c
Tomas Mlcoch [Thu, 16 Feb 2012 11:50:14 +0000 (12:50 +0100)]
Prevent buffer overflow in parsehdr.c

12 years agoRemove debug messages in parsehdr
Tomas Mlcoch [Thu, 16 Feb 2012 11:40:43 +0000 (12:40 +0100)]
Remove debug messages in parsehdr

12 years agoSome code cleanup
Tomas Mlcoch [Thu, 16 Feb 2012 11:38:49 +0000 (12:38 +0100)]
Some code cleanup

12 years agoParsehdr now keeps only one version of libc in requires (the highest one)
Tomas Mlcoch [Thu, 16 Feb 2012 11:38:30 +0000 (12:38 +0100)]
Parsehdr now keeps only one version of libc in requires (the highest one)

12 years agoCode cleanup
Tomas Mlcoch [Wed, 15 Feb 2012 11:42:40 +0000 (12:42 +0100)]
Code cleanup

12 years agoload_metadata_2 (parsing by libxml2) renamed to load_metadata
Tomas Mlcoch [Wed, 15 Feb 2012 11:16:08 +0000 (12:16 +0100)]
load_metadata_2 (parsing by libxml2) renamed to load_metadata

12 years agoRemoved module load_metadata.c (parsing via regexps)
Tomas Mlcoch [Wed, 15 Feb 2012 11:09:08 +0000 (12:09 +0100)]
Removed module load_metadata.c (parsing via regexps)

12 years agoAdd import of logging.h with log domain into all *.c files
Tomas Mlcoch [Wed, 15 Feb 2012 11:07:21 +0000 (12:07 +0100)]
Add import of logging.h with log domain into all *.c files

12 years agoSet common prefix in header files
Tomas Mlcoch [Wed, 15 Feb 2012 10:59:47 +0000 (11:59 +0100)]
Set common prefix in header files

12 years agoSome fixes
Tomas Mlcoch [Wed, 15 Feb 2012 10:01:49 +0000 (11:01 +0100)]
Some fixes

12 years agoMain now generate repomd.xml
Tomas Mlcoch [Wed, 15 Feb 2012 09:39:40 +0000 (10:39 +0100)]
Main now generate repomd.xml

12 years agoUpdated repomd module
Tomas Mlcoch [Wed, 15 Feb 2012 09:39:21 +0000 (10:39 +0100)]
Updated repomd module

12 years agoCode cleanup
Tomas Mlcoch [Wed, 15 Feb 2012 08:07:13 +0000 (09:07 +0100)]
Code cleanup

12 years agoAdd module to generate repomd.xml.
Tomas Mlcoch [Tue, 14 Feb 2012 16:07:37 +0000 (17:07 +0100)]
Add module to generate repomd.xml.

12 years agoupdate-md-path param fix
Tomas Mlcoch [Tue, 14 Feb 2012 16:06:04 +0000 (17:06 +0100)]
update-md-path param fix

12 years agoAdd non public header file with logging domain
Tomas Mlcoch [Tue, 14 Feb 2012 16:05:25 +0000 (17:05 +0100)]
Add non public header file with logging domain

12 years agoModified --pkglist param behavior
Tomas Mlcoch [Tue, 14 Feb 2012 11:45:39 +0000 (12:45 +0100)]
Modified --pkglist param behavior

12 years agomain uses glib message logging
Tomas Mlcoch [Tue, 14 Feb 2012 10:10:56 +0000 (11:10 +0100)]
main uses glib message logging

12 years ago..
Tomas Mlcoch [Tue, 14 Feb 2012 09:33:57 +0000 (10:33 +0100)]
..

12 years agopkglist param fixed
Tomas Mlcoch [Mon, 13 Feb 2012 11:01:28 +0000 (12:01 +0100)]
pkglist param fixed

12 years agoSome fixes in main
Tomas Mlcoch [Mon, 13 Feb 2012 10:07:09 +0000 (11:07 +0100)]
Some fixes in main

12 years agoAdd support for --update-md-path param
Tomas Mlcoch [Mon, 13 Feb 2012 09:30:59 +0000 (10:30 +0100)]
Add support for --update-md-path param

12 years agoNew format of load_metadata_2 functions
Tomas Mlcoch [Mon, 13 Feb 2012 08:52:49 +0000 (09:52 +0100)]
New format of load_metadata_2 functions

12 years agoMain now support substitution of package location via regexp.
Tomas Mlcoch [Mon, 13 Feb 2012 08:17:03 +0000 (09:17 +0100)]
Main now support substitution of package location via regexp.

12 years agoFix memory leak in load_repodata_2
Tomas Mlcoch [Mon, 13 Feb 2012 08:10:39 +0000 (09:10 +0100)]
Fix memory leak in load_repodata_2

12 years agoAdd xml: prefix (namespace) to location attr base e.g.: <location xml:base=...
Tomas Mlcoch [Thu, 9 Feb 2012 11:57:31 +0000 (12:57 +0100)]
Add xml: prefix (namespace) to location attr base e.g.: <location xml:base=...

12 years agokey in metadata hash table is now just filename
Tomas Mlcoch [Thu, 9 Feb 2012 11:49:44 +0000 (12:49 +0100)]
key in metadata hash table is now just filename

12 years agois_primary function is inline now
Tomas Mlcoch [Thu, 9 Feb 2012 11:03:43 +0000 (12:03 +0100)]
is_primary function is inline now

12 years agoTask in pool now use PoolTask structure
Tomas Mlcoch [Thu, 9 Feb 2012 10:55:54 +0000 (11:55 +0100)]
Task in pool now use PoolTask structure

12 years agoUpdated is_primary function in misc.c
Tomas Mlcoch [Thu, 9 Feb 2012 09:59:09 +0000 (10:59 +0100)]
Updated is_primary function in misc.c

12 years agoAdd module for load metadata via libxml2
Tomas Mlcoch [Thu, 9 Feb 2012 09:57:32 +0000 (10:57 +0100)]
Add module for load metadata via libxml2

12 years agoFix segfault in load_gz_compressed_xml_metadata.
Tomas Mlcoch [Tue, 7 Feb 2012 12:24:29 +0000 (13:24 +0100)]
Fix segfault in load_gz_compressed_xml_metadata.

12 years agoAdd locate_and_load_xml_metadata function into load_metadata module
Tomas Mlcoch [Wed, 1 Feb 2012 11:19:47 +0000 (12:19 +0100)]
Add locate_and_load_xml_metadata function into load_metadata module

12 years agoAdd support for parsing gziped xml metadata.
Tomas Mlcoch [Wed, 1 Feb 2012 10:00:17 +0000 (11:00 +0100)]
Add support for parsing gziped xml metadata.

12 years agoAdd support for arguments.
Tomas Mlcoch [Tue, 31 Jan 2012 16:08:07 +0000 (17:08 +0100)]
Add support for arguments.

12 years agoBetter package count inserting
Tomas Mlcoch [Mon, 30 Jan 2012 10:56:46 +0000 (11:56 +0100)]
Better package count inserting

12 years agoFix bad architecture while parsing src package
Tomas Mlcoch [Mon, 30 Jan 2012 10:55:46 +0000 (11:55 +0100)]
Fix bad architecture while parsing src package

12 years agoAdd conversion of Epoch from int to str.
Tomas Mlcoch [Mon, 30 Jan 2012 08:54:38 +0000 (09:54 +0100)]
Add conversion of Epoch from int to str.

12 years agoFix is_primary function
Tomas Mlcoch [Mon, 30 Jan 2012 08:27:01 +0000 (09:27 +0100)]
Fix is_primary function

12 years agoFix file paths
Tomas Mlcoch [Mon, 30 Jan 2012 08:21:03 +0000 (09:21 +0100)]
Fix file paths

12 years agoFix 'time modification' while getting changelogs
Tomas Mlcoch [Fri, 27 Jan 2012 11:36:43 +0000 (12:36 +0100)]
Fix 'time modification' while getting changelogs

12 years agoAdd gzip compression
Tomas Mlcoch [Fri, 27 Jan 2012 10:48:07 +0000 (11:48 +0100)]
Add gzip compression

12 years agoparsepkg - Skip header check and signature verification
Tomas Mlcoch [Fri, 27 Jan 2012 10:47:31 +0000 (11:47 +0100)]
parsepkg - Skip header check and signature verification

12 years agoAdd main.c - Proof of concept of createrepo in C.
Tomas Mlcoch [Fri, 27 Jan 2012 08:09:00 +0000 (09:09 +0100)]
Add main.c - Proof of concept of createrepo in C.

12 years agoAdd file stat struct param for xml_from_package_file()
Tomas Mlcoch [Fri, 27 Jan 2012 08:05:16 +0000 (09:05 +0100)]
Add file stat struct param for xml_from_package_file()

12 years agoPut '0' into XML if epoch is NULL.
Tomas Mlcoch [Fri, 27 Jan 2012 08:02:43 +0000 (09:02 +0100)]
Put '0' into XML if epoch is NULL.

12 years agoFix absolutely stupid bug (only one '=' in c^Cparsion)
Tomas Mlcoch [Fri, 27 Jan 2012 08:01:32 +0000 (09:01 +0100)]
Fix absolutely stupid bug (only one '=' in c^Cparsion)

12 years agoRemove warning and reverse changelog order
Tomas Mlcoch [Fri, 27 Jan 2012 07:59:27 +0000 (08:59 +0100)]
Remove warning and reverse changelog order

12 years agoAdd load_metadata module.
Tomas Mlcoch [Wed, 18 Jan 2012 15:40:43 +0000 (16:40 +0100)]
Add load_metadata module.

12 years agoAdd function for package parser initialization
Tomas Mlcoch [Tue, 17 Jan 2012 15:47:49 +0000 (16:47 +0100)]
Add function for package parser initialization

12 years agoTypemap dict->package without allocation
Tomas Mlcoch [Tue, 17 Jan 2012 14:09:57 +0000 (15:09 +0100)]
Typemap dict->package without allocation

12 years agoAdd method xml_dump.
Tomas Mlcoch [Tue, 17 Jan 2012 14:01:24 +0000 (15:01 +0100)]
Add method xml_dump.

12 years agoTemporary skipp encoding convertion
Tomas Mlcoch [Tue, 17 Jan 2012 12:50:06 +0000 (13:50 +0100)]
Temporary skipp encoding convertion

12 years agoSpeed optimalization in string concatenation
Tomas Mlcoch [Tue, 17 Jan 2012 12:25:24 +0000 (13:25 +0100)]
Speed optimalization in string concatenation

12 years agoBrutal speed optimalization - Get rid of regexps, use own crafted expressions with...
Tomas Mlcoch [Tue, 17 Jan 2012 11:20:35 +0000 (12:20 +0100)]
Brutal speed optimalization - Get rid of regexps, use own crafted expressions with strncmp

12 years agoUpdate typemaps.i
Tomas Mlcoch [Tue, 17 Jan 2012 11:17:41 +0000 (12:17 +0100)]
Update typemaps.i

12 years agomodify tests
Tomas Mlcoch [Mon, 16 Jan 2012 12:21:46 +0000 (13:21 +0100)]
modify tests

12 years agosplit filename in pkg structure and fix some leaks
Tomas Mlcoch [Mon, 16 Jan 2012 11:59:11 +0000 (12:59 +0100)]
split filename in pkg structure and fix some leaks

12 years agoPerformance optimalization in typemaps.i
Tomas Mlcoch [Thu, 12 Jan 2012 09:55:02 +0000 (10:55 +0100)]
Performance optimalization in typemaps.i

12 years agoPerformance optimalization (use prepend+reverse instead of append for inserting into...
Tomas Mlcoch [Thu, 12 Jan 2012 09:45:22 +0000 (10:45 +0100)]
Performance optimalization (use prepend+reverse instead of append for inserting into g_slist)

12 years agoAdd constants.h
Tomas Mlcoch [Thu, 12 Jan 2012 09:26:29 +0000 (10:26 +0100)]
Add constants.h

12 years agoAdd Doxyfile
Tomas Mlcoch [Thu, 12 Jan 2012 09:25:28 +0000 (10:25 +0100)]
Add Doxyfile