[git-users] Is there a forum for GitHub Enterprise?

2015-10-02 Thread Jirong Hu
Or I can post questions here?

Thanks
Jirong

-- 
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] Does companies hire git administrators?

2015-09-24 Thread Jirong Hu
I am new to git, and was a clearcase administrator. Just wondering for 
companies using git, do they usually have a git administrator or the 
development team is doing all themselves?

Thanks
Jirong

-- 
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] Is git rebase same as ClearCase rebase?

2015-09-24 Thread Jirong Hu
Hi All

I am new to git but familiar with ClearCase. I think the git merge is same 
as the ClearCase merge/deliver, but is the git rebase same as ClearCase 
rebase? Any different?

Thanks
Jirong

-- 
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: user jhu06: authentication failure for "/opt/git/web-app.git/info/refs": Password Mismatch

2014-12-11 Thread Jirong Hu
Now I've located it's from the TeamCity. There is no more error once I stop 
the TeamCity service. I just can't understand from where the TeamCity will 
instantly and constantly send request to GIT. I am not running or scheduled 
any build.

Thanks for your help.

-- 
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] user jhu06: authentication failure for "/opt/git/web-app.git/info/refs": Password Mismatch

2014-12-11 Thread Jirong Hu
everywhere in all products I am using LDAP to authenticate. That's why when 
this happens, my domain id will be locked.

I just run another test. When I start the httpd, this message appears in 
the error.log. I have to shut it down immediately. I am wondering which 
product/process I am using will automatically send request to git? Maven, 
TeamCity, Artifactory? I am not running any builds or scheduled. What will 
constantly send request to access GIT?

[Thu Dec 11 14:16:50 2014] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Thu Dec 11 14:16:50 2014] [notice] Digest: generating secret for digest 
authentication ...
[Thu Dec 11 14:16:50 2014] [notice] Digest: done
[Thu Dec 11 14:16:50 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured 
-- resuming normal operations
[Thu Dec 11 14:17:12 2014] [error] [client 10.193.20.116] user jhu06: 
authentication failure for "/opt/git/web-app.git/info/refs": Password 
Mismatch
[Thu Dec 11 14:17:25 2014] [notice] caught SIGTERM, shutting down
[root@cmtoldshrdjk01 logs]#

-- 
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] user jhu06: authentication failure for "/opt/git/web-app.git/info/refs": Password Mismatch

2014-12-09 Thread Jirong Hu
I have a GIT running on a Linux server. When I start the httpd service on 
the server, login with my id/password to 
http://cmtoldshrdjk01.dev.bmocm.com/web-app2.git/, my account got locked 
due to the following error found in the error.log

Where shall I look for the issue?

[Tue Dec 09 16:12:55 2014] [error] [client 10.193.20.116] user jhu06: 
authentication failure for "/opt/git/web-app.git/info/refs": Password 
Mismatch
[Tue Dec 09 16:13:13 2014] [error] [client 10.115.110.172] File does not 
exist: /opt/git/favicon.ico

-- 
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: GIT server is not working

2014-12-04 Thread Jirong Hu
I just figured out I have this in conf.d and the IP address has been 
changed. Can I use the hostname here?


DocumentRoot /opt/git
ServerName cmtoldshrdjk01


On Thursday, 4 December 2014 16:04:32 UTC-5, Jirong Hu wrote:
>
> I installed the GIT server on Linux a while back and it was all working 
> fine. Now when somebody wants to use it, it's no longer working. Here are 
> some information:
>
> From web browser, http://cmtoldshrdjk01/web-app.git returns error "Chrome 
> could not connect to cmtoldshrdjk01".
>
> From another Linux server, I got this:
>
> /home/jhu06/git $ git clone http://cmtoldshrdjk01/web-app2.git
>
> Initialized empty Git repository in /home/jhu06/git/web-app2/.git/
>
> error: Failed connect to cmtoldshrdjk01:80; Operation now in progress 
> while accessing http://cmtoldshrdjk01/web-app2.git/info/refs
>
>  fatal: HTTP request failed
>
> /home/jhu06/git $
>
>  From my windows workstation, I got this:
>
> jhu06@OCDT70302123 /c/workspace/GIT
>
> $ git clone http://jhu06:password@cmtoldshrdjk01/web-app2.git
>
> Cloning into 'web-app2'...
>
> fatal: unable to access 
> 'http://jhu06:password@cmtoldshrdjk01/web-app2.git/': Failed connect to 
> cmtoldshrdjk01.dev.bmocm.com:80; Connection refused
>
> H:\>telnet cmtoldshrdjk01 80
>
> Connecting To cmtoldshrdjk01...Could not open connection to the host, on 
> port 80: Connect failed
>
> I have a Jenkins installed on this same server on port 8080 and it's 
> working fine now. I can't remember which one I installed first.
>

-- 
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] GIT server is not working

2014-12-04 Thread Jirong Hu
I installed the GIT server on Linux a while back and it was all working 
fine. Now when somebody wants to use it, it's no longer working. Here are 
some information:

>From web browser, http://cmtoldshrdjk01/web-app.git returns error "Chrome 
could not connect to cmtoldshrdjk01".

>From another Linux server, I got this:

/home/jhu06/git $ git clone http://cmtoldshrdjk01/web-app2.git

Initialized empty Git repository in /home/jhu06/git/web-app2/.git/

error: Failed connect to cmtoldshrdjk01:80; Operation now in progress while 
accessing http://cmtoldshrdjk01/web-app2.git/info/refs

 fatal: HTTP request failed

/home/jhu06/git $

 From my windows workstation, I got this:

jhu06@OCDT70302123 /c/workspace/GIT

$ git clone http://jhu06:password@cmtoldshrdjk01/web-app2.git

Cloning into 'web-app2'...

fatal: unable to access 
'http://jhu06:password@cmtoldshrdjk01/web-app2.git/': Failed connect to 
cmtoldshrdjk01.dev.bmocm.com:80; Connection refused

H:\>telnet cmtoldshrdjk01 80

Connecting To cmtoldshrdjk01...Could not open connection to the host, on 
port 80: Connect failed

I have a Jenkins installed on this same server on port 8080 and it's 
working fine now. I can't remember which one I installed first.

-- 
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] GSSAPI_auth_error message flooded in /var/log/messages

2014-05-05 Thread Jirong Hu
SA found tons of message like this. Any idea what's wrong here?

Thanks
Jirong

May  5 13:33:59 cmtoldshrdjk01 ssh-server-g3: 729 GSSAPI_auth_error, 
Username: jhu06, "Could not send AUTHS_GSSAPI_AUTHPROC_CONN_DATA message to 
the AuthProc.", Session-Id: 50430
May  5 13:33:59 cmtoldshrdjk01 ssh-server-g3: 701 Auth_method_failure, 
Username: jhu06, Auth method: gssapi-with-mic, Session-Id: 50430
May  5 13:33:59 cmtoldshrdjk01 ssh-server-g3: 703 Auth_methods_available, 
Username: jhu06, Auth methods: publickey,keyboard-interactive, Session-Id: 
50430
May  5 13:34:00 cmtoldshrdjk01 ssh-server-g3: 717 
Keyboard_interactive_pam_auth_error, Username: jhu06, Algorithm: pam, 
"Conversation failed. / pam_authenticate() failed.", Session-Id: 50430May 
 5 13:34:00 cmtoldshrdjk01 ssh-server-g3: 411 Login_failure, Username: 
jhu06, Reason: Key exchange failed, Src: scm-fcpwpdapp02, Src IP: , Dst 
IFace: default, Dst IP: , Src Port: 61640, Dst Port: 22, 
"org.eclipse.jgit.errors.UnsupportedCredentialItem: 
ssh://jh...@cmtoldshrdjk01.dev.bmocm.com:22: PAM Authentication, Remote 
Disconnect", Session-Id: 50430

-- 
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] fatal: Not a valid object name master^{tree}

2014-03-18 Thread Jirong Hu
$ git cat-file -p master^{tree}
fatal: Not a valid object name master^{tree}

I am reading the GIT Pro and GIT Internal. The command above doesn't work. 
Can you help to fix it?

Thanks
Jirong

-- 
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] How to setup http protocol for GIT

2014-02-28 Thread Jirong Hu
Originally the group was apache (changed it following some instruction
found on web).
> drwxrwsr-x   7 root apache 4096 Feb 21 14:22 simple.git

Then after I change it to something like this, it allow me to push.
> drwxrwsr-x   7 root ccusers 4096 Feb 21 14:22 simple.git

For example, I have the following setting for this project web-app:

[root@cmtoldshrdjk01 git]# stat /opt/git/web-app.git
  File: `/opt/git/web-app.git'
  Size: 4096Blocks: 8  IO Block: 4096   directory
Device: fd02h/64770dInode: 131242  Links: 7
Access: (2775/drwxrwsr-x)  Uid: (0/root)   Gid: ( 3017/ ccusers)
Access: 2014-02-27 17:02:39.830304322 -0500
Modify: 2014-01-23 14:34:28.279128784 -0500
Change: 2014-02-27 17:01:49.524796933 -0500
[root@cmtoldshrdjk01 git]# ls -ld /opt/git/web-app.git
drwxrwsr-x 7 root ccusers 4096 Jan 23 14:34 /opt/git/web-app.git
[root@cmtoldshrdjk01 git]#


C:\Workspace\GIT\web-app>git push origin master
PAM Authentication
Enter your OFFICE domain password:
Counting objects: 17, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (11/11), 2.39 KiB | 0 bytes/s, done.
Total 11 (delta 1), reused 0 (delta 0)
To jhu06@cmtoldshrdjk01:/opt/git/web-app.git
   8bbe187..142f45d  master -> master


On Fri, Feb 28, 2014 at 8:21 AM, Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:

> On Thu, 27 Feb 2014 13:41:21 -0800 (PST)
> Jirong Hu  wrote:
>
> > I setup smart http following this URL:
> > http://www.parallelsymmetry.com/howto/git.jsp
> >
> > When I try to push from a Window client to the GIT Linux server, I
> > got this error:  error: insufficient permission for adding an object
> > to repository database ./objectse
> >
> > The question is how shall I setup the permission for the repository
> > at: /opt/git/simple.git. My users are in domain group "ccusers", and
> > the web server is running under a local user "apache:apache" by
> > default. I want to be able to access the repository by both ssh (for
> > developers) and http (for build).
>
> What are current permissions on /opt/git/simple.git ?
> I mean, what `stat /opt/git/simple.git` or `ls -ld /opt/git/simple.git`
> output?
>
> I'm afraid you might have hard time implementing this "as is" because
> both the user "apache" and group "apache" are assumed by Apache after
> it starts up (it starts up as root) and so I think merely adding the
> user "apache" to the "ccusers" group won't fix this for you.
>
> What you can do:
> * Use something like suexec or mod-itk to make Git CGI app run with
>   permissions different from those of the web server itself.
> * Use POSIX ACLs on your Git repos for more fine-grained control
>   over who can access it.  This way, you could have two ore more
>   "owner groups" defined for a directory.
> * Have another Apache (or some other webserver) run with a different
>   configuration file which makes it use another user and group and
>   listen on a different port.
>   As a corollary to this, you might have some specialized web server
>   which is only configured to run Git, with appropriate credentials,
>   and reverse-proxy requests coming to Git repos to that instance.
>

-- 
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/groups/opt_out.


Re: [git-users] How to setup http protocol for GIT

2014-02-27 Thread Jirong Hu
I setup smart http following this URL: 
http://www.parallelsymmetry.com/howto/git.jsp

When I try to push from a Window client to the GIT Linux server, I got this 
error:  error: insufficient permission for adding an object to repository 
database ./objectse

The question is how shall I setup the permission for the repository at: 
/opt/git/simple.git. My users are in domain group "ccusers", and the web 
server is running under a local user "apache:apache" by default. I want to 
be able to access the repository by both ssh (for developers) and http (for 
build).

Thanks
Jirong

On Tuesday, 25 February 2014 08:16:11 UTC-5, Konstantin Khomoutov wrote:
>
> On Mon, 24 Feb 2014 12:52:05 -0800 (PST) 
> Jirong Hu > wrote: 
>
> > http://git-scm.com/book/en/Git-on-the-Server-Public-Access 
> > 
> > I was following the above link to setup http access for GIT. But 
> > after this 
> > issue:https://groups.google.com/forum/#!topic/git-users/nL0qZXiBHqw, 
> > I think my http settings are not right. This is what I do: 
> > 1. Change the DocumentRoot= /opt/git, since /opt/git/simple.git is 
> > the repository I want to access. 
> > 2. Created a git.conf in /etc/httpd/conf.d, has the LDAP access 
> > information. It works fine. 
> > 3. chmod a+x simple.git/hooks/post-update 
>  
> 1. 'x' alone is not enough to execute a program--'r' is needed as well. 
> 2. Granting execute permission to "all" ('a') is not needed if the 
>user or a group of users which are about to execute that hook 
>are already granted these permissions explicitly. 
>
> > There is one more thing I am not sure: the permission of 
> > /opt/git/simple.git. Who shall own this directory? The URL above says 
> > "www-data", but I cant' find this group name in my server. My Apache 
> > is running under apache:apache. 
>
> "www-data" is a Debianism, found on Debian and its derivatives (Ubuntu 
> included); since Ubuntu is the winning distro even on servers these 
> days, many guides found in the internets just assume this "common 
> ground".  So substitute "system user for the Apache web server" instead 
> of "www-data" and proceed. 
>
> [...] 
> > drwxrwsr-x   7 root ccusers 4096 Feb 21 14:22 simple.git 
> [...] 
>
> Well, the guide from The Book you followed is unfortunately outdated: 
> it deals with the so-called "dumb" HTTP transport which still works in 
> newer versions of Git but is not recommended for using as it's *slow:* 
> it basically crawls over the objects and packfiles it literally fetches 
> one by one using HTTP calls.  For this setup, your settings look mostly 
> okay.  One caveat though: the purpose of the post-update hook is to 
> call a special Git command which prepares the repo *updated with the 
> last commit* to be fetched from using that dumb HTTP transport.  So if 
> you didn't run that hook (either by hand (note that you should `su` to 
> the Git's user first!) or by pushing to that repo using SSH) your 
> client Git won't fetch anything useful. 
>
> Hence I'd say the real way to fix this is to set your web server up to 
> serve the newer "smart" HTTP transport which basically uses the web 
> server to host a CGI Git process which, when started, communicates 
> directly with the Git client process making the whole thing work as fast 
> as fetching via native Git protocol ("git://", served by `git-daemon`). 
> This guide [1] explains how to set things up. 
>
> 1. https://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html 
>

-- 
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/groups/opt_out.


Re: [git-users] How to setup http protocol for GIT

2014-02-25 Thread Jirong Hu
You are right, somehow the hook didn't run I think, don't know why. After I
run it manually, the http clone got the right version.

[root@cmtoldshrdjk01 hooks]# exec git update-server-info

Let me setup the smart http.

Thanks
Jirong


On Tue, Feb 25, 2014 at 8:16 AM, Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:

> On Mon, 24 Feb 2014 12:52:05 -0800 (PST)
> Jirong Hu  wrote:
>
> > http://git-scm.com/book/en/Git-on-the-Server-Public-Access
> >
> > I was following the above link to setup http access for GIT. But
> > after this
> > issue:https://groups.google.com/forum/#!topic/git-users/nL0qZXiBHqw,
> > I think my http settings are not right. This is what I do:
> > 1. Change the DocumentRoot= /opt/git, since /opt/git/simple.git is
> > the repository I want to access.
> > 2. Created a git.conf in /etc/httpd/conf.d, has the LDAP access
> > information. It works fine.
> > 3. chmod a+x simple.git/hooks/post-update
> 
> 1. 'x' alone is not enough to execute a program--'r' is needed as well.
> 2. Granting execute permission to "all" ('a') is not needed if the
>user or a group of users which are about to execute that hook
>are already granted these permissions explicitly.
>
> > There is one more thing I am not sure: the permission of
> > /opt/git/simple.git. Who shall own this directory? The URL above says
> > "www-data", but I cant' find this group name in my server. My Apache
> > is running under apache:apache.
>
> "www-data" is a Debianism, found on Debian and its derivatives (Ubuntu
> included); since Ubuntu is the winning distro even on servers these
> days, many guides found in the internets just assume this "common
> ground".  So substitute "system user for the Apache web server" instead
> of "www-data" and proceed.
>
> [...]
> > drwxrwsr-x   7 root ccusers 4096 Feb 21 14:22 simple.git
> [...]
>
> Well, the guide from The Book you followed is unfortunately outdated:
> it deals with the so-called "dumb" HTTP transport which still works in
> newer versions of Git but is not recommended for using as it's *slow:*
> it basically crawls over the objects and packfiles it literally fetches
> one by one using HTTP calls.  For this setup, your settings look mostly
> okay.  One caveat though: the purpose of the post-update hook is to
> call a special Git command which prepares the repo *updated with the
> last commit* to be fetched from using that dumb HTTP transport.  So if
> you didn't run that hook (either by hand (note that you should `su` to
> the Git's user first!) or by pushing to that repo using SSH) your
> client Git won't fetch anything useful.
>
> Hence I'd say the real way to fix this is to set your web server up to
> serve the newer "smart" HTTP transport which basically uses the web
> server to host a CGI Git process which, when started, communicates
> directly with the Git client process making the whole thing work as fast
> as fetching via native Git protocol ("git://", served by `git-daemon`).
> This guide [1] explains how to set things up.
>
> 1. https://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html
>

-- 
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/groups/opt_out.


Re: [git-users] Any commercial products for GIT?

2014-02-25 Thread Jirong Hu
I took a quick look at Stash. Do we really need this? This looks like a GIT 
add-on, as it said, GIT repo management tool. It's not GIT, right?

On Tuesday, 25 February 2014 11:54:51 UTC-5, Konstantin Khomoutov wrote:
>
> On Tue, 25 Feb 2014 08:01:47 -0800 (PST) 
> Jirong Hu > wrote: 
>
> > For large companies like banks, we need commercial support. We need a 
> > company like Atlassian for JIRA, JetBrains for TeamCity and JFog for 
> > Artifactory. A GIT product takes care of integration to popular tools 
> > such as eclipse, MSVS, as well as JIRA, TeamCity, etc. 
> > 
> > Is there anything similar for GIT? Not GitHub, we want to host it 
> > within the company. 
>
> I'm not really sure how such a product should look like -- here's why: 
> Eclipse already supports Git through its EGit layer (based on the JGit 
> library).  MSVS 2013 supports Git out of the box; for older versions 
> you could possibly use Git Extensions.  JIRA has Git integration plugin. 
> TeamCity appears to support Git as well.  So what are you really 
> expecting?  A company which would randomly pick these commercial 
> and free tools you've listed and somehow package it or reimplement and 
> then support the end result?  This seems like an unlikely scenario, IMO. 
>
> As to commercial in-house hosting, Atlassian offers [1] -- does it 
> qualify? 
>
> 1. https://www.atlassian.com/software/stash 
>

-- 
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/groups/opt_out.


Re: [git-users] Any commercial products for GIT?

2014-02-25 Thread Jirong Hu
https://enterprise.github.com/pricing

GITHub Enterprise is so expensive, I am wondering if anyone is using it.


On Tue, Feb 25, 2014 at 12:18 PM, Jirong Hu  wrote:

> You know management wants something has an official support. Stash is a
> good idea, since we are going to buy so many other tools from Atlassian.
>
>
> On Tuesday, 25 February 2014 11:54:51 UTC-5, Konstantin Khomoutov wrote:
>
>> On Tue, 25 Feb 2014 08:01:47 -0800 (PST)
>> Jirong Hu  wrote:
>>
>> > For large companies like banks, we need commercial support. We need a
>> > company like Atlassian for JIRA, JetBrains for TeamCity and JFog for
>> > Artifactory. A GIT product takes care of integration to popular tools
>> > such as eclipse, MSVS, as well as JIRA, TeamCity, etc.
>> >
>> > Is there anything similar for GIT? Not GitHub, we want to host it
>> > within the company.
>>
>> I'm not really sure how such a product should look like -- here's why:
>> Eclipse already supports Git through its EGit layer (based on the JGit
>> library).  MSVS 2013 supports Git out of the box; for older versions
>> you could possibly use Git Extensions.  JIRA has Git integration plugin.
>> TeamCity appears to support Git as well.  So what are you really
>> expecting?  A company which would randomly pick these commercial
>> and free tools you've listed and somehow package it or reimplement and
>> then support the end result?  This seems like an unlikely scenario, IMO.
>>
>> As to commercial in-house hosting, Atlassian offers [1] -- does it
>> qualify?
>>
>> 1. https://www.atlassian.com/software/stash
>>
>

-- 
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/groups/opt_out.


Re: [git-users] Any commercial products for GIT?

2014-02-25 Thread Jirong Hu
You know management wants something has an official support. Stash is a 
good idea, since we are going to buy so many other tools from Atlassian.

On Tuesday, 25 February 2014 11:54:51 UTC-5, Konstantin Khomoutov wrote:
>
> On Tue, 25 Feb 2014 08:01:47 -0800 (PST) 
> Jirong Hu > wrote: 
>
> > For large companies like banks, we need commercial support. We need a 
> > company like Atlassian for JIRA, JetBrains for TeamCity and JFog for 
> > Artifactory. A GIT product takes care of integration to popular tools 
> > such as eclipse, MSVS, as well as JIRA, TeamCity, etc. 
> > 
> > Is there anything similar for GIT? Not GitHub, we want to host it 
> > within the company. 
>
> I'm not really sure how such a product should look like -- here's why: 
> Eclipse already supports Git through its EGit layer (based on the JGit 
> library).  MSVS 2013 supports Git out of the box; for older versions 
> you could possibly use Git Extensions.  JIRA has Git integration plugin. 
> TeamCity appears to support Git as well.  So what are you really 
> expecting?  A company which would randomly pick these commercial 
> and free tools you've listed and somehow package it or reimplement and 
> then support the end result?  This seems like an unlikely scenario, IMO. 
>
> As to commercial in-house hosting, Atlassian offers [1] -- does it 
> qualify? 
>
> 1. https://www.atlassian.com/software/stash 
>

-- 
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/groups/opt_out.


[git-users] Any commercial products for GIT?

2014-02-25 Thread Jirong Hu
For large companies like banks, we need commercial support. We need a 
company like Atlassian for JIRA, JetBrains for TeamCity and JFog for 
Artifactory. A GIT product takes care of integration to popular tools such 
as eclipse, MSVS, as well as JIRA, TeamCity, etc.

Is there anything similar for GIT? Not GitHub, we want to host it within 
the company.

Jirong

-- 
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/groups/opt_out.


[git-users] How many repositories is required?

2014-02-24 Thread Jirong Hu
Hi All

I want to understand the best practice of organizing the GIT repositories. 
Let's say:
1. We are a large bank with many line of businesses and tons of 
application. 
2. Each LOB has a large number of applications.

How many repositories shall I use? How do we organize the applications 
inside one repository? Any reference?

Thanks
Jirong

-- 
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/groups/opt_out.


[git-users] How to setup http protocol for GIT

2014-02-24 Thread Jirong Hu
http://git-scm.com/book/en/Git-on-the-Server-Public-Access

I was following the above link to setup http access for GIT. But after this 
issue:https://groups.google.com/forum/#!topic/git-users/nL0qZXiBHqw, I 
think my http settings are not right. This is what I do:
1. Change the DocumentRoot= /opt/git, since /opt/git/simple.git is the 
repository I want to access.
2. Created a git.conf in /etc/httpd/conf.d, has the LDAP access 
information. It works fine.
3. chmod a+x simple.git/hooks/post-update

There is one more thing I am not sure: the permission of 
/opt/git/simple.git. Who shall own this directory? The URL above says 
"www-data", 
but I cant' find this group name in my server. My Apache is running under 
apache:apache. "ccusers" group is the group all my users belong to, which 
is set in LDAP.


[root@cmtoldshrdjk01 git]# ls -al
total 28
drwxr-xr-x   7 root apache  4096 Feb 21 14:04 .
drwxr-xr-x. 11 root root4096 Jan 29 13:07 ..
drwxr-xr-x   6 root apache  4096 Jan 23 10:58 my_app.git
drwxr-xr-x   7 root apache  4096 Jan 23 14:26 project.git
drwxrwsr-x   7 root ccusers 4096 Feb 21 14:22 simple.git
drwxr-xr-x   7 root root4096 Feb 13 11:46 web-app2.git
drwxrwsr-x   7 root apache  4096 Jan 23 14:34 web-app.git
[root@cmtoldshrdjk01 git]#

-- 
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/groups/opt_out.


[git-users] Re: local update not pushed to the server

2014-02-24 Thread Jirong Hu
I found the problem is clone by http doesn't work, but clone by ssh worked. 
Why?

C:\Temp>git clone http://jh...@cmtoldshrdjk01.dev.bmocm.com/simple.git/
Cloning into 'simple'...
Checking connectivity... done.

C:\Temp>git clone jhu06@cmtoldshrdjk01:/opt/git/simple.git
Cloning into 'simple'...
PAM Authentication
Enter your OFFICE domain password:
remote: Counting objects: 25, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 25 (delta 1), reused 0 (delta 0)
Receiving objects: 100% (25/25), done.
Resolving deltas: 100% (1/1), done.
Checking connectivity... done.

-- 
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/groups/opt_out.


[git-users] local update not pushed to the server

2014-02-24 Thread Jirong Hu
Hi

I transferred a local project on Windows to git, create a remote repository 
on GIT linux server, and pushed the local project to the remote repository. 
Then I made a change in the local file and commit it. At this stage:
1. git status shows it's up-to-date with the remote repository.
2. However, if I do a "git clone http://cmtoldshrdjk01/simple.git/"; from 
another machine. The file is not up-to-date.

Questions:
1. What I am doing wrong?
2. Is there a way I can see the content of a remote repository without 
clone? I want to see what's in the remote repository in GIT linux server.

$ git remote -v
origin  jhu06@cmtoldshrdjk01:/opt/git/simple.git (fetch)
origin  jhu06@cmtoldshrdjk01:/opt/git/simple.git (push)

jhu06@OCDT70302123 
/c/workspace/git/simple/src/main/java/org/sonatype/mavenbook (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working directory clean

-- 
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/groups/opt_out.


Re: [git-users] What's the process GIT runs on Linux?

2014-01-27 Thread Jirong Hu
Thanks for the explanation. I am using SSH.

Jirong


On Mon, Jan 27, 2014 at 10:13 AM, John McKown
wrote:

> git is a command, like "notepad" or vim. There is not a long running
> process called "git".
>
> Now, if you are talking about having a bare repository on a server, from
> which you can clone or fetch, and to which you can push, you have three
> options. I use SSH. It does not require any "git server" type software. It
> just uses the standard SSH protocol to send data to the remote host. The
> second way is via HTTP or HTTPS, which requires a Web server and,
> apparently, WebDAV set up on it. The third method is using the "git
> protocol", which is run by the "git-daemon" process on the server.
>
> ref on the "git on a server":
> http://git-scm.com/book/en/Git-on-the-Server-The-Protocols
> git-daemon:
> https://www.kernel.org/pub/software/scm/git/docs/git-daemon.html
> git via HTTP/S:
> https://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt
>
>
>
> On Mon, Jan 27, 2014 at 8:54 AM, Jirong Hu  wrote:
>
>> I am trying to find the process GIT runs on Linux, as well as on Windows.
>> Or there is no such thing?
>>
>> Thanks
>> Jirong
>>
>> --
>> 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/groups/opt_out.
>>
>
>
>
> --
> Wasn't there something about a PASCAL programmer knowing the value of
> everything and the Wirth of nothing?
>
> Maranatha! <><
> John McKown
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Git for human beings" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/git-users/Xfo_-VtJS58/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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/groups/opt_out.


[git-users] What's the process GIT runs on Linux?

2014-01-27 Thread Jirong Hu
I am trying to find the process GIT runs on Linux, as well as on Windows. 
Or there is no such thing?

Thanks
Jirong

-- 
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/groups/opt_out.