[git-users] Git objects and user permissions

2014-10-22 Thread Jon Zeolla
Hi,

I have some pretty stringent permissions in git (via posix extended file 
attributes), as we attempt to delegate access to pushing certain directory 
structures to certain groups of individuals within our team.  

We had an issue the other day where a user tried to push (git push live) 
but didn't have enough permission to create the index.lock file.  The user 
did have write permission to the objects and refs directories.  The git 
logs (git log -p) show that the push had been successful, but there are 
files hanging around in the objects directory from this user.  Typically 
the only files that are in the objects directory are from the last user 
that pushed, but at this point there has been at least one successful push 
since this failed attempt to push but the objects from two pushes back 
still remain here.  

I'm just not sure if these should be here or not...  Or how to clear them 
out.  I did verify that they are valid, and the files that were attempted 
to be pushed via git cat-file -p hash.  Any ideas?  


I also wrote a very detailed question yesterday about this but I do not see 
it here or in my activity log, so I'm not sure what happened...  But if 
that happens to pop up at some point, I apologize for the double post.  


Jon

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Re: UserID and File Fetch/Committ

2014-10-22 Thread Rick Umali
On Tuesday, October 21, 2014 3:27:04 PM UTC-4, Ben Morgan wrote:

 When fetching a file on a shared repository, will the file show when and 
 who last committed and when and who last fetched it?

 Looking at some of the other posts, I just want to confirm that there is 
 no way to lock a file by one user to prevent other users from fetching 
 it...?


Ben,

Because Git is distributed, a fetched file will not show any meta 
information. You must use the git log command to find such information. 
With git log, you can see who last committed a change to the file, but not 
who has fetched the file. Note that your repository must be up to date, 
to be sure you're getting accurate information.

There is no way for a user to lock a file to prevent other users from 
fetching that file. 

Good luck!

Rick Umali / Author: Learn Git in a Month of Lunches / 
www.manning.com/umali  

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Re: I create GitPrep. This is GitHub portable clone.

2014-10-22 Thread Gergely Polonkai
This is a bit misleading… it actually requires cpanm, mojolicious legacy,
and so on (which, well, come bundled, but still).

The project itself looks really promising, it just needs a bit love here
and there. I’ll definitely take a deeper look!

On 20 October 2014 19:59, kanishka.bla...@gmail.com wrote:

 some day we have the ticking methods to it

 On Sunday, 30 June 2013 16:18:53 UTC+5:30, 木本裕紀 wrote:

 I'm yuki kimoto, Japanese programmer.
 I like git.

 I create GitPrep.
 This is Github clone. you can install portable github system into
 unix/linux.

 http://perlcodesample.sakura.ne.jp/gitprep-site/

 Features

   - Github clone
   - Portable. you can install it into your Unix/Linux server easily.
   - Perl 5.8.7+ only needed.
   - CGI support
   - Having built-in web werver, Reverse proxy support

 Please see.

 Example:
 http://perlcodesample.sakura.ne.jp/gitprep.cgi

  --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.