IRCloggy #git 2006-04-20

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2006-04-20

benlau joined00:36
dmlb2000 Okay got a problem building gits documentation... seems to work as root but not as a user... I get this from asciidoc: WARNING: non-standard xhtml11 backend FAILED: incomplete configuration files00:38
if anyone has seen this I'd appreciate the help.00:40
Oh figured it out, somehow /etc/asciidoc didn't have executable permissions on it...00:57
Chocobo joined01:20
Chocobo Howdy all.01:21
bzr vs. git01:25
philips Chocobo: http://better-scm.berlios.de/comparison/comparison.html01:28
doh, no git comparison01:29
Chocobo lol, I was about to say..... " What am I missing ?"01:29
loops git is above comparison01:30
page just lists reasons to move to git ;o)01:30
strange tho, since it does list mercurial, which isn't as old as git01:31
philips there was a doc that made comparisons, but I can't find it01:31
obviously biased http://bazaar-vcs.org/RcsComparisons01:31
:-))01:31
spuk joined01:33
Chocobo Mercurial doesn't look too bad either. hmmm, I am just having a hard time learning git. It is the most complicated of all I think.01:35
loops Chocobo, what are you having trouble with ?01:39
Chocobo well I guess it isn't git... it is the decentralized methodolgy. It doesnt make sense that there is no one place that everything resides. I guess I don't understand how if multiple people are working on a project ... how everything comes together. When something is getting "released" how does that happen?01:41
loops well think of the kernel project01:41
in the end.. there _is_ one centralized repository.. that's the one linus maintains on the kernel.org server01:42
PugMajere Chocobo: There is a central repository, but nobody *needs* to have access to it.01:42
loops but everyone has a complete copy.. and instead of checking their changes into the central repo, they check them in locally01:43
Chocobo so lets say 3 people are helping linus... bob, tim, and sally. does linus need to "git merge bob" "git merge tim" and "git merge sally" ?01:43
loops and let linus git-pull the changes into linus' tree01:43
sofar does akpm have a -mm gitweb or similar?01:43
anyone knows?01:43
PugMajere Chocobo: yes.01:43
loops sofar, he does have a git repo now yes01:43
PugMajere or sally and merge tim's changes, etc.01:43
sofar loops: url?01:44
Chocobo Hmmm, I am starting to think that what I want is really a centralized repo.01:44
loops Chocobo, yess.. he git-pulls from everyone01:44
Chocobo, git can handle that as well, everyone just pushes into the same repo01:44
Chocobo I need to join a project that uses it. That is the only way I will learn it really.01:45
loops but when you're offline, like on an airplane, you still have all the information handy.. you're never disconnected from the repo01:45
sofar, hmm.. lemme see if i can find it.. i just saw a reference to it, never used it myself01:45
Chocobo loops, so does that mean the local repo contains all past revision information?????? couldnt that get _huge_?01:45
loops Chocobo, yes it can, but in practice it isn't too bad.. Plus, git has a way to prune old history from a repository if you don't want it, and still interact with other repos that still contain the old history01:46
Chocobo hmmm. I guess I just need to read all the documentation files.01:47
loops I guess it can be confusing if you're used to cvs for instance.. because it's a very different model.. where you just checkout one revision from a central repo into your working directory.01:48
But once you get used to it, there's no going back01:49
Chocobo It is the little things that get me ... like the origin file.01:50
loops you mean .git/remotes/origin ?01:52
Chocobo yes.01:53
loops sofar, i can't find it :(01:53
hharrison joined01:53
loops Chocobo, well it's just a place to record information about remote repositories.01:55
sofar loops: that's exactly my problem01:55
loops it doesn't have to be called origin.. and you can have more than one01:55
sofar, i remember seeing one of his -mm releases a while back that explicitly mentioned a git repo.. but can't seem to find it now01:56
Chocobo, the reason it has been called origin, is that for many people, they never create their own repository.. they just clone from say Linus01:56
Chocobo Is there any place that documents the format of it?01:57
loops There may be... it's a bit unfortunate you have to worry about it at all.. there should be some repo-config commands that let you set things from the command line01:58
Chocobo yeah, that would be good. I am really not a big of fan of features that hard to find documentation on. I guess that is a big pet peeve of mine.01:59
loops Chocobo, one thing about the git repo size is that git has a packed format that is very efficient..02:05
Chocobo I am not saying that git isn't well documented... just that I have a hard time finding it :)02:05
So how large is the kernel repo?02:05
loops one large project offering git has a cvs repo that's 200Mb, a SVN 550mb, SVK repo 550mb, and a git repo that's only 150Mb.02:06
Chocobo, 126mb02:06
that large project i mentioned is Wine.. you can checkout http://wiki.winehq.org/HackingTips02:07
Chocobo cvs repo that's 200Mb <--- But how big is the intial clone? I would assume for git it is 150 MB, and for cvs it is much much smaller... the size of the most recent commit.02:07
loops Chocobo, yes.. with cvs you're only checking out a working copy, rather than all the history.02:08
however, in practice... you only do an initial clone once... and then from then on you have very minimal transfers..02:09
Chocobo that is true.02:09
loops so yes, you do pay a price up front.. but you get a lot for it too...02:09
Chocobo So when a user tries to "push" into another branch somewhere.... what sort of user authentication mechanisms exist?02:10
loops git doesn't provide any itself..02:10
typically, you setup ssh access to allow pushes.02:10
Chocobo oh man, that sort of stinks... so you need to do it with users and groups? hrmmm.02:11
loops Well it would be possible to build the infrastructure to handle multi-user repos on top of git... but it's not really the way it was designed to be used.02:13
it's just so flexible, it could handle it if you really wanted it ;o)02:13
mostly, it's meant for everyone to have their own repos and not need to push to a central repo.02:13
then someone managing a public "central" repo, like linus, just pulls in the changes from all the published repos he cares about..02:14
Chocobo Well what I really want is a central repo. I guess git will still work fine for that though.02:15
dmlb2000 Chocobo: I've used both bzr and git, they seem pretty similar for regular use, however git seems faster across the internet just my opinion though ;)02:16
loops Yes, there's nothing stopping git from working with that model Chocobo.02:16
Chocobo, but once you get used to not having to do everything with a central repo, you find it's a much nicer model.. no more locked files.. etc..02:17
gitster I think there is a tutorial for CVS migrants who are used to the central repository model already, so follow that and then send in patches to the documentation to fill what you find missing ;-).02:17
loops is that in the docs folder gitster ?02:18
gitster Documentation/cvs-migration.txt02:18
dmlb2000 Anyone want to tell me why the install of the templates is done like this? (cd blt && tar cf - .) | (cd '/home/dmlb2000/share/git-core/templates/' && tar xf -) ???02:19
loops Chocobo, worth reading that then and seeing if it clears anything up02:20
Chocobo Well the biggest thing I like about the central repo is the the most recent code is available no matter what computer you are using. See I switch computers computers often... so having the most up-to-date code in one location is a huge benefit. Also, with the central repo it seems like it would be easier to have data safety.... one place to backup everything. With the decentralized model... everyone needs to wory about making their02:20
own backups.02:20
loops dmlb2000, maybe portability.. are there "cp" options for recursive copy that work across all platforms ?02:22
Chocobo, well Linus likes to say half jokingly that he doesn't need backups because his repo is copied on servers all over the world.02:23
dmlb2000 loops: yeah... I could see an issue with that, but doing it with subshells and a pipe makes it difficult if impossable to mess with LD_PRELOAD...02:23
Chocobo lol. well needless to say mine isn't :)02:24
loops Chocobo, you're right that having a central repo makes it easier to switch between machines..02:24
But with git, you just designate one of your repos as "central" and always push to it02:25
so it supports that model, just doesn't demand it02:25
Chocobo Yeah, that is basically what I have set up now. (with your help last night)02:26
loops was going to ask you if things went okay at work today?02:26
Chocobo yeah, perfectly. git seems very fast.02:27
loops If nothing else, it is that.02:28
gitster wonders what LD_PRELOAD issues there are that does not affects cp but does affect UNIXy pipes...02:28
Chocobo Oh, the push didn't work though.... do I need to do a push --all?02:29
Where would you want to push today?02:29
Usage: /usr/bin/git-push [--all] [--tags] [--force] <repository> [<refspec>...]02:29
loops Well, you need to tell push what to push.. --all will work02:29
once you start using branches more, you'll want to be more selective02:29
dmlb2000 gitster: mind if I message you with what I have?02:30
gitster: depends on what you are messing with in LD_PRELOAD ;)02:31
Chocobo I have the origin file, so I shouldnt need to specify the repo?02:32
gitster "*Where* would you want to push today?" ;-)02:33
It does not default to "origin", because "origin" makes sense only for people with shared single repository mentality.02:33
Chocobo so every time I push I need to specify repo? *grumble*02:34
dmlb2000 or you script it out so you don't have to02:34
loops very easy to add an alias or script to handle that, although i don't understand the reason to not default to origin02:36
most people would have a single repo they upload to most often02:37
gitster We could change "git push" to default to "origin", I think. I do not see any downside now. Originally, we did not make it to default, but that was not done to inconvenience people. It just seemed useless back then. Both Linus and I were pushing into many different places (mostly as backup) so there was no point making any one of them special.02:37
For example, I push into two kernel.org machines (i386 and x86-64) for my private build, another kernel.org repository for publication, and another local repository for backups.02:38
Chocobo Woa, I feel like I am listening to someone high up on the food chain :)02:39
loops what would happen if you have more than one Push: line speicified in the origin remote ?02:39
gitster I could push into my two repositories at work, but I tend to pull from there -- because I want to keep testing the pull as well.02:39
I have these in .git/remotes/ko (stands for kernel.org):02:39
URL: ...kernel.org:/pub/scm/git/git.git/02:40
Chocobo Does Linus ever use IRC?02:40
gitster Push: heads/master02:40
Push: heads/next02:40
Push: +heads/pu02:40
Push: heads/maint02:40
Neither of us are IRC person.02:40
Chocobo is confused.02:40
Chocobo You are on IRC right now. :)02:41
loops gitster, of course...02:41
gitster What I mean is "don't mind me much -- I am just lurking around to see what problems and interesting issues people are having."02:42
loops gitster, it might be nice to be able to call "origin" something else..02:42
For instance, Chocobo, might want to call his default dreamhost02:43
Chocobo Ahh cool. I need to figure out what those lines mean.02:43
loops would need a .gconfig02:43
.git/config*02:43
gitster loops, I'd like to make all those things part of the "per branch config" updates. Seen the "Recent Unresolved Issues" list?02:43
loops ahh yes.. okay02:44
Chocobo So would that mean that I could do: git push dreamhost02:44
?02:44
loops yes.. all you need to do is rename your .git/remotes/origin to .git/remotes/dreamhost02:44
but right now.. "origin" is special.. because it's the default.. for git-pull02:45
if you renamed it, you'd have to type git pull dreamhost, too02:45
Chocobo Ahhhh, excellent! I thought every time I had to : git push ssh://www.frozencoast.org/~/git02:46
gitster Symlinks perhaps ? not guaranteed to keep working though ;-)02:46
Chocobo I had set up an environment vairable :)02:46
loops no. that's exactly what the .git/remotes are meant to handle.02:46
gitster loops, BTW, "/who loops" gives me useless information. Mind if I ask if you are somebody I know from the mailing list?02:46
Chocobo My name is Eygo Montoya, you killed my father, prepare to die.02:47
loops lol02:47
Chocobo Ahh good old Princess Bride... what a movie :)02:48
loops gitster, I sent you a private email telling you to remove the "git-pull" command.02:48
lol.. but it was April 1st.. so i tell myself i was only joking.02:48
Chocobo Hey gitster... next time you talk you with Linus tell him nice job for me. And nice job to you too for your work on git :)02:49
gitster private? The reason I asked was because you seem to really "get" git and wishing we had more like you active on the mailing list ;-).02:50
loops yeah.. i'm a fan02:50
PugMajere gitster: I might get a bit more active in another few weeks.02:52
gitster Wonderful. I've been missing you (and Fredrik) recently.02:52
PugMajere I'm currently working on a move to the San Francisco area, taking a new job, so ... that and a master's class kinda sucked up this year, lol.02:53
gitster realized, by going to the mailbox, who loops is -- no wonder he gets git.02:54
Chocobo joined02:56
juvenis joined03:08
juvenis- joined05:41
hharrison joined05:59
vin` joined07:01
hharrison joined08:20
vrt joined08:56
juvenis- joined09:29
vrt joined09:30
biesi joined09:53
wart Anyone alive? :)10:17
boto joined11:55
coywolf joined12:07
spuk- joined12:20
ferdy joined12:42
timlarson_ joined12:49
Tv wart: no13:45
nice 3.5-hour lag13:45
GyrosGeier joined13:52
coywolf left14:11
benlau joined14:47
vrt joined15:52
vrt left16:02
GyrosGeier joined16:05
biesi_ joined16:15
Oejet left16:17
Oejet joined16:17
biesi__ joined16:23
sofar_ joined16:30
sofar_sofar16:31
ferdy joined17:56
juvenis joined18:19
biesi_ joined18:36
Beber` joined19:10
Eludias joined20:10
biesi_biesi-away20:27
CIA-14 Cogito: pasky v0.17 * r94df6c6064c3 /cg-clone: mkdir -p .git/info since git-init-db won't always create it20:33
dwmw2_gone joined21:31
dwmw2_gone joined21:34
Chocobo joined21:39
biesi-awaybiesi21:49
hharrison joined22:10
robfitz joined22:23
philips left22:25
schofield joined22:36
juvenis joined22:39
smartcat99s joined23:25

Logs Search ←Prev date Next date→ Channels Documentation