[DRE-commits] [ruby-licensee] 01/01: git config

Abhijith PA abhijithpa-guest at moszumanska.debian.org
Mon Aug 21 10:53:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

abhijithpa-guest pushed a commit to branch master
in repository ruby-licensee.

commit 25cb4800ac1f9d8ad3430e442e2b1ab34b1cf330
Author: Abhijith PA <abhijith at openmailbox.org>
Date:   Mon Aug 21 16:23:19 2017 +0530

    git config
---
 debian/patches/need_real_looking_mail_id.patch | 35 ++++++++++++++++++++++++++
 debian/patches/series                          |  2 ++
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/need_real_looking_mail_id.patch b/debian/patches/need_real_looking_mail_id.patch
new file mode 100644
index 0000000..52609cc
--- /dev/null
+++ b/debian/patches/need_real_looking_mail_id.patch
@@ -0,0 +1,35 @@
+Description: Test is expecting a genuine looking mail address.
+ The test is expecting a genuine full mail address format. In 
+ autopkgtest, it need a name too. Thus two fields are added. These 
+ values are not global and it will not mangle with real user attributes.
+Author: Abhijith PA <abhijith at openmailbox.org>
+Forwarded: no
+Last-Update: 2017-08-21
+
+Index: ruby-licensee/spec/licensee/project_spec.rb
+===================================================================
+--- ruby-licensee.orig/spec/licensee/project_spec.rb
++++ ruby-licensee/spec/licensee/project_spec.rb
+@@ -10,6 +10,8 @@
+         Dir.chdir path do
+           `git init`
+           `git add .`
++          `git config user.name "foo"`
++          `git config user.email "foo at example.com"`
+           `git commit -m 'initial commit'`
+         end
+       end
+Index: ruby-licensee/spec/spec_helper.rb
+===================================================================
+--- ruby-licensee.orig/spec/spec_helper.rb
++++ ruby-licensee/spec/spec_helper.rb
+@@ -70,6 +70,8 @@ def git_init(path)
+     gpgsign = `git config --local commit.gpgsign`
+     `git config --local commit.gpgsign false`
+     `git add .`
++    `git config user.name "foo"`
++    `git config user.email "foo at example.com"`
+     `git commit -m 'initial commit'`
+     `git config --local commit.gpgsign #{gpgsign}`
+   end
+
diff --git a/debian/patches/series b/debian/patches/series
index b0e025b..bb5605e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,5 @@
 skip_failed_test.patch
 change_license_match_sequence.patch
 add_lib_path.patch
+need_real_looking_mail_id.patch
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-licensee.git



More information about the Pkg-ruby-extras-commits mailing list