Created
October 21, 2012 17:22
-
-
Save 2xyo/3927678 to your computer and use it in GitHub Desktop.
Apport crashDB implementation for github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Github implementation of crash database interface | |
alt Github credential is not present | |
Client->Client: Prompt username | |
alt is X session: | |
Client->Github:Open browser to ask autorisation | |
else command line session | |
Client->Client:Return url in prompt | |
end | |
loop Token is not acquired | |
Client->Webapp: Check if token is registered | |
end | |
Github->Github: Ask autorisation | |
Github->Webapp: Redirect user to webapp | |
Webapp->Github: Ask token | |
Github->Webapp: return token | |
Webapp->Webapp: Store token | |
Client->Webapp: Check if token is registered | |
Webapp->Client: Return token | |
end | |
Client->Client: Check on Github if issue is already reported | |
alt Issue is already reported | |
Client->Client: Show issue | |
Client->Client: Prompt to ask if a comment must be added | |
alt Yes | |
Client->Client: Preview comment in the editor | |
Client->Github: Post comment | |
Github->Client: Return issue url | |
end | |
else Issue is not reported | |
Client->Client: Preview issue in the editor | |
Client->Github: Post issue | |
Github->Client: Return issue url | |
end | |
note right of Github | |
Go to http://www.websequencediagrams.com/# | |
to update this diagram | |
end note | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment