mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-15 07:56:11 +08:00
OnBoarding: Add auto-configure mode for Github
In this mode the user doesn't need to do anything but give the GitJournal app permissions, and then it will go and create the repo, add the ssh key and everything. This currently does not work for Gitlab.
This commit is contained in:
@ -161,10 +161,14 @@ class GitHub {
|
||||
|
||||
class Repo {
|
||||
String fullName;
|
||||
String cloneUrl;
|
||||
|
||||
Repo({this.fullName});
|
||||
Repo({this.fullName, this.cloneUrl});
|
||||
factory Repo.fromJson(Map<String, dynamic> parsedJson) {
|
||||
return new Repo(fullName: parsedJson['full_name']);
|
||||
return new Repo(
|
||||
fullName: parsedJson['full_name'],
|
||||
cloneUrl: parsedJson['ssh_url'],
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
|
Reference in New Issue
Block a user