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

2011-03-01 Thread Mitar
Hi!

On Tue, Mar 1, 2011 at 8:52 AM, Juliusz Chroboczek j...@pps.jussieu.fr wrote:
 Independently of the OpenWRT issues (which I'm confident Gabriel will
 solve), do people want the babeld, babelz and ahcpd repositories to move
 to Git?  Git sucks, but it sucks less than it used to, and I'm okay with
 moving.

To stir things even more: why not Mercurial? ;-)


Mitar

___
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-03-01 Thread ZioPRoTo (Saverio Proto)
 To stir things even more: why not Mercurial? ;-)

olsr moved from mercurial to git :)

Saverio

___
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-03-01 Thread Juliusz Chroboczek
 To stir things even more: why not Mercurial? ;-)

Git is an infuriating piece of software, but with a great ecosystem.
Darcs is a great piece of software, but with no ecosystem to speak about.
Mercurial has the user-friendliness of Git with an ecosystem akin to Darcs'.

Sorry, but you started ;-)

--Juliusz

P.S. Bazaar?  RCS?  SCCS?  Heck, SVN while you're at it ;-)

___
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-03-01 Thread Gioacchino Mazzurco
Git! Git! Git! Git! Git!

2011/3/1 Juliusz Chroboczek j...@pps.jussieu.fr:
 To stir things even more: why not Mercurial? ;-)

 Git is an infuriating piece of software, but with a great ecosystem.
 Darcs is a great piece of software, but with no ecosystem to speak about.
 Mercurial has the user-friendliness of Git with an ecosystem akin to Darcs'.

 Sorry, but you started ;-)

 --Juliusz

 P.S. Bazaar?  RCS?  SCCS?  Heck, SVN while you're at it ;-)

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


___
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-03-01 Thread ZioPRoTo (Saverio Proto)
 Git! Git! Git! Git! Git!

you are so young :)

Saverio

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


[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