services/createrepo_c.git
3 years agoFix setup of logging (log domains) (RhBug:1645897) 91/260691/1 upstream/0.10.4
Jaroslav Rohel [Fri, 9 Nov 2018 06:35:13 +0000 (07:35 +0100)]
Fix setup of logging (log domains) (RhBug:1645897)

New debug messages were added into GLib library. These messages come
from the "GLib" log domain and were not hidden in the standard and
quiet mode of the application.
This fix hides log messages regardless on source log domain.

Change-Id: I04052ed452a75382cad5c117830358baf2c014b9

3 years agoRelease 0.10.3 17/245817/4 accepted/tizen/devbase/services/20201102.013827 accepted/tizen/devbase/services/20201106.081434 submit/trunk/20201029.114030 submit/trunk/20201029.132130 submit/trunk/20201029.140230 submit/trunk/20201030.143530 submit/trunk/20201030.151030 submit/trunk/20201105.154530 submit/trunk/20201105.160530 submit/trunk/20201106.105030
biao716.wang [Fri, 16 Oct 2020 05:55:36 +0000 (14:55 +0900)]
Release 0.10.3

Change-Id: I2d9e56efc1fbfe52fe7c26452c317348c8db98a1
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
3 years agocompatible with createrepo package 95/245695/25 upstream/0.10.3
biao716.wang [Wed, 14 Oct 2020 09:00:37 +0000 (18:00 +0900)]
compatible with createrepo package

Change-Id: I1be756b4c0fbc7c6d818f12154d7e17f94e74839
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
3 years agoremove build dependence with python-support 27/245527/1
biao716.wang [Mon, 12 Oct 2020 03:41:16 +0000 (12:41 +0900)]
remove build dependence with python-support

Change-Id: Ie8e8352cd0af93702629e0459103bbe9923ec981
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoRelease 0.10.2 47/234547/1 accepted/tizen/devbase/services/20200619.010818 accepted/tizen/devbase/services/20200623.003247 submit/trunk/20200612.131210 submit/trunk/20200612.155520 submit/trunk/20200618.153020 submit/trunk/20200618.172010 submit/trunk/20200618.182010 submit/trunk/20200619.102030 submit/trunk/20200619.134012 submit/trunk/20200622.151812
biao716.wang [Wed, 27 May 2020 06:38:27 +0000 (15:38 +0900)]
Release 0.10.2

Change-Id: Ia97e12a77acf4bfd49e17058e7ed61cb6e53bb26
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoadd module path for _createrepo.so accepted/tizen/devbase/services/20200413.092048 accepted/tizen/devbase/services/20200415.082816 accepted/tizen/devbase/services/20200423.100448 accepted/tizen/devbase/services/20200514.023445 accepted/tizen/devbase/services/20200520.012714 submit/trunk/20200410.154020 submit/trunk/20200410.160020 submit/trunk/20200413.132320 submit/trunk/20200413.150000 submit/trunk/20200413.151000 submit/trunk/20200414.141500 submit/trunk/20200414.191000 submit/trunk/20200422.115210 submit/trunk/20200422.142510 submit/trunk/20200422.165210 submit/trunk/20200423.102810 submit/trunk/20200423.111223 submit/trunk/20200423.115423 submit/trunk/20200423.122334 submit/trunk/20200513.162810 submit/trunk/20200519.161030 submit/trunk/20200519.164610 submit/trunk/20200519.184310 upstream/0.10.2
biao716.wang [Tue, 7 Apr 2020 12:55:30 +0000 (21:55 +0900)]
add module path for _createrepo.so

Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoto use own devel packages submit/trunk/20200410.153020
biao716.wang [Tue, 7 Apr 2020 12:37:51 +0000 (21:37 +0900)]
to use own devel packages

Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agofix dependency error submit/trunk/20200410.143020 submit/trunk/20200410.152020
biao716.wang [Tue, 7 Apr 2020 11:50:26 +0000 (20:50 +0900)]
fix dependency error

Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agouse dh_python2 instead dh_pysupport for xUbuntu_19.10 80/227280/2 submit/trunk/20200409.194520 submit/trunk/20200409.200220 submit/trunk/20200409.202020 submit/trunk/20200410.092020
yan11.meng [Wed, 11 Mar 2020 05:20:34 +0000 (14:20 +0900)]
use dh_python2 instead dh_pysupport for xUbuntu_19.10

Change-Id: Ie4a018788cafa58e558f25651e84e60ffd8fe986
Signed-off-by: yan11.meng <yan11.meng@samsung.com>
4 years agofix pylint error for createrepo_c 02/218502/3 accepted/tizen/devbase/services/20191223.073044 accepted/tizen/devbase/services/20200104.053632 accepted/tizen/devbase/services/20200106.013825 accepted/tizen/devbase/services/20200106.013927 accepted/tizen/devbase/services/20200106.014031 accepted/tizen/devbase/services/20200106.014137 accepted/tizen/devbase/services/20200107.024056 accepted/tizen/devbase/services/20200108.052259 accepted/tizen/devbase/services/20200108.235056 accepted/tizen/devbase/services/20200109.052625 accepted/tizen/devbase/services/20200110.011038 accepted/tizen/devbase/services/20200114.020128 accepted/tizen/devbase/services/20200114.115631 accepted/tizen/devbase/services/20200115.231402 accepted/tizen/devbase/services/20200214.062146 accepted/tizen/devbase/services/20200219.094418 submit/trunk/20191223.191128 submit/trunk/20200104.111333 submit/trunk/20200104.134833 submit/trunk/20200104.154833 submit/trunk/20200104.164833 submit/trunk/20200104.173833 submit/trunk/20200105.091502 submit/trunk/20200106.175133 submit/trunk/20200107.100533 submit/trunk/20200107.112802 submit/trunk/20200107.162402 submit/trunk/20200107.170902 submit/trunk/20200107.171656 submit/trunk/20200107.180648 submit/trunk/20200108.020149 submit/trunk/20200108.135302 submit/trunk/20200108.172202 submit/trunk/20200108.172702 submit/trunk/20200108.231448 submit/trunk/20200109.105802 submit/trunk/20200109.112402 submit/trunk/20200109.124502 submit/trunk/20200109.151502 submit/trunk/20200109.154402 submit/trunk/20200110.111659 submit/trunk/20200114.100000 submit/trunk/20200114.110000 submit/trunk/20200115.110101 submit/trunk/20200213.184721 submit/trunk/20200213.191021 submit/trunk/20200214.114520 submit/trunk/20200219.120523 submit/trunk/20200410.102020
biao716.wang [Mon, 25 Nov 2019 02:27:50 +0000 (10:27 +0800)]
fix pylint error for createrepo_c

Change-Id: I7936d9ed28608be9e682b13f59c3bb75f08654a5
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
5 years agoMerge branch 'master' into devel 87/201187/1 release-pylint submit/devel/20190730.052527 submit/devel/20190730.075348
maoxiaojuan [Mon, 11 Mar 2019 07:47:18 +0000 (15:47 +0800)]
Merge branch 'master' into devel

Change-Id: I085b912fdf9f85cb792af2457354ebcabcf25093

5 years agoMerge "remove filter function cr_is_primary to keep the same behavior as createrepo...
Chunhua Liu [Mon, 18 Feb 2019 02:48:10 +0000 (02:48 +0000)]
Merge "remove filter function cr_is_primary to keep the same behavior as createrepo." into devel

5 years agoremove filter function cr_is_primary to keep the same behavior as createrepo. 70/192870/2
biao716.wang [Fri, 9 Nov 2018 09:12:05 +0000 (17:12 +0800)]
remove filter function cr_is_primary to keep the same behavior as createrepo.

Change-Id: Idecd3496c1d35d6d411ffd82acdd4649814dad13

5 years agoadd dependence libcurl4 lib for unbuntu:18.04 19/199719/1
biao716.wang [Tue, 7 Aug 2018 10:34:14 +0000 (18:34 +0800)]
add dependence libcurl4 lib for unbuntu:18.04

3290199406e5c582fe7f238c18ed96d8ae39dc24

Change-Id: I5180511e469d3251ca3005e40198d70839579ea4

Change-Id: I5180511e469d3251ca3005e40198d70839579ea4

5 years agoMerge "add dependence libcurl4 lib for unbuntu:18.04" into devel release-20190215 accepted/tizen/devbase/services/20190930.043433 submit/submit/trunk/20190927.010356/20190927.012503 submit/trunk/20190730.062539 submit/trunk/20190730.063620 submit/trunk/20190927.010356 submit/trunk/20190927.012743 submit/trunk/20190930.011717 submit/trunk/20190930.015154 submit/trunk/20191021.051025 submit/trunk/20191021.061922 submit/trunk/20191021.083710 submit/trunk/20191029.021210 submit/trunk/20191029.062518 submit/trunk/20191029.090601 submit/trunk/20191029.104124
Liu Chunhua [Wed, 30 Jan 2019 01:16:13 +0000 (01:16 +0000)]
Merge "add dependence libcurl4 lib for unbuntu:18.04" into devel

5 years agoremove filter function cr_is_primary to keep the same behavior as createrepo. 70/192870/1
biao716.wang [Fri, 9 Nov 2018 09:12:05 +0000 (17:12 +0800)]
remove filter function cr_is_primary to keep the same behavior as createrepo.

Change-Id: Idecd3496c1d35d6d411ffd82acdd4649814dad13

5 years agoadd dependence libcurl4 lib for unbuntu:18.04
biao716.wang [Tue, 7 Aug 2018 10:34:14 +0000 (18:34 +0800)]
add dependence libcurl4 lib for unbuntu:18.04

3290199406e5c582fe7f238c18ed96d8ae39dc24

Change-Id: I5180511e469d3251ca3005e40198d70839579ea4

Change-Id: I5180511e469d3251ca3005e40198d70839579ea4

6 years agofix prerevew test "test_createrepo" error, yum-metadata-diff command not found. 22/152822/1
fushuai [Wed, 27 Sep 2017 07:15:57 +0000 (15:15 +0800)]
fix prerevew test "test_createrepo" error, yum-metadata-diff command not found.
opensuse and ubuntu office web not provide yum-metadata-diff related packages.
Signed-off-by: fushuai <shuai01.fu@samsung.com>
Change-Id: I3c2851bfc6834e2855e5de3b47c20f249b11d0ea

6 years agofix prerevew test "test_createrepo_compactive" error, not found createrepo. 20/152820/1
fushuai [Wed, 27 Sep 2017 07:14:28 +0000 (15:14 +0800)]
fix prerevew test "test_createrepo_compactive" error, not found createrepo.
delete repowithbadpackages case because of createrepo not support.

Change-Id: I96f16f96c110e00d96fd37f41e4c2c5e4bd51556
Signed-off-by: fushuai <shuai01.fu@samsung.com>
6 years agofix ubuntu16.04 import _createrepo_c error 17/152817/1
fushuai [Wed, 27 Sep 2017 06:42:11 +0000 (14:42 +0800)]
fix ubuntu16.04 import _createrepo_c error

Change-Id: Icbd315a6975e1e72444a015cc192c5fb5c8fc54a
Signed-off-by: fushuai <shuai01.fu@samsung.com>
6 years agofix prerevew test "test_createrepo" error, yum-metadata-diff command not found. release-20170922
fushuai [Wed, 27 Sep 2017 06:52:14 +0000 (14:52 +0800)]
fix prerevew test "test_createrepo" error, yum-metadata-diff command not found.
opensuse and ubuntu office web not provide yum-metadata-diff related packages.
Signed-off-by: fushuai <shuai01.fu@samsung.com>
Change-Id: Ie0ce9901e39cd8f02513995bf92c803d96df981a

6 years agofix prerevew test "test_createrepo_compactive" error, not found createrepo.
fushuai [Wed, 27 Sep 2017 06:47:12 +0000 (14:47 +0800)]
fix prerevew test "test_createrepo_compactive" error, not found createrepo.
delete repowithbadpackages case because of createrepo not support.
Change-Id: I951cd96d86b0a07f08d54d18d05a0e1fd2680e1a
Signed-off-by: fushuai <shuai01.fu@samsung.com>
6 years agofix ubuntu16.04 import _createrepo_c error
fushuai [Wed, 27 Sep 2017 06:42:11 +0000 (14:42 +0800)]
fix ubuntu16.04 import _createrepo_c error

Change-Id: Icbd315a6975e1e72444a015cc192c5fb5c8fc54a
Signed-off-by: fushuai <shuai01.fu@samsung.com>
7 years agoRelease 0.10.1 release-20170331 sandbox/soong9/v_0.10.0
SoonKyu Park [Sat, 25 Mar 2017 02:13:37 +0000 (11:13 +0900)]
Release 0.10.1

Change-Id: Ic26437d8fe725d3a175d262a4644affb930734e7

7 years agoAdd dependency on libglib2 in control file upstream/0.10.1
SoonKyu Park [Tue, 28 Mar 2017 07:42:20 +0000 (16:42 +0900)]
Add dependency on libglib2 in control file

Change-Id: If50a2e82fbc4bcca96e753d2bfc22f5e449f0d93

7 years agofix build error for ubuntu
SoonKyu Park [Tue, 28 Mar 2017 05:55:33 +0000 (14:55 +0900)]
fix build error for ubuntu

Change-Id: I87a9e1b07c7dd545f01354cbc29966ce8dfd50d9

7 years agoFix build error
SoonKyu Park [Sat, 25 Mar 2017 02:46:39 +0000 (11:46 +0900)]
Fix build error
Add %{_bindir}/sqliterepo_c

Change-Id: Id2b6c38e1040732975ff014cb29d77e6eafb3818

7 years agoEnable RPM_WEAK_DEPS_SUPPORT and ENABLE_LEGACY_WEAKDEPS
yang.zhang [Thu, 16 Mar 2017 08:29:25 +0000 (16:29 +0800)]
Enable RPM_WEAK_DEPS_SUPPORT and ENABLE_LEGACY_WEAKDEPS

Change-Id: I385aecfa9530e6177bd00f786782f369d8d936ea

7 years agoadd libssl-dev in control file
shuai.fu [Sat, 5 Nov 2016 02:13:54 +0000 (10:13 +0800)]
add  libssl-dev in control file

Change-Id: I23d09a1b082039b6afe8fd927fa155a79d8c7ddb
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Conflicts:
debian/control

7 years ago Add debian package
shuai.fu [Sat, 22 Oct 2016 05:23:40 +0000 (13:23 +0800)]
 Add debian package

Change-Id: I94c6746447a7c061b0bfc35760193381a71b7e8f
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Conflicts:
AUTHORS

7 years agoNosetest: Adding library path for _createrepo_cmodule.so.
hyokeun [Mon, 9 Nov 2015 07:53:53 +0000 (16:53 +0900)]
Nosetest: Adding library path for _createrepo_cmodule.so.

Change-Id: I4b0e793882dd394979353baeef35e910866ca039

Conflicts:
src/python/__init__.py

7 years agoAdd git-buildpackage config
Ed Bartosh [Wed, 25 Mar 2015 08:34:33 +0000 (10:34 +0200)]
Add git-buildpackage config

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
7 years agoPackaged in OpenSuSE
Hasan Wan [Tue, 8 Oct 2013 03:50:23 +0000 (11:50 +0800)]
Packaged in OpenSuSE

Signed-off-by: Hasan Wan <hasan.wan@intel.com>
7 years agoadd the supports of vcs tag
Hasan Wan [Mon, 30 Sep 2013 07:55:39 +0000 (15:55 +0800)]
add the supports of vcs tag

Signed-off-by: Hasan Wan <hasan.wan@intel.com>
7 years agoDoc: Update man pages upstream/0.10.0
Tomas Mlcoch [Thu, 23 Feb 2017 14:49:22 +0000 (15:49 +0100)]
Doc: Update man pages

7 years agoMerge pull request #63 from noelbk/infra-78
Tomas Mlcoch [Thu, 23 Feb 2017 14:39:20 +0000 (15:39 +0100)]
Merge pull request #63 from noelbk/infra-78

createrepo_c should exit nonzero if there are any errors.

7 years agoupdaterecord-py.c: Fix SIGSEGV during date-time parsing (#72)
Tomas Mlcoch [Tue, 31 Jan 2017 09:07:14 +0000 (10:07 +0100)]
updaterecord-py.c: Fix SIGSEGV during date-time parsing (#72)

7 years agoMerge pull request #70 from rpm-software-management/my_versions_in_dep_filtering
Tomas Mlcoch [Sun, 29 Jan 2017 11:13:14 +0000 (12:13 +0100)]
Merge pull request #70 from rpm-software-management/my_versions_in_dep_filtering

Consider versions during dep filtering for requires/provides (Issue #67)

7 years agoConsider versions during dep filtering for requires/provides (Issue #67)
Tomas Mlcoch [Mon, 26 Dec 2016 09:44:05 +0000 (10:44 +0100)]
Consider versions during dep filtering for requires/provides (Issue #67)

This should avoid situations where a package provides and requires same
capability (a dependency) with different versions but createrepo_c
strip the require down (because it already saw it in provides).

This should fix the issue in a better way than PR #68

7 years agoMerge pull request #64 from puiterwijk/set-record-be-set
Tomas Mlcoch [Mon, 26 Dec 2016 09:04:29 +0000 (10:04 +0100)]
Merge pull request #64 from puiterwijk/set-record-be-set

Make set_record act like a setter

7 years agoadd error_exit_val argument to exit nonzero if there are processing errors
Noel Burton-Krahn [Wed, 14 Dec 2016 00:55:30 +0000 (16:55 -0800)]
add error_exit_val argument to exit nonzero if there are processing errors

7 years agocreaterepo_c should exit nonzero if there are any errors.
Noel Burton-Krahn [Mon, 19 Sep 2016 22:26:59 +0000 (15:26 -0700)]
createrepo_c should exit nonzero if there are any errors.

Issue: https://github.com/rpm-software-management/createrepo_c/issues/58

7 years agoMerge pull request #66 from puiterwijk/close-updateinfo
Tomas Mlcoch [Thu, 29 Sep 2016 06:49:45 +0000 (08:49 +0200)]
Merge pull request #66 from puiterwijk/close-updateinfo

Close BZ2 compressed files on cr_close

7 years agoClose BZ2 compressed files on cr_close
Patrick Uiterwijk [Wed, 28 Sep 2016 12:09:07 +0000 (12:09 +0000)]
Close BZ2 compressed files on cr_close

Per bzip2 documentation: "BZ2_bzReadClose does not call fclose on the underlying file
handle, so you should do that yourself if appropriate.".
This patch adds a INNERFILE element to CR_FILE to keep track of the FILE object so we
can properly close the file on cr_close.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
7 years agoAdd test to make sure that set_record overrides the current record
Patrick Uiterwijk [Mon, 26 Sep 2016 12:48:31 +0000 (12:48 +0000)]
Add test to make sure that set_record overrides the current record

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
7 years agoMake set_record act like a setter
Patrick Uiterwijk [Mon, 26 Sep 2016 12:45:25 +0000 (12:45 +0000)]
Make set_record act like a setter

This will make sure that when set_record is called, all existing
records of the same type are removed.
It makes no sense to have multiple records of the same type,
and it actively breaks libhifs checksum validation.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
7 years agoUpdate cleanup script to remove also packages for Python 3
Tomas Mlcoch [Thu, 8 Sep 2016 07:48:18 +0000 (09:48 +0200)]
Update cleanup script to remove also packages for Python 3

7 years agocr_lock_repo: Fix double free (RhBz: 1355720)
Tomas Mlcoch [Thu, 8 Sep 2016 07:45:38 +0000 (09:45 +0200)]
cr_lock_repo: Fix double free (RhBz: 1355720)

7 years agocr_lock_repo: Fix segfault caused by freed tmp_repodata_dir variable
Tomas Mlcoch [Fri, 19 Aug 2016 12:59:26 +0000 (14:59 +0200)]
cr_lock_repo: Fix segfault caused by freed tmp_repodata_dir variable

8 years agoMerge pull request #55 from sspans/sspans-allow-single
Tomas Mlcoch [Wed, 4 May 2016 05:59:23 +0000 (07:59 +0200)]
Merge pull request #55 from sspans/sspans-allow-single

Allow single repos in mergerepo_c

8 years agoMerge pull request #59 from M0ses/disabled_python
Tomas Mlcoch [Tue, 3 May 2016 14:53:45 +0000 (16:53 +0200)]
Merge pull request #59 from M0ses/disabled_python

added switch to turn of python support

8 years agoadded switch to turn of python support
Frank Schreiner [Thu, 14 Apr 2016 10:19:18 +0000 (12:19 +0200)]
added switch to turn of python support

8 years agoUpdate AUTHORS
Tomas Mlcoch [Mon, 11 Apr 2016 10:08:01 +0000 (12:08 +0200)]
Update AUTHORS

8 years agoMerge pull request #56 from rpm-software-management/split
Tomas Mlcoch [Mon, 11 Apr 2016 09:07:43 +0000 (11:07 +0200)]
Merge pull request #56 from rpm-software-management/split

Add --split option

8 years agoRefactor --split option
Tomas Mlcoch [Mon, 11 Apr 2016 08:56:50 +0000 (10:56 +0200)]
Refactor --split option

8 years agojust cleanup to be closer to original code
Frank Schreiner [Wed, 6 Apr 2016 23:03:39 +0000 (23:03 +0000)]
just cleanup to be closer to original code

8 years agooptimized memory usage
Frank Schreiner [Wed, 6 Apr 2016 22:38:41 +0000 (22:38 +0000)]
optimized memory usage

8 years agofixed memory leaks while '--update'
Frank Schreiner [Tue, 5 Apr 2016 16:39:01 +0000 (16:39 +0000)]
fixed memory leaks while '--update'

8 years agofixed problem with baseurl while '--update'
Frank Schreiner [Tue, 5 Apr 2016 14:47:29 +0000 (14:47 +0000)]
fixed problem with baseurl while '--update'

8 years agocheck given directories in split mode
Frank Schreiner [Mon, 4 Apr 2016 20:41:32 +0000 (20:41 +0000)]
check given directories in split mode

8 years agoMerge branch 'split_option' of github.com:M0ses/createrepo_c into split_option
Frank Schreiner [Fri, 1 Apr 2016 07:14:45 +0000 (07:14 +0000)]
Merge branch 'split_option' of github.com:M0ses/createrepo_c into split_option

8 years agochanged order of arguments for load_rpm (err last arg now)
Frank Schreiner [Fri, 1 Apr 2016 07:14:26 +0000 (07:14 +0000)]
changed order of arguments for load_rpm (err last arg now)

8 years agocli options description now match man page description
Frank Schreiner [Thu, 31 Mar 2016 04:30:03 +0000 (06:30 +0200)]
cli options description now match man page description

8 years agofixed option description and added split option to man page
Frank Schreiner [Wed, 30 Mar 2016 13:50:36 +0000 (15:50 +0200)]
fixed option description and added split option to man page

8 years agoUpdate mergerepo_c.c
Sten Spans [Thu, 24 Mar 2016 09:47:16 +0000 (10:47 +0100)]
Update mergerepo_c.c

8 years agofixed size of minimal string while checking base url
Frank Schreiner [Thu, 24 Mar 2016 09:22:22 +0000 (09:22 +0000)]
fixed size of minimal string while checking base url

8 years agoadded patch from mls
Frank Schreiner [Tue, 22 Mar 2016 16:47:49 +0000 (16:47 +0000)]
added patch from mls

8 years agolocation_base now set to 'media://' if no -u option set
Frank Schreiner [Fri, 18 Mar 2016 06:32:20 +0000 (06:32 +0000)]
location_base now set to 'media://' if no -u option set

8 years agomade handling of media:// similar to python version
Frank Schreiner [Wed, 16 Mar 2016 22:10:47 +0000 (22:10 +0000)]
made handling of media:// similar to python version

8 years agoimproved handling of package_count - working with pointer now
Frank Schreiner [Wed, 16 Mar 2016 20:15:28 +0000 (20:15 +0000)]
improved handling of package_count - working with pointer now

8 years agocleanup
Frank Schreiner [Wed, 16 Mar 2016 13:44:57 +0000 (13:44 +0000)]
cleanup

8 years agoadded media_id and unique package_count
Frank Schreiner [Wed, 16 Mar 2016 13:30:54 +0000 (13:30 +0000)]
added media_id and unique package_count

8 years agoincluded loop
Frank Schreiner [Tue, 15 Mar 2016 14:08:28 +0000 (14:08 +0000)]
included loop

8 years agoadded '--split' to command line options
Frank Schreiner [Tue, 15 Mar 2016 10:49:04 +0000 (10:49 +0000)]
added '--split' to command line options

8 years agoSupport for threaded XZ encoding (Issue #53)
Tomas Mlcoch [Mon, 14 Mar 2016 12:34:44 +0000 (13:34 +0100)]
Support for threaded XZ encoding (Issue #53)

Added new CMAKE (compile-time) option ``-DENABLE_THREADED_XZ_ENCODER=ON``
which enable use of threaded ``lzma_stream_encoder_mt`` encoder instead
of single-threaded ``lzma_easy_encoder``.

Note: This option is disabled by default because Createrepo_c
parallelize a lot of tasks (including compression) by default, this
only adds extra threads on XZ library level which causes thread bloat
and doesn't bring any performance boost for most use-cases.
On regular hardware (e.g. less-or-equal 4 cores) this option may even
cause degradation of performance.

Threaded decoding isn't supported yet as it isn't supported
in the xz library [1].

[1] http://comments.gmane.org/gmane.comp.compression.xz.devel/225

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
8 years agoList enabled features in output for --version arg
Tomas Mlcoch [Fri, 11 Mar 2016 11:36:57 +0000 (12:36 +0100)]
List enabled features in output for --version arg

This patch adds use of cr_version_string_with_features()
when --version info output is printed to stdout
and when version string is printed into verbose log.

This will help with debuging issues caused by a specific
feature enabled during compilation time.

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
8 years agoMisc: Add cr_version_string_with_features() function
Tomas Mlcoch [Fri, 11 Mar 2016 11:23:45 +0000 (12:23 +0100)]
Misc: Add cr_version_string_with_features() function

This function returns a static string which contains
version of createrepo_c library and list of features
which were enabled during compilation time.

Currently there are only two features:
"DeltaRPM" which means that createrepo_c lib was compiled
with support for generation of Delta RPMS.
"LegacyWeakdeps" which means that createrepo_c was compiled
with support for legacy weakdeps which are (were?) used in
OpenSuse and related distros.

Example string:
"0.10.0 (Features: DeltaRPM )"

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
8 years agoCMake: Add ENABLE_DRPM option
Tomas Mlcoch [Fri, 11 Mar 2016 09:22:18 +0000 (10:22 +0100)]
CMake: Add ENABLE_DRPM option

8 years agoMerge pull request #52 from M0ses/master
Tomas Mlcoch [Thu, 10 Mar 2016 07:31:48 +0000 (08:31 +0100)]
Merge pull request #52 from M0ses/master

tags for old suse versions

8 years agocmake option --enable-legacy-weakdeps to enable old SUSE weaktags
Frank Schreiner [Thu, 3 Mar 2016 15:39:35 +0000 (15:39 +0000)]
cmake option --enable-legacy-weakdeps to enable old SUSE weaktags

8 years agotags for old suse versions
Frank Schreiner [Mon, 29 Feb 2016 20:25:34 +0000 (21:25 +0100)]
tags for old suse versions

8 years agoBump version to 0.10.0
Tomas Mlcoch [Tue, 5 Jan 2016 12:46:28 +0000 (13:46 +0100)]
Bump version to 0.10.0

8 years agoMerge pull request #44 from Conan-Kudo/portable-exit
Tomas Mlcoch [Tue, 5 Jan 2016 12:40:08 +0000 (13:40 +0100)]
Merge pull request #44 from Conan-Kudo/portable-exit

Replace on_exit() call with atexit() call (Fixes FTBFS on Unity Linux)

8 years agoMerge pull request #43 from ralphbean/python3
Tomas Mlcoch [Tue, 5 Jan 2016 12:36:31 +0000 (13:36 +0100)]
Merge pull request #43 from ralphbean/python3

Python3 support (Issue #41 & RhBug: 1024809)

8 years agoReplace on_exit() call with atexit() call
Neal Gompa (ニール・ゴンパ) [Sun, 6 Dec 2015 04:19:26 +0000 (23:19 -0500)]
Replace on_exit() call with atexit() call

The on_exit() function is non-portable and is not available
in all environments (notably Linux environments running on MUSL
and Solaris based environments). Thus, the function call is
swapped for the portable atexit() call.

8 years agoTypofix.
Ralph Bean [Tue, 24 Nov 2015 11:30:50 +0000 (06:30 -0500)]
Typofix.

8 years agoCmake niceties for Python3, like librepo does it.
Ralph Bean [Mon, 23 Nov 2015 19:16:41 +0000 (14:16 -0500)]
Cmake niceties for Python3, like librepo does it.

8 years agoMerge pull request #39 from Conan-Kudo/manpages-fix
Tomas Mlcoch [Mon, 23 Nov 2015 15:44:52 +0000 (16:44 +0100)]
Merge pull request #39 from Conan-Kudo/manpages-fix

Fix manpage generation and install to create and transfer uncompressed man pages

8 years agoUpdate the man pages to match latest release
Neal Gompa (ニール・ゴンパ) [Sun, 8 Nov 2015 16:04:33 +0000 (11:04 -0500)]
Update the man pages to match latest release

8 years agoAdd myself to AUTHORS file.
Ralph Bean [Mon, 16 Nov 2015 15:10:14 +0000 (10:10 -0500)]
Add myself to AUTHORS file.

8 years agoREADME notes on Python3.
Ralph Bean [Mon, 16 Nov 2015 14:28:44 +0000 (09:28 -0500)]
README notes on Python3.

8 years agoMore explicit string type checking.
Ralph Bean [Mon, 16 Nov 2015 14:19:29 +0000 (09:19 -0500)]
More explicit string type checking.

8 years agoMore fixes to the tests.
Ralph Bean [Mon, 16 Nov 2015 04:30:04 +0000 (23:30 -0500)]
More fixes to the tests.

8 years agoActually, let's go with unicode everywhere over bytes.
Ralph Bean [Mon, 16 Nov 2015 04:29:50 +0000 (23:29 -0500)]
Actually, let's go with unicode everywhere over bytes.

8 years agoFix module initialization.
Ralph Bean [Mon, 16 Nov 2015 04:27:17 +0000 (23:27 -0500)]
Fix module initialization.

8 years agoFix PyTypeObject initialization.
Ralph Bean [Mon, 16 Nov 2015 03:51:39 +0000 (22:51 -0500)]
Fix PyTypeObject initialization.

8 years agoTreat strings as explicit byte strings.
Ralph Bean [Mon, 16 Nov 2015 03:51:02 +0000 (22:51 -0500)]
Treat strings as explicit byte strings.

8 years agoMore relative imports.
Ralph Bean [Sun, 15 Nov 2015 23:02:25 +0000 (18:02 -0500)]
More relative imports.

8 years agoHandle floats and ints.
Ralph Bean [Sun, 15 Nov 2015 23:01:49 +0000 (18:01 -0500)]
Handle floats and ints.

8 years agoFix py2/3 compat issues in the acceptance tests.
Ralph Bean [Sun, 15 Nov 2015 22:57:53 +0000 (17:57 -0500)]
Fix py2/3 compat issues in the acceptance tests.