From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-vcs/git-cola/files/README.gentoo | 3 +++ .../files/git-cola-2.10-disable-live-tests.patch | 24 ++++++++++++++++++++++ .../files/git-cola-2.2.1-disable-live-tests.patch | 22 ++++++++++++++++++++ ...git-cola-2.2.1-update-git-config-in-tests.patch | 13 ++++++++++++ dev-vcs/git-cola/files/index.html | 15 ++++++++++++++ 5 files changed, 77 insertions(+) create mode 100644 dev-vcs/git-cola/files/README.gentoo create mode 100644 dev-vcs/git-cola/files/git-cola-2.10-disable-live-tests.patch create mode 100644 dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch create mode 100644 dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch create mode 100644 dev-vcs/git-cola/files/index.html (limited to 'dev-vcs/git-cola/files') diff --git a/dev-vcs/git-cola/files/README.gentoo b/dev-vcs/git-cola/files/README.gentoo new file mode 100644 index 000000000000..0f4af85d5ccc --- /dev/null +++ b/dev-vcs/git-cola/files/README.gentoo @@ -0,0 +1,3 @@ +Please make sure you have either a SSH key management installed and activated or +installed a SSH askpass app like net-misc/x11-ssh-askpass. +Otherwise git-cola may hang when pushing/pulling from remote git repositories via SSH. diff --git a/dev-vcs/git-cola/files/git-cola-2.10-disable-live-tests.patch b/dev-vcs/git-cola/files/git-cola-2.10-disable-live-tests.patch new file mode 100644 index 000000000000..1f58ea0eddb6 --- /dev/null +++ b/dev-vcs/git-cola/files/git-cola-2.10-disable-live-tests.patch @@ -0,0 +1,24 @@ +diff --git a/test/git_test.py b/test/git_test.py +index 9f812b2..ff7da24 100644 +--- a/test/git_test.py ++++ b/test/git_test.py +@@ -53,19 +53,6 @@ class GitCommandTest(unittest.TestCase): + version = self.git.version()[STDOUT] + self.failUnless(version.startswith('git version')) + +- def test_tag(self): +- """Test running 'git tag'""" +- tags = self.git.tag()[STDOUT].splitlines() +- if os.getenv('GIT_COLA_NO_HISTORY', False): +- return +- self.failUnless('v1.0.0' in tags) +- +- def test_show(self): +- """Test running 'git show'""" +- oid = 'HEAD' +- content = self.git.show(oid)[STDOUT] +- self.failUnless(content.startswith('commit ')) +- + def test_stdout(self): + """Test overflowing the stdout buffer""" + # Write to stdout only diff --git a/dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch b/dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch new file mode 100644 index 000000000000..2ebdc9880d1e --- /dev/null +++ b/dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch @@ -0,0 +1,22 @@ +diff --git a/test/git_test.py b/test/git_test.py +index 9f812b2..ff7da24 100644 +--- a/test/git_test.py ++++ b/test/git_test.py +@@ -53,17 +53,6 @@ class GitCommandTest(unittest.TestCase): + version = self.git.version()[STDOUT] + self.failUnless(version.startswith('git version')) + +- def test_tag(self): +- """Test running 'git tag'""" +- tags = self.git.tag()[STDOUT].splitlines() +- self.failUnless( 'v1.0.0' in tags ) +- +- def test_show(self): +- """Test running 'git show'""" +- sha = '1b9742bda5d26a4f250fa64657f66ed20624a084' +- contents = self.git.show(sha)[STDOUT].splitlines() +- self.failUnless(contents[0] == '/build') +- + def test_stdout(self): + """Test overflowing the stdout buffer""" + # Write to stdout only diff --git a/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch b/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch new file mode 100644 index 000000000000..96271d05548c --- /dev/null +++ b/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch @@ -0,0 +1,13 @@ +diff --git a/test/helper.py b/test/helper.py +index 006a5b1..64d0dfc 100644 +--- a/test/helper.py ++++ b/test/helper.py +@@ -87,6 +87,8 @@ class GitRepositoryTestCase(TmpPathTestCase): + + def initialize_repo(self): + self.git('init') ++ self.git('config', '--local', 'user.name', 'Your Name') ++ self.git('config', '--local', 'user.email', 'you@example.com') + self.touch('A', 'B') + self.git('add', 'A', 'B') + diff --git a/dev-vcs/git-cola/files/index.html b/dev-vcs/git-cola/files/index.html new file mode 100644 index 000000000000..7f1e814a0b51 --- /dev/null +++ b/dev-vcs/git-cola/files/index.html @@ -0,0 +1,15 @@ + + + Missing documentation + + +
+ This documentation is missing. Please reinstall dev-util/cola with the 'doc' useflag enabled. + +

+ Sincerely,
+ your package maintainer. +

+
+ + -- cgit v1.2.3