Skip to content

Commit

Permalink
Added OpenDataSpace repos
Browse files Browse the repository at this point in the history
Also added reporting on number of repos to All_Repos catalogs
  • Loading branch information
pelegri committed Aug 21, 2012
1 parent 4c11c05 commit 60ef239
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 4 deletions.
35 changes: 35 additions & 0 deletions All_Repos.json
@@ -1,4 +1,14 @@
{
"_comment_": {
"desc": "description",
"url": "URL to sample",
"type": "options are html5, native, air, java or docs",
"branches": ["a", "list", "of", "the", "branches"],
"branchinfo": "A description of the branches",
"note": "More details about the repository",
"warning": "Special considerations",
"tags": [ "an array of tags", "reserved tags are:", "extension", "html5", "native", "java", "air", "cascades", "bb10", "playbook", "client", "server" ]
},
"Alice": {
"desc": "A Lightweight Independent CSS Engine",
"url": "http://github.com/blackberry/Alice",
Expand Down Expand Up @@ -236,6 +246,22 @@
"note": "Arguably these samples should be elsewhere, but there is a (temporary?) technical reason to keep them in this separate repository",
"tags": [ "native", "samples", "bb10" ]
},
"OpenDataSpace-BBJava": {
"desc": "The OpenSource Edition of the java-based client for SSP Europe's SecureDataSpace",
"url": "http://github.com/blackberry/opendataspace-cascades",
"type": "java",
"branches": ["master"],
"note": "This repo is not led by Research in Motion but by SSP Europe",
"tags": [ "java", "samples", "application" ]
},
"OpenDataSpace-Cascades": {
"desc": "The OpenSource Edition of the Cascades-based client for SSP Europe's SecureDataSpace",
"url": "http://github.com/blackberry/opendataspace-cascades",
"type": "native",
"branches": ["master"],
"note": "This repo is not led by Research in Motion but by SSP Europe",
"tags": [ "native", "samples", "application", "cascades", "bb10" ]
},
"OggVorbis": {
"desc": "Ogg Vorbis encoder and container",
"url": "http://github.com/blackberry/OggVorbis",
Expand Down Expand Up @@ -398,6 +424,15 @@
"branches": ["master"],
"tags": [ "html5", "native", "bb10", "playbook", "port" ]
},
"Thrift": {
"desc": "Port of Apache Thrift",
"url": "http://github.com/blackberry/Thrift",
"type": "native",
"branches": ["master"],
"note": "<p><a href='http://github.com/mthistle'>Mark Thistle</a> is working on the port; no estimates yet on commit into repo.</p><p>Implementation includes a Unix Domain Socket Asynchronous IO implementation</p>",
"warning": "Code is not yet available",
"tags": [ "native" ]
},
"TouchControlOverlay": {
"desc": "Translation Layer from touch inputs to mouse and keyboard events",
"url": "http://github.com/blackberry/TouchControlOverlay",
Expand Down
4 changes: 4 additions & 0 deletions All_Repos.md
Expand Up @@ -22,6 +22,10 @@ This page contains several tables cover all the repositories in our [GitHub Orga
generated from a [JSON file](All_Repos.json). As an alternative presentation see [All Repos as One Table].
Also see the list of [All Samples].

<p>
There are <span style='font-size:140%;' id='stats-repocount'><!-- dynamic content --></span> repositories.
</p>

The tables can be sorted on one or more columns. To select additional
columns select the next column while pressing the 'SHIFT' (on mac) key.

Expand Down
4 changes: 4 additions & 0 deletions All_Repos_as_One_Table.md
Expand Up @@ -11,6 +11,10 @@ This is a single-table version of [All Repos].
It provides sortable table with all the repositories in our [GitHub Organization](http://github.com/blackberry),
generated from a [JSON file](All_Repos.json). Also see the list of [All Samples].

<p>
There are <span style='font-size:140%;' id='stats-repocount'><!-- dynamic content --></span> repositories.
</p>

The table can be sorted on one or more columns. To select additional
columns select the next column while pressing the 'SHIFT' (on mac) key.

Expand Down
8 changes: 4 additions & 4 deletions All_Samples.json
Expand Up @@ -149,7 +149,7 @@
},
"Dialog": {
"desc": "How to display a dialog using the dialog service",
"url": "https://github.com/blackberry/NDK-Samples/tree/master/dialog",
"url": "https://github.com/blackberry/NDK-Samples/tree/master/Dialog",
"repo": "NDK-Samples",
"repourl": "http://github.com/blackberry/NDK-Samples",
"note": "<p>There are several branches: 'ndk1' is for PlayBook 1, 'master' is for PlayBook 2 and 'next' is for BlackBerry 10</p>",
Expand Down Expand Up @@ -265,9 +265,9 @@
},
"HelloCascades": {
"desc": "Very basic Hello World in Cascades",
"url": "http://github.com/blackberry/Cascades-Community-Samples/tree/master/HelloCascades",
"repo": "Cascades-Community-Samples",
"repourl": "http://github.com/blackberry/Cascades-Community-Samples",
"url": "http://github.com/blackberry/Cascades-Samples/tree/master/hellocascades",
"repo": "Cascades-Samples",
"repourl": "http://github.com/blackberry/Cascades-Samples",
"note": "<p>very basic example</p>",
"tags": [ "native", "cascades", "client", "bb10" ]
},
Expand Down
1 change: 1 addition & 0 deletions All_Samples.md
Expand Up @@ -92,6 +92,7 @@ Samples come from <span id='stats-repocount'><!-- dynamic content --></span> rep
<ul>
<li>Need better visuals on what elements are clickable (Reset and tag names)</li>
<li>Need different tags for "playbook, may run on bb10 but have not yet tested" from "playbook only"</li>
<li>At the same time, fix the BB10 column in Samples so it can be sorted</li>
<li>Should consolidate the number of tags</li>
<li>Decide whether to split Native into Cascades vs the rest</li>
<li>Improve visual presentation of collapse/expand; maybe use down/right icons</li>
Expand Down
13 changes: 13 additions & 0 deletions js/All_Repos.js
Expand Up @@ -193,6 +193,19 @@ $(document).ready(function(){
* column: port, samples, type / tags: port, samples, type */
items = parseRepoData(data, false, false, true, "yes", "any", "any");


/* Stats */
var repoCount = 0;
$.each(data, function(key, val) {
/* The "_comment_" record is used to document the JSON format */
if ( key === "_comment_" ) {
return true; /* skip this item */
}
repoCount += 1;
});
$("#stats-repocount").html(repoCount); // Inject


/* Inject into page */
$('<table/>', {
'id': 'repoPortsTable',
Expand Down
12 changes: 12 additions & 0 deletions js/All_Repos2.js
Expand Up @@ -102,6 +102,18 @@ $(document).ready(function(){
'</tr>');
});

/* Stats */
var repoCount = 0;
$.each(data, function(key, val) {
/* The "_comment_" record is used to document the JSON format */
if ( key === "_comment_" ) {
return true; /* skip this item */
}
repoCount += 1;
});
$("#stats-repocount").html(repoCount); // Inject


$('<table/>', {
'id': 'allrepos',
html: items.join('')
Expand Down

0 comments on commit 60ef239

Please sign in to comment.