Endpoint to return number edits svg badge
@SimonLab ci sta già lavorando.
Dal 12/3/2018.
Valutazione
Questa issue non è ancora stata valutata.
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:
- create an endpoint ex:
/edit-count/{issue_id}which will return an svg image - insert the svg image similar to
[](https://github.com/dwyl/hits-elixir)
format of the hit-elixir svg:
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="20">
<rect width="30" height="20" fill="#555"/>
<rect x="30" width="50" height="20" fill="#4c1"/>
<rect rx="3" width="80" height="20" fill="transparent"/>
<g fill="#fff" text-anchor="middle"
font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="15" y="14">hits</text>
<text x="54" y="14">696</text>
</g>
</svg>
- Lingua principale
- Elixir
- Stelle
- 33
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dwyl/github-backup
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
dwyl/github-backup#138 ·
-
Backup a Github/dwyl Repo to Gitea!Forse di nuovo libera @nelsonic l’ha presa 1638 giorni fa e non c’è nessuna pull request aperta. Apertadiscuss enhancement priority-2
dwyl/github-backup#136 · 10 commenti · 1 assegnatario ·
-
😕Apertahelp wanted priority-2
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
dwyl/github-backup#135 · 1 commento · 3 reazioni ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
dwyl/github-backup#133 ·
-
Replace Brunch with webpackApertadiscuss priority-4 technical
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
dwyl/github-backup#132 · 3 commenti · 1 reazione ·
Tutte le issue di dwyl/github-backup
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
CLI auth policy save crashes with NotFound when the AuthorizationSettings singleton is missingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
carverauto/serviceradar#5009 ·
I maintainer di solito rispondono entro 1 giorno
-
help-wanted L: docker L: elm L: github:actions L: helm L: ruby:bundler
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
dependabot/dependabot-core#16425 ·
I maintainer di solito rispondono entro 2 giorni
-
bug javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno