Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Piattaforma di analytics delle issue github #314 #6

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
37a31bc
set backend prj
elchemista Oct 7, 2017
c2734a2
Merge branch 'master' of https://github.com/FelisOrion/anpr-github-me…
elchemista Oct 7, 2017
6f0b11f
WIP
uncrackable404 Oct 7, 2017
2376a35
fixed graph
elchemista Oct 7, 2017
621953e
added channel
elchemista Oct 7, 2017
20c9b12
js fix
elchemista Oct 7, 2017
10d232f
added js part on channel
elchemista Oct 7, 2017
fd6c47b
refactoring
elchemista Oct 7, 2017
5d3c092
fix
elchemista Oct 7, 2017
dfaaec5
fix call
elchemista Oct 7, 2017
11a1ff3
fixed managment
elchemista Oct 7, 2017
fb96dff
fixed list
elchemista Oct 7, 2017
566b047
added cache
elchemista Oct 7, 2017
cc5fb6f
wip
uncrackable404 Oct 7, 2017
8c123ba
work in progress
uncrackable404 Oct 7, 2017
37102c7
wip
uncrackable404 Oct 7, 2017
762bcf2
wippp
uncrackable404 Oct 7, 2017
d153474
sadfjad
uncrackable404 Oct 7, 2017
7d96b68
test
uncrackable404 Oct 7, 2017
d1e9daf
WIP
uncrackable404 Oct 7, 2017
61b9f32
casd
uncrackable404 Oct 7, 2017
01050f1
tatatatooo
elchemista Oct 7, 2017
cfd30f3
fixed closed and open rapresentation
elchemista Oct 8, 2017
0386e89
added flow, and issues time request
elchemista Oct 8, 2017
2fa1411
added channel for close issue
elchemista Oct 8, 2017
d42fcb1
added info channel for no commented issues
elchemista Oct 8, 2017
f88fe8a
fixed new backend
elchemista Oct 8, 2017
ea8ad4f
wip
uncrackable404 Oct 8, 2017
25842ed
he
uncrackable404 Oct 8, 2017
946561d
aggiunto modale login
uncrackable404 Oct 8, 2017
926eaeb
errors commit
uncrackable404 Oct 8, 2017
caf5861
fixed and broke calls
elchemista Oct 8, 2017
6a739b7
added doc
elchemista Oct 8, 2017
8a08ec4
aggiunti nuovi grafici
uncrackable404 Oct 8, 2017
bb0150d
front
uncrackable404 Oct 8, 2017
288162a
fix getData
uncrackable404 Oct 8, 2017
4b2a548
changed api params
elchemista Oct 14, 2017
0e4d280
fixed link bug
elchemista Oct 14, 2017
3e18497
added guardian, added oauth, fixed send_isseus
elchemista Oct 14, 2017
810c95b
fixed Map.get
elchemista Oct 14, 2017
4651498
fix issues description and graph info
uncrackable404 Oct 14, 2017
a02f4fd
aggiornamento header e vari fix ai grafici
uncrackable404 Oct 14, 2017
6c36079
aggiunto loading
uncrackable404 Oct 14, 2017
061319f
bug fix cache
uncrackable404 Oct 14, 2017
89e229d
error
uncrackable404 Oct 14, 2017
27982a1
error chach
elchemista Oct 14, 2017
16903d9
Merge branch 'master' of https://github.com/FelisOrion/anpr-github-me…
elchemista Oct 14, 2017
d552881
callback oauth
elchemista Oct 14, 2017
f8f49e2
fix header responsive
uncrackable404 Oct 14, 2017
de1dc68
fix localtunnel
uncrackable404 Oct 14, 2017
58f5a97
change for server deployment
elchemista Oct 15, 2017
dd3efcb
fixed route bug
elchemista Oct 15, 2017
7c27d9a
bug
elchemista Oct 15, 2017
b808e2c
fixed dev.conf
elchemista Oct 15, 2017
b537773
fixed port
elchemista Oct 15, 2017
8de581f
fixed port.
elchemista Oct 15, 2017
dd78af8
fixed dev
elchemista Oct 15, 2017
506850b
fixed avatar
elchemista Oct 15, 2017
d890144
localStorage and auth
uncrackable404 Oct 15, 2017
48a42cc
fixed js
elchemista Oct 15, 2017
0041dda
fixed token
elchemista Oct 15, 2017
0e1258a
dev set
elchemista Oct 15, 2017
e5b67a7
Merge branch 'master' of https://github.com/FelisOrion/anpr-github-me…
elchemista Oct 15, 2017
18a2e22
wip token auth github
uncrackable404 Oct 15, 2017
c4c7988
fixed login
elchemista Oct 15, 2017
737a85e
Merge branch 'master' of https://github.com/FelisOrion/anpr-github-me…
elchemista Oct 15, 2017
fb9183b
fixed avatar
elchemista Oct 15, 2017
01fac56
del key
elchemista Oct 15, 2017
f3cf3d2
unknow stuff
elchemista Oct 17, 2017
7c2f7c0
added screen shots
elchemista Oct 18, 2017
aed66e2
updated readme
elchemista Oct 18, 2017
5773698
update
elchemista Oct 18, 2017
110ae17
started tests
elchemista Oct 18, 2017
0873c2b
Merge branch 'master' of https://github.com/FelisOrion/anpr-github-me…
elchemista Oct 18, 2017
0c05e82
updated README
elchemista Oct 18, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 27 additions & 0 deletions .gitignore
@@ -0,0 +1,27 @@
# App artifacts
/_build
/db
/deps
/*.ez

# Generated on crash by the VM
erl_crash.dump

# Generated on crash by NPM
npm-debug.log

# Static artifacts
/assets/node_modules

# Since we are building assets from assets/,
# we ignore priv/static. You may want to comment
# this depending on your deployment strategy.
/priv/static/

# Files matching config/*.secret.exs pattern contain sensitive
# data and you should not commit them into version control.
#
# Alternatively, you may comment the line below and commit the
# secrets files as long as you replace their contents by environment
# variables.
/config/*.secret.exs
37 changes: 37 additions & 0 deletions README.md
@@ -0,0 +1,37 @@
# Gitmetrics

Implementazione di un servizio che analizzi le issue github creando metriche:

![alt text](https://raw.githubusercontent.com/FelisOrion/anpr-github-metrics/master/doc/assets/screen1.png)
![alt text](https://raw.githubusercontent.com/FelisOrion/anpr-github-metrics/master/doc/assets/screen2.png)
![alt text](https://raw.githubusercontent.com/FelisOrion/anpr-github-metrics/master/doc/assets/screen3.png)
![alt text](https://raw.githubusercontent.com/FelisOrion/anpr-github-metrics/master/doc/assets/screen4.png)

Tempo di prima risposta (medio e sua distribuzione)
Tempo di chiusura di un ticket (medio e sua distribuzione)
Numero di ticket aperti/chiusi

Issue non commentate (da)
Issue aperte NON nelle labels
Issue chiuse senza commento


Il servizio generico inserendo link del repository

Per abilitare login con servezi Oauth di github, bisogna impostare dal account setting cliend id, dopo di che aggiungere tutte le chiavi in /config/dev.ex

To run run and compile ->
first
install Elixir (1.3 ~ 1.5) -> https://elixir-lang.org/install.html
install Phoenix ( >= 1.3) -> https://hexdocs.pm/phoenix/installation.html


To start your Phoenix server:

* Install dependencies with `mix deps.get`
* Create and migrate your database with `mix ecto.create && mix ecto.migrate`
* Install Node.js dependencies with `cd assets && npm install`
* Start Phoenix endpoint with `mix phx.server`

Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Yes Yes, there is not place like 127.0.0.1
70 changes: 70 additions & 0 deletions assets/brunch-config.js
@@ -0,0 +1,70 @@
exports.config = {
// See http://brunch.io/#documentation for docs.
files: {
javascripts: {
joinTo: "js/app.js"

// To use a separate vendor.js bundle, specify two files path
// https://github.com/brunch/brunch/blob/master/docs/config.md#files
// joinTo: {
// "js/app.js": /^(js)/,
// "js/vendor.js": /^(vendor)|(deps)/
// }
//
// To change the order of concatenation of files, explicitly mention here
// https://github.com/brunch/brunch/tree/master/docs#concatenation
// order: {
// before: [
// "vendor/js/jquery-2.1.1.js",
// "vendor/js/bootstrap.min.js"
// ]
// }
},
stylesheets: {
joinTo: "css/app.css"
},
templates: {
joinTo: "js/app.js"
}
},

conventions: {
// This option sets where we should place non-css and non-js assets in.
// By default, we set this to "/assets/static". Files in this directory
// will be copied to `paths.public`, which is "priv/static" by default.
assets: /^(static)/
},

// Phoenix paths configuration
paths: {
// Dependencies and current project directories to watch
watched: ["static", "css", "js", "vendor", "elm"],
// Where to compile files to
public: "../priv/static"
},

// Configure your plugins
plugins: {
babel: {
// Do not use ES6 compiler in vendor code
ignore: [/vendor/]
},
elmBrunch: {
// elmFolder: "../elm",
mainModules: ["elm/Main.elm"],
makeParameters: ['--debug'],
outputFolder: "../assets/js"
}
},

modules: {
autoRequire: {
"js/app.js": ["js/app"]
// whitelist: ["phoenix", "phoenix_html", "jquery", "underscore"]
}
},

npm: {
enabled: true
}
};
1 change: 1 addition & 0 deletions assets/css/app.css
@@ -0,0 +1 @@
/* This file is for your main application css. */
29 changes: 29 additions & 0 deletions assets/css/graph.css
@@ -0,0 +1,29 @@
.tab-box .panel-heading > .nav-tabs {
float: right;
margin-top: -2px;
display: inline-block;
border-bottom: 0;
}

.tab-box .panel-heading > .nav-tabs > li > a {
border: 0;
padding: 6px 7px;
}

@media (min-width: 444px) {
.tab-box .panel-heading > .nav-tabs > li > a {
padding: 6px 15px;
}
}

.tab-box .panel-heading > .nav-tabs > li.active > a {
border-left: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-bottom: 0;
border-top: 1px solid #7c1c1d;
background: #fff;
}

.panel.panel-default > .panel-heading h3 {
display: inline-block;
}