David MENTRE | 3 May 2006 09:33
Picon

Interesting article on Cell security features

Hello,

IBM has published an interesting article on Cell security features:
http://www-128.ibm.com/developerworks/power/library/pa-cellsecurity/

This article gives some information on how hardware support could help
building secure software (think secure demexp server or client). Of
course, such technology is not available to us right now (we would
need the proper hardware to store the hardware root key). On this
other side, the Cell will be available in the PlayStation3: being able
to use it would make a low cost, secure demexp server. :-)

Best wishes,
d.
David MENTRE | 7 May 2006 16:35
Favicon

Shell script to launch demexp server

Hello,

We are using following shell script to manage demexp daemon on the
officiel demexp server. It could be useful for demexp packagers. ;) The
script should be to put as /etc/init.d/demexp and be used by /etc/rc?.d/
directories. Can be used to start and stop demexp server.

#!/bin/sh

DEMEXP_BIN=/path/to/demexp-server.static
DEMEXP_OPTIONS=""
DEMEXP_LOG_DIR=/path/to/public-log-dir
DEMEXP_BASES_DIR=/path/to/bases-dir
DEMEXP_LISTEN_ADDRESS=localhost:50000
DEMEXP_USER=demexp

# don't execute this script if no binary
test -x $DEMEXP_BIN || exit 0

# where to put our logs?
log_filename=$DEMEXP_LOG_DIR/demexp-`date -Iseconds`

# where are our bases?
bases=$DEMEXP_BASES_DIR/bases.dmxp
pid_file=$DEMEXP_BASES_DIR/bases.pid

start() {
    su $DEMEXP_USER --command="$DEMEXP_BIN $DEMEXP_OPTIONS \
(Continue reading)

David MENTRE | 9 May 2006 11:16
Favicon

Python script to convert from tla to mercurial with full history

Hello,

I updated Samuel Tardieu, Ollivier Robert and Thomas Waldmann Python
script that converts a tla repository into a mercurial one. The main
changes are:

 - import full history, even accross branches;

 - modify creation of .hgignore with regexp to avoid import of {arch}
   directory (the glob approach does not seem to work on my config (tla
   1.3, hg 0.8.1)). 

Script can be found at:
  http://www.linux-france.org/~dmentre/misc/tla-to-hg-hist.py

To get the full tla history, I use tla's "ancestry-graph" command. I'm
not sure of its output (no documentation for this command) so there
might be an issue there.

I tested on my own tla repository with tla 1.3 and mercurial 0.8.1 (399
revisions accross 4 or 5 branches) and it seems to work
correctly. However, I have a fairly simple way of working (no multiple
merges between branches) so it might make things simpler.

Many thanks to the original author of the script, it does a quite good
job (I particularly like the import of initial commit date).

Best wishes,
d.

(Continue reading)

David MENTRE | 9 May 2006 15:39
Favicon

Planned switch to Mercurial

Hello,

I plan to switch in the mid-term to Mercurial as my Source Code
Management system for demexp. Mercurial is quite fast (contrary to tla),
works under Windows (contrary to tla) and is actively maintained
(contrary to tla). As Arch, Mercurial is distributed. Moreover, it
offers nice extensions as the bisect one (that I just tested and which
saved my life). 

I'm not yet ready to switch as I need some more setup: automatic email
after commit and repository mirror on my web page. But once done, I'll
make an announcement.

Best wishes,
d.
--

-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <dmentre <at> linux-france.org>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A
Vadim Gelfer | 9 May 2006 20:33
Picon

Re: Python script to convert from tla to mercurial with full history

On 5/9/06, David MENTRE <dmentre <at> linux-france.org> wrote:

> I updated Samuel Tardieu, Ollivier Robert and Thomas Waldmann Python
> script that converts a tla repository into a mercurial one.

thank you.

do you want this in contrib directory of mercurial source tree?

David MENTRE | 10 May 2006 11:47
Favicon

Re: Python script to convert from tla to mercurial with full history

Hello,

"Vadim Gelfer" <vadim.gelfer <at> gmail.com> writes:

> On 5/9/06, David MENTRE <dmentre <at> linux-france.org> wrote:
>
>> I updated Samuel Tardieu, Ollivier Robert and Thomas Waldmann Python
>> script that converts a tla repository into a mercurial one.
[...]
> do you want this in contrib directory of mercurial source tree?

Well, as you wish. But considering that this script was not thoroughly
tested, it might be wiser to just add a link into the proper wiki page.

Best wishes,
david
--

-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <dmentre <at> linux-france.org>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A
David MENTRE | 10 May 2006 11:57
Favicon

Re: Issue to push a repository over ssh

Hello Thomas,

Thomas Arendsen Hein <thomas <at> intevation.de> writes:

> Use this URL:
> ssh://lfo/html/demexp/hg/dev-0.7

Oops. I mixed with scp URL.

With above URL, the behaviour is better but the issue is the same:

$ hg -v push ssh://lfo/html/demexp/hg/dev-0.7
pushing to ssh://lfo/html/demexp/hg/dev-0.7
running ssh lfo "hg -R html/demexp/hg/dev-0.7 serve --stdio"
  [ mercurial blocks here ]

I'm using Debian sarge, so I'll try the suggestion made by Bryan
O'Sullivan: 
""" 
Are you using Debian?  There's an attempt at a fix been
made recently, so you might want to try installing from
http://hg.intevation.org/mercurial/crew and see if that works for you.
"""

> Maybe hg should complain a little bit more about the strange port
> number which follows the host name :)

Yes. :-)

Best wishes,
(Continue reading)

David MENTRE | 10 May 2006 12:07
Favicon

Re: Issue to push a repository over ssh

Hello Bryan,

"Bryan O'Sullivan" <bos <at> serpentine.com> writes:

> Are you using Debian?

Yes, Debian sarge.

> There's an attempt at a fix been made recently,
> so you might want to try installing from
> http://hg.intevation.org/mercurial/crew and see if that works for you.
>
> If not, please let us know.

I just tested crew-78ab05ef1339 (by downloading the .tar.gz from above
link) and the issue is still there.

$ hg version
Mercurial Distributed SCM (version unknown)

Copyright (C) 2005 Matt Mackall <mpm <at> selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ hg -v push ssh://lfo/html/demexp/hg/dev-0.7
pushing to ssh://lfo/html/demexp/hg/dev-0.7
running ssh lfo "hg -R html/demexp/hg/dev-0.7 serve --stdio"
 [ mercurial blocks here ]

With debug output:
(Continue reading)

David MENTRE | 10 May 2006 13:17
Favicon

Re: Python script to convert from tla to mercurial with full history

David MENTRE <dmentre <at> linux-france.org> writes:

> Well, as you wish. But considering that this script was not thoroughly
> tested, it might be wiser to just add a link into the proper wiki page.

I have added a link to the modified script in page:
  http://www.selenic.com/mercurial/wiki/index.cgi/ConvertingRepositories

Best wishes,
d.
--

-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <dmentre <at> linux-france.org>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A
Benoit Boissinot | 10 May 2006 13:44
Picon

Re: Issue to push a repository over ssh

On 5/10/06, David MENTRE <dmentre <at> linux-france.org> wrote:
> "Bryan O'Sullivan" <bos <at> serpentine.com> writes:
>
> > Are you using Debian?
>
> Yes, Debian sarge.
>
> > There's an attempt at a fix been made recently,
> > so you might want to try installing from
> > http://hg.intevation.org/mercurial/crew and see if that works for you.
> >
> > If not, please let us know.
>
> I just tested crew-78ab05ef1339 (by downloading the .tar.gz from above
> link) and the issue is still there.
>
> $ hg version
> Mercurial Distributed SCM (version unknown)
>

You have to install it on the remote host (run ssh lfo "hg version" to
verify it).

regards,

Benoit


Gmane