IRC Log Viewer » #firebreath » 2011-04-30

IRC Nick Time (GMT-7) Message
jshanab_wcw 10:04 good morning taxilian
taxilian 10:04 morning
jshanab_wcw 10:04 I am working on the move to git. (finnally) and I was wondering about the submodules stuff. I thought I would split my project up into a few levels of super projects and a series of submodules, but I see online mention that it gets to be a pain to update the super modules. Are submodules to be taken in moderation?
taxilian 11:04 (on phone)
taxilian 12:04 jshanab_wcw: I'm back, sorry
submodules aren't bad, IMO; I don't have too much trouble with them. some find them annoying, though
jshanab_wcw 12:04 It seems like they wouldbe ideal for the external stuff that I want to hold steady, but be able to update when I have time. Like FB,SFML,Live555, Mongoose.
I have been watching videos and reading web pages, It is hard from them to get an idea of how to take an existing large project with subprojects and directories over to git. I think i can take over all at onece then break it into submodules later
taxilian 12:04 hmm. not well
submodules are ideal if they are in seperate projects
such as FB
not using FB as a submodule would be, IMO, ridiculous
and unneccesarily annoying
jshanab_wcw 12:04 BTW, I did fix the firewall issue, you can checkout the plugin if you like
er, checkout as in connect and look at video not in the SVN since :-)
taxilian 12:04 I'll have to look at it monday; I'm not on a windows box and I'm too lazy to go downstairs :-P
jshanab_wcw 12:04 gotcha. Someday, i will take a weekend and solve that issue as well. I prefer Linux myself
taxilian 12:04 heh
jshanab_wcw 12:04 When i want to import my stuff from svn, there are a few howtos, but what is best. do it on the server or do it in an account on a linux machine then push it up?
taxilian 12:04 I don't know if it would matter; if it were me I'd just check it out with git svn co and then push from my client
jshanab_wcw 13:04 OK, I am working on that. It being a fresh server, I just don't know if it is set up suffiently. Got time to play, it is checking out, sheesh
Hey, I was looking at bamboo last night, i like the fact that it is part of atalasian, jira, etc. But it seems like they talk mostly about SVN. Do you know how git friendly is that whole atalasin suite?
taxilian 13:04 not really; fisheye seems to support git decently (that's what is running at code.firebreath.org) and jira does okay with git when paired with fisheye; I haven't used bamboo myself, so I'm not sure how well bamboo works with it
jshanab_wcw 13:04 I used fisheye, crucible, jira nad greenhopper when i was at Pelco.
jshanab_wcw 14:04 Evertime i try to setup gitolite i get into a loop of errors, frustrating.
taxilian 14:04 hmm
that's annoying
jshanab_wcw 14:04 I think i figured it out, Lots and Lots of conflicting instructions, especially for ubuntu that likes to move stuff around and use different user acount names. :-)
taxilian 15:04 jshanab_wcw: so you have things running now?
jshanab_wcw 15:04 Maybe. It turns out ubuntu has a really old gitolite. had to do it over (take 3) from a remote machine and it appears to be going. There are 4 ways and when combined with an ssh key that has a passphrase, it just loops forever in config.
taxilian 15:04 oh, don't use the apt-get version
get it from the trunk
jshanab_wcw 15:04 F rick. fails on last line of their "easy install" script LOL
taxilian 15:04 huh. I didn't have any problems installing it on ubuntu; using the "install as root" method with the latest from git
jshanab_wcw 15:04 Well I was just now giving up on that using the package like I saw suggested and went to the method dhown here http://www.philwhln.com/install-gitolite-to-manage-your-git-repositories
taxilian 15:04 hang on
let me find the instructions I used
this one: https://github.com/sitaramc/gitolite/blob/pu/doc/1-INSTALL.mkd#_root_method_directly_on_the_server_manually_with_root_access
as in, the real one
the docs from the repo
written by the author
I use the pu branch, which I think is the default
jshanab_wcw 15:04 It is a darn ssh key problem, again. :-( Well I wanted to learn more about passworless ssh usage.
thanks
taxilian 15:04 if you do it the root access way it should set that up for you
jshanab_wcw 15:04 It is installed, the client says it cannot check out gitolite-admin
taxilian 15:04 what do you get when you try?
are you using the private key for the public key you installed with?
jshanab_wcw 15:04 I had a R access denied, now after the re-install it is asking for a password. the account has no password, only an ssh key, Something went wrong with that part of it
taxilian 15:04 log into the server, su to the git user (or whatever you use) and do gl-setup /tmp/YourName.pub
(with the path to the public key)
jshanab_wcw 15:04 ok
Unfortunantly that gives me the similar erros aout not able to find files, gl-setup is suppose to be run as the gilolite user, correct?
There are also 2 pub keys, the one you use to get in initially and the one added by the easy script. :-)
I got it!. The script creates a an entry in .ssh/config that is , well wrong. causing it to not find an entry so no key so no worky. Their script is poor
now to add users, repos and push, then gitweb :-)
taxilian 16:04 I suspect their script is fine, but all the other instructions you followed messed it up...
because it worked flawlessly for me the two times I've set it up =]
jshanab_wcw 16:04 I do not know what combination of things i did that messed it up, especially since I did it all over again on a different distor from a blank HD and paied more attention the 3rd time. I have done apache, old sendmail, bind, and all the gentoo stuff and this was the worst of them all so far. I hope it was just a fluke.
taxilian 16:04 huh
did you try it with the instructions I pointed out?
jshanab_wcw 16:04 Well, I got it working so i didn't start over yet again. I think i am good, but yuck.
jshanab_wcw 16:04 Can I update a user key just by coping it to keydir and commiting?
taxilian 16:04 yes
and you can have multiple keys for a single user by having [email protected], [email protected], [email protected], etc
jshanab_wcw 16:04 Thanks. I saw the multiple key docs. Can you believe that somehow I broke it? i cannot push my config this second time.
I am trying to update the first user's key but not touch the gitadmin users key, but it is now asking for passwords on the gitadmin user
taxilian 17:04 lol
I don't know… it was slick as a whistle for me to set up
had no issues at all
jshanab_wcw 17:04 I added a repo and got it comiited and pushed then poof
No reason for the error
taxilian 17:04 I don't know
sitaram is usually around on #gitolite and is pretty good about answering questions if you get really stuck
jshanab_wcw 17:04 thanks. bremner is answering questions (not the one i was asking :-) ) but he is answering ROTFL