{"action":"created","issue":{"url":"https://api.github.com/repos/gtk-rs/glib/issues/337","repository_url":"https://api.github.com/repos/gtk-rs/glib","labels_url":"https://api.github.com/repos/gtk-rs/glib/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/gtk-rs/glib/issues/337/comments","events_url":"https://api.github.com/repos/gtk-rs/glib/issues/337/events","html_url":"https://github.com/gtk-rs/glib/issues/337","id":322516547,"node_id":"MDU6SXNzdWUzMjI1MTY1NDc=","number":337,"title":"Restructuring","user":{"login":"EPashkin","id":584258,"node_id":"MDQ6VXNlcjU4NDI1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/584258?v=4","gravatar_id":"","url":"https://api.github.com/users/EPashkin","html_url":"https://github.com/EPashkin","followers_url":"https://api.github.com/users/EPashkin/followers","following_url":"https://api.github.com/users/EPashkin/following{/other_user}","gists_url":"https://api.github.com/users/EPashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/EPashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPashkin/subscriptions","organizations_url":"https://api.github.com/users/EPashkin/orgs","repos_url":"https://api.github.com/users/EPashkin/repos","events_url":"https://api.github.com/users/EPashkin/events{/privacy}","received_events_url":"https://api.github.com/users/EPashkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-12T14:39:50Z","updated_at":"2018-07-03T10:21:43Z","closed_at":null,"author_association":"MEMBER","body":"@GuillaumeGomez, @sdroege, @antoyo, @tmiasko \r\n\r\nFirst, sometimes we want to generate types from gobject (like \"Binding\" in https://github.com/gtk-rs/glib/pull/322),\r\nSecondly, we have 2 big files: translate.rs (1734 lines) and object.rs (1054 lines)\r\nTherefore, I propose change module structure with separate glib/gobject modules and split translate/object.\r\nResult will look something like this:\r\n```\r\n.\r\n├── Gir.toml\r\n├── Gir_object.toml\r\n├── src\r\n│   ├── boxed.rs\r\n│   ├── glib\r\n│   │   ├── auto\r\n│   │   │   ├── enums.rs\r\n│   │   │   ├── flags.rs\r\n│   │   │   ├── functions.rs\r\n│   │   │   ├── main_context.rs\r\n│   │   │   └── mod.rs\r\n│   │   ├── bytes.rs\r\n│   │   ├── char.rs\r\n│   │   ├── checksum.rs\r\n│   │   ├── date.rs\r\n│   │   ├── date_time.rs\r\n│   │   ├── enums.rs\r\n│   │   ├── functions.rs (currently named utils.rs)\r\n│   │   ├── main_context.rs\r\n│   │   ├── main_context_futures.rs\r\n│   │   ├── mod.rs\r\n│   │   ├── string.rs\r\n│   │   ├── time_val.rs\r\n│   │   ├── variant.rs\r\n│   │   └── variant_type.rs\r\n│   ├── gobject\r\n│   │   ├── auto\r\n│   │   │   └── mod.rs\r\n│   │   ├── closure.rs\r\n│   │   ├── mod.rs\r\n│   │   ├── types.rs\r\n│   │   └── value.rs\r\n│   ├── object\r\n│   │   ├── mod.rs\r\n│   │   └── weakref.rs\r\n│   ├── prelude.rs\r\n│   ├── shared.rs\r\n│   ├── signal.rs\r\n│   ├── source.rs\r\n│   ├── source_futures.rs\r\n│   ├── translate\r\n│   │   ├── array.rs\r\n│   │   ├── carray.rs\r\n│   │   ├── hashtable.rs\r\n│   │   ├── list.rs\r\n│   │   ├── mod.rs\r\n│   │   ├── osstring.rs\r\n│   │   └── path.rs\r\n│   └── wrapper.rs\r\n└── versions.txt\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gtk-rs/glib/issues/comments/402095682","html_url":"https://github.com/gtk-rs/glib/issues/337#issuecomment-402095682","issue_url":"https://api.github.com/repos/gtk-rs/glib/issues/337","id":402095682,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjA5NTY4Mg==","user":{"login":"EPashkin","id":584258,"node_id":"MDQ6VXNlcjU4NDI1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/584258?v=4","gravatar_id":"","url":"https://api.github.com/users/EPashkin","html_url":"https://github.com/EPashkin","followers_url":"https://api.github.com/users/EPashkin/followers","following_url":"https://api.github.com/users/EPashkin/following{/other_user}","gists_url":"https://api.github.com/users/EPashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/EPashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPashkin/subscriptions","organizations_url":"https://api.github.com/users/EPashkin/orgs","repos_url":"https://api.github.com/users/EPashkin/repos","events_url":"https://api.github.com/users/EPashkin/events{/privacy}","received_events_url":"https://api.github.com/users/EPashkin/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T10:21:43Z","updated_at":"2018-07-03T10:21:43Z","author_association":"MEMBER","body":"How about add parameter \"options.auto_path\" (defaults = \"auto\"),\r\nthat replaced \"auto\" in https://github.com/gtk-rs/gir/blob/master/src/codegen/mod.rs#L47 ?"}}
{"actor":{"display_login":"EPashkin"}}