From: Eric S. Raymond Date: Fri, 7 Nov 2014 05:37:02 +0000 (-0500) Subject: Required metadata for shipping. X-Git-Tag: 0.1~3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=14f8d6bad5a7cdceaf7e996c20f169c973dc0883;p=src.git Required metadata for shipping. --- diff --git a/COPYING b/COPYING new file mode 100644 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 index 0000000..eb15708 --- /dev/null +++ b/Makefile @@ -0,0 +1,42 @@ +# +# makefile for src +# +VERS=$(shell sed 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 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 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 02e6ade..558b1fb 100755 --- 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 433ca5a..580d453 100644 --- 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'...]