Project

General

Profile

Actions

Bug #59

open

Bug #247: Version 1.7 bugfixes

SCons srcdist differs from Make version

Added by Ole Hansen over 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
4.00 h
Responsible:

Description

make srcdist produces a different archive than scons srcdist=1.

Make includes explicitly selected content in the archive, subject to a list of exclusion patterns. That works well - any clutter (extra directories, extra files) one adds in the working copy will not be archived unless one takes action and changes the Makefile. Conversely, SCons seems to want to archive everything unless specifically excluded. So one has to exclude explicitly what one doesn't want, which changes frequently, and it is easy to overlook something which then ends up in the archive. Additionally, the regexp exclusion doesn't even seem to be able to match certain conditions: for example, db_*.dat files only in the top-level directory - it's either all db_*.dat files or none. So test db files would need to go into a separate work directory, which then needs to be added to the exclusion list. That doesn't work well.

disttar.py should be modified to allow an inclusion list in addition to the exclusions.

Actions

Also available in: Atom PDF