[clbuild-devel] get_nothing source control

Ben Hyde BHYDE at POBOX.COM
Tue Aug 19 15:40:59 UTC 2008


The following patch adds a new source control scheme to clbuild.  The  
know nothing scheme.

You can use this when you want to down load something by hand, link it  
into the source directory, link
it's asd files into the systems directory and proceed.

This is really just a concept patch.   Intended to get people  
thinking.  Since the developer must still slam the .no_repository file  
by hand, and it could do that for him ... etc.  It might be better,  
for example, if it invoked
a script found in the know_nothing projects do what ever floats their  
source control desires.

But then such a script might be generally useful, for example, when  
you want to tie one of the included projects to
a particular tag.

% darcs diff -u clbuild
--- old-clbuild/clbuild	2008-08-19 11:34:12.000000000 -0400
+++ new-clbuild/clbuild	2008-08-19 11:34:12.000000000 -0400
@@ -540,6 +540,10 @@
      get_tarball "$1" "$2" j
  }

+get_nothing() {
+    echo "Getting 'nothing' $*"
+}
+
  update_project() {
      if test x$1 = x--dry-run; then
  	shift
@@ -878,6 +882,7 @@
  		-o -d "$f"/.git \
  		-o -d "$f"/.svn \
  		-o -d "$f"/CVS \
+                -o -f "$f"/.no_repository \
  		&& grep "^$name " "$BASE/dependencies" >/dev/null
  	    then
  		echo $name




More information about the clbuild-devel mailing list