ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] [git update] packages/giter-factory: heads/master
  @ 2007-06-13 21:19 ` Dmitry V. Levin
  2007-06-14  4:32   ` Slava Semushin
  2007-06-14  8:20   ` Alexey Gladkov
  0 siblings, 2 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2007-06-13 21:19 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Wed, Jun 13, 2007 at 06:34:04PM +0400, Alexey Gladkov wrote:
> Update of /people/legion/packages/giter-factory.git
> 
> Changes statistics since `29b8e7d43efd5442e54de15b88829e9c599d201a' follows:
>  build-fail.txt                                  |   14 ----
>  build-done.txt => mail-templates/build-done.txt |    4 +-
>  build-done.txt => mail-templates/build-fail.txt |    5 +-
>  mail-templates/first-0.txt                      |    2 +
>  mail-templates/first-1.txt                      |    2 +
>  mail-templates/first-2.txt                      |    2 +
>  mail-templates/first-3.txt                      |    2 +
>  mail-templates/header.txt                       |    3 +
>  build-done.txt => mail-templates/mail-info.txt  |    4 +-
>  mail-templates/payload.txt                      |    1 +
>  mail-templates/signature.txt                    |    3 +
>  mail.done                                       |    2 +
>  mail.fail                                       |    2 +
>  mail.msg                                        |   78 +++++++++++++++++++++++
>  14 files changed, 104 insertions(+), 20 deletions(-)
> 
> Changelog since `29b8e7d43efd5442e54de15b88829e9c599d201a' follows:
> commit d7059e5656241441d9ce00c8a3920eaaf03f4004
> Author: Alexey Gladkov <legion@altlinux>
> Date:   Wed Jun 13 18:33:49 2007 +0400
> 
>     Part of new mail notification scheme
[...]
> diff --git a/mail.msg b/mail.msg
> new file mode 100755
> index 0000000..b41fe90
> --- /dev/null
> +++ b/mail.msg
[...]
> +max="$(find "$maildir" -type f -name 'first*.txt' |wc -l)"
> +n=$(head -c4 /dev/urandom |od -A n -t 'u');
> +n=$(($n % $max))

А может быть лучше воспользоваться fortune(6)?

$ apropos fortune
fortune              (6)  - print a random, hopefully interesting, adage


-- 
ldv

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

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

* Re: [devel] [git update] packages/giter-factory: heads/master
  2007-06-13 21:19 ` [devel] [git update] packages/giter-factory: heads/master Dmitry V. Levin
@ 2007-06-14  4:32   ` Slava Semushin
  2007-06-14  7:22     ` Dmitry V. Levin
  2007-06-14  8:20   ` Alexey Gladkov
  1 sibling, 1 reply; 4+ messages in thread
From: Slava Semushin @ 2007-06-14  4:32 UTC (permalink / raw)
  To: ALT Devel discussion list

2007/6/14, Dmitry V. Levin <ldv / altlinux.org>:
> [...]
> > +max="$(find "$maildir" -type f -name 'first*.txt' |wc -l)"
> > +n=$(head -c4 /dev/urandom |od -A n -t 'u');
> > +n=$(($n % $max))
>
> А может быть лучше воспользоваться fortune(6)?

Извиняюсь, что вмешиваюсь, но кажется fortune(6) не подойдёт. По
замыслу случайным образом подставляется приветствие
(Hi/Greetings/Hello/Dear), а fortune(6), насколько понимаю, пригодна
разве что для случайной подписи.


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

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

* Re: [devel] [git update] packages/giter-factory: heads/master
  2007-06-14  4:32   ` Slava Semushin
@ 2007-06-14  7:22     ` Dmitry V. Levin
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2007-06-14  7:22 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Thu, Jun 14, 2007 at 11:32:24AM +0700, Slava Semushin wrote:
> 2007/6/14, Dmitry V. Levin <ldv / altlinux.org>:
> > [...]
> > > +max="$(find "$maildir" -type f -name 'first*.txt' |wc -l)"
> > > +n=$(head -c4 /dev/urandom |od -A n -t 'u');
> > > +n=$(($n % $max))
> >
> > А может быть лучше воспользоваться fortune(6)?
> 
> Извиняюсь, что вмешиваюсь, но кажется fortune(6) не подойдёт. По
> замыслу случайным образом подставляется приветствие
> (Hi/Greetings/Hello/Dear), а fortune(6), насколько понимаю, пригодна
> разве что для случайной подписи.

Почему это?


-- 
ldv

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

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

* Re: [devel] [git update] packages/giter-factory: heads/master
  2007-06-13 21:19 ` [devel] [git update] packages/giter-factory: heads/master Dmitry V. Levin
  2007-06-14  4:32   ` Slava Semushin
@ 2007-06-14  8:20   ` Alexey Gladkov
  1 sibling, 0 replies; 4+ messages in thread
From: Alexey Gladkov @ 2007-06-14  8:20 UTC (permalink / raw)
  To: ALT Devel discussion list

Dmitry V. Levin пишет:
> On Wed, Jun 13, 2007 at 06:34:04PM +0400, Alexey Gladkov wrote:
>> Update of /people/legion/packages/giter-factory.git
>> +max="$(find "$maildir" -type f -name 'first*.txt' |wc -l)"
>> +n=$(head -c4 /dev/urandom |od -A n -t 'u');
>> +n=$(($n % $max))
> 
> А может быть лучше воспользоваться fortune(6)?

Это была моя шалось. И скорее всего я это выкину. :)

-- 
Rgrds, legion



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

end of thread, other threads:[~2007-06-14  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-13 21:19 ` [devel] [git update] packages/giter-factory: heads/master Dmitry V. Levin
2007-06-14  4:32   ` Slava Semushin
2007-06-14  7:22     ` Dmitry V. Levin
2007-06-14  8:20   ` Alexey Gladkov

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