[MacPorts] #60401: 2048.cpp: scores.txt and statistics.txt are registered to the port

MacPorts noreply at macports.org
Mon Apr 27 02:19:23 UTC 2020


#60401: 2048.cpp: scores.txt and statistics.txt are registered to the port
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  chenguokai
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  2048.cpp
------------------------+------------------------
 The files scores.txt and statistics.txt are registered to the port:

 {{{
 $ port contents 2048.cpp
 Port 2048.cpp contains:
   /opt/local/bin/2048
   /opt/local/var/2048.cpp/data/scores.txt
   /opt/local/var/2048.cpp/data/statistics.txt
 }}}

 This means that if the port is upgraded, or deactivated and reactivated,
 or uninstalled and reinstalled, those files will be deleted and replaced
 with fresh copies. The names of those files make it sound like that would
 be undesirable, i.e. I don't think a user would expect their high scores
 to be wiped out by upgrading to a new version.

-- 
Ticket URL: <https://trac.macports.org/ticket/60401>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list