Application Flow
@Cleop ci sta già lavorando.
Dal 19/2/2018.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Github App send events
The Github app will send the following events to the server:
- new installation on repository
- new issue
- new comment on issue
- issue's description edited
- comment edited
Questions:
- A Github App can also be installed on an organisation, will this trigger an event for all the repository of the organisation? We need to get more details on how webhooks work with organisations and test it once we have a server running. see https://developer.github.com/webhooks/#events
- Is the "issue edited" and "comment edited" events are the same? I think the events are different: https://developer.github.com/v3/activity/events/types/#issuecommentevent and https://developer.github.com/v3/activity/events/types/#issuesevent
Server receive events
The server will receive a post request from the Github App for each Github app webhooks events (see above). The main role of the server is to determine the type of the events, this can be done based on the payload (and often the "action" value of the payload). Then the information of the payload is saved in database and files (see https://github.com/dwyl/github-backup/issues/3#issuecomment-365650695). Once the information is saved the server can add more information on the issue to let the Github users know how to access the backup data.
Questions:
- Which information needs to be saved in the database, what is the architecture of the Postgres database?
- What are the information and structure (json?) of the files we want to create?
Add "backup" link to issues
Once a backup of the issue has been created the server will update the issue/comment with a link to the "backup" app
Questions:
- How to represent the link to the backup app on Github? Edit the issue/comment and add a link at the bottom? Can we apply a template?
- Should the link be display on the description of the issue and on each comment or only on the issue itself?
See backup
The users of a repository can access the backup of the issues/comments. The application needs to check the permission of the users and then display the information
Questions:
- Who can access the "backup" app, see https://github.com/dwyl/github-backup/issues/7#issuecomment-365691051 ?
- How to represent the history of the edits? Download json file only or display a list of edit sorted by date?
I try to describe the main steps of the flow, some parts need a lot of more details and we can create new issues for them. I am not sure especially on the last two section: how to add and represent the link to the "backup" app on Github issues and how the "backup" app display the information to the users. Let me konw which steps I have missed!
- Lingua principale
- Elixir
- Stelle
- 33
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 ·
-
discuss 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 webpack Apertadiscuss 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
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
carverauto/serviceradar#4542 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
phoenixframework/phoenix#6847 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
beyond-all-reason/teiserver#1584 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
ash-project/ash#2954 ·