dwyl / dwyl/github-backup

Endpoint to return number edits svg badge

Ouverte
#77 3 commentaires 1 réaction 1 personne assignée Réclamée par @SimonLab Voir sur GitHub
enhancement please-test T2h
Langage dominant
Elixir
Étoiles
33
Forks
3
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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:
```

```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.