Topic: Git clone from official repository

Maybe I am missing something obvious, but I can't figure out how to clone from the "official" git repository at
http://devel.frontaccounting.com/git/

I've checked the wiki and searched the forum, and I see lots of posts pointing to the git web repository, but no instructions how to clone it.  I've tried cloning with git protocol and HTTP using multiple different URLs and haven't gotten anything to work.

Can someone tell me what I'm doing wrong?  I'd prefer not to base work off of a 3rd party git repository if an official one is available.

Thanks!
Brock

Re: Git clone from official repository

Use TortoiseGit and do a fetch/pull if you cannot clone..

Re: Git clone from official repository

As far as I can tell its down.  Seems to be a firewall, or no daemon running on port 9418.  Last time I fetched was 19 June 2014.  See this post.

I've got two github repos.

1. A mirror of the front accounting git repo when it was online
2. A wrapper one level up, that I used for e2e tests and build infrastructure.

If you fork those then there is some chance that changes could be merged upstream.

Cambell https://github.com/cambell-prince

Re: Git clone from official repository

OK thanks at least it's not just me!

Re: Git clone from official repository

Have you tried Hg2Git mirrorring?

http://stackoverflow.com/questions/1389307/convert-a-mercurial-repository-to-git

https://github.com/vitaly/hg2git

http://repo.or.cz/w/hg2git.git

http://blog.appveyor.com/2014/02/23/converting-mercurial-repository-to-git-on-windows/

http://arr.gr/blog/2011/10/bitbucket-converting-hg-repositories-to-git/

Re: Git clone from official repository

Gti mirror of the official Hg repo is already up and running again at
git://devel.frontaccounting.com:git/fa-stable

Janusz

Re: Git clone from official repository

The browseable url is:
http://devel.frontaccounting.com/git/?p=fa-stable.git

Hope the said port 9418 is open for such cloning.

The IP reverse resolves to my.frontaccounting.com

To troubleshoot, the PortScan will be handy:

<Scan>
    <Info>PortScan</Info>
    <Host>176.31.120.126
        <Hostname>my.frontaccounting.com</Hostname>
        <OpenPort>SSH [22]</OpenPort>
        <OpenPort>SMTP [25]</OpenPort>
        <SMTPServer>220 ks395322.kimsufi.com ESMTP Postfix (Debian/GNU)</SMTPServer>
        <OpenPort>HTTP [80]</OpenPort><OpenPort>imap [143]</OpenPort>
        <IMAPServer>[CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.</IMAPServer>
        <OpenPort>587</OpenPort>
        <HTTPServer>Apache/2.2.16 (Debian)</HTTPServer>
        <HTTPTitle>400 Bad Request</HTTPTitle>
    </Host>
</Scan>

Re: Git clone from official repository

Sorry,  There was a a mistake in the git protocol url above, now fixed.
Janusz

Re: Git clone from official repository

Progress...  I can now clone from the official repository, but it looks like there are still some issues.  When I do a clone, I get:

warning: remote HEAD refers to nonexistent ref, unable to checkout.

After the clone, there is no master ref:
cd fa-stable
git show-ref
481038ba4817907d494aa66fb6a888f1493221b2 refs/remotes/origin/gl_tax_support
264c09696d65efe4532c197f317162daf8c24f32 refs/tags/unstable_2.3.13
...
...
2e325b980e8977e83067ddece2df28199e5cadfc refs/tags/version_2_3_9

the only branch that shows up:
git branch -r
  origin/gl_tax_support

Thanks for the help!

Re: Git clone from official repository

Maybe the permissions in the .git folder are not allowing us to fetch all the refs.

Cambell https://github.com/cambell-prince

Re: Git clone from official repository

Indeed. Fixed, Stable (i.e.2.3 branch) FA code is in master.
Janusz