Application Flow

Aperta
#11 5 commenti 1 reazione 2 assegnatari Vedi su GitHub

@Cleop ci sta già lavorando.

Dal 19/2/2018.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

discuss epic

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:

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:

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dwyl/github-backup

Tutte le issue di dwyl/github-backup

Issue simili

Altre issue su Elixir

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.