Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Trivial Fix for make release

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Hide all messages in topic

All messages in topic

Re: Trivial Fix for make release

Reply

Author pnasrat
Full name Paul Nasrat
Date 2003-02-17 12:53:08 PST
Message On Mon, Feb 17, 2003 at 03:13:54PM -0500, Hunter Matthews wrote:
> (Thats the file name I've used in 1.4.x-branch, and i think thats what
> the CVS docs recommended)

Right, what it looks to me as if we should do is have things like *.pyc
*.tar.gz in .cvsignore and have an extra entry in the Makefile eg:

This would look a bit like the below diff. This says - don't commit or
tar anything in .cvsignore, and also don't tar CVS metadata. CVS is
already included in the default ignores (see
http://www.cvshome.o​rg/docs/manual/cvs_1​8.html#SEC175) for commiting.


Paul

Index: .cvsignore
====================​====================​====================​=======
RCS file: /cvs/current/Attic/.cvsignore,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 .cvsignore
--- .cvsignore 10 Feb 2003 22:34:21 -0000 1.1.2.1
+++ .cvsignore 17 Feb 2003 20:35:27 -0000
@@ -1,2 +1 @@
-CVS
 *.tar.gz
Index: Makefile
====================​====================​====================​=======
RCS file: /cvs/current/Makefile,v
retrieving revision 1.2.4.5
diff -u -r1.2.4.5 Makefile
--- Makefile 15 Feb 2003 20:49:06 -0000 1.2.4.5
+++ Makefile 17 Feb 2003 20:35:27 -0000
@@ -75,7 +75,7 @@
        rm -rf $(PROJECT)-$(VERSION).tar.gz $(PROJECT)-$(VERSION)
        mkdir $(PROJECT)-$(VERSION)
        cp -ra $(ALLFILES) $(PROJECT)-$(VERSION)
- tar czf $(PROJECT)-$(VERSION).tar.gz -X .cvsignore
        $(PROJECT)-$(VERSION)
+ tar czf $(PROJECT)-$(VERSION).tar.gz --exclude=CVS -X .cvsignore
$(PROJECT)-$(VERSION)
        rm -rf $(PROJECT)-$(VERSION)
 
 install:: sedrules
 

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: Trivial Fix for make release

Reply

Author pnasrat
Full name Paul Nasrat
Date 2003-02-17 12:33:12 PST
Message On Mon, Feb 17, 2003 at 03:13:54PM -0500, Hunter Matthews wrote:
> It should, in the future, change names to .cvsignore.

Umm, well for some of that stuff yes. But you don't want to accidently
make release from a working directory rather than an exported directory.

So I think we need 2 things here. A .cvsignore for things that may
clutter up the tree (eg *.pyc), and to tell make release to ignore CVS.

> (Thats the file name I've used in 1.4.x-branch, and i think thats what
> the CVS docs recommended)

I'll check out the 1.4.x-branch and have a look.

Paul

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Trivial Fix for make release

Reply

Author pnasrat
Full name Paul Nasrat
Date 2003-02-17 12:23:22 PST
Message Make release does not exclude CVS, I've added CVS to tar-excludes

Patch attached against HEAD.

Paul
Attachments

Re: Trivial Fix for make release

Reply

Author Hunter Matthews <thm at duke dot edu>
Full name Hunter Matthews <thm at duke dot edu>
Date 2003-02-17 12:13:54 PST
Message It should, in the future, change names to .cvsignore.

(Thats the file name I've used in 1.4.x-branch, and i think thats what
the CVS docs recommended)



On Mon, 2003-02-17 at 15:23, Paul Nasrat wrote:
> Make release does not exclude CVS, I've added CVS to tar-excludes
>
> Patch attached against HEAD.
>
> Paul
> ----
>

> Index: tar-excludes
> ====================​====================​====================​=======
> RCS file: /cvs/current/tar-excludes,v
> retrieving revision 1.1
> diff -u -r1.1 tar-excludes
> --- tar-excludes 29 Jan 2003 00:17:40 -0000 1.1
> +++ tar-excludes 17 Feb 2003 20:08:16 -0000
> @@ -1,3 +1,4 @@
> +CVS
> SCCS
> BitKeeper
> ChangeSet
>
> ----
>

> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
> For additional commands, e-mail: dev-help at current dot tigris dot org
--
Hunter Matthews Unix / Network Administrator
Office: BioScience 145/244 Duke Univ. Biology Department
Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438
Never take candy from strangers. Especially on the internet.


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org
Messages per page: