services/createrepo_c.git
10 years agoNew function: cr_old_metadata_retention()
Tomas Mlcoch [Mon, 17 Feb 2014 15:29:12 +0000 (16:29 +0100)]
New function: cr_old_metadata_retention()

10 years agoGrrr, remove forgotten debug print :)
Tomas Mlcoch [Mon, 17 Feb 2014 15:03:28 +0000 (16:03 +0100)]
Grrr, remove forgotten debug print :)

10 years agoSanitize strings before writting them to XML or sqlitedb (ISSUE #3)
Tomas Mlcoch [Mon, 17 Feb 2014 14:32:54 +0000 (15:32 +0100)]
Sanitize strings before writting them to XML or sqlitedb (ISSUE #3)

Exclude chars with val <32 (except the 9, 10, 13) from the strings.

10 years agodeltarepo: Another progress...
Tomas Mlcoch [Thu, 13 Feb 2014 15:53:14 +0000 (16:53 +0100)]
deltarepo: Another progress...

10 years agodeltarepo: Implemented Dijkstra's algorithm.
Tomas Mlcoch [Tue, 11 Feb 2014 21:45:40 +0000 (22:45 +0100)]
deltarepo: Implemented Dijkstra's algorithm.

10 years agodeltarepo: Implemented graph_from_links method of Graph class.
Tomas Mlcoch [Tue, 11 Feb 2014 20:12:07 +0000 (21:12 +0100)]
deltarepo: Implemented graph_from_links method of Graph class.

10 years agoUnfinished implementation of managedeltarepos and repoupdater.
Tomas Mlcoch [Tue, 11 Feb 2014 13:28:24 +0000 (14:28 +0100)]
Unfinished implementation of managedeltarepos and repoupdater.

10 years agoUse g_once for initialization and cleanup of package parser.
Tomas Mlcoch [Tue, 11 Feb 2014 12:14:13 +0000 (13:14 +0100)]
Use g_once for initialization and cleanup of package parser.

10 years agopython example of calculation of contenthash
Tomas Mlcoch [Tue, 11 Feb 2014 09:18:14 +0000 (10:18 +0100)]
python example of calculation of contenthash

10 years agoUpdate cleanup.sh script
Tomas Mlcoch [Mon, 10 Feb 2014 13:21:20 +0000 (14:21 +0100)]
Update cleanup.sh script

10 years agoAdd new python example of repomd.xml parsing.
Tomas Mlcoch [Mon, 10 Feb 2014 13:21:00 +0000 (14:21 +0100)]
Add new python example of repomd.xml parsing.

10 years agoAdd implementation for the --ignore-lock option
Tomas Mlcoch [Mon, 27 Jan 2014 14:01:10 +0000 (15:01 +0100)]
Add implementation for the --ignore-lock option

10 years agoAdd new cmd option --ignore-lock.
Tomas Mlcoch [Mon, 27 Jan 2014 14:00:20 +0000 (15:00 +0100)]
Add new cmd option --ignore-lock.

10 years agomisc: Add cr_append_pid_and_datetime()
Tomas Mlcoch [Mon, 27 Jan 2014 13:58:53 +0000 (14:58 +0100)]
misc: Add cr_append_pid_and_datetime()

10 years agoFor final move use dynamically generated temporary dirname.
Tomas Mlcoch [Mon, 27 Jan 2014 11:20:39 +0000 (12:20 +0100)]
For final move use dynamically generated temporary dirname.

10 years agoSet own (cleanup) handler for signals that can terminated the process
Tomas Mlcoch [Mon, 20 Jan 2014 08:50:13 +0000 (09:50 +0100)]
Set own (cleanup) handler for signals that can terminated the process

10 years agoRemove .repodata on failure exits
Tomas Mlcoch [Fri, 17 Jan 2014 12:34:26 +0000 (13:34 +0100)]
Remove .repodata on failure exits

10 years agoDeltarepo: Use contenthash element instead of repoid
Tomas Mlcoch [Mon, 16 Dec 2013 15:14:19 +0000 (16:14 +0100)]
Deltarepo: Use contenthash element instead of repoid

10 years agoAdd support for <contenthash> tag in repomd.xml
Tomas Mlcoch [Mon, 16 Dec 2013 15:09:32 +0000 (16:09 +0100)]
Add support for <contenthash> tag in repomd.xml

10 years agoDeltarepo: Several bugfixes
Tomas Mlcoch [Mon, 16 Dec 2013 14:46:55 +0000 (15:46 +0100)]
Deltarepo: Several bugfixes

10 years agoDeltarepo: Refactoring
Tomas Mlcoch [Wed, 11 Dec 2013 15:27:08 +0000 (16:27 +0100)]
Deltarepo: Refactoring

10 years agodeltarepo: New plugin GroupsDeltaRepoPlugin
Tomas Mlcoch [Mon, 9 Dec 2013 14:11:10 +0000 (15:11 +0100)]
deltarepo: New plugin GroupsDeltaRepoPlugin

10 years agodeltarepo: Switch from OptionParser to ArgumentParser.
Tomas Mlcoch [Mon, 9 Dec 2013 14:10:40 +0000 (15:10 +0100)]
deltarepo: Switch from OptionParser to ArgumentParser.

10 years agodeltarepo: Fix python imports
Tomas Mlcoch [Thu, 5 Dec 2013 10:49:32 +0000 (11:49 +0100)]
deltarepo: Fix python imports

10 years agoCMake support for deltarepo
Tomas Mlcoch [Wed, 4 Dec 2013 10:17:22 +0000 (11:17 +0100)]
CMake support for deltarepo

10 years agoDeltarepo: Add --database and --ignore-missing options
Tomas Mlcoch [Tue, 3 Dec 2013 13:16:13 +0000 (14:16 +0100)]
Deltarepo: Add --database and --ignore-missing options

10 years agoDeltarepo: More tests
Tomas Mlcoch [Tue, 3 Dec 2013 13:15:40 +0000 (14:15 +0100)]
Deltarepo: More tests

10 years agoFix moving of old metadata
Tomas Mlcoch [Tue, 3 Dec 2013 11:05:48 +0000 (12:05 +0100)]
Fix moving of old metadata

10 years agoRefactored deltarepo
Tomas Mlcoch [Mon, 2 Dec 2013 16:56:58 +0000 (17:56 +0100)]
Refactored deltarepo

10 years agoFix support of --retain-old-md
Tomas Mlcoch [Mon, 2 Dec 2013 09:55:23 +0000 (10:55 +0100)]
Fix support of --retain-old-md

10 years agoFinal move with better atomicity
Tomas Mlcoch [Thu, 28 Nov 2013 16:54:40 +0000 (17:54 +0100)]
Final move with better atomicity

10 years agomisc: Add cr_rm()
Tomas Mlcoch [Thu, 28 Nov 2013 16:54:04 +0000 (17:54 +0100)]
misc: Add cr_rm()

10 years agoFix empty if statement.
Tomas Mlcoch [Thu, 28 Nov 2013 15:09:34 +0000 (16:09 +0100)]
Fix empty if statement.

10 years agomisc: Add cr_cp() function.
Tomas Mlcoch [Thu, 28 Nov 2013 15:08:50 +0000 (16:08 +0100)]
misc: Add cr_cp() function.

10 years agodeltarepo: More tests, better behaviour with incomplete repos.
Tomas Mlcoch [Fri, 15 Nov 2013 08:53:53 +0000 (09:53 +0100)]
deltarepo: More tests, better behaviour with incomplete repos.

10 years agodeltarepo: Better delta behaviour when delta has to add filelists or other.
Tomas Mlcoch [Thu, 7 Nov 2013 15:39:17 +0000 (16:39 +0100)]
deltarepo: Better delta behaviour when delta has to add filelists or other.

11 years agodeltarepo: New test data
Tomas Mlcoch [Thu, 7 Nov 2013 15:37:24 +0000 (16:37 +0100)]
deltarepo: New test data

11 years agoUpdate gitignore
Tomas Mlcoch [Thu, 7 Nov 2013 13:21:01 +0000 (14:21 +0100)]
Update gitignore

11 years agodeltarepo: Remove pre-generated repodata from acceptance tests.
Tomas Mlcoch [Thu, 7 Nov 2013 13:15:21 +0000 (14:15 +0100)]
deltarepo: Remove pre-generated repodata from acceptance tests.

11 years agodeltarepo: Better acceptance tests.
Tomas Mlcoch [Thu, 7 Nov 2013 12:59:29 +0000 (13:59 +0100)]
deltarepo: Better acceptance tests.

11 years agoacceptance tests: More tests
Tomas Mlcoch [Thu, 7 Nov 2013 08:54:40 +0000 (09:54 +0100)]
acceptance tests: More tests

11 years agoUpdate .gitignore
Tomas Mlcoch [Wed, 6 Nov 2013 15:54:20 +0000 (16:54 +0100)]
Update .gitignore

11 years agoacceptance tests: Replace real packages with smaller (mocked) packages.
Tomas Mlcoch [Wed, 6 Nov 2013 15:46:45 +0000 (16:46 +0100)]
acceptance tests: Replace real packages with smaller (mocked) packages.

11 years agoacceptance tests: Update test repositories
Tomas Mlcoch [Wed, 6 Nov 2013 14:19:53 +0000 (15:19 +0100)]
acceptance tests: Update test repositories

11 years agorepomd: In new RepomdRecords set the open_size to -1.
Tomas Mlcoch [Wed, 6 Nov 2013 14:12:39 +0000 (15:12 +0100)]
repomd: In new RepomdRecords set the open_size to -1.

11 years agoSupport for other then primary, filelists and other metadata
Tomas Mlcoch [Thu, 31 Oct 2013 10:12:12 +0000 (11:12 +0100)]
Support for other then primary, filelists and other metadata

11 years agodeltarepo: Add acceptance tests
Tomas Mlcoch [Tue, 29 Oct 2013 14:32:52 +0000 (15:32 +0100)]
deltarepo: Add acceptance tests

11 years agoWhen package's description is not defined, use NULL (None) instead of empty string.
Tomas Mlcoch [Tue, 29 Oct 2013 14:28:34 +0000 (15:28 +0100)]
When package's description is not defined, use NULL (None) instead of empty string.

11 years agoexample: Update simple_createrepo.py example
Tomas Mlcoch [Tue, 29 Oct 2013 13:22:36 +0000 (14:22 +0100)]
example: Update simple_createrepo.py example

11 years agoUpdate bash completion upstream/0.2.1
Tomas Mlcoch [Tue, 15 Oct 2013 10:40:48 +0000 (12:40 +0200)]
Update bash completion

11 years agomodifyrepo_c: Sort repomd records before dump.
Tomas Mlcoch [Tue, 15 Oct 2013 10:29:57 +0000 (12:29 +0200)]
modifyrepo_c: Sort repomd records before dump.

11 years agoAdd cr_repomd_sort_records() function.
Tomas Mlcoch [Mon, 14 Oct 2013 14:54:43 +0000 (16:54 +0200)]
Add cr_repomd_sort_records() function.

11 years agoREADME.md update
Tomas Mlcoch [Thu, 10 Oct 2013 13:57:03 +0000 (15:57 +0200)]
README.md update

11 years agoNew Deltarepo
Tomas Mlcoch [Thu, 10 Oct 2013 13:30:09 +0000 (15:30 +0200)]
New Deltarepo

11 years agoMisc: Add cr_decompress_file_with_stat function (in Python: createrepo_c.decompress_f...
Tomas Mlcoch [Thu, 10 Oct 2013 12:58:28 +0000 (14:58 +0200)]
Misc: Add cr_decompress_file_with_stat function (in Python: createrepo_c.decompress_file())

11 years agopython: Add createrepo_c.compression_type() function.
Tomas Mlcoch [Thu, 10 Oct 2013 10:56:04 +0000 (12:56 +0200)]
python: Add createrepo_c.compression_type() function.

11 years agoG_LOG_DOMAIN definition moved to CMake (removed logging.h)
Tomas Mlcoch [Mon, 30 Sep 2013 11:52:54 +0000 (13:52 +0200)]
G_LOG_DOMAIN definition moved to CMake (removed logging.h)

11 years agomodifyrepo: Add new option 'path' useful in situations where filename contains '...
Tomas Mlcoch [Mon, 30 Sep 2013 11:23:02 +0000 (13:23 +0200)]
modifyrepo: Add new option 'path' useful in situations where filename contains '[' or ']' character(s).

11 years agomodifyrepo_c: Don't print repomd.xml content on stdout
Tomas Mlcoch [Thu, 19 Sep 2013 14:55:03 +0000 (16:55 +0200)]
modifyrepo_c: Don't print repomd.xml content on stdout

11 years agomodifyrepo: Put records in the same order as defined in batch file
Tomas Mlcoch [Thu, 19 Sep 2013 14:49:01 +0000 (16:49 +0200)]
modifyrepo: Put records in the same order as defined in batch file

11 years agoREADME: Add info about modifyrepo_c
Tomas Mlcoch [Thu, 19 Sep 2013 14:43:02 +0000 (16:43 +0200)]
README: Add info about modifyrepo_c

11 years agodoc: Update manpages
Tomas Mlcoch [Thu, 19 Sep 2013 14:28:01 +0000 (16:28 +0200)]
doc: Update manpages

11 years agoAdd modifyrepo_c
Tomas Mlcoch [Thu, 19 Sep 2013 14:20:23 +0000 (16:20 +0200)]
Add modifyrepo_c

11 years agorepomd: Remove broken record sorting.
Tomas Mlcoch [Thu, 19 Sep 2013 13:30:06 +0000 (15:30 +0200)]
repomd: Remove broken record sorting.

11 years agocompression_wrapper: Fix memory leak in cr_compression_type.
Tomas Mlcoch [Thu, 19 Sep 2013 13:29:22 +0000 (15:29 +0200)]
compression_wrapper: Fix memory leak in cr_compression_type.

11 years agomisc: Add cr_write_to_file, cr_key_file_get_boolean_default and cr_safe_string_chunk_...
Tomas Mlcoch [Thu, 19 Sep 2013 13:28:52 +0000 (15:28 +0200)]
misc: Add cr_write_to_file, cr_key_file_get_boolean_default and cr_safe_string_chunk_insert_and_free functions.

11 years agorepomd: Add cr_repomd_detach_record function
Tomas Mlcoch [Thu, 19 Sep 2013 08:16:45 +0000 (10:16 +0200)]
repomd: Add cr_repomd_detach_record function

11 years agomisc: Add default implementation of xml warning callback.
Tomas Mlcoch [Wed, 18 Sep 2013 13:13:27 +0000 (15:13 +0200)]
misc: Add default implementation of xml warning callback.

11 years agorepomd: Add cr_repomd_get_record function
Tomas Mlcoch [Wed, 18 Sep 2013 13:12:18 +0000 (15:12 +0200)]
repomd: Add cr_repomd_get_record function

11 years agotests: Add comps metadata
Tomas Mlcoch [Wed, 18 Sep 2013 11:06:28 +0000 (13:06 +0200)]
tests: Add comps metadata

11 years agoFix compiler warning about implicit declaration of function tolower()
Tomas Mlcoch [Tue, 17 Sep 2013 12:56:15 +0000 (14:56 +0200)]
Fix compiler warning about implicit declaration of function tolower()

11 years agomergerepo: refactoring
Tomas Mlcoch [Thu, 12 Sep 2013 14:33:10 +0000 (16:33 +0200)]
mergerepo: refactoring

11 years agocompression_wrapper: Add cr_compression_type() function.
Tomas Mlcoch [Thu, 12 Sep 2013 14:01:24 +0000 (16:01 +0200)]
compression_wrapper: Add cr_compression_type() function.

11 years agoAdd warning if --update-md-path used without --update
Tomas Mlcoch [Wed, 11 Sep 2013 15:02:15 +0000 (17:02 +0200)]
Add warning if --update-md-path used without --update

11 years agoRemove unused metadata_hashtable python module
Tomas Mlcoch [Wed, 11 Sep 2013 14:42:11 +0000 (16:42 +0200)]
Remove unused metadata_hashtable python module

11 years agoxml_repomd_parser: Replace atol() with cr_xml_parser_strtoll()
Tomas Mlcoch [Wed, 11 Sep 2013 14:22:45 +0000 (16:22 +0200)]
xml_repomd_parser: Replace atol() with cr_xml_parser_strtoll()

11 years agoMove library initialization up
Tomas Mlcoch [Wed, 11 Sep 2013 12:13:01 +0000 (14:13 +0200)]
Move library initialization up

11 years agoxml_parser: Add suport for warnings about weird stuff in xml
Tomas Mlcoch [Wed, 11 Sep 2013 11:59:44 +0000 (13:59 +0200)]
xml_parser: Add suport for warnings about weird stuff in xml

11 years agolocate_metadata: Use new repomd parser
Tomas Mlcoch [Wed, 11 Sep 2013 11:33:24 +0000 (13:33 +0200)]
locate_metadata: Use new repomd parser

11 years agoUpdate test
Tomas Mlcoch [Wed, 11 Sep 2013 10:31:53 +0000 (12:31 +0200)]
Update test

11 years agoEnable single chunk feature which was disabled after the big rewrite
Tomas Mlcoch [Wed, 11 Sep 2013 08:34:03 +0000 (10:34 +0200)]
Enable single chunk feature which was disabled after the big rewrite

11 years agodoc: Add missing python function
Tomas Mlcoch [Tue, 10 Sep 2013 14:48:38 +0000 (16:48 +0200)]
doc: Add missing python function

11 years agodoc: Update
Tomas Mlcoch [Tue, 10 Sep 2013 14:25:35 +0000 (16:25 +0200)]
doc: Update

11 years agodoc: Add gen of Python doc during 'make doc'
Tomas Mlcoch [Tue, 10 Sep 2013 13:55:42 +0000 (15:55 +0200)]
doc: Add gen of Python doc during 'make doc'

11 years agoPython: Add docstrings and comments
Tomas Mlcoch [Tue, 10 Sep 2013 13:43:43 +0000 (15:43 +0200)]
Python: Add docstrings and comments

11 years agoPython example of repodata parsing update
Tomas Mlcoch [Mon, 9 Sep 2013 11:38:41 +0000 (13:38 +0200)]
Python example of repodata parsing update

11 years agoCode refactoring
Tomas Mlcoch [Mon, 9 Sep 2013 08:27:22 +0000 (10:27 +0200)]
Code refactoring

11 years agoexample: Simple repodata parser example
Tomas Mlcoch [Tue, 3 Sep 2013 14:06:35 +0000 (16:06 +0200)]
example: Simple repodata parser example

11 years agocmake: Set required python version to 2
Tomas Mlcoch [Wed, 14 Aug 2013 08:31:47 +0000 (10:31 +0200)]
cmake: Set required python version to 2

11 years agoVersion bump to 0.2.1
Tomas Mlcoch [Wed, 14 Aug 2013 08:28:16 +0000 (10:28 +0200)]
Version bump to 0.2.1

11 years agochecksum: Set SHA to be the same as SHA1 (For compatibility with original Createrepo)
Tomas Mlcoch [Wed, 14 Aug 2013 08:27:02 +0000 (10:27 +0200)]
checksum: Set SHA to be the same as SHA1 (For compatibility with original Createrepo)

11 years agoUpdate utils scripts
Tomas Mlcoch [Mon, 5 Aug 2013 07:45:22 +0000 (09:45 +0200)]
Update utils scripts

11 years agomergerepo_c: Speed up - Add parallelization to computing checksums of metadata files.
Tomas Mlcoch [Mon, 5 Aug 2013 07:24:05 +0000 (09:24 +0200)]
mergerepo_c: Speed up - Add parallelization to computing checksums of metadata files.

11 years agocreaterepo_c: Better error reporting
Tomas Mlcoch [Mon, 5 Aug 2013 06:32:26 +0000 (08:32 +0200)]
createrepo_c: Better error reporting

11 years agoFix typo
Tomas Mlcoch [Mon, 5 Aug 2013 05:25:29 +0000 (07:25 +0200)]
Fix typo

11 years agoSmall refactoring
Tomas Mlcoch [Sat, 3 Aug 2013 11:15:48 +0000 (13:15 +0200)]
Small refactoring

11 years agoxml_parser_repomd: Fix memory leak
Tomas Mlcoch [Tue, 23 Jul 2013 06:55:14 +0000 (08:55 +0200)]
xml_parser_repomd: Fix memory leak

11 years agoSmall refactoring
Tomas Mlcoch [Tue, 23 Jul 2013 06:53:16 +0000 (08:53 +0200)]
Small refactoring

11 years agorefactoring
Tomas Mlcoch [Wed, 3 Jul 2013 11:57:30 +0000 (13:57 +0200)]
refactoring

11 years agopython: In parsing args of write method of CrFile use int for length instead of Py_ss...
Tomas Mlcoch [Wed, 3 Jul 2013 10:55:47 +0000 (12:55 +0200)]
python: In parsing args of write method of CrFile use int for length instead of Py_ssize_t.