services/createrepo_c.git
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

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

12 years agoAdd support for optimalized regexps for primary file matching
Tomas Mlcoch [Thu, 12 Jan 2012 09:24:16 +0000 (10:24 +0100)]
Add support for optimalized regexps for primary file matching

12 years agoPrevent possible memmory leak in misc module
Tomas Mlcoch [Thu, 12 Jan 2012 09:22:43 +0000 (10:22 +0100)]
Prevent possible memmory leak in misc module

12 years agoAdd an 'important' note
Tomas Mlcoch [Thu, 12 Jan 2012 09:21:17 +0000 (10:21 +0100)]
Add an 'important' note

12 years agoRemove unused function.
Tomas Mlcoch [Wed, 11 Jan 2012 15:08:11 +0000 (16:08 +0100)]
Remove unused function.

12 years agoAdd support for checksums and header range into parsepkg module
Tomas Mlcoch [Wed, 11 Jan 2012 14:21:25 +0000 (15:21 +0100)]
Add support for checksums and header range into parsepkg module

12 years agoCode cleanup
Tomas Mlcoch [Wed, 11 Jan 2012 14:20:00 +0000 (15:20 +0100)]
Code cleanup

12 years agoAdd compute_file_checksum and get_header_byte_range functions.
Tomas Mlcoch [Wed, 11 Jan 2012 14:15:51 +0000 (15:15 +0100)]
Add compute_file_checksum and get_header_byte_range functions.

12 years agoAdd simple c test.
Tomas Mlcoch [Wed, 11 Jan 2012 11:05:59 +0000 (12:05 +0100)]
Add simple c test.

12 years agoFix warning in misc.c
Tomas Mlcoch [Wed, 11 Jan 2012 11:05:34 +0000 (12:05 +0100)]
Fix warning in misc.c

12 years agoAdd parsepkg module
Tomas Mlcoch [Tue, 10 Jan 2012 15:46:57 +0000 (16:46 +0100)]
Add parsepkg module

12 years agoFix XmlStruct declaration
Tomas Mlcoch [Tue, 10 Jan 2012 15:45:48 +0000 (16:45 +0100)]
Fix XmlStruct declaration

12 years agoXmlStruct moved into xml_dump.h
Tomas Mlcoch [Tue, 10 Jan 2012 15:06:34 +0000 (16:06 +0100)]
XmlStruct moved into xml_dump.h

12 years agoAdd support for parsing changelogs into parse_header.
Tomas Mlcoch [Tue, 10 Jan 2012 14:49:28 +0000 (15:49 +0100)]
Add support for parsing changelogs into parse_header.

12 years agoAdd support for parsing provides, conflicts, obsoletes and requires from header
Tomas Mlcoch [Tue, 10 Jan 2012 14:18:40 +0000 (15:18 +0100)]
Add support for parsing provides, conflicts, obsoletes and requires from header

12 years agoAdd function is_primary() into misc module.
Tomas Mlcoch [Tue, 10 Jan 2012 14:17:19 +0000 (15:17 +0100)]
Add function is_primary() into misc module.

12 years agomisc-string_to_version - Instead of empty string use NULL.
Tomas Mlcoch [Tue, 10 Jan 2012 08:27:07 +0000 (09:27 +0100)]
misc-string_to_version - Instead of empty string use NULL.

12 years agoSome fixes in misc.c
Tomas Mlcoch [Wed, 4 Jan 2012 13:10:57 +0000 (14:10 +0100)]
Some fixes in misc.c

12 years agoMakefile update
Tomas Mlcoch [Wed, 4 Jan 2012 12:59:10 +0000 (13:59 +0100)]
Makefile update

12 years agoAdd (incomplete) draft of 'header to xml' library.
Tomas Mlcoch [Wed, 4 Jan 2012 12:58:55 +0000 (13:58 +0100)]
Add (incomplete) draft of 'header to xml' library.

12 years agoAdd misc library with helper functions
Tomas Mlcoch [Wed, 4 Jan 2012 12:56:06 +0000 (13:56 +0100)]
Add misc library with helper functions

12 years agoFix in typemaps.i
Tomas Mlcoch [Wed, 4 Jan 2012 07:41:57 +0000 (08:41 +0100)]
Fix in typemaps.i

12 years agoAdd typemap for header object from rpm.
Tomas Mlcoch [Wed, 21 Dec 2011 14:41:28 +0000 (15:41 +0100)]
Add typemap for header object from rpm.

12 years agoTypemaps.i (using chunk)
Tomas Mlcoch [Thu, 15 Dec 2011 14:22:09 +0000 (15:22 +0100)]
Typemaps.i (using chunk)

12 years agoTypemaps (package in withou using chunk)
Tomas Mlcoch [Thu, 15 Dec 2011 14:20:27 +0000 (15:20 +0100)]
Typemaps (package in withou using chunk)

12 years agoGhost files could be in primary files since now
Tomas Mlcoch [Thu, 15 Dec 2011 12:54:28 +0000 (13:54 +0100)]
Ghost files could be in primary files since now

12 years agoAdd unittests
Tomas Mlcoch [Thu, 15 Dec 2011 12:19:36 +0000 (13:19 +0100)]
Add unittests

12 years agoHou hou! "Seems to be working" implementation!
Tomas Mlcoch [Thu, 15 Dec 2011 12:15:23 +0000 (13:15 +0100)]
Hou hou! "Seems to be working" implementation!

12 years agoInitial commit
Tomas Mlcoch [Mon, 12 Dec 2011 09:37:45 +0000 (10:37 +0100)]
Initial commit