[arch-commits] Commit in python-pygit2/repos (10 files)
Date: Thursday, September 3, 2015 @ 07:39:05 Author: bisson Revision: 139124 db-move: moved python-pygit2 from [community-testing] to [community] (i686, x86_64) Added: python-pygit2/repos/community-i686/0001-Fix-data-type-of-options-in-init_repository.patch (from rev 139122, python-pygit2/repos/community-testing-i686/0001-Fix-data-type-of-options-in-init_repository.patch) python-pygit2/repos/community-i686/PKGBUILD (from rev 139122, python-pygit2/repos/community-testing-i686/PKGBUILD) python-pygit2/repos/community-x86_64/0001-Fix-data-type-of-options-in-init_repository.patch (from rev 139122, python-pygit2/repos/community-testing-x86_64/0001-Fix-data-type-of-options-in-init_repository.patch) python-pygit2/repos/community-x86_64/PKGBUILD (from rev 139122, python-pygit2/repos/community-testing-x86_64/PKGBUILD) Deleted: python-pygit2/repos/community-i686/0001-Fix-data-type-of-options-in-init_repository.patch python-pygit2/repos/community-i686/PKGBUILD python-pygit2/repos/community-testing-i686/ python-pygit2/repos/community-testing-x86_64/ python-pygit2/repos/community-x86_64/0001-Fix-data-type-of-options-in-init_repository.patch python-pygit2/repos/community-x86_64/PKGBUILD -+ /0001-Fix-data-type-of-options-in-init_repository.patch | 104 ++ /PKGBUILD | 66 ++ community-i686/0001-Fix-data-type-of-options-in-init_repository.patch | 52 - community-i686/PKGBUILD | 31 -- community-x86_64/0001-Fix-data-type-of-options-in-init_repository.patch | 52 - community-x86_64/PKGBUILD | 31 -- 6 files changed, 170 insertions(+), 166 deletions(-) Deleted: community-i686/0001-Fix-data-type-of-options-in-init_repository.patch === --- community-i686/0001-Fix-data-type-of-options-in-init_repository.patch 2015-09-03 05:39:04 UTC (rev 139123) +++ community-i686/0001-Fix-data-type-of-options-in-init_repository.patch 2015-09-03 05:39:05 UTC (rev 139124) @@ -1,52 +0,0 @@ -From 0437eb7b8b184da5b5700b5e0cd96e1f442d331e Mon Sep 17 00:00:00 2001 -From: Lukas Fleischer-Date: Sat, 10 Jan 2015 20:38:39 +0100 -Subject: [PATCH] Fix data type of options in init_repository() - -Initializers for the char * fields of the git_repository_init_options -structure must be cdata pointers. - -Signed-off-by: Lukas Fleischer - pygit2/__init__.py | 25 - - 1 file changed, 20 insertions(+), 5 deletions(-) - -diff --git a/pygit2/__init__.py b/pygit2/__init__.py -index 2674063..995fe6c 100644 a/pygit2/__init__.py -+++ b/pygit2/__init__.py -@@ -86,11 +86,26 @@ def init_repository(path, bare=False, - C.git_repository_init_init_options(options, C.GIT_REPOSITORY_INIT_OPTIONS_VERSION) - options.flags = flags - options.mode = mode --options.workdir_path = to_bytes(workdir_path) --options.description = to_bytes(description) --options.template_path = to_bytes(template_path) --options.initial_head = to_bytes(initial_head) --options.origin_url = to_bytes(origin_url) -+ -+if workdir_path: -+workdir_path_ref = ffi.new('char []', to_bytes(workdir_path)) -+options.workdir_path = workdir_path_ref -+ -+if description: -+description_ref = ffi.new('char []', to_bytes(description)) -+options.description = description_ref -+ -+if template_path: -+template_path_ref = ffi.new('char []', to_bytes(template_path)) -+options.template_path = template_path_ref -+ -+if initial_head: -+initial_head_ref = ffi.new('char []', to_bytes(initial_head)) -+options.initial_head = initial_head_ref -+ -+if origin_url: -+origin_url_ref = ffi.new('char []', to_bytes(origin_url)) -+options.origin_url = origin_url_ref - - # Call - crepository = ffi.new('git_repository **') --- -2.2.1 - Copied: python-pygit2/repos/community-i686/0001-Fix-data-type-of-options-in-init_repository.patch (from rev 139122, python-pygit2/repos/community-testing-i686/0001-Fix-data-type-of-options-in-init_repository.patch) === --- community-i686/0001-Fix-data-type-of-options-in-init_repository.patch (rev 0) +++ community-i686/0001-Fix-data-type-of-options-in-init_repository.patch 2015-09-03 05:39:05 UTC (rev 139124) @@ -0,0 +1,52 @@ +From 0437eb7b8b184da5b5700b5e0cd96e1f442d331e Mon Sep 17 00:00:00 2001 +From: Lukas Fleischer +Date: Sat, 10 Jan 2015 20:38:39 +0100 +Subject: [PATCH] Fix data type of options in init_repository() + +Initializers for the char * fields of the
[arch-commits] Commit in python-pygit2/repos (10 files)
Date: Friday, August 21, 2015 @ 12:22:57 Author: fyan Revision: 138594 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: python-pygit2/repos/community-staging-i686/ python-pygit2/repos/community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch (from rev 138593, python-pygit2/trunk/0001-Fix-data-type-of-options-in-init_repository.patch) python-pygit2/repos/community-staging-i686/PKGBUILD (from rev 138593, python-pygit2/trunk/PKGBUILD) python-pygit2/repos/community-staging-x86_64/ python-pygit2/repos/community-staging-x86_64/0001-Fix-data-type-of-options-in-init_repository.patch (from rev 138593, python-pygit2/trunk/0001-Fix-data-type-of-options-in-init_repository.patch) python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 138593, python-pygit2/trunk/PKGBUILD) Deleted: python-pygit2/repos/community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch python-pygit2/repos/community-staging-i686/PKGBUILD python-pygit2/repos/community-staging-x86_64/0001-Fix-data-type-of-options-in-init_repository.patch python-pygit2/repos/community-staging-x86_64/PKGBUILD -+ /0001-Fix-data-type-of-options-in-init_repository.patch | 104 ++ /PKGBUILD | 62 + community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch | 52 - community-staging-i686/PKGBUILD | 31 -- community-staging-x86_64/0001-Fix-data-type-of-options-in-init_repository.patch | 52 - community-staging-x86_64/PKGBUILD | 31 -- 6 files changed, 166 insertions(+), 166 deletions(-) Deleted: community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch === --- community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch 2015-08-20 09:00:15 UTC (rev 138543) +++ community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch 2015-08-21 10:22:57 UTC (rev 138594) @@ -1,52 +0,0 @@ -From 0437eb7b8b184da5b5700b5e0cd96e1f442d331e Mon Sep 17 00:00:00 2001 -From: Lukas Fleischer i...@cryptocrack.de -Date: Sat, 10 Jan 2015 20:38:39 +0100 -Subject: [PATCH] Fix data type of options in init_repository() - -Initializers for the char * fields of the git_repository_init_options -structure must be cdata pointers. - -Signed-off-by: Lukas Fleischer i...@cryptocrack.de - pygit2/__init__.py | 25 - - 1 file changed, 20 insertions(+), 5 deletions(-) - -diff --git a/pygit2/__init__.py b/pygit2/__init__.py -index 2674063..995fe6c 100644 a/pygit2/__init__.py -+++ b/pygit2/__init__.py -@@ -86,11 +86,26 @@ def init_repository(path, bare=False, - C.git_repository_init_init_options(options, C.GIT_REPOSITORY_INIT_OPTIONS_VERSION) - options.flags = flags - options.mode = mode --options.workdir_path = to_bytes(workdir_path) --options.description = to_bytes(description) --options.template_path = to_bytes(template_path) --options.initial_head = to_bytes(initial_head) --options.origin_url = to_bytes(origin_url) -+ -+if workdir_path: -+workdir_path_ref = ffi.new('char []', to_bytes(workdir_path)) -+options.workdir_path = workdir_path_ref -+ -+if description: -+description_ref = ffi.new('char []', to_bytes(description)) -+options.description = description_ref -+ -+if template_path: -+template_path_ref = ffi.new('char []', to_bytes(template_path)) -+options.template_path = template_path_ref -+ -+if initial_head: -+initial_head_ref = ffi.new('char []', to_bytes(initial_head)) -+options.initial_head = initial_head_ref -+ -+if origin_url: -+origin_url_ref = ffi.new('char []', to_bytes(origin_url)) -+options.origin_url = origin_url_ref - - # Call - crepository = ffi.new('git_repository **') --- -2.2.1 - Copied: python-pygit2/repos/community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch (from rev 138593, python-pygit2/trunk/0001-Fix-data-type-of-options-in-init_repository.patch) === --- community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch (rev 0) +++ community-staging-i686/0001-Fix-data-type-of-options-in-init_repository.patch 2015-08-21 10:22:57 UTC (rev 138594) @@ -0,0 +1,52 @@ +From 0437eb7b8b184da5b5700b5e0cd96e1f442d331e Mon Sep 17 00:00:00 2001 +From: Lukas Fleischer i...@cryptocrack.de +Date: Sat, 10 Jan 2015 20:38:39 +0100 +Subject: [PATCH] Fix data type of options in init_repository() + +Initializers