GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
After the update to Allura, Sourceforge now has a new XML export format available via http://sourceforge.net/export/ and https://sourceforge.net/export/xml_export.php?group_id=xxxxxx
The old export facility is disabled, and of course, the new format is totally incompatible with the previous one, so sf2github crashes and burns on a new export:
Parsing XML export...
Traceback (most recent call last):
File "./issues.py", line 29, in <module>
line: trackers = soup.document.find('trackers', recursive=False).findAll('tracker', recursive=False)
trackers = <not found>
soup = <local> <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE project_export SYSTEM "http://sourceforge.net/export/sf_project_export_0.1.dtd">
<field user_id="2090344" name="submitted_by">denham2010</field>
soup.document = <local> None
soup.document.find = <not found>
recursive = <not found>
False = <builtin> False
findAll = <not found>
AttributeError: 'NoneType' object has no attribute 'find'
Thanks for reporting! Unfortunately I don't have time to work on this tool, but I would welcome any pull request that improves the situation!
The JSON export seems to work just fine. I just did an export today and ran this tool and it didn't have any trouble with the parsing of the file.
You've got @codeguru42 to thank for that :) #14