bugGNU Accounting Utilities - Bugs: bug #39497, Acct versions being created should...

 
 

bug #39497: Acct versions being created should use "svn export" prior to tarball packaging.

Submitter:  Christopher Stanton <cstanton>
Submitted:  Tue 16 Jul 2013 08:25:01 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Jul 2013 08:25:01 PM UTC, original submission:  

Currently the 6.6.1 package is just a tar.gz of the associated Subversion branch which means it contains all of the associated .svn directories and management files. "svn export" should be used and will create a clean version of the source tree. This clean tree results in an archive which is 45% smaller than the current version.

[cstanton@localhost tmp]$ find . | grep svn
./acct-6.6.1/snippet/.svn
./acct-6.6.1/snippet/.svn/prop-base
./acct-6.6.1/snippet/.svn/tmp
.
.
.

After removal of all .svn directories and rearchiving:
cstanton@localhost tmp]$ ls -l
total 4368
drwxr-xr-x. 7 cstanton cstanton    4096 Jul 16 15:13 acct-6.6.1
-rw-rw-r--. 1 cstanton cstanton 1596013 Jul 16 15:14 acct-6.6.1-no_svn.tar.gz
-rw-rw-r--. 1 cstanton cstanton 2869677 Jul 16 15:08 acct-6.6.1.tar.gz
[cstanton@localhost tmp]$

Depending on your version of tar it could be done like this as well:
tar cvfz archive.tar.gz directory/  --exclude='*/.svn'

Christopher Stanton <cstanton>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nihilus (Updated the item)
  • -email is unavailable- added by cstanton (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-08 nihilus StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code