Project

General

Profile

Bug #1264

Remove unnecessary files before making CoCoALib release TGZ files

Added by John Abbott about 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Tidying
Target version:
Start date:
26 Mar 2019
Due date:
% Done:

100%

Estimated time:
1.23 h
Spent time:

Description

I have just downloaded 0.99601 (TGZ format) and have noted that there are lots of small file which should not really be there - I think they are created automatically by MacOS.

We should find a way to make a release without them.


Related issues

Related to CoCoALib - Bug #1260: Fix file permissions after using CVSClosed2019-03-25

Related to CoCoA-5 - Design #990: CoCoA-5 distribution: tidyingClosed2016-12-05

History

#1 Updated by John Abbott about 5 years ago

  • Related to Bug #1260: Fix file permissions after using CVS added

#2 Updated by John Abbott about 5 years ago

After unpacking the TGZ file on a Linux box, I found lots of files with names starting with dot-underscore. While they are probably harmless, it is messy to make a release containing them.

They could be eliminated by a single command:

find . -name ._\* -exec /bin/rm {} \;

Perhaps I should rename the script for fixing file permissions, and add this line to it. Then it can be used to "clean" the subtree before public release. What do you think?

#3 Updated by John Abbott over 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

We should make a few tests to see what actually happens with the current scripts.

While it should be harmless to add the line suggested in comment 2, it would be "messy" to add it if it is not needed.

We should also check if there are any other "junk" files which appear in the released TGZ versions.

#4 Updated by John Abbott over 4 years ago

  • Priority changed from Normal to Urgent

#5 Updated by John Abbott about 4 years ago

  • Assignee set to John Abbott
  • % Done changed from 10 to 60

Anna tried her script for making a source code TGZ file. We found just 3 spurious files: these have been removed.
I checked file permissions: these seem to be sensible too.

Still have to check for oddities in the binary releases.

#6 Updated by John Abbott about 4 years ago

  • Related to Design #990: CoCoA-5 distribution: tidying added

#7 Updated by John Abbott about 4 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 60 to 90
  • Estimated time set to 1.11 h

I have now added the related issue (#990) for the targz file for the binary release.

I suppose we should do a final check just as we make the official release...

#8 Updated by John Abbott about 4 years ago

  • Estimated time changed from 1.11 h to 1.23 h

I'll check once we have a source TGZ release. When that is clean, I'll close this issue (hopefully today or tomorrow).

#9 Updated by Anna Maria Bigatti about 4 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

John checked

Also available in: Atom PDF