]> thyrsus.com Git - src.git/commitdiff
Required metadata for shipping.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 05:37:02 +0000 (00:37 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 05:37:02 +0000 (00:37 -0500)
COPYING [new file with mode: 0644]
Makefile [new file with mode: 0644]
NEWS [new file with mode: 0644]
README [new file with mode: 0644]
src
src.asc

diff --git a/COPYING b/COPYING
new file mode 100644 (file)
index 0000000..7e5dd19
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,28 @@
+                       BSD LICENSE
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+Neither name of the this project nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..eb15708
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,42 @@
+#
+# makefile for src
+#
+VERS=$(shell sed <src -n -e '/version=\(.*\)/s//\1/p')
+
+SOURCES = README COPYING NEWS src src.xml Makefile control
+
+all: src.1
+
+.SUFFIXES: .html .asc .txt .1
+
+# Requires asciidoc and xsltproc/docbook stylesheets.
+.asc.1:
+       a2x --doctype manpage --format manpage -D . $<
+.asc.html:
+       a2x --doctype manpage --format xhtml -D . $<
+       rm -f docbook-xsl.css
+
+clean:
+       rm -f  *~ *.1 *.html *.tar.gz MANIFEST
+       rm -fr .rs* typescript test/typescript
+
+src-$(VERS).tar.gz: $(SOURCES) src.1 
+       @ls $(SOURCES) src.1 | sed s:^:src-$(VERS)/: >MANIFEST
+       @(cd ..; ln -s src src-$(VERS))
+       (cd ..; tar -czvf src/src-$(VERS).tar.gz `cat src/MANIFEST`)
+       @(cd ..; rm src-$(VERS))
+
+COMMON_PYLINT = --rcfile=/dev/null --reports=n \
+       --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \
+       --dummy-variables-rgx='^_'
+PYLINTOPTS = "C0103,C0301,C0326,C0111,W0110,W0141,W0311,W0312,W0603"
+pylint:
+       @pylint $(COMMON_PYLINT) --disable=$(PYLINTOPTS) src
+
+version:
+       @echo $(VERS)
+
+dist: src-$(VERS).tar.gz
+
+release: src-$(VERS).tar.gz src.html
+       shipper version=$(VERS) | sh -e -x
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..02ac983
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,4 @@
+`                      src project news
+
+Repository head:
+   Initial proof-of-concept release.
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..2ad3257
--- /dev/null
+++ b/README
@@ -0,0 +1,17 @@
+                       Simple Revision Control
+
+The venerable RCS (Revsion Control System) has survived into the era
+of distributed version control because it fills a niche: sometimes you
+only *want* to track changes in single files at a time - for example,
+if you have a directory full of documents with separate histories.
+
+SRC (Simple Revision Control) is RCS, reloaded.  It remains
+determinedly file-oriented and doesn't even track the committer of a
+change (because that's always you), but incorporates the design and
+user-interface lessons of modern systems.  It features sequential
+revision numbers, lockless operation, embedded command help, and a
+command set that will seem familiar to users of Subversion, Mercurial,
+and Git.
+
+                                                Eric S. Raymond
+                                                November 2014
diff --git a/src b/src
index 02e6ade5aaca4d51ed2124e8d8d5bb3cc6329d0f..558b1fb97d1e1f176b8b42c468aa9253b1342931 100755 (executable)
--- a/src
+++ b/src
@@ -4,7 +4,7 @@
 #
 import sys, os, subprocess, time
 
-version = 0.1
+version=0.1
 
 def screenwidth():
     "Return the current width of the terminal window."
diff --git a/src.asc b/src.asc
index 433ca5ad559f1eea0ad35f37d9e664b20c1e3d1f..580d453e594e4168f324a4a99d399f279b073fdc 100644 (file)
--- a/src.asc
+++ b/src.asc
@@ -50,7 +50,7 @@ src cat [revspec] ['file'...]
 src branch [delete] ['branchname']
    Create, switch to, or delete a branch. With no arguments, list branches.
 
-src tag [delete] ['tagname'] ['revspec']
+src tag [delete] ['tagname'] ['revspec'] ['file'...]
    Create, switch to, or delete a tag. With no arguments, list tags.
 
 src list ['revision-spec'] ['file'...]