Tomas Mlcoch [Sat, 1 Jun 2013 16:35:01 +0000 (18:35 +0200)]
python: xml_parser: Callbacks interface is similar as c interface since now.
Tomas Mlcoch [Sat, 1 Jun 2013 16:03:03 +0000 (18:03 +0200)]
misc: Add support for GError reporting.
Tomas Mlcoch [Sat, 1 Jun 2013 11:20:49 +0000 (13:20 +0200)]
python: Add new checksum constant values.
Tomas Mlcoch [Sat, 1 Jun 2013 11:15:36 +0000 (13:15 +0200)]
bash-completion: Add new supported checksums (sha, sha224, sha384, sha512).
Tomas Mlcoch [Sat, 1 Jun 2013 11:11:59 +0000 (13:11 +0200)]
checksum: New module + test + all checksum related operations switched to the new module.
Tomas Mlcoch [Sat, 1 Jun 2013 06:38:19 +0000 (08:38 +0200)]
python: Fix reference decrementing in xml_parser
Tomas Mlcoch [Fri, 31 May 2013 21:17:23 +0000 (23:17 +0200)]
xml_parser: Add license header into the xml_parser.c.
Tomas Mlcoch [Fri, 31 May 2013 19:59:16 +0000 (21:59 +0200)]
tests: Add new tests for XML parsers.
Tomas Mlcoch [Fri, 31 May 2013 19:55:05 +0000 (21:55 +0200)]
python: xml_parsers now store reference to a pkg object while parsing to the object
Tomas Mlcoch [Fri, 31 May 2013 12:11:56 +0000 (14:11 +0200)]
python: Add bindings for xml_parse functions + base tests.
Tomas Mlcoch [Fri, 31 May 2013 12:11:06 +0000 (14:11 +0200)]
load_metadata: Switched from internal (ugly) xml parser to new xml_parser module.
Tomas Mlcoch [Fri, 31 May 2013 12:10:00 +0000 (14:10 +0200)]
xml_parser: small refactoring
Tomas Mlcoch [Fri, 31 May 2013 12:09:07 +0000 (14:09 +0200)]
xml_parser: Fix false warning from the cr_xml_parser_strtoll.
Tomas Mlcoch [Fri, 31 May 2013 08:27:43 +0000 (10:27 +0200)]
xml_parser_primary: Fix typo in name of obsoletes tag.
Tomas Mlcoch [Thu, 30 May 2013 20:54:44 +0000 (22:54 +0200)]
python: Add draft for support of xml_parser module.
Tomas Mlcoch [Thu, 30 May 2013 20:40:43 +0000 (22:40 +0200)]
createrepo_h: Add xml_parser.h
Tomas Mlcoch [Thu, 30 May 2013 15:10:19 +0000 (17:10 +0200)]
xml_parser: Primary parser add option for ignoring files.
Tomas Mlcoch [Thu, 30 May 2013 15:08:58 +0000 (17:08 +0200)]
misc: Add cr_safe_string_chunk_insert_null
Tomas Mlcoch [Thu, 30 May 2013 13:37:51 +0000 (15:37 +0200)]
For SHA1 checksum use type string 'sha' instead of 'sha1'.
Tomas Mlcoch [Thu, 30 May 2013 12:14:04 +0000 (14:14 +0200)]
xml_parser: Add primary.xml parser.
Tomas Mlcoch [Thu, 30 May 2013 12:13:40 +0000 (14:13 +0200)]
xml_parser: Add other.xml parser.
Tomas Mlcoch [Thu, 30 May 2013 12:12:50 +0000 (14:12 +0200)]
xml_parser_internal: Add cr_xml_parser_strtoll.
Tomas Mlcoch [Thu, 30 May 2013 12:12:05 +0000 (14:12 +0200)]
xml_parser_filelists: refactoring.
Tomas Mlcoch [Thu, 30 May 2013 08:49:20 +0000 (10:49 +0200)]
misc: Add cr_safe_string_chunk_insert_const.
Tomas Mlcoch [Thu, 30 May 2013 07:45:46 +0000 (09:45 +0200)]
xml_parser: Report warnings via callback.
Tomas Mlcoch [Wed, 29 May 2013 13:15:14 +0000 (15:15 +0200)]
createrepo_c: Add temporary blocking of SIGINT to prevent race condition.
Tomas Mlcoch [Wed, 29 May 2013 12:08:06 +0000 (14:08 +0200)]
compression_wrapper: More nice error messages.
Tomas Mlcoch [Wed, 29 May 2013 11:42:54 +0000 (13:42 +0200)]
compression_wrapper: Better error messages for XZ errors and more tests.
Tomas Mlcoch [Mon, 27 May 2013 22:00:37 +0000 (00:00 +0200)]
compression_wrapper: refactoring.
Tomas Mlcoch [Mon, 27 May 2013 15:02:05 +0000 (17:02 +0200)]
tests: More tests for compression wrapper.
Tomas Mlcoch [Mon, 27 May 2013 14:49:46 +0000 (16:49 +0200)]
xml_parser: Add generic parser.
Tomas Mlcoch [Mon, 27 May 2013 14:48:54 +0000 (16:48 +0200)]
Fix testing to regular file.
Tomas Mlcoch [Mon, 27 May 2013 13:05:06 +0000 (15:05 +0200)]
compression_wrapper: Add GError based error reporting support.
Tomas Mlcoch [Mon, 27 May 2013 13:04:15 +0000 (15:04 +0200)]
mergerepo_c: Use cr_XmlFile.
Tomas Mlcoch [Sun, 26 May 2013 17:26:46 +0000 (19:26 +0200)]
xml_parser: Prevent memory leak during parse error.
Tomas Mlcoch [Sun, 26 May 2013 12:29:57 +0000 (14:29 +0200)]
refactoring
Tomas Mlcoch [Sun, 26 May 2013 12:22:20 +0000 (14:22 +0200)]
xml_parser: More tests for xml_parser_filelists.
Tomas Mlcoch [Sun, 26 May 2013 10:57:49 +0000 (12:57 +0200)]
error: Add rc codes for bad primary and other xmls.
Tomas Mlcoch [Sun, 26 May 2013 09:53:28 +0000 (11:53 +0200)]
tests: Add new xml files for testing of xml parsing.
Tomas Mlcoch [Sat, 25 May 2013 22:01:08 +0000 (00:01 +0200)]
xml_parser: Draft of new xml parsing module
Tomas Mlcoch [Sat, 25 May 2013 22:00:01 +0000 (00:00 +0200)]
load_metadata: Removed unused variables.
Tomas Mlcoch [Sat, 25 May 2013 21:58:56 +0000 (23:58 +0200)]
tests: Add path to repodata files into fixtures.
Tomas Mlcoch [Sat, 25 May 2013 21:58:25 +0000 (23:58 +0200)]
error: Add cr_strerror function and error codes + domains for new xml parsers.
Tomas Mlcoch [Sat, 25 May 2013 08:37:35 +0000 (10:37 +0200)]
refactoring: Add some asserts.
Tomas Mlcoch [Fri, 24 May 2013 21:06:07 +0000 (23:06 +0200)]
refactoring: Removed old and unused SWIG files.
Tomas Mlcoch [Tue, 21 May 2013 20:57:39 +0000 (22:57 +0200)]
error: Add comments.
Tomas Mlcoch [Fri, 17 May 2013 20:49:15 +0000 (22:49 +0200)]
tests: fix interpreter path in run_gtester.sh.
Tomas Mlcoch [Fri, 17 May 2013 20:47:15 +0000 (22:47 +0200)]
tests: Exclude mtime of file from testing.
Tomas Mlcoch [Fri, 17 May 2013 20:32:13 +0000 (22:32 +0200)]
sqlite: Fix bug in comment with example of usage.
Tomas Mlcoch [Thu, 16 May 2013 10:07:22 +0000 (12:07 +0200)]
sqlite: Changed module interface - New interface is simpler.
Tomas Mlcoch [Thu, 16 May 2013 08:22:44 +0000 (10:22 +0200)]
mergerepo_c: Refactoring
Tomas Mlcoch [Thu, 16 May 2013 08:11:39 +0000 (10:11 +0200)]
createrepo_c: Switch from CR_FILE to cr_XmlFile.
Tomas Mlcoch [Thu, 16 May 2013 08:10:52 +0000 (10:10 +0200)]
repomd: Allow NULL as input record param.
Tomas Mlcoch [Thu, 16 May 2013 08:09:25 +0000 (10:09 +0200)]
error: Add CRE_ERROR return code for unspecified errors.
Tomas Mlcoch [Thu, 16 May 2013 07:42:38 +0000 (09:42 +0200)]
README: Add note about verbose tests.
Tomas Mlcoch [Wed, 15 May 2013 11:43:38 +0000 (13:43 +0200)]
examples: Add simple_createrepo.py.
Tomas Mlcoch [Wed, 15 May 2013 11:04:51 +0000 (13:04 +0200)]
tests: Update XmlFile unittest.
Tomas Mlcoch [Wed, 15 May 2013 10:37:10 +0000 (12:37 +0200)]
python: Add binding + tests for xml_file module.
Tomas Mlcoch [Wed, 15 May 2013 10:35:51 +0000 (12:35 +0200)]
python: CreaterepoCException renamed to CreaterepoCError.
Tomas Mlcoch [Wed, 15 May 2013 10:34:29 +0000 (12:34 +0200)]
tests: Better python test for sqlite module.
Tomas Mlcoch [Wed, 15 May 2013 08:09:42 +0000 (10:09 +0200)]
tests: Add -v (verbose) to python nosetests.
Tomas Mlcoch [Wed, 15 May 2013 06:59:41 +0000 (08:59 +0200)]
py: sqlite module refactorization.
Tomas Mlcoch [Tue, 14 May 2013 18:36:34 +0000 (20:36 +0200)]
README: Add names of required packages in Ubuntu.
Tomas Mlcoch [Tue, 14 May 2013 14:48:12 +0000 (16:48 +0200)]
Add xml_file.h into the createrepo_c.h.
Tomas Mlcoch [Tue, 14 May 2013 14:39:29 +0000 (16:39 +0200)]
New module xml_file + test for the module.
Tomas Mlcoch [Tue, 14 May 2013 14:38:35 +0000 (16:38 +0200)]
tests: Constant with temporary dir template.
Tomas Mlcoch [Tue, 14 May 2013 14:38:02 +0000 (16:38 +0200)]
error: New error domain (xml_file) + Refactoring (alphabetical sort of functions and constants).
Tomas Mlcoch [Tue, 14 May 2013 14:36:26 +0000 (16:36 +0200)]
compression_wrapper: Fix description of return value for cr_read.
Tomas Mlcoch [Tue, 14 May 2013 14:35:02 +0000 (16:35 +0200)]
misc: Add macro for constant string lenght calculation during compile-time.
Tomas Mlcoch [Tue, 14 May 2013 09:24:33 +0000 (11:24 +0200)]
constants: Add sentinel to checksum type list.
Tomas Mlcoch [Tue, 14 May 2013 09:20:15 +0000 (11:20 +0200)]
sqlite: Add asserts.
Tomas Mlcoch [Tue, 14 May 2013 09:14:58 +0000 (11:14 +0200)]
compression_wrapper: Add asserts.
Tomas Mlcoch [Mon, 13 May 2013 13:26:02 +0000 (15:26 +0200)]
tests: exclude downloading tests
If this tests were enabled, it would cause a trouble during building package in the Koji.
Downloading is from Internet is not allowed in Koji, so this tests were failing during a build.
(Note: Failed tests means that build will be unsucessful!)
Tomas Mlcoch [Mon, 13 May 2013 13:21:03 +0000 (15:21 +0200)]
tests: Better run_gtester.sh script.
Tomas Mlcoch [Mon, 13 May 2013 12:07:03 +0000 (14:07 +0200)]
Update README.md
Tomas Mlcoch [Mon, 13 May 2013 11:43:23 +0000 (13:43 +0200)]
CMake: Remove unused CPACK stuff.
Tomas Mlcoch [Mon, 13 May 2013 11:23:48 +0000 (13:23 +0200)]
tests: test_data/ renamed to testdata/.
Tomas Mlcoch [Mon, 13 May 2013 11:20:22 +0000 (13:20 +0200)]
utils: Better scripts for generating tarballs and rpms.
Tomas Mlcoch [Mon, 13 May 2013 11:18:31 +0000 (13:18 +0200)]
locate_metadata: Add error check for locating metadata call.
Tomas Mlcoch [Mon, 13 May 2013 11:03:42 +0000 (13:03 +0200)]
tests: prefix for C test changed to 'test_'.
Tomas Mlcoch [Mon, 13 May 2013 10:57:03 +0000 (12:57 +0200)]
tests: Add fixtures.h with common constants and other global stuff.
Tomas Mlcoch [Mon, 13 May 2013 07:57:06 +0000 (09:57 +0200)]
Update requires in README.md.
Tomas Mlcoch [Thu, 9 May 2013 12:44:04 +0000 (14:44 +0200)]
Update c tests
Tomas Mlcoch [Thu, 9 May 2013 12:41:59 +0000 (14:41 +0200)]
load_metadata: Add GError support.
Tomas Mlcoch [Thu, 9 May 2013 09:21:07 +0000 (11:21 +0200)]
parsepkg: Add GError support.
Tomas Mlcoch [Thu, 9 May 2013 08:19:01 +0000 (10:19 +0200)]
parsehdr: Add GError support.
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
Tomas Mlcoch [Thu, 9 May 2013 06:51:46 +0000 (08:51 +0200)]
Small refactoring
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.
Tomas Mlcoch [Wed, 8 May 2013 11:41:10 +0000 (13:41 +0200)]
py: Fix num type conversion in repomd record setters.
Tomas Mlcoch [Wed, 8 May 2013 11:37:26 +0000 (13:37 +0200)]
pytests: Exclude time_file value from tests.
Tomas Mlcoch [Mon, 6 May 2013 12:04:22 +0000 (14:04 +0200)]
Python: Experimantal implementation of Python bindings + tests.
Tomas Mlcoch [Mon, 6 May 2013 10:06:14 +0000 (12:06 +0200)]
package: Add cr_package_copy method.
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.
Tomas Mlcoch [Mon, 22 Apr 2013 12:05:43 +0000 (14:05 +0200)]
repomd: fix comments in header file.
Tomas Mlcoch [Mon, 22 Apr 2013 08:04:23 +0000 (10:04 +0200)]
sqlite: Refactoring.
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.
Tomas Mlcoch [Fri, 19 Apr 2013 10:37:57 +0000 (12:37 +0200)]
sqlite: Do not recreate tables and triggers while opening existing db.
Tomas Mlcoch [Thu, 18 Apr 2013 13:37:10 +0000 (15:37 +0200)]
c_unittests: Update function names.
Tomas Mlcoch [Mon, 15 Apr 2013 07:01:41 +0000 (09:01 +0200)]
mergerepo_c: Set logging right after cmd args parsing.