dwyl / dwyl/github-backup

Endpoint to return number edits svg badge

Aperta
#77 3 commenti 1 reazione 1 assegnatario Rivendicata da @SimonLab Vedi su GitHub
enhancement please-test T2h
Lingua principale
Elixir
Stelle
33
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

linked to #14 (Meta table)

Each time a new version (edit) of the issue description or a comment of the issue is saved, the meta table will display the new incremented number of edits. We can update directly the issue description of the new number via the Github API, however a nicer solution is to use a svg served by the "github-backup" server.
So in a similar way to https://github.com/dwyl/hits-elixir we need to:
- [x] create an endpoint ex: ```/edit-count/{issue_id}``` which will return an svg image
- [x] insert the svg image similar to ```[![HitCount](http://hits.dwyl.io/dwyl/hits-elixir.svg)](https://github.com/dwyl/hits-elixir)``` [![HitCount](http://hits.dwyl.io/dwyl/hits-elixir.svg)](https://github.com/dwyl/hits-elixir)

format of the hit-elixir svg:
```

```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.