| From | Subject | Date |
|---|---|---|
| Baurzhan Ismagulov | (No subject)
subscribe git
-
| Dec 7, 6:47 pm 2006 |
| Dana | Most popular software bundles including Microsoft Office 200...
With the appreciation of your friendship our Group would like to represent a new special offer created for all the customers who prefer to use our services. Needless to say that we're trying to help you with your choices, because we offer a quality software at lowest prices on the web. Make your choice, don't miss a chance. We're always at your service. The following special offer will operate within next 7 days only
http://gigazoyd.com
Every effort has been made to ensure the accuracy of all information ...
| Dec 7, 3:49 pm 2006 |
| Linus Torvalds | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
I really don't see what gitweb could do that would be somehow better than
apache doing the caching in front of it.. Is there some apache reason why
that isn't sufficient (ie limitations on its cache size or timeouts?)
Maybe the cacheability hints from gitweb could be tweaked (a lot of it
should be "infinitely cacheable", but the stuff that depends on refs and
thus can change, could be set to some fixed host-wide value - preferably
some that depends on how old the ref is).
Having gitweb...
| Dec 7, 3:05 pm 2006 |
| H. Peter Anvin | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
What it could do better is it could prevent multiple identical queries
from being launched in parallel. That's the real problem we see; under
high load, Apache times out so the git query never gets into the cache;
but in the meantime, the common queries might easily have been launched
20 times in parallel. Unfortunately, the most common queries are also
extremely expensive.
-hpa
-
| Dec 7, 3:16 pm 2006 |
| Linus Torvalds | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
Ahh. I'd have expected that apache itself had some serialization facility,
that would kind of go hand-in-hand with any caching.
It really would make more sense to have anything that does caching
serialize the address that gets cached (think "page cache" layer in the
kernel: the _cache_ is also the serialization point, and is what
guarantees that we don't do stupid multiple reads to the same address).
I'm surprised that Apache can't do that. Or maybe it can, and it just
needs some confi...
| Dec 7, 3:30 pm 2006 |
| Junio C Hamano | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
If I understand correctly, kernel.org is still running the
version of gitweb Kay last installed there (I am too busy to
take over the gitweb installation maintenance at kernel.org, and
I did not ask the $DOCUMENTROOT/git/ directory to be transferred
to me when I rolled gitweb into the git.git repository).
I do not know what queries are most popular, but I think a newer
gitweb is more efficient in the summary page (getting list of
branches and tags). It might be worth a try.
-
| Dec 7, 4:05 pm 2006 |
| H. Peter Anvin | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
That's correct. I can transfer that directory to you if you want; I
can't realistically track gitweb well enough to do this myself (in fact,
it was pretty much a condition of having it up there that Kay would keep
How do you want to handle it?
-hpa
-
| Dec 7, 4:09 pm 2006 |
| Junio C Hamano | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
Well, the reason I haven't asked to is because I don't have
enough time myself, so....
-
| Dec 7, 6:11 pm 2006 |
| Shawn Pearce | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
AFAIK it doesn't have such an option, for basically the reason
you describe. I worked on a project which had much more difficult
to answer queries than gitweb and were also very popular. Yes,
the system died under any load, no matter how much money was thrown
It is. :-)
--
Shawn.
-
| Dec 7, 3:39 pm 2006 |
| Linus Torvalds | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
Gaah. That's just stupid. This is such a _basic_ issue for caching ("if
concurrent requests come in, only handle _one_ and give everybody the same
result") that I claim that any cache that doesn't handle it isn't a cache
at all, but a total disaster written by incompetent people.
Sure, you may want to disable it for certain kinds of truly dynamic
content, but that doesn't mean you shouldn't be able to do it at all.
Does anybody who is web-server clueful know if there is some simple
fro...
| Dec 7, 3:58 pm 2006 |
| Michael K. Edwards | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
Squid in "transparent reverse proxy" mode isn't a bad choice, although
I don't know offhand whether it queues/clusters concurrent requests
for the same URL in the way you want. I suggest the "transparent"
deployment (netfilter/netlink integration) because you can slap it in
with no changes to the origin server and yank it out again if you have
a problem. The challenge is in getting conntrack to scale to a
zillion concurrent sessions, but you could probably find someone in
your crowd who knows som...
| Dec 7, 7:33 pm 2006 |
| H. Peter Anvin | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
You certainly can be smarter about it when you know the nature of the
query, though. I do that with the patch viewer scripts.
-hpa
-
| Dec 7, 3:58 pm 2006 |
| Olivier Galibert | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
Do you have a top-ten of queries ? That would be the ones to optimize
for.
OG.
-
| Dec 7, 3:30 pm 2006 |
| H. Peter Anvin | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
The front page, summary page of each project, and the RSS feed for each
project.
-hpa
-
| Dec 7, 3:57 pm 2006 |
| Olivier Galibert | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
Hmmm, maybe you could have the summaries and rss feed generated on
push, which could also generate elementary files with lines of the
front page. That would make these top offenders static page serving.
OG.
-
| Dec 7, 7:50 pm 2006 |
| H. Peter Anvin | Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
There are a lot of things which "could be done" given the proper cache
infrastructure and gitweb support.
-hpa
-
| Dec 7, 7:56 pm 2006 |
| Brian Gernhardt | Re: Commit f84871 breaks build on OS X
No, it doesn't. In fact, it looks like perl/Makefile is simply
getting overwritten by MakeMaker. I'm guessing MakeMaker is supposed
to be outputting to "perl.mak" instead?
perl version: 5.8.6 (from perl -v)
MakeMaker version: 6.18 (from /System/Library/Perl/5.8.6/ExtUtils/
MakeMaker.pm)
~~ Brian
-
| Dec 7, 12:04 pm 2006 |
| Daniel Drake | git-svnimport breakage as of git-1.4.4
Hi,
git-svnimport broken between git-1.4.3.5 and git-1.4.4
I have found that commit 83936a29e275bc0c04f60d3333e4951a9e16b1fc is the
cause of this.
I am using git-svnimport to work with a repo with this layout:
https://server/repo/trunk
https://server/repo/tags/x.y.z
https://server/repo/branches/somebranch
Starting a fresh import:
# git-svnimport -v -i -C repo -r https://server repo
Fetching from 1 to 10707 ...
Tree ID 4b825dc642cb6eb9a060e54bf8d69288fbee4904
Committed change 1:/ 20...
| Dec 7, 11:26 am 2006 |
| Pazu | Re: Commit f84871 breaks build on OS X
I've found the same problem as the OP. First my pull failed like you said, but
then I completely wiped my working copy and tried checkout again -- this time it
worked fine. However, the build still fails with the error mentioned by the OP.
-- Pazu
-
| Dec 7, 11:20 am 2006 |
| Alex Riesen | cygwin, 44k files: how to commit only index?
I have a kind of awkward project to work with (~44k files, many binaries).
The normal "git commit", which seem to be more than enough
for anything and anyone else, is a really annoying procedure
in my context. It spend too much time refreshing index and
generating list of the files for the commit message.
At first I stopped using git commit -a (doing only update-index),
now I'm about to start using write-tree/commit-tree/update-ref
directly. It helps, but sometimes I really miss -F/-C. It's also
...
| Dec 7, 10:27 am 2006 |
| Junio C Hamano | Re: cygwin, 44k files: how to commit only index?
I am not sure what you are trying. Do you mean stat() is slow
Maybe you want "assume unchanged"?
-
| Dec 7, 3:16 pm 2006 |
| Alex Riesen | Re: cygwin, 44k files: how to commit only index?
incredibly slow. That and the matter of having 44000 files to process
If that is core.ignoreState you mean, than maybe this is what I mean.
I haven't tried it yet (now I wonder myself why I haven't tried it).
But (I'm repeating myself, in <81b0412b0612060235l5d5f93d0hd1aaf34924f7783@mail.gmail.com>)
I do not really understand how it _can_ help: "I ask because it does
not ignore stat info, as the name implies. Because if it would,
there'd be no point of calling lstat at all, wouldn't it?" Tha...
| Dec 7, 6:15 pm 2006 |
| Junio C Hamano | Re: cygwin, 44k files: how to commit only index?
Comparing index and HEAD should be cheap on a system with slow
lstat(), I think, as "git-diff-index --cached HEAD" should just
ignore the working tree altogether. Is that what you want?
-
| Dec 7, 6:29 pm 2006 |
| Shawn Pearce | Re: cygwin, 44k files: how to commit only index?
Its Cygwin/NTFS. lstat() is slow. readdir() is slow. I have the
Yes, basically. The Cygwin/NTFS issues Alex is pointing out are
exactly why git-gui has a "Trust File Modification Timestamp" option
on both a per-repository and global level. My larger repositories
(~10k files) are difficult to work with without that option enabled.
--
Shawn.
-
| Dec 7, 3:26 pm 2006 |
| Junio C Hamano | Re: cygwin, 44k files: how to commit only index?
Then maybe "git grep assume.unchanged" would help?
-
| Dec 7, 3:57 pm 2006 |
| Shawn Pearce | Re: cygwin, 44k files: how to commit only index?
Hmm. OK, maybe I should have answered "No"" to your first question.
I keep looking at the assume unchanaged feature of update-index,
but refuse to use it because I'm a lazy guy who will forget to tell
the index a file has been modified. Consequently I'm going to miss
a change during a commit.
What may help (and without using assume unchanged) is:
* skip the `update-index --refresh` part of git-status/git-commit
* skip the status template in COMMIT_MSG when using the editor
As Git will st...
| Dec 7, 4:29 pm 2006 |
| Junio C Hamano | Re: cygwin, 44k files: how to commit only index?
The second part is not about a good commit message but more
about a path that should have been updated but forgotten (the
same mistake you would be likely to make and that is the reason
assume-unchanged is not good for you).
I do not mind too much if you added a new --quick option to "git
commit" for this rather specialized need.
-
| Dec 7, 5:53 pm 2006 |
| Shawn Pearce | Re: cygwin, 44k files: how to commit only index?
Just to be clear, I'm not trying to blame Cygwin here.
Windows' dir command is slow. Windows Explorer is slow while
browsing directories. Eclipse chugs hard while doing any directory
scans (it normally runs very fast if its not rescanning the entire
directory structure). The drive is just plain slow.
Yea, I know, get a faster disk... but some bean counters don't
believe that a $50 more expensive disk could ever save enough time
to warrant the extra $50 captial expenditure...
I spend at le...
| Dec 7, 3:35 pm 2006 |
| Christian MICHON | Re: cygwin, 44k files: how to commit only index?
before buying any new hardware, you could easily imagine the
following scenario (I'm also "stuck" with windows, so it's an idea
I've been toying around for a week or so).
There're virtualizers around, on which networking capabilities can
be activated. And we could easily create a vm with linux+git
inside, using ext2/ext3/ext4 fs virtual disks (you'd benefit from
windows cache actually...)
example: YTech_Subversion_Appliance_v1.1 (ubuntu + subversion).
I've no prototype yet, but I've 2 scenar...
| Dec 7, 5:26 pm 2006 |
| Brian Gernhardt | Commit f84871 breaks build on OS X
When I pulled the most recent changes for git (de51faf), `make` began
failing with the following messages:
make -C perl PERL_PATH='/usr/bin/perl' prefix='/usr/local/stow/git' all
Makefile out-of-date with respect to Makefile.PL /System/Library/Perl/
5.8.6/darwin-thread-multi-2level/Config.pm /System/Library/Perl/5.8.6/
darwin-thread-multi-2level/CORE/config.h
Cleaning current config before rebuilding Makefile...
mv: rename perl.mak to perl.mak.old: No such file or directory
make[1]: *** [perl....
| Dec 7, 9:54 am 2006 |
| Johannes Schindelin | Re: Commit f84871 breaks build on OS X
Hi,
I found the same, but could not reproduce it. But a "touch perl/perl.mak"
fixes at least compilation.
Ciao,
Dscho
-
| Dec 7, 10:55 am 2006 |
| Brian Gernhardt | Re: Commit f84871 breaks build on OS X
My pull didn't fail, and your suggested list of commands tells me
"Already up-to-date." I've pulled, reset, and removed perl/Makefile
repeatedly when I was trying to use git-bisect. Primarily because of
merge conflicts in perl/Makefile that running make causes.
Indeed, the following sequence works:
git reset --hard
touch perl/perl.mak
make
But this one doesn't:
git reset --hard
make
touch perl/perl.mak
make
That one fails with "make[2]: *** No rule to make target
`instl...
| Dec 7, 11:29 am 2006 |
| Alex Riesen | Re: Commit f84871 breaks build on OS X
Does the attached patch help? I highly suspect the perl.mak generated
by MakeMaker.
diff --git a/perl/Makefile b/perl/Makefile
index bd483b0..b936e0d 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -29,6 +29,8 @@ $(makfile): ../GIT-CFLAGS Makefile
echo ' echo $(instdir_SQ)' >> $@
else
$(makfile): Makefile.PL ../GIT-CFLAGS
+ $(RM) $(makfile)
+ $(RM) $(makfile).old
'$(PERL_PATH_SQ)' $< FIRST_MAKEFILE='$@' PREFIX='$(prefix_SQ)'
endif
| Dec 7, 11:42 am 2006 |
| Andreas Ericsson | Re: Commit f84871 breaks build on OS X
I had to do the same. Somewhere, there's a "mv" that tries to move
perl.mak out of the way and doesn't properly detect the fact that it
isn't there.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
| Dec 7, 11:23 am 2006 |
| Alex Riesen | Re: Commit f84871 breaks build on OS X
Strange. You seem to have the old, generated Makefile you perl/
directory. Haven't your pull failed? If so, I suspect that
rm perl/Makefile
git reset --hard
git pull git...
should fix it.
-
| Dec 7, 10:33 am 2006 |
| Randal L. Schwartz | Re: Commit f84871 breaks build on OS X
>>>>> "Alex" == Alex Riesen <raa.lkml@gmail.com> writes:
Alex> Strange. You seem to have the old, generated Makefile you perl/
Alex> directory. Haven't your pull failed? If so, I suspect that
Alex> rm perl/Makefile
Alex> git reset --hard
Alex> git pull git...
I ended up having to do another reset afterward.
Definitely something went weird when Makefile was removed
from .gitignore.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 50...
| Dec 7, 4:18 pm 2006 |
| Junio C Hamano | Re: Commit f84871 breaks build on OS X
Yes, perl/Makefile is getting overwritten by what Makefile.PL
generates. I thought the point of Alex's patch was to have it
muck with perl.mak and leave the tracked Makefile alone?
-
| Dec 7, 6:36 pm 2006 |
| Junio C Hamano | Re: Commit f84871 breaks build on OS X
Now, I am CLUELESS about what MakeMaker does, but would this
help?
---
diff --git a/perl/Makefile b/perl/Makefile
index bd483b0..099beda 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -29,7 +29,7 @@ $(makfile): ../GIT-CFLAGS Makefile
echo ' echo $(instdir_SQ)' >> $@
else
$(makfile): Makefile.PL ../GIT-CFLAGS
- '$(PERL_PATH_SQ)' $< FIRST_MAKEFILE='$@' PREFIX='$(prefix_SQ)'
+ '$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)'
endif
# this is just added comfort for calling ma...
| Dec 7, 6:55 pm 2006 |
| Dongsheng Song | How to conver no branches/tags svn repo to git ?
e.g.
http://svn.berlios.de/viewcvs/open-iscsi/
http://svn.berlios.de/svnroot/repos/open-iscsi
Can I convert / to master simply ?
Thanks
-
| Dec 7, 9:31 am 2006 |
| Eric Wong | Re: How to conver no branches/tags svn repo to git ?
git svn init http://svn.berlios.de/svnroot/repos/open-iscsi
git svn fetch
--
Eric Wong
-
| Dec 7, 3:59 pm 2006 |
| Shawn Pearce | Locked down (but still shared) repositories
I have a number of repositories that I want to share across a number
of users on the same UNIX system.
For various auditing reasons the repositories need to be tightly
controlled. That is the following cannot be permitted:
* delete or overwrite a loose object;
* delete or overwrite a pack file;
* delete or overwrite a ref, except see below;
* change the config;
* change the description;
* change HEAD;
The only changes that are permissible can be made through
git-receive-pack, w...
| Dec 7, 7:35 am 2006 |
| Johannes Schindelin | Re: Locked down (but still shared) repositories
Hi,
How about just one such user? After all, you already have this user: the
repo owner. Of course, people have to push via ssh, even on the same
machine.
Ciao,
Dscho
-
| Dec 7, 11:42 am 2006 |
| Shawn Pearce | Re: Locked down (but still shared) repositories
How do I know which SSH key the client used to connect? Remember I'm
looking at the real uid to determine who is performing the operation.
In the situation you describe everyone looks the same to the
update hook...
For (probably stupid) reasons the server is the commerial F-Secure
SSH server, btw. So OpenSSH based things wouldn't apply. And best
that I can tell, F-Secure SSH won't tell me which key was used
to authenticate.
--
Shawn.
-
| Dec 7, 3:17 pm 2006 |
| Rogan Dawes | Re: Locked down (but still shared) repositories
See Section 8.2.6.1
http://www.unix.org.ua/orelly/networking_2ndEd/ssh/ch08_02.htm
You should be able to do something similar for git as they do for SSH.
Rogan
-
| Dec 7, 3:45 pm 2006 |
| Randal L. Schwartz | Re: Locked down (but still shared) repositories
>>>>> "Rogan" == Rogan Dawes <discard@dawes.za.net> writes:
Rogan> See Section 8.2.6.1
Rogan> http://[deleted]/orelly/networking_2ndEd/ssh/ch08_02.htm
Please don't point to pirated copies of O'Reilly (or other) books
on the web, especially when there are authors (like me) present.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, ...
| Dec 7, 4:16 pm 2006 |
| Rogan Dawes | Re: Locked down (but still shared) repositories
Oops. I didn't realise/think. I just googled for the keywords I needed . . .
Not a very good excuse, I admit.
Sorry.
Rogan
-
| Dec 7, 4:32 pm 2006 |
| Shawn Pearce | Re: Locked down (but still shared) repositories
Ok, I just learned something new. Thank you!
Forced commands on a per-key basis would certainly work. I'm not
settled on the idea as the end solution, but it does seem to be
perhaps slightly better than the setuid approach.
--
Shawn.
-
| Dec 7, 4:16 pm 2006 |
| Martin Waitz | Re: Locked down (but still shared) repositories
hoi :)
perhaps don't refuse to run, but simply change back to the safed uid?
Or use one special machine which hosts the repository and which has
the modified version of git installed.
--=20
Martin Waitz
| Dec 7, 8:21 am 2006 |
| Andreas Ericsson | Remote 'master' not updated, but works somehow
Having for a long time been thoroughly annoyed by our strict umasks, I
decided to write a little program to deal with it, and naturally I put
it in a git repo. After the initial commit
(c0fa1db09bad112f7271378d907bf33d74c06f6b) I published it to my git
space on our development server and cloned it out again (to get the
nifty remotes things set up for free).
Then I noticed I had rushed it, as I usually do with hacks involving a
total of less than 200 lines of code, so I had to make a couple of...
| Dec 7, 7:31 am 2006 |
| Andreas Ericsson | Re: Remote 'master' not updated, but works somehow
scratch this. I just noticed I had somehow managed to get the directory
setup like this:
devel:softpub/mkpub.git <-- a real repo
devel:softpub/mkpub.git/.git <-- the repo that got pushed to
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
| Dec 7, 7:35 am 2006 |
| previous day | today | next day |
|---|---|---|
| December 6, 2006 | December 7, 2006 | December 8, 2006 |
