{"action":"created","comment":{"url":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/comments/200826272","pull_request_review_id":135218616,"id":200826272,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDgyNjI3Mg==","diff_hunk":"@@ -8,163 +8,154 @@\n  * except according to those terms.\n  */\n \n-extern crate cargo;\n+extern crate cargo_metadata;\n extern crate time;\n+extern crate toml;\n #[macro_use]\n extern crate structopt;\n+#[macro_use]\n+extern crate failure;\n \n-use cargo::core::registry::PackageRegistry;\n-use cargo::core::resolver::Method;\n-use cargo::core::{Package, PackageSet, Resolve, Workspace};\n-use cargo::ops;\n-use cargo::util::{important_paths, CargoResult, CargoResultExt};\n-use cargo::{CliResult, Config};\n+pub use failure::Error; // re-exported to main\n+use std::env;\n+use std::fs::File;\n use std::fs::OpenOptions;\n+use std::io::prelude::*;\n use std::io::Write;\n+use std::path::Path;\n use std::path::PathBuf;\n+use toml::Value;\n \n #[derive(Debug, StructOpt)]\n pub enum Command {\n     #[structopt(name = \"ebuild\")]\n     /// Build an ebuild file from a cargo project\n-    Ebuild,\n+    Ebuild {\n+        #[structopt(long = \"ebuild-path\", short = \"o\")]\n+        ebuild_path: Option<String>,\n+        #[structopt(long = \"manifest-path\", short = \"m\")]\n+        manifest_path: Option<String>,\n+    },\n }\n \n /// Parse cli commands\n-pub fn run(cmd: Option<Command>, verbose: u32, quiet: bool) -> CliResult {\n+pub fn run(cmd: Option<Command>) -> Result<(), Error> {\n     // If no command is specified run build with default conf\n-    let cmd = cmd.unwrap_or(Command::Ebuild);\n+    let cmd = cmd.unwrap_or(Command::Ebuild {\n+        ebuild_path: None,\n+        manifest_path: None,\n+    });\n \n     // Here will be the match of the commands, now just example\n     match cmd {\n-        Command::Ebuild => ebuild(verbose, quiet),\n+        Command::Ebuild {\n+            ebuild_path,\n+            manifest_path,\n+        } => ebuild(ebuild_path, manifest_path),\n     }\n }\n \n-/// Finds the root Cargo.toml of the workspace\n-fn workspace(config: &Config, manifest_path: Option<String>) -> CargoResult<Workspace> {\n-    let root = important_paths::find_root_manifest_for_wd(manifest_path, config.cwd())?;\n-    Workspace::new(&root, config)\n-}\n-\n-/// Generates a package registry by using the Cargo.lock or creating one as necessary\n-fn registry<'a>(config: &'a Config, package: &Package) -> CargoResult<PackageRegistry<'a>> {\n-    let mut registry = PackageRegistry::new(config)?;\n-    registry.add_sources(&[package.package_id().source_id().clone()])?;\n-    Ok(registry)\n-}\n-\n-/// Resolve the packages necessary for the workspace\n-fn resolve<'a>(\n-    registry: &mut PackageRegistry,\n-    workspace: &'a Workspace,\n-) -> CargoResult<(PackageSet<'a>, Resolve)> {\n-    // resolve our dependencies\n-    let (packages, resolve) = ops::resolve_ws(workspace)?;\n-\n-    // resolve with all features set so we ensure we get all of the depends downloaded\n-    let resolve = ops::resolve_with_previous(\n-        registry,\n-        workspace,\n-        /* resolve it all */\n-        Method::Everything,\n-        /* previous */\n-        Some(&resolve),\n-        /* don't avoid any */\n-        None,\n-        /* specs */\n-        &[],\n-    )?;\n+pub fn ebuild(ebuild_path: Option<String>, manifest_path: Option<String>) -> Result<(), Error> {\n+    let manifest = manifest_path.map_or_else(\n+        || env::current_dir().unwrap().join(\"Cargo.toml\"),\n+        |path| Path::new(&path).to_path_buf(),\n+    );\n \n-    Ok((packages, resolve))\n-}\n+    if !manifest.is_file() {\n+        return Err(format_err!(\n+            \"Cargo manifest not found at: {}\",\n+            manifest.display()\n+        ));\n+    }\n \n-pub fn ebuild(verbose: u32, quiet: bool) -> CliResult {\n-    // create a default Cargo config\n-    let config = Config::default()?;\n-\n-    config.configure(\n-        verbose,\n-        Some(quiet),\n-        /* color */\n-        &None,\n-        /* frozen */\n-        false,\n-        /* locked */\n-        false,\n-    )?;\n+    let metadata = cargo_metadata::metadata_deps(Some(&manifest), true)\n+        .map_err(|err| format_err!(\"Error while access cargo metadata: {}\", err))?;\n \n-    // Load the workspace and current package\n-    let workspace = workspace(&config, None)?;\n-    let package = workspace.current()?;\n+    let resolve = metadata\n+        .resolve\n+        .ok_or_else(|| format_err!(\"No project dependences\"))?\n+        .nodes;\n \n-    // Resolve all dependencies (generate or use Cargo.lock as necessary)\n-    let mut registry = registry(&config, &package)?;\n-    let resolve = resolve(&mut registry, &workspace)?;\n+    let mut git_crates = Vec::new();\n \n     // build the crates the package needs\n     let mut crates = resolve\n-        .1\n         .iter()\n-        .map(|pkg| format!(\"{}-{}\\n\", pkg.name(), pkg.version()))\n+        .cloned()\n+        .filter_map(|pkg| {\n+            let infopkg: Vec<&str> = pkg.id.split(' ').collect();\n+            if infopkg.len() != 3 {\n+                None\n+            } else if infopkg[2].starts_with(\"(git\") {\n+                git_crates.push(infopkg[2][1..infopkg[2].len()].to_string());\n+                None\n+            } else {\n+                Some(format!(\"{}-{}\", infopkg[0], infopkg[1]))\n+            }\n+        })\n         .collect::<Vec<String>>();\n \n     // sort the crates\n     crates.sort();\n \n-    // root package metadata\n-    let metadata = package.manifest().metadata();\n-\n-    // package description\n-    let desc = metadata\n-        .description\n-        .as_ref()\n-        .cloned()\n-        .unwrap_or_else(|| String::from(package.name()));\n-\n-    // package homepage\n-    let homepage = metadata.homepage.as_ref().cloned().unwrap_or(\n-        metadata\n-            .repository\n-            .as_ref()\n-            .cloned()\n-            .unwrap_or_else(|| String::from(\"\")),\n-    );\n-\n-    let license = metadata\n-        .license\n-        .as_ref()\n-        .cloned()\n-        .unwrap_or_else(|| String::from(\"unknown license\"));\n+    let mut string = String::new();\n+    File::open(&manifest)?.read_to_string(&mut string)?;\n+\n+    let parsed_manifest = string.parse::<Value>()?;\n+    let table = &parsed_manifest\n+        .as_table()\n+        .ok_or_else(|| format_err!(\"Cargo manifest does not contain a toml table\"))?;\n+    let package = table\n+        .get(\"package\")\n+        .ok_or_else(|| format_err!(\"Field \\\"package\\\" is missing in Cargo manifest\"))?;\n+    let name = read_from_manifest(package, &\"name\").unwrap_or_else(|| String::from(\"\"));\n+    let license = read_from_manifest(package, &\"license\").unwrap_or_else(|| String::from(\"\"));\n+    let description = read_from_manifest(package, &\"description\").unwrap_or_else(|| name.clone());","path":"src/lib.rs","position":null,"original_position":199,"commit_id":"42df0a3608a7c8b00849eb0b39c60d57413befea","original_commit_id":"59e97d507951789fb87b43cbd2d5b367dce254be","user":{"login":"cardoe","id":8839,"node_id":"MDQ6VXNlcjg4Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/8839?v=4","gravatar_id":"","url":"https://api.github.com/users/cardoe","html_url":"https://github.com/cardoe","followers_url":"https://api.github.com/users/cardoe/followers","following_url":"https://api.github.com/users/cardoe/following{/other_user}","gists_url":"https://api.github.com/users/cardoe/gists{/gist_id}","starred_url":"https://api.github.com/users/cardoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardoe/subscriptions","organizations_url":"https://api.github.com/users/cardoe/orgs","repos_url":"https://api.github.com/users/cardoe/repos","events_url":"https://api.github.com/users/cardoe/events{/privacy}","received_events_url":"https://api.github.com/users/cardoe/received_events","type":"User","site_admin":false},"body":"The old code had a fallback case that's gone.","created_at":"2018-07-08T00:33:26Z","updated_at":"2018-07-08T00:44:56Z","html_url":"https://github.com/cardoe/cargo-ebuild/pull/14#discussion_r200826272","pull_request_url":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/14","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/comments/200826272"},"html":{"href":"https://github.com/cardoe/cargo-ebuild/pull/14#discussion_r200826272"},"pull_request":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/14","id":198904658,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4OTA0NjU4","html_url":"https://github.com/cardoe/cargo-ebuild/pull/14","diff_url":"https://github.com/cardoe/cargo-ebuild/pull/14.diff","patch_url":"https://github.com/cardoe/cargo-ebuild/pull/14.patch","issue_url":"https://api.github.com/repos/cardoe/cargo-ebuild/issues/14","number":14,"state":"open","locked":false,"title":"Consistent cli","user":{"login":"gibix","id":6577722,"node_id":"MDQ6VXNlcjY1Nzc3MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/6577722?v=4","gravatar_id":"","url":"https://api.github.com/users/gibix","html_url":"https://github.com/gibix","followers_url":"https://api.github.com/users/gibix/followers","following_url":"https://api.github.com/users/gibix/following{/other_user}","gists_url":"https://api.github.com/users/gibix/gists{/gist_id}","starred_url":"https://api.github.com/users/gibix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibix/subscriptions","organizations_url":"https://api.github.com/users/gibix/orgs","repos_url":"https://api.github.com/users/gibix/repos","events_url":"https://api.github.com/users/gibix/events{/privacy}","received_events_url":"https://api.github.com/users/gibix/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-03T09:36:31Z","updated_at":"2018-07-08T00:44:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53e4905e9a0e6d46f89f92b0e9abcb0b6a92d5a7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/14/commits","review_comments_url":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/14/comments","review_comment_url":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cardoe/cargo-ebuild/issues/14/comments","statuses_url":"https://api.github.com/repos/cardoe/cargo-ebuild/statuses/42df0a3608a7c8b00849eb0b39c60d57413befea","head":{"label":"gibix:consistent-cli","ref":"consistent-cli","sha":"42df0a3608a7c8b00849eb0b39c60d57413befea","user":{"login":"gibix","id":6577722,"node_id":"MDQ6VXNlcjY1Nzc3MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/6577722?v=4","gravatar_id":"","url":"https://api.github.com/users/gibix","html_url":"https://github.com/gibix","followers_url":"https://api.github.com/users/gibix/followers","following_url":"https://api.github.com/users/gibix/following{/other_user}","gists_url":"https://api.github.com/users/gibix/gists{/gist_id}","starred_url":"https://api.github.com/users/gibix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibix/subscriptions","organizations_url":"https://api.github.com/users/gibix/orgs","repos_url":"https://api.github.com/users/gibix/repos","events_url":"https://api.github.com/users/gibix/events{/privacy}","received_events_url":"https://api.github.com/users/gibix/received_events","type":"User","site_admin":false},"repo":{"id":126961082,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY5NjEwODI=","name":"cargo-ebuild","full_name":"gibix/cargo-ebuild","owner":{"login":"gibix","id":6577722,"node_id":"MDQ6VXNlcjY1Nzc3MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/6577722?v=4","gravatar_id":"","url":"https://api.github.com/users/gibix","html_url":"https://github.com/gibix","followers_url":"https://api.github.com/users/gibix/followers","following_url":"https://api.github.com/users/gibix/following{/other_user}","gists_url":"https://api.github.com/users/gibix/gists{/gist_id}","starred_url":"https://api.github.com/users/gibix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibix/subscriptions","organizations_url":"https://api.github.com/users/gibix/orgs","repos_url":"https://api.github.com/users/gibix/repos","events_url":"https://api.github.com/users/gibix/events{/privacy}","received_events_url":"https://api.github.com/users/gibix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gibix/cargo-ebuild","description":"cargo extension that can generate ebuilds using the in-tree eclasses","fork":true,"url":"https://api.github.com/repos/gibix/cargo-ebuild","forks_url":"https://api.github.com/repos/gibix/cargo-ebuild/forks","keys_url":"https://api.github.com/repos/gibix/cargo-ebuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gibix/cargo-ebuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gibix/cargo-ebuild/teams","hooks_url":"https://api.github.com/repos/gibix/cargo-ebuild/hooks","issue_events_url":"https://api.github.com/repos/gibix/cargo-ebuild/issues/events{/number}","events_url":"https://api.github.com/repos/gibix/cargo-ebuild/events","assignees_url":"https://api.github.com/repos/gibix/cargo-ebuild/assignees{/user}","branches_url":"https://api.github.com/repos/gibix/cargo-ebuild/branches{/branch}","tags_url":"https://api.github.com/repos/gibix/cargo-ebuild/tags","blobs_url":"https://api.github.com/repos/gibix/cargo-ebuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gibix/cargo-ebuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gibix/cargo-ebuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/gibix/cargo-ebuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gibix/cargo-ebuild/statuses/{sha}","languages_url":"https://api.github.com/repos/gibix/cargo-ebuild/languages","stargazers_url":"https://api.github.com/repos/gibix/cargo-ebuild/stargazers","contributors_url":"https://api.github.com/repos/gibix/cargo-ebuild/contributors","subscribers_url":"https://api.github.com/repos/gibix/cargo-ebuild/subscribers","subscription_url":"https://api.github.com/repos/gibix/cargo-ebuild/subscription","commits_url":"https://api.github.com/repos/gibix/cargo-ebuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/gibix/cargo-ebuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/gibix/cargo-ebuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/gibix/cargo-ebuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/gibix/cargo-ebuild/contents/{+path}","compare_url":"https://api.github.com/repos/gibix/cargo-ebuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gibix/cargo-ebuild/merges","archive_url":"https://api.github.com/repos/gibix/cargo-ebuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gibix/cargo-ebuild/downloads","issues_url":"https://api.github.com/repos/gibix/cargo-ebuild/issues{/number}","pulls_url":"https://api.github.com/repos/gibix/cargo-ebuild/pulls{/number}","milestones_url":"https://api.github.com/repos/gibix/cargo-ebuild/milestones{/number}","notifications_url":"https://api.github.com/repos/gibix/cargo-ebuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gibix/cargo-ebuild/labels{/name}","releases_url":"https://api.github.com/repos/gibix/cargo-ebuild/releases{/id}","deployments_url":"https://api.github.com/repos/gibix/cargo-ebuild/deployments","created_at":"2018-03-27T09:19:38Z","updated_at":"2018-07-02T13:27:37Z","pushed_at":"2018-07-03T09:35:33Z","git_url":"git://github.com/gibix/cargo-ebuild.git","ssh_url":"git@github.com:gibix/cargo-ebuild.git","clone_url":"https://github.com/gibix/cargo-ebuild.git","svn_url":"https://github.com/gibix/cargo-ebuild","homepage":null,"size":234,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"cardoe:master","ref":"master","sha":"355f54dbdcc6c625f5a8d10f413df1cb64d15b56","user":{"login":"cardoe","id":8839,"node_id":"MDQ6VXNlcjg4Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/8839?v=4","gravatar_id":"","url":"https://api.github.com/users/cardoe","html_url":"https://github.com/cardoe","followers_url":"https://api.github.com/users/cardoe/followers","following_url":"https://api.github.com/users/cardoe/following{/other_user}","gists_url":"https://api.github.com/users/cardoe/gists{/gist_id}","starred_url":"https://api.github.com/users/cardoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardoe/subscriptions","organizations_url":"https://api.github.com/users/cardoe/orgs","repos_url":"https://api.github.com/users/cardoe/repos","events_url":"https://api.github.com/users/cardoe/events{/privacy}","received_events_url":"https://api.github.com/users/cardoe/received_events","type":"User","site_admin":false},"repo":{"id":62975203,"node_id":"MDEwOlJlcG9zaXRvcnk2Mjk3NTIwMw==","name":"cargo-ebuild","full_name":"cardoe/cargo-ebuild","owner":{"login":"cardoe","id":8839,"node_id":"MDQ6VXNlcjg4Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/8839?v=4","gravatar_id":"","url":"https://api.github.com/users/cardoe","html_url":"https://github.com/cardoe","followers_url":"https://api.github.com/users/cardoe/followers","following_url":"https://api.github.com/users/cardoe/following{/other_user}","gists_url":"https://api.github.com/users/cardoe/gists{/gist_id}","starred_url":"https://api.github.com/users/cardoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardoe/subscriptions","organizations_url":"https://api.github.com/users/cardoe/orgs","repos_url":"https://api.github.com/users/cardoe/repos","events_url":"https://api.github.com/users/cardoe/events{/privacy}","received_events_url":"https://api.github.com/users/cardoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cardoe/cargo-ebuild","description":"cargo extension that can generate ebuilds using the in-tree eclasses","fork":false,"url":"https://api.github.com/repos/cardoe/cargo-ebuild","forks_url":"https://api.github.com/repos/cardoe/cargo-ebuild/forks","keys_url":"https://api.github.com/repos/cardoe/cargo-ebuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cardoe/cargo-ebuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cardoe/cargo-ebuild/teams","hooks_url":"https://api.github.com/repos/cardoe/cargo-ebuild/hooks","issue_events_url":"https://api.github.com/repos/cardoe/cargo-ebuild/issues/events{/number}","events_url":"https://api.github.com/repos/cardoe/cargo-ebuild/events","assignees_url":"https://api.github.com/repos/cardoe/cargo-ebuild/assignees{/user}","branches_url":"https://api.github.com/repos/cardoe/cargo-ebuild/branches{/branch}","tags_url":"https://api.github.com/repos/cardoe/cargo-ebuild/tags","blobs_url":"https://api.github.com/repos/cardoe/cargo-ebuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cardoe/cargo-ebuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cardoe/cargo-ebuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/cardoe/cargo-ebuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cardoe/cargo-ebuild/statuses/{sha}","languages_url":"https://api.github.com/repos/cardoe/cargo-ebuild/languages","stargazers_url":"https://api.github.com/repos/cardoe/cargo-ebuild/stargazers","contributors_url":"https://api.github.com/repos/cardoe/cargo-ebuild/contributors","subscribers_url":"https://api.github.com/repos/cardoe/cargo-ebuild/subscribers","subscription_url":"https://api.github.com/repos/cardoe/cargo-ebuild/subscription","commits_url":"https://api.github.com/repos/cardoe/cargo-ebuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/cardoe/cargo-ebuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/cardoe/cargo-ebuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/cardoe/cargo-ebuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/cardoe/cargo-ebuild/contents/{+path}","compare_url":"https://api.github.com/repos/cardoe/cargo-ebuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cardoe/cargo-ebuild/merges","archive_url":"https://api.github.com/repos/cardoe/cargo-ebuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cardoe/cargo-ebuild/downloads","issues_url":"https://api.github.com/repos/cardoe/cargo-ebuild/issues{/number}","pulls_url":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls{/number}","milestones_url":"https://api.github.com/repos/cardoe/cargo-ebuild/milestones{/number}","notifications_url":"https://api.github.com/repos/cardoe/cargo-ebuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cardoe/cargo-ebuild/labels{/name}","releases_url":"https://api.github.com/repos/cardoe/cargo-ebuild/releases{/id}","deployments_url":"https://api.github.com/repos/cardoe/cargo-ebuild/deployments","created_at":"2016-07-10T00:44:54Z","updated_at":"2018-07-01T13:56:14Z","pushed_at":"2018-07-03T09:36:31Z","git_url":"git://github.com/cardoe/cargo-ebuild.git","ssh_url":"git@github.com:cardoe/cargo-ebuild.git","clone_url":"https://github.com/cardoe/cargo-ebuild.git","svn_url":"https://github.com/cardoe/cargo-ebuild","homepage":null,"size":84,"stargazers_count":25,"watchers_count":25,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":7,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/14"},"html":{"href":"https://github.com/cardoe/cargo-ebuild/pull/14"},"issue":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/issues/14"},"comments":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/cardoe/cargo-ebuild/statuses/42df0a3608a7c8b00849eb0b39c60d57413befea"}},"author_association":"NONE"}}
{"actor":{"display_login":"cardoe"}}