git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Remove 'submodules' from the TODO section of the User Manual.
@ 2007-09-25 19:11 Miklos Vajna
  2007-09-25 19:23 ` J. Bruce Fields
  0 siblings, 1 reply; 13+ messages in thread
From: Miklos Vajna @ 2007-09-25 19:11 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

A chapter about this topic has been added recently.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---

i forgot to include this change in my previous patch, so here is the
correction.

 Documentation/user-manual.txt |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index a085ca1..e4b04d0 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -4277,5 +4277,3 @@ Write a chapter on using plumbing and writing scripts.
 Alternates, clone -reference, etc.
 
 git unpack-objects -r for recovery
-
-submodules
-- 
1.5.3.2.80.g077d6f-dirty

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

* Re: [PATCH] Remove 'submodules' from the TODO section of the User Manual.
  2007-09-25 19:11 [PATCH] Remove 'submodules' from the TODO section of the User Manual Miklos Vajna
@ 2007-09-25 19:23 ` J. Bruce Fields
  2007-09-25 19:47   ` Miklos Vajna
  0 siblings, 1 reply; 13+ messages in thread
From: J. Bruce Fields @ 2007-09-25 19:23 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Junio C Hamano, git

On Tue, Sep 25, 2007 at 09:11:59PM +0200, Miklos Vajna wrote:
> A chapter about this topic has been added recently.

Thanks, but it looks like Michael Smith already included this in his
latest patch:

	http://marc.info/?l=git&m=119072428615724&w=2

--b.

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

* Re: [PATCH] Remove 'submodules' from the TODO section of the User Manual.
  2007-09-25 19:23 ` J. Bruce Fields
@ 2007-09-25 19:47   ` Miklos Vajna
  2007-09-25 19:49     ` J. Bruce Fields
  0 siblings, 1 reply; 13+ messages in thread
From: Miklos Vajna @ 2007-09-25 19:47 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: Junio C Hamano, git

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

On Tue, Sep 25, 2007 at 03:23:15PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> Thanks, but it looks like Michael Smith already included this in his
> latest patch:
> 
> 	http://marc.info/?l=git&m=119072428615724&w=2

ah, my bad. i missed that. sorry for the noise :)

- VMiklos

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH] Remove 'submodules' from the TODO section of the User Manual.
  2007-09-25 19:47   ` Miklos Vajna
@ 2007-09-25 19:49     ` J. Bruce Fields
  2007-09-25 19:57       ` Miklos Vajna
  0 siblings, 1 reply; 13+ messages in thread
From: J. Bruce Fields @ 2007-09-25 19:49 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Junio C Hamano, git

On Tue, Sep 25, 2007 at 09:47:45PM +0200, Miklos Vajna wrote:
> On Tue, Sep 25, 2007 at 03:23:15PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> > Thanks, but it looks like Michael Smith already included this in his
> > latest patch:
> > 
> > 	http://marc.info/?l=git&m=119072428615724&w=2
> 
> ah, my bad. i missed that. sorry for the noise :)

No problem.

And there's a ton of other stuff on that todo list if you're looking to
make more "noise"--patches always welcomed....

--b.

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

* Re: [PATCH] Remove 'submodules' from the TODO section of the User Manual.
  2007-09-25 19:49     ` J. Bruce Fields
@ 2007-09-25 19:57       ` Miklos Vajna
  2007-09-25 20:02         ` J. Bruce Fields
  0 siblings, 1 reply; 13+ messages in thread
From: Miklos Vajna @ 2007-09-25 19:57 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: Junio C Hamano, git

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

On Tue, Sep 25, 2007 at 03:49:36PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> And there's a ton of other stuff on that todo list if you're looking to
> make more "noise"--patches always welcomed....

i was this in the todo:

"Add a section on working with other version control systems, including
CVS, Subversion, and just imports of series of release tarballs."

to questions:

1) does this include documentation about git-svn? i mean a howto similar
to the submodules chapter.

2) does it worth to document a typical usage of tailor? we used it a lot
when converting from darcs to git and once you figure out the right
options, it's really easy to use it. but maybe it's unrelated.

thanks,
- VMiklos

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH] Remove 'submodules' from the TODO section of the User Manual.
  2007-09-25 19:57       ` Miklos Vajna
@ 2007-09-25 20:02         ` J. Bruce Fields
  2007-09-25 20:13           ` J. Bruce Fields
  0 siblings, 1 reply; 13+ messages in thread
From: J. Bruce Fields @ 2007-09-25 20:02 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Junio C Hamano, git

On Tue, Sep 25, 2007 at 09:57:31PM +0200, Miklos Vajna wrote:
> i was this in the todo:
> 
> "Add a section on working with other version control systems, including
> CVS, Subversion, and just imports of series of release tarballs."
> 
> to questions:
> 
> 1) does this include documentation about git-svn? i mean a howto similar
> to the submodules chapter.

Could be.  Though when I used it I thought the git-svn manpage was
actually very good, so I'd be tempted to just point to that.

> 2) does it worth to document a typical usage of tailor? we used it a lot
> when converting from darcs to git and once you figure out the right
> options, it's really easy to use it. but maybe it's unrelated.

I think we should try to keep the git documentation mostly confined to
tools that are distributed with git itself.  So it might be worth a few
words just to mention the existance of tailor and how it compares to
other tools, but I'd leave it at that.

--b.

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

* Re: [PATCH] Remove 'submodules' from the TODO section of the User Manual.
  2007-09-25 20:02         ` J. Bruce Fields
@ 2007-09-25 20:13           ` J. Bruce Fields
  2007-09-25 20:16             ` J. Bruce Fields
  2007-09-25 22:37             ` [PATCH] User Manual: document import-tars.perl Miklos Vajna
  0 siblings, 2 replies; 13+ messages in thread
From: J. Bruce Fields @ 2007-09-25 20:13 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Junio C Hamano, git

On Tue, Sep 25, 2007 at 04:02:52PM -0400, bfields wrote:
> I think we should try to keep the git documentation mostly confined to
> tools that are distributed with git itself.  So it might be worth a few
> words just to mention the existance of tailor and how it compares to
> other tools, but I'd leave it at that.

So in fact it might be that what's needed isn't any new documentation on
the available tools with their features and limitations.

I know that when I recently had to deal with a svn tree the hardest part
was figuring out where to start (git-svn?  git-svnimport?).  I seem to
recall threads here suggesting this is a general problem.

One exception--the "series of tarballs" thing--I think it's cool that
you can just unpack a bunch of tarballs and string them together into a
git history.  It gives a good sense of how git works, and I don't think
it's documented explicitly anywhere.  I think that might be kinda fun to
write up.  But I haven't tried.

--b.

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

* Re: [PATCH] Remove 'submodules' from the TODO section of the User Manual.
  2007-09-25 20:13           ` J. Bruce Fields
@ 2007-09-25 20:16             ` J. Bruce Fields
  2007-09-25 22:37             ` [PATCH] User Manual: document import-tars.perl Miklos Vajna
  1 sibling, 0 replies; 13+ messages in thread
From: J. Bruce Fields @ 2007-09-25 20:16 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Junio C Hamano, git

On Tue, Sep 25, 2007 at 04:13:06PM -0400, J. Bruce Fields wrote:
> On Tue, Sep 25, 2007 at 04:02:52PM -0400, bfields wrote:
> > I think we should try to keep the git documentation mostly confined to
> > tools that are distributed with git itself.  So it might be worth a few
> > words just to mention the existance of tailor and how it compares to
> > other tools, but I'd leave it at that.
> 
> So in fact it might be that what's needed isn't any new documentation on
> the available tools with their features and limitations.

(Uh, I meant to say: "isn't any new documentation on individual tools,
but rather a list of the available tools with their features and
limitations.")

> 
> I know that when I recently had to deal with a svn tree the hardest part
> was figuring out where to start (git-svn?  git-svnimport?).  I seem to
> recall threads here suggesting this is a general problem.
> 
> One exception--the "series of tarballs" thing--I think it's cool that
> you can just unpack a bunch of tarballs and string them together into a
> git history.  It gives a good sense of how git works, and I don't think
> it's documented explicitly anywhere.  I think that might be kinda fun to
> write up.  But I haven't tried.
> 
> --b.
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] User Manual: document import-tars.perl
  2007-09-25 20:13           ` J. Bruce Fields
  2007-09-25 20:16             ` J. Bruce Fields
@ 2007-09-25 22:37             ` Miklos Vajna
  2007-09-26 18:14               ` J. Bruce Fields
  1 sibling, 1 reply; 13+ messages in thread
From: Miklos Vajna @ 2007-09-25 22:37 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: Junio C Hamano, git, Miklos Vajna

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---

On Tue, Sep 25, 2007 at 04:13:06PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> One exception--the "series of tarballs" thing--I think it's cool that
> you can just unpack a bunch of tarballs and string them together into a
> git history.  It gives a good sense of how git works, and I don't think
> it's documented explicitly anywhere.  I think that might be kinda fun to
> write up.  But I haven't tried.

something like this?

VMiklos

 Documentation/user-manual.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index a085ca1..f722932 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -978,6 +978,19 @@ $ git add . # include everything below ./ in the first commit:
 $ git commit
 -------------------------------------------------
 
+If you already have a series of tarballs (typically previous releases without
+using a version control system):
+
+-------------------------------------------------
+$ mkdir project
+$ cd project
+$ git init
+$ perl import-tars.perl /path/to/tarballs/*.tar.bz2
+$ git checkout import-tars
+-------------------------------------------------
+
+You can find `import-tars.perl` in the `contrib/fast-import/` directory.
+
 [[how-to-make-a-commit]]
 How to make a commit
 --------------------
-- 
1.5.3.2.80.g077d6f-dirty

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

* Re: [PATCH] User Manual: document import-tars.perl
  2007-09-25 22:37             ` [PATCH] User Manual: document import-tars.perl Miklos Vajna
@ 2007-09-26 18:14               ` J. Bruce Fields
  2007-09-26 18:22                 ` Miklos Vajna
  2007-09-26 19:58                 ` Johannes Schindelin
  0 siblings, 2 replies; 13+ messages in thread
From: J. Bruce Fields @ 2007-09-26 18:14 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Junio C Hamano, git

On Wed, Sep 26, 2007 at 12:37:04AM +0200, Miklos Vajna wrote:
> Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
> ---
> 
> On Tue, Sep 25, 2007 at 04:13:06PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> > One exception--the "series of tarballs" thing--I think it's cool that
> > you can just unpack a bunch of tarballs and string them together into a
> > git history.  It gives a good sense of how git works, and I don't think
> > it's documented explicitly anywhere.  I think that might be kinda fun to
> > write up.  But I haven't tried.
> 
> something like this?

Neat-o, I'd missed (or forgotten about) import-tars.perl.

But I'd prefer to keep this first explanation of how to initialize and
commit to a new project pretty streamlined, and I don't think this is
really necessary here.  So let's save this up until we have enough
material for a separate chapter or section on interacting with other
scm's.

--b.

> 
> VMiklos
> 
>  Documentation/user-manual.txt |   13 +++++++++++++
>  1 files changed, 13 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
> index a085ca1..f722932 100644
> --- a/Documentation/user-manual.txt
> +++ b/Documentation/user-manual.txt
> @@ -978,6 +978,19 @@ $ git add . # include everything below ./ in the first commit:
>  $ git commit
>  -------------------------------------------------
>  
> +If you already have a series of tarballs (typically previous releases without
> +using a version control system):
> +
> +-------------------------------------------------
> +$ mkdir project
> +$ cd project
> +$ git init
> +$ perl import-tars.perl /path/to/tarballs/*.tar.bz2
> +$ git checkout import-tars
> +-------------------------------------------------
> +
> +You can find `import-tars.perl` in the `contrib/fast-import/` directory.
> +
>  [[how-to-make-a-commit]]
>  How to make a commit
>  --------------------
> -- 
> 1.5.3.2.80.g077d6f-dirty
> 

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

* Re: [PATCH] User Manual: document import-tars.perl
  2007-09-26 18:14               ` J. Bruce Fields
@ 2007-09-26 18:22                 ` Miklos Vajna
  2007-09-26 20:37                   ` J. Bruce Fields
  2007-09-26 19:58                 ` Johannes Schindelin
  1 sibling, 1 reply; 13+ messages in thread
From: Miklos Vajna @ 2007-09-26 18:22 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: Junio C Hamano, git

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

On Wed, Sep 26, 2007 at 02:14:51PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> Neat-o, I'd missed (or forgotten about) import-tars.perl.
> 
> But I'd prefer to keep this first explanation of how to initialize and
> commit to a new project pretty streamlined, and I don't think this is
> really necessary here.  So let's save this up until we have enough
> material for a separate chapter or section on interacting with other
> scm's.

okay, now it's saved by gmane :)

- VMiklos

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH] User Manual: document import-tars.perl
  2007-09-26 18:14               ` J. Bruce Fields
  2007-09-26 18:22                 ` Miklos Vajna
@ 2007-09-26 19:58                 ` Johannes Schindelin
  1 sibling, 0 replies; 13+ messages in thread
From: Johannes Schindelin @ 2007-09-26 19:58 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: Miklos Vajna, Junio C Hamano, git

Hi,

On Wed, 26 Sep 2007, J. Bruce Fields wrote:

> On Wed, Sep 26, 2007 at 12:37:04AM +0200, Miklos Vajna wrote:
> > Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
> > ---
> > 
> > On Tue, Sep 25, 2007 at 04:13:06PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> > > One exception--the "series of tarballs" thing--I think it's cool that
> > > you can just unpack a bunch of tarballs and string them together into a
> > > git history.  It gives a good sense of how git works, and I don't think
> > > it's documented explicitly anywhere.  I think that might be kinda fun to
> > > write up.  But I haven't tried.
> > 
> > something like this?
> 
> Neat-o, I'd missed (or forgotten about) import-tars.perl.

You should also mention

$ mkdir my-new-repo
$ cd my-new-repo
$ git init
$ for z in /blub/*.zip
  do
	rm -rf * 2> /dev/null &&
	unzip "$z" &&
	git add . &&
	git commit -m "$z" ||
	break
  done

import-tars.pl is much faster than this, of course, when it comes to tars, 
but it has no clue about other archive formats.

Ciao,
Dscho

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

* Re: [PATCH] User Manual: document import-tars.perl
  2007-09-26 18:22                 ` Miklos Vajna
@ 2007-09-26 20:37                   ` J. Bruce Fields
  0 siblings, 0 replies; 13+ messages in thread
From: J. Bruce Fields @ 2007-09-26 20:37 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Junio C Hamano, git, Johannes Schindelin

On Wed, Sep 26, 2007 at 08:22:04PM +0200, Miklos Vajna wrote:
> On Wed, Sep 26, 2007 at 02:14:51PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> > Neat-o, I'd missed (or forgotten about) import-tars.perl.
> > 
> > But I'd prefer to keep this first explanation of how to initialize and
> > commit to a new project pretty streamlined, and I don't think this is
> > really necessary here.  So let's save this up until we have enough
> > material for a separate chapter or section on interacting with other
> > scm's.
> 
> okay, now it's saved by gmane :)

Also in my git tree--I took yours and Johannes' suggestions, put them in
a blender, and added a brief skeleton of a new chapter at:

	git://linux-nfs.org/~bfields/git.git docwork-foreign-scms

--b.

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

end of thread, other threads:[~2007-09-26 20:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25 19:11 [PATCH] Remove 'submodules' from the TODO section of the User Manual Miklos Vajna
2007-09-25 19:23 ` J. Bruce Fields
2007-09-25 19:47   ` Miklos Vajna
2007-09-25 19:49     ` J. Bruce Fields
2007-09-25 19:57       ` Miklos Vajna
2007-09-25 20:02         ` J. Bruce Fields
2007-09-25 20:13           ` J. Bruce Fields
2007-09-25 20:16             ` J. Bruce Fields
2007-09-25 22:37             ` [PATCH] User Manual: document import-tars.perl Miklos Vajna
2007-09-26 18:14               ` J. Bruce Fields
2007-09-26 18:22                 ` Miklos Vajna
2007-09-26 20:37                   ` J. Bruce Fields
2007-09-26 19:58                 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).