[git-users] Re: gitosis problems

2013-01-21 Thread robertgenito
i wish i knew. gitosis makes me sad sometimes...

On Tuesday, March 17, 2009 12:10:33 PM UTC-4, gte351s wrote:

 I'm trying to set up gitosis on my office server, but ran into some 
 problems when I tried to push changes. 

 Setup went fine, and I was able to clone gitosis-admin.git repository. 
 When I tried adding a user to gitosis.conf and push the changes I got 
 this error: 

 error: unable to create temporary sha1 filename ./objects/26: 
 Permission denied 

 fatal: failed to write object 
 error: unpack failed: unpacker exited with error code 
 To git@gitserver:gitosis-admin.git 
 ! [remote rejected] master - master (n/a (unpacker error)) 
 error:  failed to push some refs to 'git@gitserver:gitosis-admin.git' 

 Anyone knows what's up?

-- 




[git-users] Re: gitosis problems

2013-01-21 Thread robertgenito
wow i just realized you posted this in 2009 @_@
the solution is to fix the permissions in the actual repository folder (on 
the server). since we are using gitosis, the repository (and ALL 
subfolders/subfiles) must belong to the git user. do something like...

# chown -R git:git gitosis-admin.git/

hope this helps anyone else who runs into this thread! especially people 
who need help in 2019 ;)

On Monday, January 21, 2013 3:45:33 AM UTC-5, robertgenito wrote:

 i wish i knew. gitosis makes me sad sometimes...

 On Tuesday, March 17, 2009 12:10:33 PM UTC-4, gte351s wrote:

 I'm trying to set up gitosis on my office server, but ran into some 
 problems when I tried to push changes. 

 Setup went fine, and I was able to clone gitosis-admin.git repository. 
 When I tried adding a user to gitosis.conf and push the changes I got 
 this error: 

 error: unable to create temporary sha1 filename ./objects/26: 
 Permission denied 

 fatal: failed to write object 
 error: unpack failed: unpacker exited with error code 
 To git@gitserver:gitosis-admin.git 
 ! [remote rejected] master - master (n/a (unpacker error)) 
 error:  failed to push some refs to 'git@gitserver:gitosis-admin.git' 

 Anyone knows what's up?



-- 




[git-users] Re: git push failing with change closed

2013-01-21 Thread Thomas Ferris Nicolaisen
On Sunday, January 20, 2013 6:57:08 PM UTC+1, python...@gmail.com wrote:

 @Thomas - I already tried removing the change-ed from the commit 
 message,editing the message but a new change-id is not being generated 
 automatically...do you have any other suggestions?



Follow the instructions here: 
http://gerrit.googlecode.com/svn/documentation/2.2.1/error-change-closed.html

You can get help from other Gerrit users and developers 
here: https://groups.google.com/forum/?fromgroups#!forum/repo-discuss

-- 




[git-users] Re: Pull fast forward error even though pull says up to date

2013-01-21 Thread Thomas Ferris Nicolaisen


On Sunday, January 20, 2013 7:50:30 PM UTC+1, J K wrote:

 Tanks Thomas, your advice was spot on.

 I needed to configure Gerrit.

 It would have been nice if Git had actually given me an error message that 
 was less cryptic.

 One of the serious problems with git.


Well, the problem is more on Gerrit's side here, as they are abusing the 
concept of a Git remote reference to mean something else than what it 
actually is. 

-- 




[git-users] Interesting(?) article on setting up a small, local, git server for small development team.

2013-01-21 Thread John McKown
http://www.howtoforge.com/debian-wheezy-local-git-server-with-git-lite-workflow
quote

This howto describes a shared local *git* [1] server setup for a small 
team. This is a repository layout that is familiar to anyone used to 
working with a traditional version control system.

One of the tutorial objectives is to show detailed steps to prepare the 
server (here called the depot because of its authoritative role) and 
publish the code on a public service like *Github*, *Gitorius* [2,3] et. al.

A second objective is to introduce the *Git Lite Workflow* in team 
development. This serves as an introduction to gits powerful branch and 
merge features. Your personal favorite workflow may be different compared 
to this model. For a feature rich workflow albeit more complex, see *nvie*
 [4].

/quote

-- 




[git-users] which commit ever change FULL_OPTIMIZATION in this file

2013-01-21 Thread lei yang
Hi experts,

lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git blame -c
meta/conf/bitbake.conf
9cb71137 meta/conf/bitbake.conf (Khem Raj
2011-03-17 16:54:30 -0700 524) FULL_OPTIMIZATION = -O2 -pipe
${DEBUG_FLAGS}

lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git show 9cb71137
commit 9cb7113790d716a4c5cf7d511535ba87fdecd1ac
Author: Khem Raj raj.k...@gmail.com
Date:   Thu Mar 17 16:54:30 2011 -0700
..
 ##
 # Optimization flags.
 ##
-
-FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer
-frename-registers -O2 -ggdb -feliminate-unused-debug-types
-DEBUG_OPTIMIZATION = -O -fno-omit-frame-pointer -g
+DEBUG_FLAGS ?= -g -feliminate-unused-debug-types -feliminate-dwarf2-dups
+FULL_OPTIMIZATION = -O2 -pipe ${DEBUG_FLAGS}
+DEBUG_OPTIMIZATION = -O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe
 SELECTED_OPTIMIZATION = ${@bb.data.getVar(['FULL_OPTIMIZATION',
'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d,
1)}
-BUILD_OPTIMIZATION = -O2
+BUILD_OPTIMIZATION = -O2 -pipe



git blame tells me 9cb71137  ever change it .but it doesn't all the
commit that change it ever, an help

-- 




Re: [git-users] which commit ever change FULL_OPTIMIZATION in this file

2013-01-21 Thread Konstantin Khomoutov
On Tue, 22 Jan 2013 00:46:55 +0800
lei yang yanglei.f...@gmail.com wrote:

 lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git blame -c
 meta/conf/bitbake.conf
 9cb71137 meta/conf/bitbake.conf (Khem Raj
 2011-03-17 16:54:30 -0700 524) FULL_OPTIMIZATION = -O2 -pipe
 ${DEBUG_FLAGS}
 
 lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git show 9cb71137
[...]
 git blame tells me 9cb71137  ever change it .but it doesn't all the
 commit that change it ever, an help

I fail to parse this question, so here are a couple of guesses.

If you know the line containing FULL_OPTIMIZATION in the file of
interest has been changed by more than one commit throughout the
history of modification to this file, and you're puzzled about why
`git blame` only shows you just one commit, then the question is: this
is by design as `git blame` only shows the last commit changed each
line in the file (as clearly stated in the manual).

If you want to list all commits which made a modification touching a
line containing the FULL_OPTIMIZATION substring in a specific file,
you should instead use `git log` with its -S command-line option, like
this:

$ git log -F -SFULL_OPTIMIZATION -- meta/conf/bitbake.conf

-- 




Re: [git-users] Re: [Ubuntu 12.04 LTS] [git version 1.7.9.5] how to update to 1.8.1.1?

2013-01-21 Thread Jesús García Crespo
Hi Luis,

Peter van der Does is maintaining a PPA that worked great for me.
https://launchpad.net/~pdoes/+archive/ppa

Regards,

On Sun, Jan 20, 2013 at 4:40 AM, Luis M. Alonso jipal...@si.ehu.es wrote:

 Thanks!


 On Friday, January 18, 2013 11:00:51 AM UTC+1, Luis M. Alonso wrote:

 In [Ubuntu 12.04 LTS] the current version of git is 1.7.9.5
 After git clone https://github.com/git/git.git
 git version shows 1.7.9.5

 How to update to 1.8...?
 Thanks!

  --






-- 
Jesús García Crespo

-- 




[git-users] Trying to convert svn repos to Git repos

2013-01-21 Thread waas.nett
Hi there
I have started recently to use Git. Since I have been using svn for a 
couple of year I would like to convert those svn repos including their 
history to Git repos. I have converted already some repos, which is 
certainly time-consuming, but it seems to work. Unfortunately, I have now 
one svn repos which I cannot convert. Obviously I had created by accident a 
tags folder with an additional blank at the end. I never noticed all those 
years. svn does not have an issue with this at all. However, when doing a 
git svn clone it stop there. Certainly I can rename the tag folder and 
remove the blank, but it will not help, because the rename is somewhere 
later in the history. 
The repos is on a server and I made a dump from it. The dump file can be 
edited and the space removed. I can create another svn repos locally and it 
seem to be created fine.
The first issue I was running into was the newer format. i am using the 
newset subversion (format=4) and git svn does understand only format=2. So 
I was creating a svn repos with the older version and could load again the 
dump successfully to this repos. Unfortunately, I still have problems to to 
clone. Now it report an error Permission denied: Can't open 
'/tmp/report.tmp' : ... 

Anyone an idea what to try next? 
Thanks in advance

-- 




Re: [git-users] Trying to convert svn repos to Git repos

2013-01-21 Thread Philip Oakley
My quick web search found 
http://julipedia.meroh.net/2012/02/converting-subversion-repository-to-git.html

The only little problem is that git svn does not recognize Subversion tags as 
such and therefore converts them to Git branches instead of tags.

Is that part of the problem? Or is it that svn2git won't accept / parse the 
trailing space?

[It's not my area of expertise...]
Philip
  - Original Message - 
  From: waas.nett 
  To: git-users@googlegroups.com 
  Sent: Monday, January 21, 2013 8:10 PM
  Subject: [git-users] Trying to convert svn repos to Git repos


  Hi there
  I have started recently to use Git. Since I have been using svn for a couple 
of year I would like to convert those svn repos including their history to Git 
repos. I have converted already some repos, which is certainly time-consuming, 
but it seems to work. Unfortunately, I have now one svn repos which I cannot 
convert. Obviously I had created by accident a tags folder with an additional 
blank at the end. I never noticed all those years. svn does not have an issue 
with this at all. However, when doing a git svn clone it stop there. 
Certainly I can rename the tag folder and remove the blank, but it will not 
help, because the rename is somewhere later in the history. 
  The repos is on a server and I made a dump from it. The dump file can be 
edited and the space removed. I can create another svn repos locally and it 
seem to be created fine.
  The first issue I was running into was the newer format. i am using the 
newset subversion (format=4) and git svn does understand only format=2. So I 
was creating a svn repos with the older version and could load again the dump 
successfully to this repos. Unfortunately, I still have problems to to clone. 
Now it report an error Permission denied: Can't open '/tmp/report.tmp' : ... 


  Anyone an idea what to try next? 
  Thanks in advance

  -- 
   
   

  No virus found in this message.
  Checked by AVG - www.avg.com
  Version: 2013.0.2890 / Virus Database: 2639/6048 - Release Date: 01/21/13

-- 




Re: [git-users] Re: [Ubuntu 12.04 LTS] [git version 1.7.9.5] how to update to 1.8.1.1?

2013-01-21 Thread Serge Matveenko
On Mon, Jan 21, 2013 at 11:21 PM, Jesús García Crespo je...@sevein.com wrote:
 Peter van der Does is maintaining a PPA that worked great for me.
 https://launchpad.net/~pdoes/+archive/ppa

There is ppa supported by git-core team also.

https://launchpad.net/~git-core/+archive/ppa for stable (1.8.0.3 for now)

and

https://launchpad.net/~git-core/+archive/candidate for rc (1.8.1 already)


-- 
Serge Matveenko
mailto: se...@matveenko.ru
github: http://lnkfy.com/1
linkedin: http://lnkfy.com/S

-- 




[git-users] Git on Windows, permission denied when directory structure does not match between branches

2013-01-21 Thread Donald Blodgett
I am on Windows 7 and every time I switch to a branch that does not have 
the same directory structure as the branch I was in I get permission denied 
errors when ever I attempt to then do a pull, merge, or commit. If I 
attempt to access the directory through other means I get the same error 
message, so it is probably something to do with Windows. Unfortunately this 
only occurs when I switch branches with Git. If I restart the system the 
directory is removed and I can continue, although this is a major drain 
on productivity  Is there another way to correct this issue or preferably 
avoid it altogether?

-- 




Re: [git-users] RE

2013-01-21 Thread John McKown
Does anybody who is the least concerned about hacking ever go to a web
site in an email such as this? If so, I have some wonderful bottom
land in Louisiana for you. (bottom of the swamp, that is. grin/).

On Mon, Jan 21, 2013 at 2:22 PM, Mark Janssen dreamingforw...@gmail.com wrote:
 elided http link

 --





-- 
Maranatha! 
John McKown

-- 




Re: [git-users] Trying to convert svn repos to Git repos

2013-01-21 Thread John McKown
If the problem is that you type in something like:

git svn clone svn.repo

have you tried:

git svn clone 'svn.repo '

put the repo name inside ' marks and put in the trailing blank. If you
want a equivalent, but more esoteric command:

git svc clone svn.repo\

with a space after the \ (aka back slash, technically a reverse
solidus. FWIW the real name of the / is not slash but solidus.
Weird the things I find.)

On Mon, Jan 21, 2013 at 2:10 PM, waas.nett waas.n...@gmail.com wrote:
 Hi there
 I have started recently to use Git. Since I have been using svn for a couple
 of year I would like to convert those svn repos including their history to
 Git repos. I have converted already some repos, which is certainly
 time-consuming, but it seems to work. Unfortunately, I have now one svn
 repos which I cannot convert. Obviously I had created by accident a tags
 folder with an additional blank at the end. I never noticed all those years.
 svn does not have an issue with this at all. However, when doing a git svn
 clone it stop there. Certainly I can rename the tag folder and remove the
 blank, but it will not help, because the rename is somewhere later in the
 history.
 The repos is on a server and I made a dump from it. The dump file can be
 edited and the space removed. I can create another svn repos locally and it
 seem to be created fine.
 The first issue I was running into was the newer format. i am using the
 newset subversion (format=4) and git svn does understand only format=2. So I
 was creating a svn repos with the older version and could load again the
 dump successfully to this repos. Unfortunately, I still have problems to to
 clone. Now it report an error Permission denied: Can't open
 '/tmp/report.tmp' : ...

 Anyone an idea what to try next?
 Thanks in advance

 --





-- 
Maranatha! 
John McKown

-- 




Re: [git-users] Git on Windows, permission denied when directory structure does not match between branches

2013-01-21 Thread Konstantin Khomoutov
On Mon, Jan 21, 2013 at 01:13:37PM -0800, Donald Blodgett wrote:

 I am on Windows 7 and every time I switch to a branch that does not have 
 the same directory structure as the branch I was in I get permission denied 
 errors when ever I attempt to then do a pull, merge, or commit. If I 
 attempt to access the directory through other means I get the same error 
 message, so it is probably something to do with Windows. Unfortunately this 
 only occurs when I switch branches with Git. If I restart the system the 
 directory is removed and I can continue, although this is a major drain 
 on productivity  Is there another way to correct this issue or preferably 
 avoid it altogether?

Do you have any sort of IDE or a similar piece of software running while
switching branches?  Windows filesystem semantics are such that if a
process has a directory as its current directory, Windows will prevent
all sorts of manipulations upon that directory, and various IDEs are
known to change their working drectory when, say, opening files through
the standard Open file dialog etc...

P.S.
In either case, specific questions like this should be directed to the
mailing list dedicated to the development of Git for Windows [1], and
you should include your version of Git as well as platform architecture.
Capture (textual) of actual error messages is also a must.

1. http://groups.google.com/group/msysgit

-- 




Re: [git-users] RE

2013-01-21 Thread Konstantin Khomoutov
On Mon, Jan 21, 2013 at 03:24:09PM -0600, John McKown wrote:

 Does anybody who is the least concerned about hacking ever go to a web
 site in an email such as this? If so, I have some wonderful bottom
 land in Louisiana for you. (bottom of the swamp, that is. grin/).

It's quite improbable that a message like this is posted by a person.
An activity like this is what botnets are for (among other things).
So if you're concerned with potential harm of the crap like this, take
your time, log into the google groups web interface and mark this
message as SPAM.  You could also report it as a fraud page using
built-in firefox feature (if you're using it).

Answering to such messages is pointless (and note that everyone on the
list receives your reply).

-- 




Re: [git-users] Git on Windows, permission denied when directory structure does not match between branches

2013-01-21 Thread John McKown
I'm a LInux bigot, but use Windows when forced (at work). I am
wondering if perhaps you should git checkout ... to switch to the
branch with problems. Then use Windows Explorer to fix the
permissions. Actually, this is what I think you're doing now. After
this, then in each of the directories which have a permission problem
(or all of them), create a new file such as x.txt. Once you've done
that, do a git add -A . in the working directory, followed by a git
commit -m 'fix permissions, phase 1. Follow that by a git push to
update the remote repository. Now go back into all the subdirectories
and delete the x.txt that you created. Go back to the working
directory and again do a git add -A ., git commit -m 'fix
permissios, phase 2, then git push. I am not certain, but I hope
this will update the directory permissions on your local system and
push them onto the remote repo as well.

Of course, this is just a SWAG.

On Mon, Jan 21, 2013 at 3:13 PM, Donald Blodgett
blodgett.don...@gmail.com wrote:
 I am on Windows 7 and every time I switch to a branch that does not have the
 same directory structure as the branch I was in I get permission denied
 errors when ever I attempt to then do a pull, merge, or commit. If I attempt
 to access the directory through other means I get the same error message, so
 it is probably something to do with Windows. Unfortunately this only occurs
 when I switch branches with Git. If I restart the system the directory is
 removed and I can continue, although this is a major drain on productivity
 Is there another way to correct this issue or preferably avoid it
 altogether?

 --





-- 
Maranatha! 
John McKown

-- 




Re: [git-users] which commit ever change FULL_OPTIMIZATION in this file

2013-01-21 Thread lei yang
seems not work for me

lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git blame
meta/conf/bitbake.conf |grep FULL_OPTIMIZATION
9cb71137 meta/conf/bitbake.conf (Khem Raj
2011-03-17 16:54:30 -0700 524) FULL_OPTIMIZATION = -O2 -pipe
${DEBUG_FLAGS}
2864ff6a meta/conf/bitbake.conf (Richard Purdie
2011-11-25 14:25:16 + 526) SELECTED_OPTIMIZATION =
${@d.getVar(['FULL_OPTIMIZATION',
'DEBUG_OPTIMIZATION'][d.getVar('DEBUG_BUILD', True) == '1'], True)}
5b9877aa meta/conf/bitbake.conf (Chris Larson
2011-11-16 14:17:21 -0700 527) SELECTED_OPTIMIZATION[vardeps] +=
FULL_OPTIMIZATION DEBUG_OPTIMIZATION
lyang001@lyang0-9010:~/kvm_32/layers/oe-core$ git log -F
-SFULL_OPTIMIZATION -- meta/conf/bitbake.conf |grep 9cb71137
lyang001@lyang0-9010:~/kvm_32/layers/oe-core$

 it can't get 9cb71137

Lei


On Tue, Jan 22, 2013 at 1:26 AM, Konstantin Khomoutov
flatw...@users.sourceforge.net wrote:
 FULL_OPTIMIZATION

-- 




[git-users] Re: Trying to convert svn repos to Git repos

2013-01-21 Thread Thomas Ferris Nicolaisen
On Monday, January 21, 2013 9:10:07 PM UTC+1, waas.nett wrote:

 Hi there
 I have started recently to use Git. Since I have been using svn for a 
 couple of year I would like to convert those svn repos including their 
 history to Git repos. I have converted already some repos, which is 
 certainly time-consuming, but it seems to work. Unfortunately, I have now 
 one svn repos which I cannot convert. Obviously I had created by accident a 
 tags folder with an additional blank at the end. I never noticed all those 
 years. svn does not have an issue with this at all. However, when doing a 
 git svn clone it stop there. Certainly I can rename the tag folder and 
 remove the blank, but it will not help, because the rename is somewhere 
 later in the history. 
 The repos is on a server and I made a dump from it. The dump file can be 
 edited and the space removed. I can create another svn repos locally and it 
 seem to be created fine.
 The first issue I was running into was the newer format. i am using the 
 newset subversion (format=4) and git svn does understand only format=2. So 
 I was creating a svn repos with the older version and could load again the 
 dump successfully to this repos. Unfortunately, I still have problems to to 
 clone. Now it report an error Permission denied: Can't open 
 '/tmp/report.tmp' : ... 

 Anyone an idea what to try next? 
 Thanks in advance


If you find issues with git-svn respecting the newer versions/formats of 
Subversion, it should be reported to the developers. See 
https://gist.github.com/4441562

The same goes for any problems with handling white-spaces. 

--