[Olsr-users] git clone url is not wrking....
Ferry Huberts
(spam-protected)
Fri Apr 29 10:15:11 CEST 2016
Henning told you the URL for v2 and you are trying to use v1.
The correct URL is https://github.com/OLSR/olsrd.git
On 29/04/16 10:11, Sunder Ganesan wrote:
> cho "Checking out files from the git repository..."; mkdir -p
> /home/user/v1.7a/rel_snmp/trunk/tmp/dl && cd
> /home/user/v1.7a/rel_snmp/trunk/tmp/dl && rm -rf olsrd-0.9.0.3 && [ \!
> -d olsrd-0.9.0.3 ] && git clone https://github.com/OLSR/OONF.git
> olsrd-0.9.0.3 --recursive && (cd olsrd-0.9.0.3 && git checkout v0.9.0.3
> && git submodule update) && echo "Packing checkout..." && rm -rf
> olsrd-0.9.0.3/.git && tar czf
> /home/user/v1.7a/rel_snmp/trunk/tmp/dl/olsrd-0.9.0.3-v0.9.0.3.tar.gz
> olsrd-0.9.0.3 && mv
> /home/user/v1.7a/rel_snmp/trunk/tmp/dl/olsrd-0.9.0.3-v0.9.0.3.tar.gz
> /home/user/v1.7a/rel_snmp/trunk/dl/ && rm -rf olsrd-0.9.0.3;
> Checking out files from the git repository...
> Cloning into 'olsrd-0.9.0.3'...
> remote: Counting objects: 14667, done.
> remote: Compressing objects: 100% (97/97), done.
> remote: Total 14667 (delta 36), reused 0 (delta 0), pack-reused 14570
> Receiving objects: 100% (14667/14667), 3.42 MiB | 1002.00 KiB/s, done.
> Resolving deltas: 100% (11625/11625), done.
> error: pathspec 'v0.9.0.3' did not match any file(s) known to git.
> make[3]: ***
> [/home/user/v1.7a/rel_snmp/trunk/dl/olsrd-0.9.0.3-v0.9.0.3.tar.gz] Error 1
> make[3]: Leaving directory
> `/home/user/v1.7a/rel_snmp/trunk/feeds/routing/olsrd'
> make[2]: *** [package/feeds/routing/olsrd/compile] Error 2
> make[2]: Leaving directory `/home/user/v1.7a/rel_snmp/trunk'
> make[1]: ***
> [/home/user/v1.7a/rel_snmp/trunk/staging_dir/target-mips64-openwrt-linux-gnu/stamp/.package_compile]
> Error 2
> make[1]: Leaving directory `/home/user/v1.7a/rel_snmp/trunk'
> make: *** [world] Error 2
> [(spam-protected) trunk]#
>
> Hi Henning,
>
> Thanks a load for an instant help.
> Could you please let me know the version on which I can clone.. is it a
> version conflict?
>
> wr,
> Sunder
>
> On Fri, Apr 29, 2016 at 1:00 PM, Henning Rogge <(spam-protected)
> <mailto:(spam-protected)>> wrote:
>
> On Fri, Apr 29, 2016 at 9:14 AM, Sunder Ganesan
> <(spam-protected) <mailto:(spam-protected)>> wrote:
> > [(spam-protected) dl]# git clone http://olsr.org/git/olsrd.git
> > Cloning into 'olsrd'...
> > fatal: unable to access 'http://olsr.org/git/olsrd.git/': The requested URL
> > returned error: 403
> > [(spam-protected) dl]#
> >
> > If I run same url: "http://olsr.org/git/olsrd.git" in firefox web browser,
> > able to open the website.
> > If I run same url: "http://olsr.org/git/olsrd.git/" in firefox web browser.
> > not able to open the website.
> >
> > Request to point out this issue...
>
> Yes, we know...
>
> it was a security issue. We moved the main repository to Github to
> solve it.
>
> Just update your URL to https://github.com/OLSR/OONF.git
>
> (I just noticed I forgot one place where the old repository was
> mentioned in the Wiki, it is fixed now)
>
> Henning
>
>
>
>
--
Ferry Huberts
More information about the Olsr-users
mailing list