Re: [git-users] Does companies hire git administrators?

2015-09-24 Thread Magnus Therning
On Thu, Sep 24, 2015 at 08:24:49AM -0700, Jirong Hu wrote:
> 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?

That depends one the company/team size.  Clearcase is a beast of a
program, it's so big and expensive that I've only ever heard of large
companies using it.  Large company -> many users -> justification to
have a dedicated VCS administrator.

I think that you need to look for large companies using git, but even
there it might be difficult to find a pure git administrator role.
You'll probably have more luck if you aim to combine general Unix, ssh,
Apache/nginx/lighttpd/..., git, gitlab CE, gerrit, Atlassian products,
... Basically it becomes more of a general Unix sysadmin role...

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus

About the use of language: it is impossible to sharpen a pencil with a
blunt axe. It is equally vain to try to do it with ten blunt axes
instead.
 -- Edsger Dijkstra

-- 
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.


signature.asc
Description: PGP signature


Re: [git-users] git-for-windows adds pre and post " char to string int .tsv (tab seperated value) file

2015-09-24 Thread Gergely Polonkai
In this case, most probably it is done by a pre commit hook. What files are
there in the .git/hooks directory?
On 25 Sep 2015 00:13, "Eric Nord"  wrote:

> Data from notepad:
>
> BYU LEE CIRC-SFTWR Circulating Software - Circulation Desk CIRC-SFTWR LEE
> available available 3 Available available_for_checkout
> BYU LEE CKOUTTRACE Item missing, being traced CKOUTTRACE LEE unavailable
> unavailable 13 Unavailable unavailable
> BYU LEE CLEANUP Reclass cleanup records CLEANUP LEE unavailable
> unavailable 13 Unavailable unavailable
> BYU LEE COMPACT Compact Shelving COMPACT LEE available maybe 8 holdable Ask
> at Help Desk available_for_checkout
>
>
> On Thursday, September 24, 2015 at 3:44:37 PM UTC-6, Gergely Polonkai
> wrote:
>>
>> Hello,
>>
>> this is very unlikely, unless you have some pre-commit hooks. Could you
>> check with a program not as smart as Excel (e.g. Notepad) if that " is
>> present?
>>
>> Best,
>> Gergely
>> On 24 Sep 2015 23:25, "Eric Nord"  wrote:
>>
>>> Example data
>>>
>>>
>>> BYU LEE CIRC-SFTWR  Circulating Software - Circulation Desk 
>>> CIRC-SFTWR LEE  available   available   3   Available   
>>> available_for_checkout
>>>
>>>
>>> 
>>> 
>>>
>>> -BYULEE CKOUTTRACE  Item missing, being traced  
>>> CKOUTTRACE LEE  unavailable unavailable 13  Unavailable 
>>> unavailable
>>>
>>>
>>> 
>>> 
>>>
>>> +BYULEE CKOUTTRACE  "Item missing, being traced"
>>> CKOUTTRACE LEE  unavailable unavailable 13  Unavailable 
>>> unavailable
>>>
>>>
>>> 
>>> 
>>>
>>>  BYULEE CLEANUP Reclass cleanup records CLEANUP LEE 
>>> unavailable unavailable 13  Unavailable unavailable
>>>
>>> Add a comment to this line
>>> 
>>> 
>>>
>>>  BYULEE COMPACT Compact ShelvingCOMPACT LEE 
>>> available   maybe   8   holdableAsk at Help Desk
>>> available_for_check
>>>
>>>
>>>
>>> Recreate by:
>>>
>>> 1 git clone {repo}
>>>
>>> 2 git checkout integration
>>>
>>> 3 check .tsv file for " char - not found
>>>
>>> 4 edit 1 char  in Excel
>>>
>>> 5 save .tsv
>>>
>>> 6 reopen and check for  " char - not found
>>>
>>> 7 git add -A
>>>
>>> 8 git commit -m "message"
>>>
>>>   --- commit shows more insertions than I made... Wha??
>>>
>>> 9 open .tsv in excel - search for " char - not found.
>>>
>>> 10 push to repo
>>>
>>> 11 bitbucket pull request shows " char has been added.
>>>
>>>
>>>
>>> --
>>> 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+...@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.
>

-- 
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] git-for-windows adds pre and post " char to string int .tsv (tab seperated value) file

2015-09-24 Thread Eric Nord
Data from notepad:

BYU LEE CIRC-SFTWR Circulating Software - Circulation Desk CIRC-SFTWR LEE 
available available 3 Available available_for_checkout
BYU LEE CKOUTTRACE Item missing, being traced CKOUTTRACE LEE unavailable 
unavailable 13 Unavailable unavailable
BYU LEE CLEANUP Reclass cleanup records CLEANUP LEE unavailable unavailable 
13 Unavailable unavailable
BYU LEE COMPACT Compact Shelving COMPACT LEE available maybe 8 holdable Ask 
at Help Desk available_for_checkout


On Thursday, September 24, 2015 at 3:44:37 PM UTC-6, Gergely Polonkai wrote:
>
> Hello,
>
> this is very unlikely, unless you have some pre-commit hooks. Could you 
> check with a program not as smart as Excel (e.g. Notepad) if that " is 
> present?
>
> Best,
> Gergely
> On 24 Sep 2015 23:25, "Eric Nord" > 
> wrote:
>
>> Example data
>>
>>
>> BYU  LEE CIRC-SFTWR  Circulating Software - Circulation Desk 
>> CIRC-SFTWR LEE  available   available   3   Available
>>available_for_checkout
>>
>>
>> 
>>  
>> 
>>
>> -BYU LEE CKOUTTRACE  Item missing, being traced  CKOUTTRACE LEE  
>> unavailable unavailable 13  Unavailable unavailable
>>
>>
>> 
>>  
>> 
>>
>> +BYU LEE CKOUTTRACE  "Item missing, being traced"CKOUTTRACE LEE  
>> unavailable unavailable 13  Unavailable unavailable
>>
>>
>> 
>>  
>> 
>>
>>  BYU LEE CLEANUP Reclass cleanup records CLEANUP LEE unavailable 
>> unavailable 13  Unavailable unavailable
>>
>> Add a comment to this line 
>> 
>>  
>> 
>>
>>  BYU LEE COMPACT Compact ShelvingCOMPACT LEE available   
>> maybe   8   holdableAsk at Help Deskavailable_for_check
>>
>>
>>
>> Recreate by:
>>
>> 1 git clone {repo}
>>
>> 2 git checkout integration 
>>
>> 3 check .tsv file for " char - not found
>>
>> 4 edit 1 char  in Excel
>>
>> 5 save .tsv
>>
>> 6 reopen and check for  " char - not found
>>
>> 7 git add -A
>>
>> 8 git commit -m "message"
>>
>>   --- commit shows more insertions than I made... Wha??
>>
>> 9 open .tsv in excel - search for " char - not found. 
>>
>> 10 push to repo
>>
>> 11 bitbucket pull request shows " char has been added. 
>>
>>
>>
>> -- 
>> 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+...@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.


Re: [git-users] git-for-windows adds pre and post " char to string int .tsv (tab seperated value) file

2015-09-24 Thread Eric Nord
The " char is not present when viewing from notepad - I'm wondering if they 
are getting added in the newline char conversion git-for-windows applies. 

On Thursday, September 24, 2015 at 3:44:37 PM UTC-6, Gergely Polonkai wrote:
>
> Hello,
>
> this is very unlikely, unless you have some pre-commit hooks. Could you 
> check with a program not as smart as Excel (e.g. Notepad) if that " is 
> present?
>
> Best,
> Gergely
> On 24 Sep 2015 23:25, "Eric Nord" > 
> wrote:
>
>> Example data
>>
>>
>> BYU  LEE CIRC-SFTWR  Circulating Software - Circulation Desk 
>> CIRC-SFTWR LEE  available   available   3   Available
>>available_for_checkout
>>
>>
>> 
>>  
>> 
>>
>> -BYU LEE CKOUTTRACE  Item missing, being traced  CKOUTTRACE LEE  
>> unavailable unavailable 13  Unavailable unavailable
>>
>>
>> 
>>  
>> 
>>
>> +BYU LEE CKOUTTRACE  "Item missing, being traced"CKOUTTRACE LEE  
>> unavailable unavailable 13  Unavailable unavailable
>>
>>
>> 
>>  
>> 
>>
>>  BYU LEE CLEANUP Reclass cleanup records CLEANUP LEE unavailable 
>> unavailable 13  Unavailable unavailable
>>
>> Add a comment to this line 
>> 
>>  
>> 
>>
>>  BYU LEE COMPACT Compact ShelvingCOMPACT LEE available   
>> maybe   8   holdableAsk at Help Deskavailable_for_check
>>
>>
>>
>> Recreate by:
>>
>> 1 git clone {repo}
>>
>> 2 git checkout integration 
>>
>> 3 check .tsv file for " char - not found
>>
>> 4 edit 1 char  in Excel
>>
>> 5 save .tsv
>>
>> 6 reopen and check for  " char - not found
>>
>> 7 git add -A
>>
>> 8 git commit -m "message"
>>
>>   --- commit shows more insertions than I made... Wha??
>>
>> 9 open .tsv in excel - search for " char - not found. 
>>
>> 10 push to repo
>>
>> 11 bitbucket pull request shows " char has been added. 
>>
>>
>>
>> -- 
>> 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+...@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.


Re: [git-users] git-for-windows adds pre and post " char to string int .tsv (tab seperated value) file

2015-09-24 Thread Gergely Polonkai
Hello,

this is very unlikely, unless you have some pre-commit hooks. Could you
check with a program not as smart as Excel (e.g. Notepad) if that " is
present?

Best,
Gergely
On 24 Sep 2015 23:25, "Eric Nord"  wrote:

> Example data
>
>
> BYU   LEE CIRC-SFTWR  Circulating Software - Circulation Desk 
> CIRC-SFTWR LEE  available   available   3   Available 
>   available_for_checkout
>
>
> 
> 
>
> -BYU  LEE CKOUTTRACE  Item missing, being traced  CKOUTTRACE LEE  
> unavailable unavailable 13  Unavailable unavailable
>
>
> 
> 
>
> +BYU  LEE CKOUTTRACE  "Item missing, being traced"CKOUTTRACE LEE  
> unavailable unavailable 13  Unavailable unavailable
>
>
> 
> 
>
>  BYU  LEE CLEANUP Reclass cleanup records CLEANUP LEE unavailable 
> unavailable 13  Unavailable unavailable
>
> Add a comment to this line
> 
> 
>
>  BYU  LEE COMPACT Compact ShelvingCOMPACT LEE available   
> maybe   8   holdableAsk at Help Deskavailable_for_check
>
>
>
> Recreate by:
>
> 1 git clone {repo}
>
> 2 git checkout integration
>
> 3 check .tsv file for " char - not found
>
> 4 edit 1 char  in Excel
>
> 5 save .tsv
>
> 6 reopen and check for  " char - not found
>
> 7 git add -A
>
> 8 git commit -m "message"
>
>   --- commit shows more insertions than I made... Wha??
>
> 9 open .tsv in excel - search for " char - not found.
>
> 10 push to repo
>
> 11 bitbucket pull request shows " char has been added.
>
>
>
> --
> 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.


[git-users] git-for-windows adds pre and post " char to string int .tsv (tab seperated value) file

2015-09-24 Thread Eric Nord


Example data


BYU LEE CIRC-SFTWR  Circulating Software - Circulation Desk 
CIRC-SFTWR LEE  available   available   3   Available   
available_for_checkout


 


-BYULEE CKOUTTRACE  Item missing, being traced  CKOUTTRACE LEE  
unavailable unavailable 13  Unavailable unavailable


 


+BYULEE CKOUTTRACE  "Item missing, being traced"CKOUTTRACE LEE  
unavailable unavailable 13  Unavailable unavailable


 


 BYULEE CLEANUP Reclass cleanup records CLEANUP LEE unavailable 
unavailable 13  Unavailable unavailable

Add a comment to this line 

 


 BYULEE COMPACT Compact ShelvingCOMPACT LEE available   
maybe   8   holdableAsk at Help Deskavailable_for_check



Recreate by:

1 git clone {repo}

2 git checkout integration 

3 check .tsv file for " char - not found

4 edit 1 char  in Excel

5 save .tsv

6 reopen and check for  " char - not found

7 git add -A

8 git commit -m "message"

  --- commit shows more insertions than I made... Wha??

9 open .tsv in excel - search for " char - not found. 

10 push to repo

11 bitbucket pull request shows " char has been added. 



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

2015-09-24 Thread Gergely Polonkai
Hello,

in CC UCM, rebase is actually a merge: it merges the latest recommended
baseline to your current stream. For Git's rebase, please see Konstantin's
reply.

Best,
Gergely
On 24 Sep 2015 17:20, "Konstantin Khomoutov" 
wrote:

> On Thu, 24 Sep 2015 08:06:23 -0700 (PDT)
> Jirong Hu  wrote:
>
> > 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?
>
> I think after reading [1], you'll be able to compare and contrast
> all by yourself.
>
> Please also note that `git rebase` can do more than "forward-porting a
> series of commits" (its basic task); some of these applications are
> touched upon in [2].
>
> 1. http://git-scm.com/book/en/v2/Git-Branching-Rebasing
> 2. http://git-scm.com/book/en/v2/Git-Tools-Rewriting-History
>
> --
> 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.


Re: [git-users] Does companies hire git administrators?

2015-09-24 Thread Konstantin Khomoutov
On Thu, 24 Sep 2015 08:24:49 -0700 (PDT)
Jirong Hu  wrote:

> 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?

A "git administrator" is a moot term at best but it's a bit hard to
explain why in a few words.

Say, is you take Visual Source Safe or TFS, they both have their
respective server-side software packages which are set up and
maintained in a somwehat straightforward way -- simply because there's
not much different ways you can configure and use these software
packages.

Contrary to this, from a "server-wise" angle, "vanilla" Git only
offers this:

* Two binaries which are able to "terminate" fetching and pushing
  (receiving and sending) data to/from another Git instance.

  These are completely transport agnostic: they receive data from
  their standard input stream and send it out to their standard output
  stream.  So these programs are supposed to be called by some
  higher-level wrappers.

  These binaries speak a special on-the-wire protocol.

* One binary which implements a CGI protocol and is hence able to
  be plugged into a Web server to serve Git repositories via
  HTTP[S] protocol.

* A dedicated server binary which is able to speak Git wire
  protocol on a TCP socket, and supports no
  authentication/authorization at all.

Now, with these tools, there's already a multitude of ways to "serve"
Git.  Two most popular ways to do that is via SSH and/or HTTP[S] for
authenticated access and using plain dedicated server for R/O access.
As you can see, to implement all that stuff, you have to possess
working knowledge about server-side SSH, managing users and access
rights on a typical POSIX system, an ability to manage a web server of
choice and its CGI facilities etc.

The next thing to consider is that such setups typically only work for
really small teams.  Once you have specific requirements like access
controls of fine-grained access controls, plain Git tools won't save you
and you will probably need to turn either to special Git front-ends
like gitolite or turn-key solutions like gitblit, gitlab (or
IIS-specific solutions on Windows, like bonobo git server or git web
access).

Now there might be even more involved solutions like the requirement to
have the commits which are about to enter some "blessed" line of
development to be peer-reviewed, and so you'll need to support
something like Gerrit.

And another thing to consider is that commercial Git hosting solutions
exist.

To round up, being a "Git administrator" is not like being a one-trick
dog and requires knowledge of particular bits applicable to the specific
task of deploying 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/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.


Re: [git-users] Is git rebase same as ClearCase rebase?

2015-09-24 Thread Konstantin Khomoutov
On Thu, 24 Sep 2015 08:06:23 -0700 (PDT)
Jirong Hu  wrote:

> 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?

I think after reading [1], you'll be able to compare and contrast
all by yourself.

Please also note that `git rebase` can do more than "forward-porting a
series of commits" (its basic task); some of these applications are
touched upon in [2].

1. http://git-scm.com/book/en/v2/Git-Branching-Rebasing
2. http://git-scm.com/book/en/v2/Git-Tools-Rewriting-History

-- 
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] shallow clone recommendations

2015-09-24 Thread Rustom Mody
I understand that of late shallow clones have improved in various ways
I just tried to clone emacs

Shallow emacs 262M
Full clone 441M

In particular
shallow emacs' .git 38M
Full emacs' .git 228M

Most important it was some 2 hours with full and less than ½ hr with
shallow

However emacs devs prefer people to do a full clone

I was wondering if there is/are have-the-cake-and-eat-it options. eg
1. Clone from a certain recentish tag to now
2. Change from a depth --1 to a depth --25 later
3. etc

Note: Emacs is probably extreme in having a 40 year history(!)

-- 
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.