On 23 April 2018 at 17:16, Jan Iversen <[email protected]> wrote: > Hi > > You are continuing along the same line as with “issues", “scm” makes a lot > of assumption how/where the code is stored. > > My preference is really just to have the url, that is generic. Why are you > against that ?
Personal preference. > rgds > Jan I. > > >> On 23 Apr 2018, at 18:14, [email protected] wrote: >> >> Author: sebb >> Date: Mon Apr 23 16:14:15 2018 >> New Revision: 1829899 >> >> URL: http://svn.apache.org/viewvc?rev=1829899&view=rev >> Log: >> Handle SCM >> >> Modified: >> attic/site-jekyll/src/_data/projects.json >> attic/site-jekyll/src/_layouts/project.html >> >> Modified: attic/site-jekyll/src/_data/projects.json >> URL: >> http://svn.apache.org/viewvc/attic/site-jekyll/src/_data/projects.json?rev=1829899&r1=1829898&r2=1829899&view=diff >> ============================================================================== >> --- attic/site-jekyll/src/_data/projects.json (original) >> +++ attic/site-jekyll/src/_data/projects.json Mon Apr 23 16:14:15 2018 >> @@ -3,7 +3,7 @@ >> "name": "Abdera", >> "project": "abdera", >> "retired": "March 2017", >> - "source code": "http://svn.apache.org/repos/asf/abdera/", >> + "scm": "svn", >> "jira": "ABDERA", >> "wiki": "https://cwiki.apache.org/confluence/display/ABDERA", >> "mailnames": ["dev", "commits", "user"], >> @@ -13,7 +13,7 @@ >> "name": "ACE", >> "project": "ace", >> "retired": "December 2017", >> - "source code": "http://svn.apache.org/repos/asf/ace", >> + "scm": "svn", >> "jira": "ACE", >> "wiki": "https://cwiki.apache.org/confluence/display/ACE", >> "mailnames": ["dev", "commits", "users"], >> @@ -23,7 +23,7 @@ >> "name": "Avalon", >> "project": "avalon", >> "retired": "June 2004", >> - "source code": "http://svn.apache.org/repos/asf/avalon", >> + "scm": "svn", >> "jira": "AVALON", >> "wiki": "http://wiki.apache.org/avalon/", >> "mailnames": ["dev"], >> @@ -33,7 +33,6 @@ >> "name": "AxKit", >> "website": "http://axkit.org", >> "retired": "August 2009", >> - "source code": "", >> "wiki": "", >> "board": "", >> "mailnames": [], >> @@ -45,7 +44,7 @@ >> "project": "axis", >> "subproject": "axis2/c/sandesha", >> "retired": "September 2014", >> - "source code": "http://svn.apache.org/repos/asf/axis/axis2/c/sandesha", >> + "scm": "svn", >> "jira": "SANDESHA2C", >> "wiki": "", >> "board": "", >> @@ -57,7 +56,7 @@ >> "project": "axis", >> "subproject": "axis2/c/savan", >> "retired": "September 2014", >> - "source code": "http://svn.apache.org/repos/asf/axis/axis2/c/savan", >> + "scm": "svn", >> "jira": "AXIS2C", >> "wiki": "", >> "board": "", >> @@ -69,7 +68,6 @@ >> "project": "axis", >> "subproject": "axis2/java/savan", >> "retired": "September 2014", >> - "source code": "", >> "jira": "SAVAN", >> "wiki": "", >> "board": "", >> @@ -80,7 +78,7 @@ >> "name": "Beehive", >> "project": "beehive", >> "retired": "January 2010", >> - "source code": "http://svn.apache.org/repos/asf/beehive", >> + "scm": "svn", >> "jira": "BEEHIVE", >> "wiki": "https://wiki.apache.org/beehive", >> "mailnames": ["dev", "commits", "user"], >> @@ -90,7 +88,7 @@ >> "name": "Click", >> "project": "click", >> "retired": "May 2014", >> - "source code": "http://svn.apache.org/repos/asf/click", >> + "scm": "svn", >> "jira": "CLK", >> "wiki": "https://cwiki.apache.org/confluence/display/click/", >> "mailnames": ["dev", "commits", "user"], >> @@ -101,7 +99,6 @@ >> "project": "xml", >> "subproject": "crimson", >> "retired": "August 2010", >> - "source code": "", >> "wiki": "", >> "board": "crimson", >> "mailnames": [], >> @@ -111,7 +108,7 @@ >> "name": "Continuum", >> "project": "continuum", >> "retired": "May 2016", >> - "source code": "http://svn.apache.org/repos/asf/continuum", >> + "scm": "svn", >> "jira": "CONTINUUM", >> "wiki": "https://cwiki.apache.org//confluence/display/CONTINUUM", >> "mailnames": ["dev", "users", "commits", "issues", "notifications"], >> @@ -121,7 +118,7 @@ >> "name": "Deltacloud", >> "project": "deltacloud", >> "retired": "July 2015", >> - "source code": "http://svn.apache.org/repos/asf/deltacloud", >> + "scm": "git-wip", >> "jira": "DTACLOUD", >> "wiki": "", >> "mailnames": ["dev", "commits", "user"], >> @@ -131,7 +128,7 @@ >> "name": "DeviceMap", >> "project": "devicemap", >> "retired": "December 2016", >> - "source code": "http://svn.apache.org/repos/asf/devicemap", >> + "scm": "svn", >> "jira": "DMAP", >> "wiki": "https://wiki.apache.org/devicemap", >> "mailnames": ["dev", "commits"], >> @@ -141,7 +138,7 @@ >> "name": "DirectMemory", >> "project": "directmemory", >> "retired": "July 2015", >> - "source code": "http://svn.apache.org/repos/asf/directmemory", >> + "scm": "svn", >> "jira": "DIRECTMEMORY", >> "wiki": "", >> "mailnames": ["dev", "commits", "user"], >> @@ -151,7 +148,7 @@ >> "name": "ESME", >> "project": "esme", >> "retired": "July 2013", >> - "source code": "http://svn.apache.org/repos/asf/esme", >> + "scm": "svn", >> "jira": "ESME", >> "wiki": "", >> "mailnames": ["dev", "commits"], >> @@ -161,7 +158,7 @@ >> "name": "Etch", >> "project": "etch", >> "retired": "June 2016", >> - "source code": "http://svn.apache.org/repos/asf/etch", >> + "scm": "svn", >> "jira": "ETCH", >> "wiki": "", >> "mailnames": ["dev", "user", "commits"], >> @@ -171,7 +168,7 @@ >> "name": "Excalibur", >> "project": "excalibur", >> "retired": "December 2010", >> - "source code": "http://svn.apache.org/repos/asf/excalibur", >> + "scm": "svn", >> "jira": "EXLBR", >> "wiki": "https://wiki.apache.org/excalibur", >> "mailnames": ["dev", "scm", "user"], >> @@ -181,7 +178,7 @@ >> "name": "Harmony", >> "project": "harmony", >> "retired": "November 2011", >> - "source code": "http://svn.apache.org/repos/asf/harmony", >> + "scm": "svn", >> "jira": "HARMONY", >> "wiki": "https://wiki.apache.org/harmony", >> "mailnames": ["dev", "alerts", "commits"], >> @@ -191,7 +188,7 @@ >> "name": "HiveMind", >> "project": "hivemind", >> "retired": "April 2009", >> - "source code": "http://svn.apache.org/repos/asf/hivemind", >> + "scm": "svn", >> "jira": "HIVEMIND", >> "wiki": "https://cwiki.apache.org/confluence/display/HIVEMIND2", >> "mailnames": ["dev", "commits", "user"], >> @@ -201,7 +198,7 @@ >> "name": "iBATIS", >> "project": "ibatis", >> "retired": "June 2010", >> - "source code": "http://svn.apache.org/repos/asf/ibatis", >> + "scm": "svn", >> "wiki": "", >> "mailnames": ["dev", "commits", "user-cs", "user-java"], >> "description": "iBATIS was a data mapper framework that made it easier to >> use a relational database with object-oriented applications. There were both >> Java and .Net implementations." >> @@ -210,7 +207,7 @@ >> "name": "Jakarta", >> "project": "jakarta", >> "retired": "December 2011", >> - "source code": "http://svn.apache.org/repos/asf/jakarta", >> + "scm": "svn", >> "wiki": "https://wiki.apache.org/jakarta", >> "mailnames": ["dev", "announcements", "general", "site-cvs", >> "notifications"], >> "description": "Jakarta Project housed a diverse set of popular open >> source Java solutions." >> @@ -220,7 +217,7 @@ >> "project": "jakarta", >> "subproject": "cactus", >> "retired": "August 2011", >> - "source code": "http://svn.apache.org/repos/asf/jakarta/cactus", >> + "scm": "svn", >> "jira": "CACTUS", >> "wiki": "", >> "board": "", >> @@ -232,7 +229,7 @@ >> "project": "jakarta", >> "subproject": "ecs", >> "retired": "September 2010", >> - "source code": "http://svn.apache.org/repos/asf/jakarta/ecs", >> + "scm": "svn", >> "jira": "ECS", >> "wiki": "", >> "board": "", >> @@ -244,7 +241,7 @@ >> "project": "jakarta", >> "subproject": "oro", >> "retired": "September 2010", >> - "source code": "http://svn.apache.org/repos/asf/jakarta/oro", >> + "scm": "svn", >> "bugzilla": "oro", >> "wiki": "", >> "board": "", >> @@ -256,7 +253,7 @@ >> "project": "jakarta", >> "subproject": "regexp", >> "retired": "April 2011", >> - "source code": "http://svn.apache.org/repos/asf/jakarta/regexp", >> + "scm": "svn", >> "bugzilla": "regexp", >> "wiki": "", >> "board": "", >> @@ -268,7 +265,7 @@ >> "project": "jakarta", >> "subproject": "slide", >> "retired": "November 2007", >> - "source code": "http://svn.apache.org/repos/asf/jakarta/slide", >> + "scm": "svn", >> "bugzilla": "slide", >> "wiki": "https://wiki.apache.org/jakarta-slide", >> "mailnames": ["dev", "user"], >> @@ -279,7 +276,7 @@ >> "project": "jakarta", >> "subproject": "taglibs", >> "retired": "June 2008", >> - "source code": "http://svn.apache.org/repos/asf/jakarta/taglibs", >> + "scm": "svn", >> "bugzilla": "taglibs", >> "wiki": "", >> "board": "", >> @@ -290,7 +287,7 @@ >> "name": "Lenya", >> "project": "lenya", >> "retired": "April 2015", >> - "source code": "http://svn.apache.org/repos/asf/lenya", >> + "scm": "svn", >> "wiki": "", >> "mailnames": ["dev", "commits", "user"], >> "description": "Lenya was an Open Source Java/XML Content Management >> System that came with revision control, multi-site management, scheduling, >> search, WYSIWYG editors, and workflow." >> @@ -299,7 +296,7 @@ >> "name": "MRUnit", >> "project": "mrunit", >> "retired": "April 2016", >> - "source code": "http://svn.apache.org/repos/asf/mrunit", >> + "scm": "svn", >> "jira": "MRUNIT", >> "wiki": "https://cwiki.apache.org/confluence/display/MRUNIT", >> "mailnames": ["dev", "user", "commits"], >> @@ -311,7 +308,7 @@ >> "project": "db", >> "subproject": "ojb", >> "retired": "January 2011", >> - "source code": "http://svn.apache.org/repos/asf/db/ojb", >> + "scm": "svn", >> "jira": "OJB", >> "wiki": "https://wiki.apache.org/db-ojb", >> "board": "", >> @@ -322,7 +319,7 @@ >> "name": "Oltu", >> "project": "oltu", >> "retired": "April 2018", >> - "source code": "http://svn.apache.org/repos/asf/oltu", >> + "scm": "svn", >> "jira": "OLTU", >> "wiki": >> "https://cwiki.apache.org/confluence/display/OLTU/Documentation", >> "mailnames": ["dev", "user", "commits"], >> @@ -332,7 +329,7 @@ >> "name": "Onami", >> "project": "onami", >> "retired": "January 2016", >> - "source code": "http://svn.apache.org/repos/asf/onami", >> + "scm": "svn", >> "jira": "ONAMI", >> "wiki": "", >> "mailnames": ["dev", "user", "commits"], >> @@ -342,7 +339,7 @@ >> "name": "Quetzalcoatl", >> "project": "quetz", >> "retired": "June 2010", >> - "source code": "http://svn.apache.org/repos/asf/quetzalcoatl/", >> + "scm": "svn", >> "wiki": "", >> "mailnames": ["dev", "commits"], >> "description": "Quetzalcoatl, or Quetz as it was more commonly known, was >> a project charged with the creation and maintenance of open-source software >> related to mod_python and the Python programming language. Mainly formed >> around the mod_python subproject, it didn't have activity in the mod_python >> community to drive the larger project along." >> @@ -351,7 +348,7 @@ >> "name": "Rave", >> "project": "rave", >> "retired": "January 2016", >> - "source code": "http://svn.apache.org/repos/asf/rave", >> + "scm": "svn", >> "jira": "RAVE", >> "wiki": "https://wiki.apache.org/rave", >> "mailnames": ["dev", "users", "commits"], >> @@ -361,7 +358,7 @@ >> "name": "Shale", >> "project": "shale", >> "retired": "May 2009", >> - "source code": "http://svn.apache.org/repos/asf/shale", >> + "scm": "svn", >> >> "wiki": "https://wiki.apache.org/shale", >> "mailnames": ["dev", "user", "commits"], >> @@ -371,7 +368,7 @@ >> "name": "Shindig", >> "project": "shindig", >> "retired": "November 2015", >> - "source code": "http://svn.apache.org/repos/asf/shindig", >> + "scm": "svn", >> "jira": "SHINDIG", >> "wiki": "https://cwiki.apache.org/confluence/display/SHINDIG", >> "mailnames": ["dev", "users", "commits"], >> @@ -382,7 +379,7 @@ >> "name": "Standard C++ Library (STDCXX)", >> "project": "stdcxx", >> "retired": "July 2013", >> - "source code": "http://svn.apache.org/repos/asf/stdcxx", >> + "scm": "svn", >> "jira": "STDCXX", >> "wiki": "", >> "board": "Cxx_Standard_Library", >> @@ -393,7 +390,7 @@ >> "name": "Stratos", >> "project": "stratos", >> "retired": "January 2017", >> - "source code": "http://svn.apache.org/repos/asf/stratos/", >> + "scm": "git-wip", >> "jira": "STRATOS", >> "wiki": "https://cwiki.apache.org/confluence/display/STRATOS", >> "mailnames": ["dev", "commits"], >> @@ -403,7 +400,7 @@ >> "name": "Tuscany", >> "project": "tuscany", >> "retired": "May 2016", >> - "source code": "http://svn.apache.org/repos/asf/tuscany", >> + "scm": "svn", >> "jira": "TUSCANY", >> "wiki": "https://cwiki.apache.org/confluence/display/TUSCANY", >> "mailnames": ["dev", "user", "commits"], >> @@ -413,7 +410,7 @@ >> "name": "Whirr", >> "project": "whirr", >> "retired": "March 2015", >> - "source code": "http://svn.apache.org/repos/asf/whirr", >> + "scm": "svn", >> "jira": "WHIRR", >> "wiki": "https://cwiki.apache.org/confluence/display/WHIRR", >> "mailnames": ["dev", "user", "commits"], >> @@ -423,7 +420,7 @@ >> "name": "Wink", >> "project": "wink", >> "retired": "April 2017", >> - "source code": "http://svn.apache.org/repos/asf/wink", >> + "scm": "svn", >> "jira": "WINK", >> "wiki": "https://cwiki.apache.org/confluence/display/WINK", >> "mailnames": ["dev", "commits", "user"], >> @@ -433,7 +430,7 @@ >> "name": "Wookie", >> "project": "wookie", >> "retired": "April 2016", >> - "source code": "http://svn.apache.org/repos/asf/wookie", >> + "scm": "svn", >> "jira": "WOOKIE", >> "wiki": "", >> "mailnames": ["dev", "user", "commits"], >> @@ -446,7 +443,6 @@ >> "project": "ws", >> "subproject": "muse", >> "retired": "January 2013", >> - "source code": "", >> "wiki": "", >> "board": "", >> "mailnames": ["dev", "user", "commits"], >> @@ -457,7 +453,7 @@ >> "project": "xml", >> "subproject": "xang", >> "retired": "December 2009", >> - "source code": "http://svn.apache.org/repos/asf/xml/xang", >> + "scm": "svn", >> "wiki": "", >> "mailnames": ["dev", "commits"], >> "description": "Apache Xang was an XML Web Framework that aggregated >> multiple data sources, made that data URL addressable and defined custom >> methods to access that data." >> @@ -467,7 +463,7 @@ >> "project": "xml", >> "subproject": "xindice", >> "retired": "August 2011", >> - "source code": "http://svn.apache.org/repos/asf/xml/xindice", >> + "scm": "svn", >> "bugzilla": "Xindice", >> "wiki": "https://wiki.apache.org/xindice", >> "mailnames": ["dev", "user"], >> @@ -478,7 +474,7 @@ >> "project": "xml", >> "subproject": "xmlbeans", >> "retired": "July 2013", >> - "source code": "http://svn.apache.org/repos/asf/xmlbeans", >> + "scm": "svn", >> "wiki": "", >> "mailnames": ["dev", "user", "commits", "cxx-dev"], >> "description": "Apache XMLBeans was a technology for accessing XML by >> binding it to Java types." >> @@ -487,7 +483,7 @@ >> "name": "XML", >> "project": "xml", >> "retired": "April 2012", >> - "source code": "http://svn.apache.org/repos/asf/xml", >> + "scm": "svn", >> "wiki": "", >> "mailnames": ["bugs", "announcements", "general", "general-cvs"], >> "description": "the Apache XML Project housed a diverse set of popular >> open source XML solutions." >> >> Modified: attic/site-jekyll/src/_layouts/project.html >> URL: >> http://svn.apache.org/viewvc/attic/site-jekyll/src/_layouts/project.html?rev=1829899&r1=1829898&r2=1829899&view=diff >> ============================================================================== >> --- attic/site-jekyll/src/_layouts/project.html (original) >> +++ attic/site-jekyll/src/_layouts/project.html Mon Apr 23 16:14:15 2018 >> @@ -83,6 +83,18 @@ >> <td>Wiki</td> >> <td>{% if page.json.wiki == "" %}None{% else %}<a href="{{ >> page.json.wiki }}">Wiki</a>{% endif %}</td> >> </tr> >> +{%- if page.json.scm == 'svn' %} >> + <tr> >> + <td>Source Code (Subversion)</td> >> + <td><a href="http://svn.apache.org/viewvc/{{ page.json.project }}/{{ >> page.json.subproject }}">svn.apache.org/repos/asf/{{ page.json.project }}/{{ >> page.json.subproject }}</a></td> >> + </tr> >> +{%- endif %} >> +{%- if page.json.scm == 'git-wip' %}{% comment %} TODO: handle gitbox {% >> endcomment %} >> + <tr> >> + <td>Source Code (Git)</td> >> + <td><a href="https://git-wip-us.apache.org/repos/asf?p={{ >> page.json.project }}.git">git-wip-us.apache.org/repos/asf?p={{ >> page.json.project }}.git</a></td> >> + </tr> >> +{%- endif %} >> <tr> >> <td>Board Reports</td> >> <td>{% if page.json.wiki == "" %}Not available{% else %}<a >> href="https://whimsy.apache.org/board/minutes/{{ page.json.id >> }}.html">Minutes</a>{% endif %}</td> >> >> >
