[MacPorts] #15975: git-core update to 1.5.6.3

MacPorts noreply at macports.org
Wed Jul 16 15:03:12 PDT 2008


#15975: git-core update to 1.5.6.3
---------------------------------+------------------------------------------
  Reporter:  maccheck at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  enhancement         |      Status:  new                                  
  Priority:  Normal              |   Milestone:  Port Updates                         
 Component:  ports               |     Version:  1.6.0                                
Resolution:                      |    Keywords:  git-core Portfile patch              
---------------------------------+------------------------------------------
Comment (by raimue at macports.org):

 The test suite is kind of useless for git-core in MacPorts, because it
 always fails when using root privileges.

 {{{
 *** t0004-unwritable.sh ***
 *   ok 1: setup
 * FAIL 2: write-tree should notice unwritable repository


                 (
                         chmod a-w .git/objects
                         test_must_fail git write-tree
                 )
                 status=$?
                 chmod 775 .git/objects
                 (exit $status)
 }}}

 root always has permission to write, even when `chmod a-w` is done before.
 This will become better when the GSoC project for dropping privileges is
 completed. But until then, I don't see an easy way to run the test suite
 and rely on it.

 Workaround:
 {{{
 cd $(port work git-core)/git-$(port -q info --version git-core)
 sudo chown -R $USER .
 make test
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/15975#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list