#1639 Problems deleting subproject and svn repo [18111]

v1.0.0
closed
General
nobody
2015-08-20
2011-03-03
No

https://sourceforge.net/apps/trac/sourceforge/ticket/18111

I need the SVN repositories for VIVO (main project only, not subprojects) deleted (and please make sure that when the SVN is re-created it's got the pre-revprop-change hook) and the subproject VITROMERGETEST deleted entirely. For some reason doing this through the interface isn't working.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-03-03

    pre-revprop-change hooks are in place for all svn repos now

     
  • Dave Brondsema

    Dave Brondsema - 2011-03-03
     
  • Anonymous - 2011-03-03

    Originally by: leonassan

    Awesome, and any progress on the deleting problem?

     
  • Dave Brondsema

    Dave Brondsema - 2011-03-09
    • size: --> 4
     
  • Anonymous - 2011-03-10

    Originally by: leonassan

    ... What?

     
  • Dave Brondsema

    Dave Brondsema - 2011-03-23

    balloons|lappy on irc reports that the SVN repos are fine now

    Subproject delete error is:

    Module allura.ext.admin.admin_main:357 in update_mounts
    <<                      meta=dict(name=sp['shortname']))
                           p = M.Project.query.get(shortname=sp['shortname'])
                           plugin.ProjectRegistrationProvider.get().delete_project(p, c.user)
                       elif not new:
                           p = M.Project.query.get(shortname=sp['shortname'])
    >>  plugin.ProjectRegistrationProvider.get().delete_project(p, c.user)
    Module sfx.sfx_main:201 in delete_project
    <<      def delete_project(self, project, user):
                   r = self.api.delete(user, project)
                   super(SFXProjectRegistrationProvider, self).delete_project(project, user)
                   return r
    >>  r = self.api.delete(user, project)
    Module sfx.lib.sfx_api:261 in delete
    <<              conn.request('DELETE', self.project_path + '/' + ug_name, json.dumps(args))
                       response = conn.getresponse()
                       return read_response(response, 200,404,410)
    >>  return read_response(response, 200,404,410)
    Module sfx.lib.sfx_api:35 in read_response
    <<              return text
               cls = sfx_exc.SFXAPIError.status_map.get(response.status, sfx_exc.SFXAPIError)
               raise cls('Error status %s' % response.status)
    
           class SFXUserApi(object):
    >>  raise cls('Error status %s' % response.status)
    SFXUnauthorized: Error status 401
    
     
  • Rick Copeland - 2011-04-01
    • status: open --> in-progress
    • assigned_to: Rick Copéland
     
  • Rick Copeland - 2011-04-05
    • status: in-progress --> closed
     
  • Rick Copeland - 2011-04-05

    Not sure what the problem was. I added myself as an admin and deleted the subproject fine. (I then removed myself as an admin.) Everything should be working now.

     

Log in to post a comment.