git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 6/6] cogito: update documentation

From
Bryan Larsen <bryanlarsen@yahoo.com>
Date
Jul 18, 2005, 02:51 UTC
Message-ID
<20050718025130.11198.34570.sendpatchset@bryan-larsens-ibook-g4.local>
In-Reply-To
<20050718025024.11198.10556.sendpatchset@bryan-larsens-ibook-g4.local>
Update the documentation to add a README.osx and update requirements.
Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
---
 README     |    2 ++
 README.osx |   31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/README b/README
--- a/README
+++ b/README
@@ -45,6 +45,8 @@ The following tools are optional but str
 
 	libcrypto (OpenSSL)
 	rsync
+	gnu coreutils (the gnu versions of stat, date and cp are
+	           preferred over the BSD variants)
 
 
         Starting a Fresh GIT Repository
diff --git a/README.osx b/README.osx
new file mode 100644
--- /dev/null
+++ b/README.osx
@@ -0,0 +1,31 @@
+This version of Cogito should work on OS X and other BSD variants.
+
+To install on OS X:
+
+1) Install darwinports (http://darwinports.opendarwin.org/) 2) type
+"make Portfile" 3) type "sudo port install"
+
+You may have to deal with md5 mismatches.  Either adjust the md5sum in
+your new Portfile or place the new tarball in
+/opt/local/var/db/dports/distfiles/cogito.
+
+Caveats:
+
+cg-pull on a local repository requires cp -u, a non-portable gnu
+extension.  This means that cg-pull, cg-clone and cg-update from a
+local repository are broken.
+
+Workaround #1: Use rsync for local clones.  I.e.  "cg-clone
+rsync://localhost/dir" instead of "cg-clone dir".  This loses the disk
+space savings of normally gained by cg-clone.
+
+Workaround #2: Use gnu cp.  "cd /opt/local/bin; sudo ln -s gcp cp".
+
+Recommendations:
+
+The gnu versions of "stat" and "date" are preferred over their BSD
+variants.
+
+"patch", "diff", "merge", "curl" and "rysnc" are required.  OS X.4
+includes recent versions of these tools.  If you are not running X.4,
+you may wish to check this.
Previous: Bryan LarsenNext: Petr Baudis
Message 7 of 8 in “cogito: compatibility with OS X”
  1. 0/6 cogito: compatibility with OS XBryan Larsen, Jul 18, 2005
  2. 1/6 cogito: remove use of xargs -r, a non-portable GNU extensionBryan Larsen, Jul 18, 2005
  3. 2/6 cogito: remove use of cp -a, a non-portable GNU extensionBryan Larsen, Jul 18, 2005
  4. 3/6 cogito: try harder to find gnu statBryan Larsen, Jul 18, 2005
  5. 4/6 cogito: try harder to find gnu dateBryan Larsen, Jul 18, 2005
  6. 5/6 cogito: remove findutils dependency from PortfileBryan Larsen, Jul 18, 2005
  7. 6/6 cogito: update documentationBryan Larsen, Jul 18, 2005
  8. Petr BaudisJul 20, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.