[Babel-users] mv from darcs to git

2011-02-28 Thread Gioacchino Mazzurco
Hi all !
I have ported latest babelz repository to git with full history you
can find it here [0]

The problem with darcs is that it have less supports than git and in
fact is impossible to package software from darcs for openwrt...

Can you use git now? I have done the big effort to convert darcs repo to git

[0]  http://gitorious.org/eigennet/babeld

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users


Re: [Babel-users] mv from darcs to git

2011-02-28 Thread Gioacchino Mazzurco
I have tried to do a babelz package form darcs but i obtain unkown
source protocol or similar, moreover it seems you are to forced to use
a tagged version, if i am doing something wrong please help me to
package babelz for openwrt ( not tagged version )

2011/2/28 Gabriel Kerneis kern...@pps.jussieu.fr:
 Hi,

 On Mon, Feb 28, 2011 at 04:49:17PM +0100, Gioacchino Mazzurco wrote:
 The problem with darcs is that it have less supports than git and in
 fact is impossible to package software from darcs for openwrt...

 You must be kidding: I added support for darcs repositories to OpenWrt 4
 months ago:
    https://dev.openwrt.org/changeset/23615

 Can you use git now? I have done the big effort to convert darcs repo
 to git

 You could have spared your effort and ask first. I maintain an
 (unofficial) git clone of babeld:
    http://www.pps.jussieu.fr/~kerneis/software/repos/babeld.git
 Use at your own risk.

 --
 Gabriel


___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users


Re: [Babel-users] mv from darcs to git

2011-02-28 Thread Gabriel Kerneis
On Mon, Feb 28, 2011 at 05:52:05PM +0100, Gioacchino Mazzurco wrote:
 I have tried to do a babelz package form darcs but i obtain unkown
 source protocol or similar, moreover it seems you are to forced to use

As explained in the commit message I linked, you must use http protocol,
not darcs:// (which does not exist).

 a tagged version, if i am doing something wrong please help me to
 package babelz for openwrt ( not tagged version )

You cannot retrieve an untagged version (by design).  If you really want
to build the latest version, apply the attached patch.

Best,
-- 
Gabriel
diff --git a/include/download.mk b/include/download.mk
index d1b3fc8..06aaac4 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -135,7 +135,7 @@ define DownloadMethod/darcs
 		cd $(TMP_DIR)/dl  \
 		rm -rf $(SUBDIR)  \
 		[ \! -d $(SUBDIR) ]  \
-		darcs get -t $(VERSION) $(URL) $(SUBDIR)  \
+		darcs get $(URL) $(SUBDIR)  \
 		find $(SUBDIR) -name _darcs | xargs rm -rf  \
 		echo Packing checkout...  \
 		$(call dl_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR))  \
___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users


Re: [Babel-users] mv from darcs to git

2011-02-28 Thread Gioacchino Mazzurco
As explained in the commit message I linked, you must use http protocol,
not darcs:// (which does not exist).

yes i was already doing this way as you can see at the latest commit
before switching to git
http://gitorious.org/eigennet/packages/blobs/f6ab1558a9460efedcdcc93a53a58d107822bc0e/babeld-eigennet/Makefile


2011/2/28 Gabriel Kerneis kern...@pps.jussieu.fr:
 On Mon, Feb 28, 2011 at 05:52:05PM +0100, Gioacchino Mazzurco wrote:
 I have tried to do a babelz package form darcs but i obtain unkown
 source protocol or similar, moreover it seems you are to forced to use

 As explained in the commit message I linked, you must use http protocol,
 not darcs:// (which does not exist).

 a tagged version, if i am doing something wrong please help me to
 package babelz for openwrt ( not tagged version )

 You cannot retrieve an untagged version (by design).  If you really want
 to build the latest version, apply the attached patch.

 Best,
 --
 Gabriel


___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users


Re: [Babel-users] mv from darcs to git

2011-02-28 Thread Gabriel Kerneis
On Mon, Feb 28, 2011 at 06:21:33PM +0100, Gioacchino Mazzurco wrote:
 As explained in the commit message I linked, you must use http protocol,
 not darcs:// (which does not exist).
 
 yes i was already doing this way as you can see at the latest commit
 before switching to git
 http://gitorious.org/eigennet/packages/blobs/f6ab1558a9460efedcdcc93a53a58d107822bc0e/babeld-eigennet/Makefile

It looks like you miss PKG_SOURCE_SUBDIR, as explained in:
https://dev.openwrt.org/changeset/23615
Add for instance:
PKG_SOURCE_SUBDIR=$(PACKAGE_NAME)-darcs

(Note that, for some reason, you did not forget it when setting up the
git package.)

Best,
-- 
Gabriel

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users


Re: [Babel-users] mv from darcs to git

2011-02-28 Thread Gioacchino Mazzurco
same error :|

here you can find the updated source [0]

make[3]: Leaving directory
`/home/gioacchino/Development/backbabel/feeds/packages/ipv6/radvd'
make[3]: Entering directory
`/home/gioacchino/Development/backbabel/feeds/eigennet/babeld-eigennet'
mkdir -p /home/gioacchino/Development/backbabel/dl
ERROR: No download method available
make[3]: *** 
[/home/gioacchino/Development/backbabel/dl/babeld-eigennet-1.1.0.tar.gz]
Error 1
make[3]: Leaving directory
`/home/gioacchino/Development/backbabel/feeds/eigennet/babeld-eigennet'
make[2]: *** [package/feeds/eigennet/babeld-eigennet/compile] Error 2
make[2]: Leaving directory `/home/gioacchino/Development/backbabel'
make[1]: *** 
[/home/gioacchino/Development/backbabel/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.package_compile]
Error 2
make[1]: Leaving directory `/home/gioacchino/Development/backbabel'
make: *** [world] Error 2

[0] http://gitorious.org/eigennet/packages/blobs/babel/babeld-eigennet/Makefile

2011/2/28 Gabriel Kerneis kern...@pps.jussieu.fr:
 On Mon, Feb 28, 2011 at 06:21:33PM +0100, Gioacchino Mazzurco wrote:
 As explained in the commit message I linked, you must use http protocol,
 not darcs:// (which does not exist).

 yes i was already doing this way as you can see at the latest commit
 before switching to git
 http://gitorious.org/eigennet/packages/blobs/f6ab1558a9460efedcdcc93a53a58d107822bc0e/babeld-eigennet/Makefile

 It looks like you miss PKG_SOURCE_SUBDIR, as explained in:
    https://dev.openwrt.org/changeset/23615
 Add for instance:
    PKG_SOURCE_SUBDIR=$(PACKAGE_NAME)-darcs

 (Note that, for some reason, you did not forget it when setting up the
 git package.)

 Best,
 --
 Gabriel


___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users


Re: [Babel-users] Last change to edit the Babel draft

2011-02-28 Thread Juliusz Chroboczek
 I have some ideas for better routing metric and I didn't yet have time
 to make anything concrete.

There's really no reason to put experimental metrics in the RFC.  The
RFC contains two examples of metrics that are known to work well in
practice, and tries to make it clear that further research is needed.
(Babelz is an example of such further research.)

 So I will probably have a discussion there about it and we can then
 together see and discuss it. Maybe even implement it there and then
 and test it.

That would be great.

--Juliusz

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users


Re: [Babel-users] Last change to edit the Babel draft

2011-02-28 Thread Juliusz Chroboczek
 Uh, I am from Slovenia, so this would require some traveling I do not
 believe by budget allows me. Sadly. I would be glad to visit you.

Happily, 404 will be at WBM.

--Juliusz

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users


Re: [Babel-users] Babel Multicast routing

2011-02-28 Thread Juliusz Chroboczek
 And also we like to use multicast for a lot of thing not only for
 mdns, there is some plan to implement multicast routing on babel in
 short terms?

I've certainly got plans to look at multicast, but not specifically for
Babel.

If you look closely at the way I'm designing things, you'll notice that
I've been very careful to decouple the various pieces of the
architecture -- for example, AHCP is completely independent of Babel,
and works just fine with OLSR or BATMAN.  Which is the way it should be
[1].

Same goes for multicast -- I see no reason why multicast routing should
be linked to a particular unicast routing protocol, and intend to work
on a more general solution.  Don't hold your breath, though, my main
priority right now is to finish publishing the Babel and Babelz stuff.

--Juliusz

[1] If you're implementing tunnelling as part of your routing daemon,
you've got some explaining to do.

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users