[MacPorts] #57836: selfupdate shows no error on unclean git sources

MacPorts noreply at macports.org
Tue Jan 1 12:40:27 UTC 2019

#57836: selfupdate shows no error on unclean git sources
 Reporter:  ascheman  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:
 I receive MacPorts sources via git (Repo in
 For some reason my repo was unclean (files marked for deletion, as I could
 see by manually running `git status`), eg.

 On branch master
 Your branch is up to date with 'origin/master'.

 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

         deleted:    java/BrowserLauncher2/Portfile
         deleted:    java/BrowserLauncher2/files/patch-source-at-jta-
         deleted:    java/android/Portfile

 However, `sudo port selfupdate` returned very fast and showed no error:

 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.5.4 installed,
 MacPorts base version 2.5.4 downloaded.
 --->  Updating the ports tree

 Only my subsequent `sudo port -bcp upgrade outdated` showed a warning

 Warning: port definitions are more than two weeks old, consider updating
 them by running 'port selfupdate'.
 Nothing to upgrade.

 AND there still was a lot to upgrade as I found out when cleaning up the
 git repo!

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

More information about the macports-tickets mailing list