incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <brond...@users.sf.net>
Subject [allura:tickets] #6845 Google code cross-linking syntax
Date Tue, 12 Nov 2013 23:14:22 GMT
I like the comments & var names.  "un-link all others" piqued my curiosity, don't we want
to always preserve all links?

I got an error on a link to example.com:

~~~~
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeImporters/forgeimporters/google/__init__.py",
line 62, in _as_markdown
    target_project = href.path.split('/')[2]
IndexError: list index out of range
~~~~

And I get this error on a wiki import:

~~~~
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeImporters/forgeimporters/base.py", line
121, in import_tool
    mount_point=mount_point, mount_label=mount_label, **kw)
  File "/nfs/home/dbrondsema/googlecodewikiimporter/googlecodewikiimporter/importer.py", line
247, in import_tool
    for page in self.get_pages(extractor):
  File "/nfs/home/dbrondsema/googlecodewikiimporter/googlecodewikiimporter/importer.py", line
266, in get_pages
    yield GoogleCodeWikiPage(name, url)
TypeError: __init__() takes exactly 4 arguments (3 given)
~~~~


---

** [tickets:#6845] Google code cross-linking syntax**

**Status:** in-progress
**Labels:** import google-code 
**Created:** Tue Nov 05, 2013 05:46 PM UTC by Dave Brondsema
**Last Updated:** Tue Nov 12, 2013 07:23 PM UTC
**Owner:** Cory Johns

Google code supports r123 syntax for links, e.g. http://code.google.com/p/umple/issues/detail?can=1&colspec=ID%20Type%20Component%20Diffic%20Status%20Priority%20Owner%20Summary&id=315

And also "issue 123" syntax for links, e.g. http://code.google.com/p/umple/issues/detail?can=1&colspec=ID%20Type%20Component%20Diffic%20Status%20Priority%20Owner%20Summary&id=318

We should convert these into some sort of link when we import.  They currently end up as plain
text.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message