{"action":"created","issue":{"url":"https://api.github.com/repos/Origen-SDK/origen/issues/321","repository_url":"https://api.github.com/repos/Origen-SDK/origen","labels_url":"https://api.github.com/repos/Origen-SDK/origen/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/Origen-SDK/origen/issues/321/comments","events_url":"https://api.github.com/repos/Origen-SDK/origen/issues/321/events","html_url":"https://github.com/Origen-SDK/origen/pull/321","id":394929074,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNTI2MDA4","number":321,"title":"Register export with flexibel path to subbblocks","user":{"login":"williamcheong","id":35017530,"node_id":"MDQ6VXNlcjM1MDE3NTMw","avatar_url":"https://avatars1.githubusercontent.com/u/35017530?v=4","gravatar_id":"","url":"https://api.github.com/users/williamcheong","html_url":"https://github.com/williamcheong","followers_url":"https://api.github.com/users/williamcheong/followers","following_url":"https://api.github.com/users/williamcheong/following{/other_user}","gists_url":"https://api.github.com/users/williamcheong/gists{/gist_id}","starred_url":"https://api.github.com/users/williamcheong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamcheong/subscriptions","organizations_url":"https://api.github.com/users/williamcheong/orgs","repos_url":"https://api.github.com/users/williamcheong/repos","events_url":"https://api.github.com/users/williamcheong/events{/privacy}","received_events_url":"https://api.github.com/users/williamcheong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-31T04:53:22Z","updated_at":"2019-01-04T16:10:44Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Origen-SDK/origen/pulls/321","html_url":"https://github.com/Origen-SDK/origen/pull/321","diff_url":"https://github.com/Origen-SDK/origen/pull/321.diff","patch_url":"https://github.com/Origen-SDK/origen/pull/321.patch"},"body":"Exported ruby register definition file can point to the vendor directory under Origen.root instead of the hard path to particular directory under specific user which not accessible by other users. Changes on exporter.rb:\r\n1. Add options[:dir_print], the path to print.\r\n2. Add function export_dir_print, to be used to construct the path to '#{Origen.root}/vendor/lib' to print onto the exported file.\r\n3. Modified dir: content, from dir_path to options[:dir_print]"},"comment":{"url":"https://api.github.com/repos/Origen-SDK/origen/issues/comments/451488167","html_url":"https://github.com/Origen-SDK/origen/pull/321#issuecomment-451488167","issue_url":"https://api.github.com/repos/Origen-SDK/origen/issues/321","id":451488167,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTQ4ODE2Nw==","user":{"login":"pderouen","id":17879450,"node_id":"MDQ6VXNlcjE3ODc5NDUw","avatar_url":"https://avatars2.githubusercontent.com/u/17879450?v=4","gravatar_id":"","url":"https://api.github.com/users/pderouen","html_url":"https://github.com/pderouen","followers_url":"https://api.github.com/users/pderouen/followers","following_url":"https://api.github.com/users/pderouen/following{/other_user}","gists_url":"https://api.github.com/users/pderouen/gists{/gist_id}","starred_url":"https://api.github.com/users/pderouen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pderouen/subscriptions","organizations_url":"https://api.github.com/users/pderouen/orgs","repos_url":"https://api.github.com/users/pderouen/repos","events_url":"https://api.github.com/users/pderouen/events{/privacy}","received_events_url":"https://api.github.com/users/pderouen/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T16:10:44Z","updated_at":"2019-01-04T16:10:44Z","author_association":"MEMBER","body":"@williamcheong the import/export spec tests are failing. You can see it in the report if you click on details and then select 1 of the builds. [Here's the report.](https://travis-ci.org/Origen-SDK/origen/jobs/475183894)\r\n\r\nThis is the first failure:\r\n\r\n~~~\r\nFailures:\r\n  1) Model import and export export is alive\r\n     Failure/Error: dir_path_print = options[:dir_path].sub(Origen.root, 'Origen.root')\r\n     \r\n     TypeError:\r\n       wrong argument type Pathname (expected Regexp)\r\n     # ./lib/origen/model/exporter.rb:227:in `sub'\r\n~~~"}}
{"actor":{"display_login":"pderouen"}}