all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About the differences among the versions of emacs obtained by different git commands.
@ 2015-08-30 16:03 Hongyi Zhao
  2015-09-06  7:36 ` Michael Heerdegen
  0 siblings, 1 reply; 5+ messages in thread
From: Hongyi Zhao @ 2015-08-30 16:03 UTC (permalink / raw)
  To: Emacs-devel

Hi all,

From the following webpage,

https://savannah.gnu.org/projects/emacs,

I can find the following coammands for using git to obtain the source
code of emacs:

git clone -b master git://git.sv.gnu.org/emacs.git
git clone -b emacs-24 git://git.sv.gnu.org/emacs.git
git clone git://git.sv.gnu.org/emacs/elpa

Then, from the following webpage,

https://savannah.gnu.org/git/?group=emacs

It also give two git commands for obtaining the source code of emacs:

git clone git://git.savannah.gnu.org/emacs.git

and

git clone git://git.savannah.gnu.org/emacs/elpa.git

About these commands, I've the following issues:

1- Are the following two commands equivalent or not:

git clone -b master git://git.sv.gnu.org/emacs.git
git clone git://git.savannah.gnu.org/emacs.git


Again, are the following two commands equivalent or not:

git clone git://git.sv.gnu.org/emacs/elpa
git clone git://git.savannah.gnu.org/emacs/elpa.git

2- If I have obtained the source code for emacs master or emacs-24, is
the elpa code also included in them or not?

Regards
-- 
Hongyi Zhao <hongyi.zhao@gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493



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

* Re: About the differences among the versions of emacs obtained by different git commands.
  2015-08-30 16:03 About the differences among the versions of emacs obtained by different git commands Hongyi Zhao
@ 2015-09-06  7:36 ` Michael Heerdegen
  2015-09-06  7:49   ` Zack Piper
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Heerdegen @ 2015-09-06  7:36 UTC (permalink / raw)
  To: Hongyi Zhao; +Cc: Emacs-devel

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> Hi all,

Hi.

> [...]
> About these commands, I've the following issues:
>
> 1- Are the following two commands equivalent or not:
>
> git clone -b master git://git.sv.gnu.org/emacs.git
> git clone git://git.savannah.gnu.org/emacs.git

-b master ensures that master is unconditionally checked out locally for
you.  Dunno if the HEAD in the emacs repo can ever point to something
else than master.  Anyway, both commands should clone exactly the same
thing onto your harddisk.

> Again, are the following two commands equivalent or not:
>
> git clone git://git.sv.gnu.org/emacs/elpa
> git clone git://git.savannah.gnu.org/emacs/elpa.git

Dunno.

> 2- If I have obtained the source code for emacs master or emacs-24, is
> the elpa code also included in them or not?

AFAIK no, elpa is separate, even the code to (re)build the archive.  But
the Emacs repo contains the code for the package manager (package.el).


HTH,

Michael.



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

* Re: About the differences among the versions of emacs obtained by different git commands.
  2015-09-06  7:36 ` Michael Heerdegen
@ 2015-09-06  7:49   ` Zack Piper
  2015-09-06  7:56     ` Michael Heerdegen
  0 siblings, 1 reply; 5+ messages in thread
From: Zack Piper @ 2015-09-06  7:49 UTC (permalink / raw)
  To: emacs-devel

Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> Again, are the following two commands equivalent or not:
>
> git clone git://git.sv.gnu.org/emacs/elpa
> git clone git://git.savannah.gnu.org/emacs/elpa.git
 
`git.sv.gnu.org' and `git.savannah.gnu.org' are the same thing,
according to `dig':

    $ diff =(dig git.sv.gnu.org) =(dig git.savannah.gnu.org) # zsh output-to-file syntax (`=') used if you're curious.
    2c2
    < ; <<>> DiG 9.9.6-P1 <<>> git.sv.gnu.org
    ---
    > ; <<>> DiG 9.9.6-P1 <<>> git.savannah.gnu.org
    5c5
    < ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13244
    ---
    > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45385
    11c11
    < ;git.sv.gnu.org.                      IN      A
    ---
    > ;git.savannah.gnu.org.                IN      A
    14c14
    < git.sv.gnu.org.               119     IN      A       208.118.235.72
    ---
    > git.savannah.gnu.org. 285     IN      A       208.118.235.72
    17d16
    < gnu.org.              41581   IN      NS      ns2.gnu.org.
    19a19
    > gnu.org.              41581   IN      NS      ns2.gnu.org.
    31c31
    < ;; MSG SIZE  rcvd: 217
    ---
    > ;; MSG SIZE  rcvd: 223

Which indicates that the IP addresses are the same.

`sv.gnu.org' is (probably) only used as a shorthand for
`savannah.gnu.org' literally only for convenience. If there is in fact
a different I'd be very interested to here about it.

For more proof I cloned both repositories and measured the directory
sizes:

    $ du -s savannah.gnu.org sv.gnu
    72116   savannah.gnu.org
    72120   sv.gnu

Where the host name of where I cloned it from (which is stored in
`.git.config') is probably the only thing making a difference.


-- 
Zack Piper <zack@apertron.net> http://apertron.net



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

* Re: About the differences among the versions of emacs obtained by different git commands.
  2015-09-06  7:49   ` Zack Piper
@ 2015-09-06  7:56     ` Michael Heerdegen
  2015-09-06 21:44       ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Heerdegen @ 2015-09-06  7:56 UTC (permalink / raw)
  To: emacs-devel

Zack Piper <zack@apertron.net> writes:

> `git.sv.gnu.org' and `git.savannah.gnu.org' are the same thing,
> according to `dig' [...]

Good to know, thanks for investigating.


Michael.




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

* Re: About the differences among the versions of emacs obtained by different git commands.
  2015-09-06  7:56     ` Michael Heerdegen
@ 2015-09-06 21:44       ` Stefan Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2015-09-06 21:44 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: emacs-devel

>> `git.sv.gnu.org' and `git.savannah.gnu.org' are the same thing,
>> according to `dig' [...]
> Good to know, thanks for investigating.

Indeed, "sv" is just a shorthand for "savannah".  Those lazy GNU people!

BTW, AFAIK "git.sv.gnu.org" is also the same as "bzr.sv.gnu.org" (and
all other "<vcs>.sv.gnu.org"), but this is not just a shorthand: they
could potentially be separated to distinct hosts at some point in
the future.


        Stefan



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

end of thread, other threads:[~2015-09-06 21:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-30 16:03 About the differences among the versions of emacs obtained by different git commands Hongyi Zhao
2015-09-06  7:36 ` Michael Heerdegen
2015-09-06  7:49   ` Zack Piper
2015-09-06  7:56     ` Michael Heerdegen
2015-09-06 21:44       ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.