bibledit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[be] bibledit-gtk 4.1 initial push to remote git repository


From: John Marshall
Subject: [be] bibledit-gtk 4.1 initial push to remote git repository
Date: Thu, 23 Sep 2010 12:37:54 +1000
User-agent: Mutt/1.4.2.3i

It looks like manual intervention is necessary before upload from a
bibledit-gtk project to an empty remote repository will work.  Am I
missing something?  The Remote Repository wiki page doesn't say anything
about the manual intervention I found necessary.  The problem is
obviously due to the fact that there is no 'master' branch in the empty
remote repository.

 - On Server:
   - mkdir /path/to/project.git
   - cd /path/to/project.git
   - git --bare init

 - On Bibledit-Gtk 4.1
   - New Project
   - Add a Book from Template
   - Add some text
   - Configure remote repository
     - Setup confirms read access OK
     - Cloning OK
     - Test Write Access fails (but write access is fine)

The bibledit-gtk system log shows the attempt and reports...

  Your configuration specifies to merge with the ref 'master'
  from the remote, but no such ref was fetched.

A Project Send/Receive reports...

  Your configuration specifies to merge with the ref 'master'
  from the remote, but no such ref was fetched.
  No refs in common and none specified; doing nothing.
  Perhaps you should specify a branch such as 'master'.

So, I try manually:

 - From terminal on client
   - cd ~/.bibledit/projects/project/data
   - git push ssh://server/path/to/project.git master
       Counting objects: 66, done.
       Compressing objects: 100% (8/8), done.
       Writing objects: 100% (66/66), 3.73 KiB, done.
       Total 66 (delta 25), reused 66 (delta 25)
       To ssh://server/path/to/project.git
        * [new branch]      master -> master

Now bibledit-gtk project send/receive works.

Regards,

-- 
John Marshall

Attachment: pgpMNErWm9jxh.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]