Skip to contentSkip to conversation

Remove 'submodules' from the TODO section of the User Manual.

PATCH In review Miklos Vajna 3 participants 13 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove 'submodules' from the TODO section of the User Manual.

A chapter about this topic has been added recently.

---

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(-)
Documentation/user-manual.txt +0 -2
index a085ca1..e4b04d0 100644
@@ -4277,5 +4277,3 @@ Write a chapter on using plumbing and writing scripts.
 Alternates, clone -reference, etc.
 
 git unpack-objects -r for recovery
-
-submodules
Signature · 1 line
1.5.3.2.80.g077d6f-dirty
#3 lore raw
Quoted 7 lines · Miklos Vajna
Quoted 4 lines · J. Bruce Fields

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.

#4 lore raw
Quoted 2 lines · J. Bruce Fields

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

#5 lore raw
Quoted 9 lines · Miklos Vajna

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.

Quoted 3 lines

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.

#6 lore raw
Quoted 4 lines · bfields

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.

#7 lore raw

PATCH 1/1 User Manual: document import-tars.perl

---

Quoted 5 lines · J. Bruce Fields

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(-)
Documentation/user-manual.txt +13 -0
index a085ca1..f722932 100644
@@ -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
 --------------------
Signature · 1 line
1.5.3.2.80.g077d6f-dirty
#8 lore raw

Re: [PATCH] User Manual: document import-tars.perl

Quoted 11 lines · Miklos Vajna

---

Quoted 5 lines · J. Bruce Fields

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.

Quoted 33 lines

VMiklos

 Documentation/user-manual.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
Documentation/user-manual.txt +13 -0
index a085ca1..f722932 100644
@@ -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
 --------------------
Signature · 1 line
1.5.3.2.80.g077d6f-dirty
#9 lore raw

Re: [PATCH] User Manual: document import-tars.perl

Quoted 7 lines · J. Bruce Fields

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

#10 lore raw

Re: [PATCH] User Manual: document import-tars.perl

Quoted 10 lines · Miklos Vajna
Quoted 7 lines · J. Bruce Fields

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.

#11 lore raw

Re: [PATCH] User Manual: document import-tars.perl

In reply to J. Bruce Fields

Hi,

Quoted 11 lines · J. Bruce Fields
Quoted 10 lines · Miklos Vajna

---

Quoted 5 lines · J. Bruce Fields

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.

Quoted 3 lines
Quoted 1 line

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

#12 lore raw
In reply to J. Bruce Fields
Quoted 8 lines · J. Bruce Fields
Quoted 4 lines · bfields

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.")

Quoted 16 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html