Skip to contentSkip to conversation

cogito bugfixes and cleanups, mainly Debian things

PATCH New Tommi Virtanen 2 participants 8 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cogito bugfixes and cleanups, mainly Debian things

As cogito contains only shell scripts, make the deb Arch: all.

---
commit 0b1227b120532fe2d8b48ad2d43b2f002241f8d9
tree 1e00c450a8eb96159f0f5545ce94aabd3a1fcd44
parent 1190649aaff433501d6e6c92deb8a0f201fdd8d0
author Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:00 +0300 committer Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:00 +0300

 debian/control |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
debian/control +2 -2
@@ -6,8 +6,8 @@ Build-Depends: debhelper (>= 4.0.0), dpa
 Standards-Version: 3.6.1
 
 Package: cogito
-Architecture: any
-Depends: git-core, ${shlibs:Depends}, patch, diff, rcs
+Architecture: all
+Depends: git-core, patch, diff, rcs
 Recommends: rsync, curl, wget, rsh-client
 Conflicts: cgvg
 Description: version control system
#1 lore raw

PATCH 1/1 cogito bugfixes and cleanups, mainly Debian things

Stylistical improvements on Debian package description.

---
commit 97b501908e075bfd1f97261f94842669e7b4db5b
tree ee48eaa9d8fbf6db7c2a19cfd93de52d60938655
parent 0b1227b120532fe2d8b48ad2d43b2f002241f8d9
author Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:02 +0300 committer Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:02 +0300

 debian/control |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
debian/control +5 -5
@@ -10,8 +10,8 @@ Architecture: all
 Depends: git-core, patch, diff, rcs
 Recommends: rsync, curl, wget, rsh-client
 Conflicts: cgvg
-Description: version control system
- Cogito is a version control system layered on top of the git tree history
- storage system. It aims at seamless user interface and ease of use, providing
- generally smoother user experience than the "raw" Core GIT itself and indeed
- many other version control systems.
+Description: A version control system layered on top of git
+ A version control system layered on top of the git tree history
+ storage system. It aims at seamless user interface and ease of use,
+ providing generally smoother user experience than the "raw" Core GIT
+ itself and indeed many other version control systems.
#2 lore raw

PATCH 1/1 cogito bugfixes and cleanups, mainly Debian things

As long as the cg-cancel name is around, provide docs for it too.

---
commit c1970992d81e2c26d2d85ad65b0e2e90fbeee7f1
tree 461b478052898b2d9cfc67a1b29098abdf5d427e
parent 97b501908e075bfd1f97261f94842669e7b4db5b
author Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:03 +0300 committer Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:03 +0300

 Documentation/Makefile |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
Documentation/Makefile +7 -1
@@ -1,7 +1,7 @@
 CG_IGNORE=$(wildcard ../cg-X* ../cg-*.orig ../cg-*.rej)
 CG_SRC=$(filter-out $(CG_IGNORE), $(wildcard ../cg-*))
 
-MAN1_TXT=$(patsubst ../cg-%,cg-%.txt,$(CG_SRC))
+MAN1_TXT=$(patsubst ../cg-%,cg-%.txt,$(CG_SRC)) cg-cancel.txt
 MAN7_TXT=cogito.txt
 
 DOC_HTML=$(patsubst %.txt,%.html,$(MAN1_TXT) $(MAN7_TXT)) introduction.html
@@ -71,3 +71,9 @@ cogito.txt : make-cogito-asciidoc
 
 cg-%.txt : ../cg-% make-cg-asciidoc
 	./make-cg-asciidoc $< > $@
+
+cg-cancel.txt : cg-reset.txt
+	ln -s $< $@
+
+cg-cancel.1 : cg-reset.1
+	ln -s $< $@
#3 lore raw

PATCH 1/1 cogito bugfixes and cleanups, mainly Debian things

Ignore more generated files.

---
commit 91aeeed108292bb42f7b133da13ec6881cf84a9e
tree fd0dc430a655fde2a21a9634c914b22db0ee96ce
parent c1970992d81e2c26d2d85ad65b0e2e90fbeee7f1
author Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:07 +0300 committer Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:07 +0300

 .gitignore               |    2 ++
 Documentation/.gitignore |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
.gitignore +2 -0
@@ -1 +1,3 @@
 cg-version
+build-stamp
+configure-stamp
Documentation/.gitignore +1 -0
@@ -1,2 +1,3 @@
 *.html
 cogito.txt
+*.[1-9]
#4 lore raw

PATCH 1/1 cogito bugfixes and cleanups, mainly Debian things

Make the text format docs too.

---
commit 3a0094e4985bcb5970ecee2d59d0ba5f5a806d2d
tree b4d3b267a4b15d3068727fad080c12f6d10a6cd9
parent 91aeeed108292bb42f7b133da13ec6881cf84a9e
author Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:09 +0300 committer Tommi Virtanen <[email protected]> Fri, 26 Aug 2005 13:34:09 +0300

 Documentation/Makefile |    4 +++-
 debian/rules           |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
Documentation/Makefile +3 -1
@@ -29,7 +29,7 @@ INSTALL=install
 # yourself - yes, all 6 characters of it!
 #
 
-all: html man
+all: html man txt
 
 html: $(DOC_HTML)
 
@@ -38,6 +38,8 @@ man: man1 man7
 man1: $(DOC_MAN1)
 man7: $(DOC_MAN7)
 
+txt: $(MAN1_TXT) $(MAN7_TXT)
+
 install: man
 	$(INSTALL) -m755 -d $(DESTDIR)/$(txtdir)
 	$(INSTALL) $(MAN1_TXT) $(MAN7_TXT) $(DESTDIR)/$(txtdir)
debian/rules +1 -1
@@ -48,7 +48,7 @@ build: build-stamp
 build-stamp: configure-stamp 
 	dh_testdir
 	$(MAKE)
-	$(MAKE) -C Documentation html man
+	$(MAKE) -C Documentation all
 	touch build-stamp
 
 clean:
#5 lore raw
In reply to Tommi Virtanen

Dear diary, on Fri, Aug 26, 2005 at 01:01:35PM CEST, I got a letter where Tommi Virtanen <[email protected]> told me that...

Quoted 1 line

As long as the cg-cancel name is around, provide docs for it too.

cg-cancel is a compatibility alias only, so adding docs for it would only encourage its further use, which is precisely what I don't want.

Signature · 4 lines
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
#6 lore raw
Quoted 3 lines · Petr Baudis
Quoted 1 line

As long as the cg-cancel name is around, provide docs for it too.

cg-cancel is a compatibility alias only, so adding docs for it would only encourage its further use, which is precisely what I don't want.

Maybe then it should have documentation that basically states "cg-cancel is deprecated, please use cg-reset".

#7 lore raw

Dear diary, on Mon, Sep 12, 2005 at 09:29:32AM CEST, I got a letter where Tommi Virtanen <[email protected]> told me that...

Quoted 7 lines
Quoted 3 lines · Petr Baudis
Quoted 1 line

As long as the cg-cancel name is around, provide docs for it too.

cg-cancel is a compatibility alias only, so adding docs for it would only encourage its further use, which is precisely what I don't want.

Maybe then it should have documentation that basically states "cg-cancel is deprecated, please use cg-reset".

Well, I don't know if it's worth the trouble - what would be more useful would be printing a warning when cg-reset is called as cg-cancel - we should remember to do that if we ever alias something else. But I'll just remove cg-cancel by now, it's been two releases.

Signature · 4 lines
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox