ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Сломался git.alt
@ 2008-12-11 13:41 Kirill A. Shutemov
  2008-12-11 14:16 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Kirill A. Shutemov @ 2008-12-11 13:41 UTC (permalink / raw)
  To: Dmitry V. Levin; +Cc: devel

[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]

Что-то сломалось на git.alt.

$ ssh git.alt
ssh: PTY allocation request failed on channel 0
-girar-sh: Invalid number of arguments
                                      Available commands:
                                                         help
                                                             git-receive-pack <directory>
                                                                                         git-upload-pack <directory>
                                                                                                                    charset <path to git repository> [<charset>]
   clone <path to git repository> [<path to directory>]
                                                       find-package <pattern>
                                                                             init-db <path to directory>
                                                                                                        ls [<path to directory>]
                                                                                                                                mv-db <path to source directory> <path to destination directory>
                                   quota
                                        rm-db <path to git repository>
                                                                      task {list|new|show|drop|add|run} ...
                                                                                                           build <path to gear repository> <tag name> [<binary package repository name>] [<project name>]
                                            acl {--help|<binary package repository name> ...}
                                                                                             Connection to git.altlinux.org closed.
-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + ALT Linux Team, http://www.altlinux.org/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Сломался git.alt
  2008-12-11 13:41 [devel] Сломался git.alt Kirill A. Shutemov
@ 2008-12-11 14:16 ` Dmitry V. Levin
  2008-12-11 14:25   ` Mikhail Gusarov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2008-12-11 14:16 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

On Thu, Dec 11, 2008 at 03:41:39PM +0200, Kirill A. Shutemov wrote:
> Что-то сломалось на git.alt.
> 
> $ ssh git.alt
> ssh: PTY allocation request failed on channel 0

Я выключил pty allocation.  Используйте
$ ssh git.alt help


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Сломался git.alt
  2008-12-11 14:16 ` Dmitry V. Levin
@ 2008-12-11 14:25   ` Mikhail Gusarov
  0 siblings, 0 replies; 3+ messages in thread
From: Mikhail Gusarov @ 2008-12-11 14:25 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]


Twas brillig at 17:16:40 11.12.2008 UTC+03 when ldv@altlinux.org did gyre and gimble:

 DVL> Я выключил pty allocation.  Используйте $ ssh git.alt help

Предлагаю это так и написать, вместо вываливания сломанного usage. Патч в аттаче.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fixed-girar-sh-output-with-PTY-allocation-disabled.patch --]
[-- Type: text/x-diff, Size: 669 bytes --]

>From 504997c7bea2324678856a586737fecfb3f95090 Mon Sep 17 00:00:00 2001
From: Mikhail Gusarov <dottedmag@dottedmag.net>
Date: Thu, 11 Dec 2008 20:24:35 +0600
Subject: [PATCH] Fixed girar-sh output with PTY allocation disabled.

---
 bin/girar-sh.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/girar-sh.c b/bin/girar-sh.c
index 211c70e..d73fa9b 100644
--- a/bin/girar-sh.c
+++ b/bin/girar-sh.c
@@ -194,6 +194,6 @@ main (int ac, char *av[])
 		shell(av);
 	}
 
-	error(0, 0, "Invalid number of arguments");
-	show_help(EXIT_FAILURE);
+	error(0, 0, "Not enough arguments. Try the 'help' command.");
+	exit(EXIT_FAILURE);
 }
-- 
1.6.0.3


[-- Attachment #3: Type: text/plain, Size: 6 bytes --]



-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-11 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 13:41 [devel] Сломался git.alt Kirill A. Shutemov
2008-12-11 14:16 ` Dmitry V. Levin
2008-12-11 14:25   ` Mikhail Gusarov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git