#30 Unable to edit existing release

open
nobody
None
5
2009-05-21
2009-05-20
Stu Tomlinson
No

I have been using releaseforge to set the file-type for releases with many files for a while now, which has been a huge help, unfortunately this hasn't been working recently.

After selecting the release to edit and clicking next the list of files is downloaded and then the app appears to hang, although it is using nearly 100% CPU no progress appears to be being made.

This is the same issue reported here https://sourceforge.net/mailarchive/message.php?msg_name=4A0A74FB.5000208%40web.de

I have been able to track it down to getting stuck on this line in sfcomm.py:
filedata = GET_FILE_NAMES_ETC.findall(data)

I'm hoping there is a way to optimize that regex so that it can actually complete, unfortunately my knowledge of regex & python is not up to the task though.

I can provide the source html for the release page in question if that would help (it's about 1.6Mb!!).

The thought of having to use the web UI to manually set file types on 100+ files is not making me happy.

Discussion

  • Stu Tomlinson
    Stu Tomlinson
    2009-05-21

    Patch to recognize current SF edit release page

     
  • Stu Tomlinson
    Stu Tomlinson
    2009-05-21

    This has nothing to do with "several files", and is simply because sourceforge slightly changed the format of the html of the edit release page.

    The attached patch (against releaseforge 1.3, as I can't find on sourceforge any reference to the relevant SCM repository) fixes it for me, and should remain "backwards compatible" if SF decide to revert this change.

     
  • Stu Tomlinson
    Stu Tomlinson
    2009-05-21

    • summary: Unable to edit existing release with several files --> Unable to edit existing release