summaryrefslogtreecommitdiff
path: root/lib/githubexplorer/Gexf.pm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/githubexplorer/Gexf.pm52
1 files changed, 50 insertions, 2 deletions
diff --git a/lib/githubexplorer/Gexf.pm b/lib/githubexplorer/Gexf.pm
index 503eebe..c3be9dc 100644
--- a/lib/githubexplorer/Gexf.pm
+++ b/lib/githubexplorer/Gexf.pm
@@ -25,15 +25,55 @@ has graph => (
title => 'name'
},
{
- id => 1,
+ id => 1,
+ type => 'string',
+ title => 'type',
+ },
+ {
+ id => 2,
type => 'string',
title => 'followers_count'
},
{
- id => 2,
+ id => 3,
type => 'string',
title => 'following_count'
},
+ {
+ id => 4,
+ type => 'string',
+ title => 'forks',
+ },
+ {
+ id => 5,
+ type => 'string',
+ title => 'location',
+ },
+ {
+ id => 6,
+ type => 'string',
+ title => 'public_gist_count',
+ },
+ {
+ id => 7,
+ type => 'string',
+ title => 'public_repo_count',
+ },
+ {
+ id => 8,
+ type => 'string',
+ title => 'language',
+ },
+ {
+ id => 9,
+ type => 'string',
+ title => 'description',
+ },
+ {
+ id => 10,
+ type => 'string',
+ title => 'watchers',
+ }
]
}
}
@@ -78,4 +118,12 @@ sub profiles {
return $xml_out;
}
+sub repositories {
+ my $self = shift;
+ my $repositories = $self->schema->resultset('Repositories')->search();
+
+ while (my $repo = $repositories->next) {
+ }
+}
+
1;