All of lore.kernel.org
 help / color / mirror / Atom feed
* GIT mirror of BZR repo
@ 2010-03-11 14:20 KESHAV P.R.
  2010-03-11 14:56 ` Colin Watson
  0 siblings, 1 reply; 8+ messages in thread
From: KESHAV P.R. @ 2010-03-11 14:20 UTC (permalink / raw)
  To: grub-devel

Is it possible to update the GIT repo git://repo.or.cz/grub2.git to be
in sync with BZR repo. Since grub2 changed from svn to bzr it has not
been updated. BZR is very, very slow to update. It downloads about 3
MB for very few changes.

These are the changes that bzr did, for which it downloaded 3 MB of
data (for what?).

[keshav@keshav-laptop grub2_BZR]$ bzr diff -r2249..2250
=== modified file 'ChangeLog'
--- ChangeLog	2010-03-06 20:49:59 +0000
+++ ChangeLog	2010-03-07 22:02:13 +0000
@@ -1,3 +1,7 @@
+2010-03-07  Vladimir Serbinenko  <phcoder@gmail.com>
+
+	* genmoddep.awk: Output all missing symbols and not only first.
+
 2010-03-06  Vladimir Serbinenko  <phcoder@gmail.com>

 	* NEWS: Put the date of 1.98 release.

=== modified file 'genmoddep.awk'
--- genmoddep.awk	2009-11-21 16:33:52 +0000
+++ genmoddep.awk	2010-03-07 22:02:13 +0000
@@ -32,13 +32,12 @@
   else if ($1 != "__gnu_local_gp") {
     printf "%s in %s is not defined\n", $1, module >"/dev/stderr";
     error++;
-    exit;
   }
 }

 # Output the result.
 END {
-  if (error == 1)
+  if (error >= 1)
     exit 1;

   for (mod in modtab) {

[keshav@keshav-laptop grub2_BZR]$

I connect to net using GPRS and I get only about 3-5 kbps speed. It
took 20 mins to just update from rev 2249 to 2250. What exactly is bzr
downloading for such a small patch? I used "bzr pull" . Git is much
faster, it wouldn't take 30 seconds for git to update download and
update the above patch if grub2 was git repo. I request you guys to
re-enable the above mentioned git repo, or tell me some way to make
bzr faster like git (for GPRS speeds). Thank you.

May be helpful :- http://github.com/kfish/git-bzr



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT mirror of BZR repo
  2010-03-11 14:20 GIT mirror of BZR repo KESHAV P.R.
@ 2010-03-11 14:56 ` Colin Watson
  2010-03-11 20:39   ` Thorsten Glaser
  0 siblings, 1 reply; 8+ messages in thread
From: Colin Watson @ 2010-03-11 14:56 UTC (permalink / raw)
  To: The development of GNU GRUB

On Thu, Mar 11, 2010 at 07:50:58PM +0530, KESHAV P.R. wrote:
> Is it possible to update the GIT repo git://repo.or.cz/grub2.git to be
> in sync with BZR repo. Since grub2 changed from svn to bzr it has not
> been updated. BZR is very, very slow to update. It downloads about 3
> MB for very few changes.

The git repository was only used before we switched to bzr.  To my
knowledge, it has not been used since.

> These are the changes that bzr did, for which it downloaded 3 MB of
> data (for what?).

This is a bug in the Savannah hosting service, not in bzr.  A fix for it
appears to be in progress:

  https://savannah.gnu.org/support/?107077

Until this is fixed, if you have difficulty with the download size of
updates, you can use the bzr mirror on Launchpad, which is updated
several times a day:

  https://code.launchpad.net/~vcs-imports/grub/grub2-bzr
  bzr get lp:grub/grub2

> I connect to net using GPRS and I get only about 3-5 kbps speed. It
> took 20 mins to just update from rev 2249 to 2250. What exactly is bzr
> downloading for such a small patch? I used "bzr pull" . Git is much
> faster, it wouldn't take 30 seconds for git to update download and
> update the above patch if grub2 was git repo.

It would if git were artificially limited to an inferior transport
mechanism the way that bzr currently is on Savannah.  Right now, you are
not comparing like with like.  With sftp, bzr basically ends up forced
to redownload much of the branch metadata for every operation; it can do
much, much better with bzr+ssh.

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT mirror of BZR repo
  2010-03-11 14:56 ` Colin Watson
@ 2010-03-11 20:39   ` Thorsten Glaser
  0 siblings, 0 replies; 8+ messages in thread
From: Thorsten Glaser @ 2010-03-11 20:39 UTC (permalink / raw)
  To: The development of GNU GRUB

Hi,

AFAIK, Roland Mas from FusionForge is currently working on bzr-git,
which would provide access to a bzr repo via git transports.

bye,
//mirabilos
-- 
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT mirror of BZR repo
@ 2010-03-11 17:30 KESHAV P.R.
  0 siblings, 0 replies; 8+ messages in thread
From: KESHAV P.R. @ 2010-03-11 17:30 UTC (permalink / raw)
  To: grub-devel

Thanks for the commands. It works faster now. Please include
grub-extras also ( http://bzr.savannah.gnu.org/r/grub-extras/ ) in
launchpad.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT mirror of BZR repo
  2010-03-11 16:17 ` Colin Watson
@ 2010-03-11 16:34   ` Colin Watson
  0 siblings, 0 replies; 8+ messages in thread
From: Colin Watson @ 2010-03-11 16:34 UTC (permalink / raw)
  To: grub-devel

On Thu, Mar 11, 2010 at 04:17:38PM +0000, Colin Watson wrote:
> On Thu, Mar 11, 2010 at 09:20:42PM +0530, KESHAV P.R. wrote:
> > I changed .bzr/branch/branch.conf
> > 
> > parent_location = http://bzr.savannah.gnu.org/r/grub/trunk/grub/
> > 
> > to
> > 
> > parent_location = https://code.launchpad.net/~vcs-imports/grub/grub2-bzr
> 
> bzr+ssh://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr

Actually, forget that, since that requires authentication.  Run this
command instead of editing .bzr/branch/branch.conf by hand:

  bzr pull --remember lp:grub/grub2

If you have further queries about file transfer sizes, please ask a
mailing list or IRC channel specific to Bazaar; it is free software, and
like all software no doubt it can and should be improved.  This is not
the right place to ask about the fine details.

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT mirror of BZR repo
  2010-03-11 15:50 KESHAV P.R.
  2010-03-11 16:09 ` David Miller
@ 2010-03-11 16:17 ` Colin Watson
  2010-03-11 16:34   ` Colin Watson
  1 sibling, 1 reply; 8+ messages in thread
From: Colin Watson @ 2010-03-11 16:17 UTC (permalink / raw)
  To: grub-devel

On Thu, Mar 11, 2010 at 09:20:42PM +0530, KESHAV P.R. wrote:
> I changed .bzr/branch/branch.conf
> 
> parent_location = http://bzr.savannah.gnu.org/r/grub/trunk/grub/
> 
> to
> 
> parent_location = https://code.launchpad.net/~vcs-imports/grub/grub2-bzr

bzr+ssh://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT mirror of BZR repo
  2010-03-11 15:50 KESHAV P.R.
@ 2010-03-11 16:09 ` David Miller
  2010-03-11 16:17 ` Colin Watson
  1 sibling, 0 replies; 8+ messages in thread
From: David Miller @ 2010-03-11 16:09 UTC (permalink / raw)
  To: grub-devel, skodabenz

From: "KESHAV P.R." <skodabenz@gmail.com>
Date: Thu, 11 Mar 2010 21:20:42 +0530

> If u guys have any plans for a git repo (or mirror) , I will be glad
> to change over to it.

Yes, please provide an uptodate GIT mirrot of the grub
sources.

I've simply stopped trying to work on grub after the
transition to bzr, using it is just too painful.

Mandating bzr for the master repository is fine, but
not providing alternatives for people who just want
to keep up with the tree is not.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT mirror of BZR repo
@ 2010-03-11 15:50 KESHAV P.R.
  2010-03-11 16:09 ` David Miller
  2010-03-11 16:17 ` Colin Watson
  0 siblings, 2 replies; 8+ messages in thread
From: KESHAV P.R. @ 2010-03-11 15:50 UTC (permalink / raw)
  To: grub-devel

I changed .bzr/branch/branch.conf

parent_location = http://bzr.savannah.gnu.org/r/grub/trunk/grub/

to

parent_location = https://code.launchpad.net/~vcs-imports/grub/grub2-bzr

Response time is faster but the amount of data downloaded is way too
much for the size of the patch, downloaded 2100 KB for updating from
rev 2250 to 2251. I use bzr only for grub2 repo. If u guys have any
plans for a git repo (or mirror) , I will be glad to change over to
it.

What exactly is bzr downloading in this 2100 KB apart from this patch ?

[keshav@keshav-laptop grub2_BZR]$ bzr diff -r2250..2251
=== modified file 'ChangeLog'
--- ChangeLog	2010-03-07 22:02:13 +0000
+++ ChangeLog	2010-03-08 22:20:02 +0000
@@ -1,3 +1,8 @@
+2010-03-08  Matt Kraai  <kraai@ftbfs.org>
+
+	* util/i386/pc/grub-setup.c (setup): Fix a grammatical error (Debian
+	bug #559005).
+
 2010-03-07  Vladimir Serbinenko  <phcoder@gmail.com>

 	* genmoddep.awk: Output all missing symbols and not only first.

=== modified file 'util/i386/pc/grub-setup.c'
--- util/i386/pc/grub-setup.c	2010-01-16 00:39:14 +0000
+++ util/i386/pc/grub-setup.c	2010-03-08 22:20:02 +0000
@@ -418,7 +418,7 @@

   grub_util_warn (_("Embedding is not possible.  GRUB can only be
installed in this "
 		    "setup by using blocklists.  However, blocklists are UNRELIABLE and "
-		    "its use is discouraged."));
+		    "their use is discouraged."));
   if (! force)
     grub_util_error (_("if you really want blocklists, use --force"));


[keshav@keshav-laptop grub2_BZR]$



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-11 20:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-11 14:20 GIT mirror of BZR repo KESHAV P.R.
2010-03-11 14:56 ` Colin Watson
2010-03-11 20:39   ` Thorsten Glaser
2010-03-11 15:50 KESHAV P.R.
2010-03-11 16:09 ` David Miller
2010-03-11 16:17 ` Colin Watson
2010-03-11 16:34   ` Colin Watson
2010-03-11 17:30 KESHAV P.R.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.